Memory Allocation
Section 4-2
67
CIO Input Words
The 26 Input Words (n+13 to n+39) are divided in 5groups: General, Counter 1,
Counter 2, Counter 3 and Counter 4.
Word
(input)
Bit
Item
Function
Gener
a
l
n+13, n+14
00-15
Output Status
Current status of Soft Outputs
n+13, bits 00-15: Soft Outputs 0 to 15
n+14, bits 00-15: Soft Outputs 16 to 31
n+15, n+16
00-15
Error Code
The type of error is represented as follows:
n+15 = error code 1
n+16 = error code 2
Refer to section 5-2
for more information
n+17
00
Global Error
Indication that one or more errors have occurred and that their error
code(s) are included in the error list of the Unit
01
Interrupts Pending
Interrupts Pending (=1);
m
1 interrupt(s) in FIFO-queue
See note 1
02
Data Transfer Busy
Data Transfer Busy (=1), Unit is busy completing the IORD/IOWR-
instruction or is being initialized (See note 4)
03
Data Transfer
Completed
Toggled every time Data Transfer is completed
04
IA Blocks overlap
Indication that IA blocks overlap in PLC memory (See note 2)
05-15
---
Not used
Cou
n
ter 1
n+18
00-07
Ranges /
Comparison Values
active
Ranges Active (=1) / Inactive (=0) /
Comparison Values Active (=1) / Inactive (=0)
See note 1
n+19, n+20
00-15
Counter Value
Counter Value
n+21
00
Counter Overflow
Counter Overflow (=1), Upper Count Limit of Linear Counter is reached
01
Counter Underflow
Counter Underflow (=1), Lower Count Limit of Linear Counter is
reached
02
Counter Running /
Gate Open
Counter Running/Gate Open (=1),
Counter Stopped/Gate Closed (=0)
03
Counting Direction
Counting Direction, Down (=0) / Up (=1)
04
Preset Activated
Preset Activated (=1) See note 2
05
Reset Activated
Reset Activated (=1) See note 2
06
Capture Activated
Capture Activated (=1) See note 2 and 3
07
Z-signal Activated
Z-signal Activated (=1) See note 2
08-15
---
Not used
Co
unter 2
n+22
00-07
Ranges /
Comparison Values
active
Ranges Active (=1) / Inactive (=0) /
Comparison Values Active (=1) / Inactive (=0)
See note 1
n+23, n+24
00-15
Counter Value
Counter Value
n+25
00
Counter Overflow
Counter Overflow (=1), Upper Count Limit of Linear
Counter is reached
01
Counter Underflow
Counter Underflow (=1), Lower Count Limit of Linear
Counter is reached
02
Counter Running /
Gate Open
Counter Running/Gate Open (=1),
Counter Stopped/Gate Closed (=0)
03
Counting Direction
Counting Direction, Down (=0) / Up (=1)
04
Preset Activated
Preset Activated (=1) See note 2
05
Reset Activated
Reset Activated (=1) See note 2
06
Capture Activated
Capture Activated (=1) See note 2 and 3
07
Z-signal Activated
Z-signal Activated (=1) See note 2
08-15
---
Not used