
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-13
4.3.2 Logical AND (&)
!
!!
! Outline
Execute logical AND 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 Logical Multiplication (AND:C=A&B)
ABC
000
010
100
111
Bit (B) Integer (W) 32-bit Integer (L) Real (F) Constant
$$ $
×
$
Type Motion Program Ladder Program
B MB001000=MB001010&MB001011;
W MW00101=MW00100&00FFH;
L ML00106=ML00102&ML00104;
F— —
MB001000=IB001000&MB001010;
MW00100=MW00101&MW00102;
ML00100=ML00102&5555ACACH;
$
MB001010 MB001000MB001011
MW00100^H00FF ⇒MW00101
ML00102^ML00104 ⇒ML00106
Komentáře k této Příručce