Memory Allocation
Section 4-2
66
CIO Output Words
The 14 Output Words (n to n+12) are divided in 5 groups: General, Counter 1,
Counter 2, Counter 3 and Counter 4.
Note
1.
Initially, after power-up or restart of the Unit, the Gate is closed. To enable
counting pulses, first open the Gate by setting the “Open Gate” bit of the cor-
responding counter to ‘1’.
2.
These bits may not be executed if they are ON for only one PLC cycle. Always
keep these bits turned ON until the execution status changes in the corre-
sponding flags in n+24 or n+29.
Word
(output)
Bit
Item
Function
Gene
ra
l
n
00
Read Next Error
Read next error at the rising edge (from the error list in the Counter
Unit). The error code can be read from CIO-words n+17 and n+18.
01 – 15
---
Not used
Co
unter 1
n+1
00
Open Gate
Open Gate (0
→
1) See Note 1 and 2
01
Close Gate
Close Gate (0
→
1) See Note 1 and 2
02
Preset
Load Preset Value (0
→
1) See Note 2
03
Reset
Reset Counter (Forced Reset) to zero (0
→
1) See Note 2
04
Capture
Capture Counter Value (0
→
1) See Note 2
05
Reset Enable
Enable Resetting for Z-signal
06-15
---
Not used
n+2, n+3
00-15
Preset Value
Preset Value
Co
unter 2
n+4
00
Open Gate
Open Gate (0
→
1) See Note 1 and 2
01
Close Gate
Close Gate (0
→
1) See Note 1 and 2
02
Preset
Load Preset Value (0
→
1) See Note 2
03
Reset
Reset Counter (Forced Reset) to zero (0
→
1) See Note 2
04
Capture
Capture Counter Value (0
→
1) See Note 2
05
Reset Enable
Enable Resetting for Z-signal
06-15
---
Not used
n+5, n+6
00-15
Preset Value
Preset Value
Cou
n
ter 3
n+7
00
Open Gate
Open Gate (0
→
1) See Note 1 and 2
01
Close Gate
Close Gate (0
→
1) See Note 1 and 2
02
Preset
Load Preset Value (0
→
1) See Note 2
03
Reset
Reset Counter (Forced Reset) to zero (0
→
1) See Note 2
04
Capture
Capture Counter Value (0
→
1) See Note 2
05
Reset Enable
Enable Resetting for Z-signal
06-15
---
Not used
n+8, n+9
00-15
Preset Value
Preset Value
Cou
n
ter 4
n+10
00
Open Gate
Open Gate (0
→
1) See Note 1 and 2
01
Close Gate
Close Gate (0
→
1) See Note 1 and 2
02
Preset
Load Preset Value (0
→
1) See Note 2
03
Reset
Reset Counter (Forced Reset) to zero (0
→
1) See Note 2
04
Capture
Capture Counter Value (0
→
1) See Note 2
05
Reset Enable
Enable Resetting for Z-signal
06-15
---
Not used
n+11, n+12
00-15
Preset Value
Preset Value