Exp: Floating Point Number Exp Instruction; Rsum: Sum Floating Point Number Instruction; Asin: Floating Point Number Asin Instruction - INVT IVC2H Programming Manual

Small plc
Table of Contents

Advertisement

Programming manual of IVC series small PLC

6.4.13 EXP: Floating point number EXP instruction

LAD:
IL: EXP (S)
(D)
Operand Type
S
REAL Constant
D
REAL
Operand description
S: source operand
D: destination operand
Function description
1. When the power flow is valid, get
the EXP value of S, and assign the
result to D.

6.4.14 RSUM: Sum floating point number instruction

LAD:
IL: RSUM (S1) (S2) (D)
Operand Type
S1
REAL
S2
INT Constant KnX
D
REAL
Operand description
S1: source operand, starting unit of
summing
S2: source operand, number of units
to be summed up
D:
destination operand, summing
result
Function description
When the power flow is valid, the
contents of S2×2 units starting with S1
will be summed up, and the floating
point
number summing result is
assigned to the D unit.
Note
1. 0≤S2≤255, or the system will report
operand error.

6.4.15 ASIN: Floating point number ASIN instruction

LAD:
IL: ASIN (S)
(D)
Applicable elements
2. When the operation result (D) is not within (-1.701412e+038)~(1.701412e +038),
the carry flag bit (SM181) will be set. When the operation result is 0, the zero flag
bit (SM180) will be set.
Example
When X0 is ON, get the EXP value of (D0, D1) "10.0", and assign the result
22026.464844 to (D10, D11).
Applicable elements
KnY
KnM
KnS
KnLM KnSM
2. When overflow occurs, the summing operation will stop.
Example
When X0 is ON, the floating point numbers of the 5×2 units starting with D0 will be
summed up, and the result is assigned to (D100, D101). (D100, D101)=(D0, D1)
+ ... + (D8, D9)=150001.5.
Chapter 6 Application instructions
Applicable to
IVC1 IVC1L IVC2L IVC2H
Influenced flag bit
Zero, carry, borrow
Program steps
7
D
D
Applicable to
IVC1 IVC1L IVC2L IVC2H
Influenced flag bit
Zero, carry, borrow
Program steps
9
D
D
D
Applicable to
IVC2H
Influenced flag bit
Zero, carry, borrow
Program steps
7
Indexed
addressing
V
R
V
R
LD X0
EXP D0 D10
Indexed
addressing
V
R
V
R
V
R
LD SM0
RMOV 10000.1 D0
RMOV 20000.2 D2
RMOV 30000.3 D4
RMOV 40000.4 D6
RMOV 50000.5 D8
LD X0
RSUM D0 5 D100
98

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IVC2H and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ivc seriesIvc1sIvc2lIvc1Ivc1l

Table of Contents