YASKAWA SVC User Manual page 338

Mp3000 series machine controller, motion control
Table of Contents

Advertisement

Instruc-
Instruc-
tion
Name
tion
Type
OR (Inclusive
OR)
&
AND (AND)
Logic
Opera-
tions
XOR (Exclu-
^
sive OR)
NOT (Logical
!
Complement)
= =
Equal
Numeric
Com-
parison
<>
Mismatch
Format
MB = MB | MB;
MB = MB | 1;
MW = MW | MW;
MW = MW | 00FFH;
ML = ML | ML;
ML = ML | 00FF00FFH;
MQ = MQ | MQ;
MQ = MQ | 00FF00FF 00FF00FFH;
MB = MB & MB;
MB = MB & 1;
MW = MW & MW;
MW = MW & 00FFH;
ML = ML & ML;
ML = ML & 00FF00FFH;
MQ = MQ & MQ;
MQ = MQ & 00FF00FF 00FF00FFH;
MW = MW ^ MW;
MW = MW ^ 00FFH;
ML = ML ^ ML;
ML = ML ^ 00FF00FFH;
MQ = MQ ^ MQ;
MQ = MWQ ^ 00FF00FF
00FF00FFH;
MB = !MB;
MB = !1;
MW = !MW;
MW = !00FFH;
ML = !ML;
ML = !00FF00FFH;
MQ = !MQ;
MQ = !00FF00FF 00FF00FFH;
IF MB = = MB;
WHILE MB = = MB;
IF MW = = MW;
WHILE MW = = MW;
IF ML = = ML;
WHILE ML = = ML;
IF MF = = MF;
WHILE MF = = MF;
IF MQ = = MQ;
WHILE MQ = = MQ;
IF MD = = MD;
WHILE MD = = MD;
IF MW < > MW;
WHILE MW < > MW;
IF ML < > ML;
WHILE ML < > ML;
IF MF < > MF;
WHILE MF < > MF;
IF MQ < > MQ;
WHILE MQ < > MQ;
IF MD < > MD;
WHILE MD < > MD;
4.5 Motion Language Instructions
Continued from previous page.
Description
Performs a bit or integer inclu-
sive OR operation.
Performs a bit or integer AND
operation.
Performs an integer exclusive
OR operation.
Returns the inverse of the
specified bit.
Used in an IF or WHILE condi-
tional expression. If the left side
and right side are the same,
the condition is TRUE.
Used in an IF or WHILE condi-
tional expression. If the left side
and the right side do not
match, the condition is TRUE.
Continued on next page.
4
4-195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Svc32SvrSvr32

Table of Contents