E L C P r o g r a m m i n g M a n u a l
F o r m o r e i n f o r m a t i o n v i s i t :
w w w. e a t o n . c o m
M N 0 5 0 0 3 0 0 3 E
3 - 3 2 4
API Mnemonic
Operands
Function
136
D SINH P
S, D
Hyperbolic Sine
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K
H KnX
KnY
KnM KnS T
C
D
E
F
S
*
*
*
D
*
DSINH, DSINHP: 9 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32
16
P
32
16
P
32
16
P
32
16 P 32 16 P
Operands:
S
: Source value (binary floating point)
D
: SINH result
Description:
1. Flags: M1020 (zero flag); M1021 (borrow flag); M1022 (carry flag)
2. SINH
S
=(e
s
-e
-s
)/2. The result is stored in
D
.
Program Example:
1. When X0 = On, obtain the SINH of binary floating point value (D1, D0) and store the binary
floating point result in (D11, D10).
DSINH
X0
D0
D10
D1
D0
D11
D10
SINH value
binary floating point
binary floating point
2. If the absolute value of the result
>
maximum available floating point value, the carry flag
M1022 = On.
3. If the absolute value of the result
<
minimum available floating point value, the borrow flag
M1021 = On.
4. If the result = 0, the zero flag M1020 = On.
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...