10 range check instruction (rchk) – Yaskawa Ladder Works Programming Manual User Manual

Page 64

Advertising
background image

3.10 RANGE CHECK Instruction (RCHK)

3-11

3.10 RANGE CHECK Instruction (RCHK)

[Outline]

The RCHK instruction checks whether the input value in the Input is within the Lower Limit and
Upper Limit, and then outputs the result to the bit output. The contents of the Input are retained.

Upper Limit

Lower Limit

Input

Bit Output=OFF

Bit Output=ON

Bit Output=OFF

If the Input value(Input) is greater than the Lower Limit and less than the Upper Limit, the
result(Bit Output) = ON.

In the cases other than the above, the result(Bit Output) = OFF.

[Format]

Symbol : RCHK
Full Name : Range Check
Category : LOGIC
Icon :

[Parameter]

Parameter Name

Setting

Input

· Any integer type, double-length integer type and real number type register
· Any integer type, double-length integer type and real number type register

with subscript

· Subscript register
· Constant

Lower Limit

· Any integer type, double-length integer type and real number type register
· Any integer type, double-length integer type and real number type register

with subscript

· Subscript register
· Constant

Upper Limit

· Any integer type, double-length integer type and real number type register
· Any integer type, double-length integer type and real number type register

with subscript

· Subscript register
· Constant

Advertising