6F3B0253
Basic Hardware and Function 107
7. Instructions
Basic ladder instructions (continued)
FUN
No. Name Expression Function Steps Speed
(µs) Page
Counter C CNT Q
E A B Counts the number of cycles
the count input (C) comes ON
while the enable input (E) is
ON, and turns ON output (Q)
when the count reaches to the
value specified by A. B is a
counter register.
2 22.6 132
Master control set −−[ MCS ]− 1
Master control reset −−[ MCR ]−
Turns OFF power rail between
MCS and MCR when MCS
input is OFF. 1
3.75
(in a
pair) 133
Jump control set −−[ JCS ]− 1
Jump control reset −−[ JCR ]−
Jumps from JCS to JCR when
JCS input is ON. 1
2.75
(in a
pair) 134
End −−[ END ]− Indicates end of main program
or sub-program. 1 1.4 135
Data transfer instructions
FUN
No. Name Expression Function Steps Speed
(µs) Page
018 Data transfer [ A MOV B ]Transfers data o f A to B. 3 4.2 136
019 Double-word
data transfer
[ A+1A DMOV B+1B ]Transfers double-word data
of A+1A to B+1B. 3 7.2 137
020 Invert transfer [ A NOT B ]Transfers bit-inverted data of
A to B. 3 4.6 138
022 Data exchange [ A XCHG B ]Exchanges data of A with B. 3 6.5 139
024 Table initialize [ A TINZ (n) B ]Transfers data of A to n
registers starting with B. 3 140
025 Table transfer [ A TMOV (n) B ]Transfers data of n registers
starting with A to n registers
starting with B. 3 141
026 Table invert
transfer
[ A TNOT (n) B ]Transfers bit-inverted data of
n registers starting with A to
n registers starting with B. 3 142
090 Multiplexer [ A MPX (n) B C ]Transfers data from the
register specified by B in the
table, size n starting with A,
to C.
5 70.6 176
091 Demultiplexer [ A DPX (n) B C ]Transfers data from A to the
register specified by B in the
table, size n starting with C. 5 71.5 177