Delta AS Series Programming Manual page 1018

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
If SM690 is OFF, the instruction stores the ending character 16#0000 in D+2. If SM690 is ON, the value in D+2 is
unchanged without the ending character.
If the value in S is a positive value, the instruction stores only the value but not the sign character in D. If the value
in S is a negative value, the instruction stores the "-" sign character in D (16#2D). For example, if the value in S is -
12345 and SM690 is OFF, the conversion result is as follows.
b15
4.
For 32-bit instructions, the value in S must be a binary number between -2147483648 to 2147483647. The
operand D occupies six word devices. The data is converted as follows.
b31
_6
If SM690 is OFF, the instruction stores the ending character 16#0000 in D+4. If SM690 is ON, the value in D+4 is
unchanged without the ending character.
In addition, if the value in S is a positive value, the instruction stores only the value but not the sign character in D.
If the value in S is a negative value, the instruction stores the "-" sign character in D (16#2D). For example, if the
value in S is -12345678, and SM690 is OFF, the conversion result is as follows.
b31
6 - 7 3 8
b0
-1234
b0
12345678
b0
-12345678
b15
b7
b8
b0
16#31
16#2D(-)
16#33
16#32
16#00
16#34
b15
b7
b8
b0
16#32
16#31
16#34
16#33
16#36
16#35
16#38
16#37
16#00
16#00
b15
b7
b8
b0
16#31
16#2D
16#33
16#32
16#35
16#34
16#37
16#36
16#00
16#38
D + 0
D + 1
D + 2
D + 0
D + 1
D + 2
D + 3
D + 4
D + 0
D + 1
D + 2
D + 3
D + 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents