2-429
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Conversion Instructions
2
FixNumToString
A few examples are given below.
The format for fixed-point decimal numbers is the same as the fixed-decimal output format of the
OMRON FZ-series Vision Sensors.
An error occurs in the following case. ENO will be FALSE, and Out will not change.
• The conversion result exceeds the valid range of Out.
In = abc
Out = ghi
Zero = def = TRUE Zero = def = FALSE
16#0001462C
(10#83500)
‘83.500’ ‘83.5’
16#00051AA4
(10#334500)
‘334.500’ ‘334.5’
16#0003BEFC
(10#245500)
‘245.500’ ‘245.5’
Additional Information
Precautions for Correct Use
ghi:=FixNumToString(abc, def);
LD ST
def
abc ghi
FixNumToString
EN ENO
In
Zero