52
X0
X1
X2
X3
X4
X5
X6
X7
X10
X11
X12
X13
X14
X15
X16
X17
( )
Y0
Programming method two: (application of word consists of bits)
DX0 K0
( )
Y0
=
2-9-2
.
Offset application
Application 1:
When M0 is ON, the output from Y1 to Y7 will be ON one by one. D0 is offset address. If
there are many output points, M can replace Y.
SM 13
M 0
MOV K1 D0
D0 D4000
INC D0
MOV K7 D4000
SM 2
( R )
Y0[D0]
>
Y0[D0]
( S )