13
Instructions Lookup Sheet
Type
Model Supported
Page
H2U-XP H3U
Data logical operations
WAND Binary data logical AND √ √ 114
WOR Binary data logical OR √ √ 115
WXOR Binary data logical XOR √ √ 116
NEG Binary data negation √ √ 117
ENEG
Binary oating-point notation
negation
×
√
119
Trigonometric functions
SIN Floating-point SIN operation √ √ 120
COS Floating-point COS operation √ √ 121
TAN Floating-point TAN operation √ √ 122
ASIN
Binary oating-point ARCSIN
operation
√ √
123
ACOS
Binary oating-point ARCCOS
operation
√ √
124
ATAN
Binary oating-point ARCTAN
operation
√ √
125
RAD
Binary oating-point angle ->
radian conversion
√ √
126
DEG
Binary oating-point radian-to-
angle conversion
√ √
127
SINH
Binary oating-point SINH
operation
√ √
128
COSH
Binary oating-point COSH
operation
√ √
129
TANH
Binary oating-point TANH
operation
√ √
130
Table operations
WSUM Sum of calculated values × √ 131
MEAN Mean value calculation √ √ 132
LIMIT Upper/Lower limit control × √ 133
BZAND Dead zone control × √ 135
ZONE Zone control × √ 136
SCL
Coordinate determination
(coordinate data of different
points)
×
√ 138
SCL2
Coordinate determination 2 (X
and Y coordinate data)
×
√ 140
Exponent operation
EXP
Binary oating-point exponent
operation
√ √ 142
LOGE
Binary oating-point natural
logarithm operation
√ √ 143
LOG
Binary oating-point logarithm
operation with a base of 10
√ √ 144
ESQR
Binary oating-point square root
operation
√ √ 145
SQR
Binary data square root
operation
√ √ 146
POW Floating-point weight instruction × √ 147
Type
Model Supported
Page
H2U-XP H3U
ANDZ
>=
Conductive when absolute
value >= comparative AND state
contact |S1 – S2| ≧ |S3|
× √ 95
ANDZ<
Conductive when absolute
value < comparative AND state
contact |S1 – S2| < |S3|
× √ 95
ANDZ<=
Conductive when absolute
value <= comparative AND state
contact |S1 – S2| ≦ |S3|
× √ 95
©ANDZ=
Conductive when absolute
value = comparative AND state
contact |S1 – S2| = |S3|
× √ 95
ANDZ<>
Conductive when absolute
value <> comparative AND state
contact |S1 – S2| ≠ |S3|
× √ 95
ORZ>
Conductive when absolute value
> comparative OR state contact
|S1 – S2| > |S3|
× √ 96
ORZ>=
Conductive when absolute
value >= comparative OR state
contact |S1 – S2| ≧ |S3|
× √ 96
ORZ<
Conductive when absolute value
< comparative OR state contact
|S1 – S2| < |S3|
× √ 96
ORZ<=
Conductive when absolute
value <= comparative OR state
contact |S1 – S2| ≦ |S3|
× √ 96
ORZ=
Conductive when absolute value
= comparative OR state contact
|S1 – S2| = |S3|
× √ 96
ORZ<>
Conductive when absolute
value <> comparative OR state
contact |S1 – S2| ≠ |S3|
× √ 96
Comparative output
CMP Data comparison √ √ 97
ECMP Binary oating point comparison √ √ 98
ZCP Interval comparison √ √ 99
EZCP
Binary oating point interval
comparison
√ √ 100
4 Data Operation
Type
Model Supported
Page
H2U-XP H3U
Four arithmetic operations
ADD Binary data addition √ √ 102
SUB Binary data subtraction √ √ 103
MUL Binary data multiplication √ √ 105
DIV Binary data division √ √ 106
EADD Binary oating-point addition √ √ 107
ESUB Binary oating-point subtraction √ √ 108
EMUL
Binary oating-point
multiplication
√ √ 109
EDIV Binary oating-point division √ √ 110
INC Binary data incremented by 1 √ √ 112
DEC Binary data decremented by 1 √ √ 113