Conversion from programmable controller CPU to SECS/GEM communication software
■Binary→ASCII
Source
• I1, I2, U1, or U2
D
I1, U1, I2, or U2
• I4 or U4
D
Low-order word
D+1
High-order word
■ASCII→Binary
Source
• ASCII
D
Ten thousands
D+1
Hundred
D+2
One
D+3
0
Fixed format
• ASCII
D
Billion
D+1
Ten millions
D+2
Hundred thousands
D+3
Thousand
Ten
D+4
D+5
0
Fixed format
Sign
Thousand
Ten
Sign
Hundred millions
Million
Ten thousands
Hundred
One
Dest
• ASCII
0
1
2
3
Signs (+) are omitted.
• ASCII
0
1
2
3
Signs (+) are omitted.
Dest
• I1, I2, U1, or U2
I1, I2, U1, or U2
• I4 or U4
I4 or U4
Appendix 2 Data Type Conversion
Sign
Number 1
Number 2
Number 3
-
Number n
Sign
Number 1
Number 2
Number 3
-
Number n
APPX
285
A