Delta AS Series Programming Manual page 1045

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

D10
16#32(2)
D11
16#33(3)
D12
16#35(5)
16#00
D13
ending character
Example 2
The floating-point number in (D1, D0 = 0.0012345678) is converted into the exponential format in a string (D4=1, D5=8).
D10
16#2E (.)
D11
16#33 (3)
D12
16#35 (5)
D13
16#37 (7)
D14
16#45 (E)
D15
16#30 (0)
16#00
D16
ending character
Additional remarks
1.
If the value in S
exceeds the range of values that can be represented by floating-point numbers, the instruction is
1
not executed, SM0 is ON, and the error code in SR0 is 16#2013.
2.
If the value in S
is neither 0 nor 1, the instruction is not executed, SM0 is ON, and the error code in SR0 is
2
16#2003.
3.
If the value in S
+1 is not in between 2≦S
2
in SR0 is 16#2003.
4.
If you declare the operand S
16#31(1)
16#2E(.)
16#34(4)
16#36(6)
16#31 (1)
16#30 (2)
16#34 (4)
16#36 (6)
16#38 (8)
16#2D (-)
16#33 (3)
+1≦20, the instruction is not executed, SM0 is ON, and the error code
2
in ISPSoft, the data type is ARRAY [2] of WORD/INT.
2
Cha p ter 6 App l ied Ins truc tio ns
6_
6 - 7 6 5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents