20 parity conversion instruction (parity) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 60

1 Ladder Program Instructions
1.2.20 PARITY CONVERSION Instruction (PARITY)
1-50
1.2.20 PARITY CONVERSION Instruction (PARITY)
Outline
The PARITY instruction counts the number of bits in the Source that are set to ON (or 1) and
the result is stored in the Dest.
Format
Parameter
Program Example
Integer Type Data
Double-length Integer Type Data
Parameter Name
Setting
Source
• Any integer type and double-length integer type register
• Any integer type and double-length integer type register with
subscript
• Subscript register
Dest
• Any integer type and double-length integer type register
(except for # and C registers)
• Any integer type and double-length integer type register with
subscript (except for # and C registers)
• Subscript register
Symbol: PARITY
Full Name: Count ON Bit
Category: MATH
Icon: