Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 112

6 - 76
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
•
Designation of the conversion type (STR#XXXX.X)
STR = 0: Conversion of binary data to BCD data.
STR = 1: Conversion of BCD data to binary data
•
Reset (RST)
RST = 0: Error output R1 is not reset.
RST = 1: Error output R1 is reset.
•
Execution command (ACT)
ACT = 0: The double-word data conversion instruction is not executed.
ACT = 1: The double-word data conversion instruction is executed.
•
Error output (R1)
R1 = 0:
Normal
R1 = 1:
Error
(15)SUBP 032 (Binary Comparison) RR after operation:
Ù
a) Function
The instruction executes comparison of the 1-, 2-, or 4-byte length binary data and
outputs the result of comparison. Both the input data and the data for comparison
must be the data of the specified length.
(b) Example
= 0: 1byte, = 1: 2bytes = 2: 4bytes