
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-14
4.3.3 Exclusive OR (^)
!
!!
! Outline
Execute exclusive OR of the immediately previous calculation result and a designated
register, and leave the calculation result. The real number register cannot be used.
!
!!
! Detailed Explanation
Command Method
Data Type
!
!!
! Program Example
True Value Table of the Exclusive OR (XOR:C=A^B)
ABC
000
011
101
110
Bit (B) Integer (W) 32-bit Integer (L) Real (F) Constant
$$ $
×
$
Type Motion Program Ladder Program
B
W MW00101=MW00100^00FFH;
L ML00106=ML00102^ML00104;
F— —
MB00100=MW00101^MW00102;
ML00100=ML00102^12345678H;
MW00100
%
H00FF⇒MW00101
ML00102
%
ML00104⇒ML00106
Kommentare zu diesen Handbüchern