Applied Instructions
[ENCO]
1
③
③
①②
①
②
All be 0
All be 0
Be ignored
《 When is bit device》 n≤16
6 bits instruction:ENCO 32 bits instruction:-
Suitable Models:
XC3、XC5
Word
Device
D
FD
DM
DX
DY
DS
TD
CD
K/H
D·
n
S·
Bit
X Y M S T C Dn.m
Device
S·
Funct ction ion & A
M10ENCO D10 K3
X0
n
S· D·
0 0 0 1 0 1 0
M17 M16 M15 M14 M13
M12
M11 M10
7654
2
10
0
0000000000000011
D10
b15
b0
4
《 When is word device》 n≤4
D0ENCO D1 K3
X1
n
S· D·
0101010100001010
0000000000000011
7654
2
10
D0
D1
b15
b15 b0
b0
4
S·
S·
z If many bits in the source ID are 1, ignore the low bits. If source ID are all 0, don’t
execute the instructions.
z When drive input is OFF, the instruction is not executed, encode output don’t change.
z When n=8, if encode instruction’s “S” is bit unit, it’s point number is 2^8=256
115