Yaskawa Ladder Works Programming Manual User Manual

Page 129

Advertising
background image

7.3 UPPER/LOWER LIMIT Instruction (LIMIT)

7-8

[Program Example]

Integer type operation

Input (MW00100)

Output (MW0010)

-100 > MW00100

-00100 (under the lower limit)

-100≦MW00100≦100

Value of MW00100 (with in the upper and lower limit)

MW00100 >100

00100 (above the upper limit)

Double-length integer type operation

Input (ML00100)

Output (ML00102)

-100000 > ML00100

-100000 (under the lower limit)

-100000≦ML00100≦100000

Value of ML00100 (with in the upper and lower limit)

ML00100 > 100000

100000 (above the upper limit)

Real number type operation

Input (DF00200)

Output (DF00202)

-100.0 > DF00200

-100.0 (under the lower limit)

-100.0≦DF00200≦100.0

Value of MF00200 (with in the upper and lower limit)

DF00200 > 100.0

100.0 (above the upper limit)


Advertising