![background image](http://html1.mh-extra.com/html/omron/prt1-com/prt1-com_operation-manual_744566057.webp)
5-1
Section
Examples of Counter Unit Operation
45
Output Area
Count Value
S
BCD
(O: positive, F: negative)
Setting Value
S
BCD
Output conditions:
000
Present value
≥
Set value
Not 000 Present value
≤
Set value
S
Hexadecimal
(Negative numbers specified with
the complement of 2 in 24 bits)
Bit 00:
Set value 1 (0: Not set, 1: Set)
Bit 11
Bit 12
No mode change
Directional input mode
Phase difference
×
4 mode
Phase difference
×
1 mode
Bits 12 to 14:
Reset mode selection:
Bit 14
Bit 13
Bit 12
No mode change
Z
IN
Z
S
IN
Internal
Z
S
Internal
IN
S
Internal
Z
S
IN
S
Internal
Z: Encoder input, Z. IN: External Input.
Internal: Internal reset bit.
S
: AND condition.
Bit 15: I/O Unit interface error setting
(0: Count stop
S
Initialize, 1: Count continue)
Output area
Wd n+0
Wd n+1
Wd n+2
Bit
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
Bit 10, 11:
Count mode selection:
0
0
1
1
0
1
0
1
Bit 09:
External output 2 (0: Disabled, 1: Enabled)
Bit 08:
External output 1 (0: Disabled, 1: Enabled)
Bit 07:
Internal resetting (0
→
1: Resetting)
Bit 06:
Count value reading (0: Not read, 1: Read)
Bit 05:
Set value 2 reading (0: Not read, 1: Read)
Bit 04:
Set value 1 reading (0: Not read, 1: Read)
Bit 03:
Data code change (0: BCD, 1: Hex.)
Bit 02:
Count value is set (0: Not set, 1: Set)
Bit 01:
Set value 2 is set (0: Not set, 1: Set)
Output conditions:
000
Present value
≥
Set value
Not 000 Present value
≤
Set value
(O: positive, F: negative)
S
Hexadecimal
(Negative numbers specified with
the complement of 2 in 24 bits)