The text of a manual · part 16 of 36
DL305 User Manual, pages 147 to 156
Pages 147 to 156 of 356
The original document is the PDF (3.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the GE DL330 / D3-330, Fanuc DL330 / D3-330 and GE Fanuc DL330 / D3-330
Page 147
7–19 Discrete Output Modules
F3–08TRS–2, Relay Output Module Outputs per module Commons per module Operating voltage*
Max leakage current Max inrush current Minimum load
N/A 10A Inductive 100 mA @12VDC
Base power required
Output type
6 Form A (SPST) 2 Form C (SPDT)
Peak voltage AC frequency ON voltage drop Max current (resistive)
265 VAC / 120 VDC 47–63 Hz N/A 5A / point AC/DC 40A / module AC/DC
OFF to ON response ON to OFF response Terminal type Status indicators Weight Fuses 19379–K–10A Wickman
9V 37mA / ON pt. (296 mA Max) 24V N/A 13 ms Max 9 ms Max Removable Logic Side 9 oz. (255 g) (8) One 5A (125V) per common User replaceable
Discrete Output Modules
8 8 (isolated) 12–125 VAC 125–250 VAC requires external fuses 12–30 VDC
NOTE: Contact life may be lengthened beyond those values shown by the use of an appropriate arc suppression. This technique is discussed earlier in this chapter. Derating Chart for F3–08TRS–2
Typical Relay Life (Operations)
Points 8 Output Current 5A/point (40A/module)
6 4
RELAY OUTPUT F3–08TRS–2
0 0 10 20 30 40 50 60°C 32 50 68 86 104 122 140°F Ambient Temperature (°C/°F) 0 NC 0C
+
L
–
1C L
2C
–
+
L
3C L
4C L
5C L
6C
–
+
L
7C L L
0 C
7NC
0 NO 1 NO 2 NO 3 NO 4 NO 5 NO 6 NO 7 NO
1 C 2 C 3 C 4 C 5 C 6 C 7 C 7 NC
4 5 6 7
5.0A 3.0A .05A
Operating Voltage 28VDC 200K 325K >50M
120VAC 240VAC 100K 125K 50K
Expected mechanical relay life is 100 million operations. 12–250VAC
0 NC
Discrete Output Modules
0 1 2 3
2
L
Maximum Resistive or Inductive Inrush Load Current
5A Common
0 NO 1 NO
NO
L
2 NO 3 NO
12–30VDC
–
5A
+
4 NO
Common
5 NO L
6 NO L
7 NO
9V
Outputs 1–6
NC
9V
NO
Outputs 0 & 7 *Maximum DC voltage rating is 120 VDC at .5 Amp, 30,000 cycles typical Motor starters up to and including a NEMA size 3 can be used with this module.
Page 148
7–20 Discrete Output Modules
D3–16TR, Relay Output Module
Discrete Output Modules
Outputs per module Commons per module Operating voltage Output type Peak voltage AC frequency ON voltage drop Max current
Max leakage current Max inrush current
16 2 (isolated) 5–265 VAC 5–30 VDC 16 Form A (SPST) 265 VAC / 30 VDC 47–63 Hz N/A 2A / point AC/DC (resistive) 8A / common AC/DC 0.1mA @ 220 VAC 2A
Minimum load Base power required
5 mA @ 5v 9V 30 mA/ON pt. (480 mA Max) 24V N/A
OFF to ON response ON to OFF response Terminal type Status indicators Weight
12 ms 12 ms Removable Logic Side 8.5 oz. (248g)
Fuses
None
Typical Relay Life (Operations) Voltage Resistive Solenoid Closures 220VAC 220VAC 110VAC 110VAC 24VDC
2A
0.25A 0.03A 0.25A 0.05A 0.25A
2A 2A
100k 800k 100k 650k 100k
5-265VAC
Derating Chart for D3–16TR D3–16TR
I
CI I 0
L
2
Discrete Output Modules
5-30VDC
L
L
3
L
5
0 1
L
7
5–265 VAC 5–30VDC – +
2
Common 9V
4 5
L
6
6
L
0 10 20 30 40 50 60°C 32 50 68 86 104 122 140°F Ambient Temperature (°C/°F)
3 4
L
0
7
2
L
4
C
5
0 1
8
C
CII L
12
6 7
L
II
4
6 L
4 5 6 7
3
5
L
0 1 2 3
2
4
L
4 5 6 7
1
3
L
0 1 2 3
0 1
L L
Points 16
RELAY OUTPUT
7
II Output
Relay
Page 149
System Operation
In This Chapter. . . .
18
Ċ Introduction Ċ CPU Operating System Ċ Initial Mode Setting and Memory Initialization Ċ Program Mode Operation Ċ Run Mode Operation Ċ I/O Response Time Ċ CPU Scan Time Considerations Ċ Memory Map Ċ I/O Point Bit Map Ċ Control Relay Bit Map Ċ Special Relays Ċ Timer / Counter Registers and Contacts Ċ Data Registers Ċ Stage Control / Status Bit Map Ċ Shift Register Bit Map Ċ Special Registers
Page 150
8–2 System Operation
System Operation
Introduction Achieving the proper control for your equipment or process requires a good understanding of how the DL305 CPUs control all aspects of the system operation. This includes many things, such as I/O updates, program execution, etc. Take a few minutes to understand how the CPU stores and processes information. For more complex applications, this knowledge will make it easier to program and debug your application program to meet your system performance requirements. There are four primary things you need to understand before you create your application program S CPU Operating System, the CPU is the heart of the system. It manages all aspects of system control. A quick overview of all the steps is provided in the next section. S CPU Operating Modes, the CPU has different operating modes that allow different types of operations. There are two primary modes of operation, Program Mode and Run Mode. S CPU Timing, it is important you understand how the CPU timing can affect the system operation. The two most important areas are the I/O response time and the CPU scan time. S CPU Memory Map, The DL305 CPUs offer a wide variety of memory types, such as timers, counters, inputs, etc. It is important to understand what memory types are available and how the memory areas are organized. The remainder of this chapter discusses these items in detail.
Page 151
8–3 System Operation
CPU Operating System After the initial power-up sequence, the DL305 CPUs process data cyclically. There are several tasks the CPU must perform during each cycle, such as updating the I/O status, servicing external communications, executing the application program, etc. There are many different segments of execution, but the overwhelming majority of your concerns will be with the portion of the execution cycle that occurs during Run Mode. These operations will be discussed throughout the remainder of this chapter. DL305 CPU Operational Flow Chart
Power up #1 Initial Mode Setting
Initialize memory
Is program memory OK?
NO
YES
YES What mode is the programmer in? RUN
System Operation
Is programmer connected?
Display error code
NO
User changes programmer to program mode
PGM/ Cassette What is the last mode?
PGM/ Cassette
RUN I/O update Service peripherals Service peripherals Service for force operation or monitoring
Operation of program or cassette mode
What is the mode? Executes user program
RUN
PGM
Page 152
8–4 System Operation
Initial Mode Setting and Memory Initialization Flow Chart for The previous flowchart contained a step called Initial Mode Setting. Once power has Initial Mode Setting been connected to the system, the CPU executes the following procedure to determine which mode of operation should be entered. (#1) NO
Is programmer or Data Communication Unit connected? YES What is connected?
Data Communication Unit
Programmer ONLINE or OFFLINE?
ONLINE
OFFLINE Is programmer connected?
NO
PROM
YES
System Operation
What is the current mode? RUN
Service peripherals
Initialize Memory
PGM
PGM
Select PGM/ Cassette mode
What is the last mode? RUN
What is the program memory RAM
Page 153
8–5 System Operation
Memory Initialization
Before the CPU can begin normal operation, all memory areas are initialized. The CPU completes the following operations to initialize the memory areas. Item
Procedure
I/O Points
Input Points: activated, CPU will monitor status. Output Points: turned off
Control Relays
Non-Retentive: turned off Retentive: retains the condition prior to the system power interruption.
Shift Registers
Retains the condition prior to the system power interruption.
Timer / Counter Current Values
Timers: reset to zero Counters: retains the current count prior to the system power interruption.
Stages
Non-Retentive: turned off Retentive: retains the condition prior to the system power interruption.
Data Registers
Retains the condition prior to the system power interruption.
System Operation
NOTE: Not all memory areas are retentive by default. See Chapter 3 for details on how to set the CPU to have retentive memory. Also, the memory map section provided later in this chapter shows the exact ranges that can be selected as retentive.
Page 154
8–6 System Operation
Program Mode Operation
System Operation
In Program Mode, the CPU does not execute the application program or update the output modules. The primary use for Program Mode is to enter or change an application program. You can also use the program mode to set up CPU parameters, such as the network address for the communication port on the DL340, retentive memory areas, etc. You can use the Handheld Programmer key switch to select Program Mode operation, or you can use a DirectSOFT menu option to change the CPU mode.
Download Program
Page 155
8–7 System Operation
Run Mode Operation In Run Mode, the CPU executes the application program and updates the I/O system. You can perform many operations during Run Mode. Some of these include: S Monitor and change I/O point status S Update timer/counter preset values S Update Register memory locations Even though there are many steps in the overall flowchart of operation, the Run Mode operation can be divided into a few key areas. It is very important you understand how each of these areas of execution can affect the results of your application program solutions.
Update I/O Points Service Peripherals Service Monitoring & Forcing Solve Application Program
System Operation
Page 156
8–8 System Operation
Update I/O Points
The CPU reads the status of all input modules present in the local CPU base and local expansion bases. The status of each input is stored in the input image register area. The input image register data is used by the CPU when it solves the application program. You may be thinking, “What if an input changes after the CPU has read the inputs?” Good question! Generally, the CPU program execution time is measured in milliseconds, so in most cases this is not a problem. If you need to know more, I/O response timing is explained in more detail later in this chapter. The CPU also uses the output image register to update the output modules present in the local CPU base and local expansion bases.
8pt
8pt
8pt
16pt
4ch.
16pt
Relay
Output
Input
Input
Output
Input
050 – 057
040 – 047
030 – 037
020 027 – 120 127
010 017 – 110 117
000 007 – 100 107
System Operation
CPU Scan Update I/O Points
I/O Modules Field Device OFF
030
OFF
031
ON
032
ON
033
OFF
034
ON
035
OFF
036
OFF
037
OFF
040
OFF
041
ON
042
ON
043
OFF
044
ON
045
OFF
046
OFF
047
... ... The CPU reads the inputs from the local and expansion bases and stores the status in an input image register.
032 031 030 ON OFF OFF Input Image Register
... ...
... 042 041 040 ... ON OFF OFF Output Image Register
... ...
Service Peripherals
Service Monitoring & Forcing
Solve Application Program
The CPU also writes the status of the output image register to the output modules.