Conversion instructions
674
Part III FP Instructions
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
there is an error in the control string
specified by s1_Control.
normal direction (+) is specified in
s1_Control when the format is decimal.
the number of ASCII characters per
converted unit specified by
n_ConversionMethod exceeds 4 for
16-bit data or 8 for 32-bit data when
hexadecimal format is specifed by
s1_Control.
0 is specified for the no. of 16- or 32-bit
(1- or 2-word) units to be converted in
n_ConversionMethod.
the number of 16- or 32-bit decimal
numbers to be converted specified by
n_ConversionMethod exceeds the area
for storing ASCII data.
the converted result exceeds the area.
Explanation of the conversion method, e.g. n_ConversionMethod = 16#0214
16 # 0 2 1 4
36352D2034333231
'65- _4321'
FFC804D2
-56 1234
Number of ASCII characters per converted unit
(See notes for restrictions.)
16#0 to 16#F (0 to 15)
Register content (hex.)
Character string (see notes)
Offset in ASCII character units (8-bit) for storing the result
(X values do not change)
Register content (hex.)
Values (dec.)
Number of 16-bit (1-word) or 32-bit
(2-word) units to be converted
16#0 to 16#FF (0 to 255)
Error flags