-

Y_YA_RangeCheck

Image

This function will set the output if the Value input is between the Minimum and Maximum. The check is inclusive, meaning that if Value=Minimum or Value=Maximum, then the output will be on.

Parameters:

* Parameter Data Type Description Default
VAR_INPUT
B EN BOOL The function will continue to execute every scan while EN is held high and there are no errors. FALSE
V Minimum LREAL The smallest 'Value' that will set the InRange output high. LREAL#0.0
V Value LREAL The data to be tested against the Minimum and Maximum. LREAL#0.0
V Maximum LREAL The largest 'Value' that will set the InRange output high. LREAL#0.0
VAR_OUTPUT
B ENO BOOL Indicates that the function is operating normally and the outputs of the function are valid.

Note:

The boolean value of the output indicates in the value is within the specified range or not.

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.