Chapter 4. Ladder Diagram (LD) Programming
76 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
Operands for Logical AND, OR, and XOR
The number of words in the bit string
on which to perform the logical
operation. 1 ï‚£ Length ï‚£ 256.
The first WORD or DWORD of the
first string operate on.
IN2 (Must be the same
data type as IN1.)
The first WORD or DWORD of the
second string to operate on.
Q (Must be the same data
type as IN1.)
The first WORD or DWORD of the
operation’s result.
All except constants and
variables located in %S memory
Example: Logical AND
When input v_I0001 is set, the 16-bit strings represented by variables WORD1 and WORD2 are
examined. The logical AND places the results in output string RESULT.
Example: Logical XOR
Whenever V_I0001 is set, the bit string represented by the variable WORD3 is cleared (set to all
zeroes).