EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 Instruction Descriptions
2-308
NJ-series Instructions Reference Manual (W502)
The Zone instruction controls the value of data to control In according to the positive bias, BiasP, and
the negative bias, BiasN. The value of processing result Out is as shown below.
The following example is for when BiasP is INT#20 and BiasN is INT#20.
In, BiasP, BiasN, and Out may be different data types, but observe the following precaution.
Set the valid range of Out to include the valid ranges of In, BiasP, and BiasN.
If the value of In is nonnumeric data, the value of Out is nonnumeric data.
If the value of In, BiasP, or BiasN is positive infinity or negative infinity, the value of Out is as shown
below.
Function
Value of In
Value of
Out
In < 0 In + BiasN
In = 0 0
0 < In In + BiasP
Precautions for Correct Use
Value of In Value of BiasP Value of BiasN Value of Out
+
+
+ +
−∞ +
−∞
+
Error
−∞
0
def:=Zone(INT#20, abc, INT#20);
LD ST
INT#20
INT#20
abc
def
Zone
EN ENO
BiasN
In
BiasP
Out=def
In=abc
BiasP=INT#20
BiasN=INT#20

Table of Contents

Related product manuals