Checkreal - Omron NY532-5400 Reference Manual

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

Advertisement

CheckReal

The CheckReal instruction checks a real number to see if it is infinity or nonnumeric data.
Instruction
CheckReal
Real Number
Check
Variables
Name
Meaning
In
Real
number
Out
Return
value
Nan
Nonnumeri
c data
check
result
PosInfinite
Positive
infinity
check
result
NegInfinite
Negative
infinity
check
result
* If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
In
Out
OK
Nan
OK
PosInfinite
OK
NegInfinite
OK
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Input
Real number
Always TRUE
TRUE: Nonnumeric data
FALSE: Not nonnumeric
data
TRUE: Positive infinity
Output
FALSE: Not positive infinity
TRUE: Negative infinity
FALSE: Not negative infinity
Graphic expression
(@)CheckReal
EN
ENO
In
Nan
PosInfinite
NegInfinite
Valid range
Depends on data type.
TRUE only
Depends on data type.
Integers
OK OK
2 Instruction Descriptions
ST expression
CheckReal(In, Nan, PosIn-
finite, NegInfinite);
Out
Unit
Default
---
*
---
---
Times, durations, dates,
and text strings
2
2-237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents