Appendix 2
This section explains data type conversion.
Conversion from SECS/GEM communication software to programmable controller CPU
■Binary→ASCII
Source
• I1, I2, U1, or U2
I2 or U2
• I4 or U4
I4 or U4
■ASCII→Binary
Source
• ASCII
From the sign, specify a numerical character string to the stopper.
Signs can be omitted. Treated as + when signs were omitted.
Data Type Conversion
I1 or U1
Sign
Ten thousands
Thousand
Hundred
Ten
One
Dest
• ASCII
D
Ten thousands
D+1
Hundred
D+2
One
D+3
0
• ASCII
Billion
D
D+1
Ten millions
D+2
Hundred thousands
Thousand
D+3
Ten
D+4
0
D+5
Dest
• I1, I2, U1, or U2
D
I1, I2, U1, or U2
Appendix 2 Data Type Conversion
Sign
Thousand
Ten
Sign
Hundred millions
Million
Ten thousands
Hundred
One
APPX
281
A