Zonecmp - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

ZoneCmp

The ZoneCmp instruction determines if the comparison data is within the specified maximum and mini-
mum values.
Instruction
ZoneCmp
Zone Comparison
Variables
Name
Meaning
MN
Minimum value
In
Comparison
data
MX
Maximum value
Out
Comparison
result
* If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
MN
In
MX
Out
OK
* You can specify TIME, DATE, TOD, and DT data with CPU Units with unit version 1.01 or later and Sysmac Studio version
1.02 or higher.
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Minimum value
Value to compare
Input
Maximum value
Output
Comparison result
OK OK OK OK OK OK OK OK OK OK OK OK OK OK
OK OK OK OK OK OK OK OK OK OK OK OK OK OK
OK OK OK OK OK OK OK OK OK OK OK OK OK OK
Graphic expression
(@)ZoneCmp
EN
Out
MN
In
MX
Valid range
Depends on data type.
Depends on data type.
Integers
2 Instruction Descriptions
ST expression
Out:=ZoneCmp(MN, In,
MX);
Unit
Default
0
*
---
0
---
---
Times, durations,
dates, and text strings
*
*
*
2
2-109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents