26
TRUE or FALSE result, respectively.
UQnn: incrementing by 1 the content of the nn-th software counter (UQ00-UQ99).
DQnn: decrementing by 1 the content of the nn-th software counter (DQ00-DQ99).
+: adding a DATA to the OP. OP=OP+DATA
-: subtracting a DATA from the OP. OP=OP-DATA
BIN: converting the BCD content of OP into a BINary one.
BCD: converting the BINary content of OP into a BCD one.
<<nn: leftward shift of OP by nn bits, with zero entry (multiplication by 2
nn
). 0<nn<15
>>nn: rightward shift of OP by nn bits, with zero entry (division by 2
nn
). 0<nn<15
N: forming the inverse of a DATA (complementary one). For example: +NSFnn
(complement one of the content of the Fnn register is added to the OP, and the result
will be the new content of the Fnn register). Fnn=OP+NFnn.
Feasible instructions: NLInn, NLVnn, NLYnn, NLFnn, NLTnn, NLHn, NLMn,
NLQnn, NLRHnnn, NSYnn, NSFnn, NSTnn, NSHn, NSMn, NSQnn,
NSRHnnn.
For example, negation of a conditional test: NInnn (the condition is fulfilled when
the line is cut out).
Feasible instruction: NInnn, NInnn, NFnnn, NVnnn, NPnnn, NTnn, NHn, NMn,
NQnn.
L: loading DATA in the OP. For example: LInn (input byte of serial number nn is loaded in
the lower byte of the OP, and the input byte of serial number nn+1 will be loaded in
the upper byte of the OP). If command "L" stands to the right of a logic or arithmetic
operand, the result of the operation performed on the OP and the data will be loaded
in the OP. For example: +LInn (OP=+LInn)
Feasible instructions: LInn, LPnn, LVnn, LYnn, LFnn, LTnn, LHn, LMn, LQnn,
LRHnnn, LRPnnn
S: loading from the OP. For example: SYnn (the lower byte of the OP is written to the
output byte of serial number nn, the upper byte of the OP is written to the output byte
of serial number nn+1). If command "S" stands to the right of a logic or arithmetic
operand, the result of the operation performed on the OP and the data will be printed.
For example: +SYnn (Ynn=OP+LYnn).
Feasible instructions: SYnn, SOnn, SFnn, STnn, SHn, SMn, SQnn, SRHn.
Registers: transfer of RH data between the PLC and the NC
RH000 - RH049 NC $
$$
$ PLC
RH050 - RH099 PLC $
$$
$ NC
RP001 - RP008 PLC constants
nnnnn: loading a DECIMAL number as a DATA into the OP (nnnnn=0 to 65535)
.nnnn: loading a HEXA DATA into the OP (.nnnn=0 to FFFF)
W: OP times 100 ms waiting. It must not be used in the :001 module!