10 range check (rchk), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 144

5.4 Logic Operations and Comparison Instructions
5.4.10 Range Check (RCHK)
5-75
Instructions
5
5.4.10 Range Check (RCHK)
( 1 ) Operation
The RCHK instruction checks to see if the input data is between the upper limit and lower limit and the result is stored
in the bit output.
[ a ] Bit Output = ON
The bit output is turned ON if the value of the input data is within the range that is greater than or equal to the lower
limit, and less than or equal to the upper limit.
[ b ] Bit Output = OFF
The bit output is turned OFF if the value of the input data is outside the range that is greater than or equal to the lower
limit, and less than or equal to the upper limit.
( 2 ) Format
Always set the lower limit to a value that is less than or equal to the upper limit. If the lower limit is greater than the upper limit,
the result will be invalid.
Upper limit
Lower limit
Input data
Bit Output = OFF
Bit Output = ON
Bit output = OFF
Lower limit
Upper limit
Input data
≤
≤
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Input data (In)
×
{
{
{
×
{
{
Lower limit (Lower)
×
{
{
{
×
{
{
Upper limit (Upper)
×
{
{
{
×
{
{
Input data
Lower limit
Upper limit
Icon:
Key entry: RCHK
INFO