Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 75

6 - 39
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
(31)DCRW (Decrement Word Register) RR after operation: RR-
(a) Function
The instruction adds “-1” to the content of the double-length register when the ST
content is ON (RR = 1).
(b) Format
(c) Explanation
•
A ST contact must be entered before the INRW instruction.
•
The DCRW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
•
There is no function to detect overflow. If the result of operation exceeds 0H, it
returns to FFFH.
(32)CLRW (Clear Word Register) RR after operation: RR-
(a) Function
The instruction clears the content of double-length register when the ST content is ON
(RR = 1)
(b) Format
(c) Explanation
•
A ST contact must be entered before the CLRW instruction.
•
The CLRW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.
•
There is no function to detect underflow. If the result of operation exceeds 0H, it
returns to FFFH.
D
Paradym31 Variable Name
D
Paradym31 Variable Name