Not (!) -15, 4 not (!) ! ! ! ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 147: Program example

Advertising
background image

MotionSuite™ Series Machine Controller Motion Programming Manual

Chapter 4: Sequence Commands

4-15

4.3.4

NOT (!)

!

!

!

! Outline

Invert a designated register data, and leave the calculation result. The real number register
cannot be used.

!

!

!

! Detailed Explanation

Command Method

Data Type

* It is impossible to designate a bit-type constant.

!

!

!

! Program Example

Bit (B)

Integer (W)

32-bit Integer (L)

Real (F)

Constant

$*

$

$

×

Type

Motion Program

Ladder Program

B

MB001000=!MB001010;

W

MW00100=!MW00101;

L

ML00100=!ML00102;

F

MB001000=!MW00101;
MW00100=!MW00101;
ML00100=!ML00102;

$

MB001010

MB001000

MW00101 COM

⇒MW00100

ML00102 COM

⇒ML00100

(Ex.)

MW00100=!MW00101;

0001 0010 0011 0100

MW00101

(1234H)

1110 1101 1100 1011

MW00100

0EDCBH

Advertising