Ladder Program
00009
00008 20009
00008 20009
00007 20008
00007 20008
00006 20007
00006 20007
00005 20006
00005 20006
00004 20005
00004 20005
00003 20004
00003 20004
00002 20003
00002 20003
00001 20002
00001 20002
00000 20001
00000 20001
20009
20008
20007
20006
20005
20004
Converts a gray code
signal into a BIN code
signal (word 200).
20003
20002
20001
20000
(Always ON)
25313
20300
20301
20302
Example of DM Setting
for Comparison Table
BCD (24)
200
201
SUB (31)
201
#0152
202
BCMP (68)
202
DM6200
203
Converts a BIN code signal
(word 200) into a BCD code
signal (word 201).
Subtracts 152 for a resolution of
720 per rotation.
Nothing is subtracted for a
resolution of 256 or 1,024 per
rotation.
Subtracts 76 for a resolution of
360 per rotation.
If the Encoder value (word 202)
exists between DM 6200
(BCMP) and DM 6231 (the
comparison table), the
corresponding bit of word 203
turns ON.
DM 6200
6201
6202
6203
6204
6205
6206
0000
0540
0090
0360
0180
0659
0000
Lower limit 1
Upper limit 1
Lower limit 2
Upper limit 2
Lower limit 3
Upper limit 3
Lower limit 4
Bit 20300
Bit 20301
Bit 20302
Not used.
6231 0000 Upper limit 16
01000
01001 Output
01002
END (01)
14
E6C3 Rotary Encoder (Incremental/Absolute)