Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

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

Advertisement

Function
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.
Value of In
In < 0
In = 0
0 < In
The following example is for when BiasP is INT#20 and BiasN is INT#−20.
LD
EN
INT#−20
BiasN
abc
In
INT#20
BiasP
Precautions for Correct Use
• 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.
Value of In
+∞

NY-series Instructions Reference Manual (W560)

Value of
Out
In + BiasN
0
In + BiasP
ST
Zone
ENO
def
Out=def
BiasP=INT#20
In=abc
BiasN=INT#−20
Value of BiasP
Value of BiasN
+∞
+∞
−∞
+∞
−∞
−∞
def:=Zone(INT#−20, abc, INT#20);
Value of Out
+∞
+∞
Error
0
2 Instruction Descriptions
2
2-343

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents