Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 63

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
Error
An operation error occurs in the following case. The error flag M8067 turns ON, and D8067 stores the error
code.
1) When the number of points occupied by the string data storage destination (device specified in
exceeds the range of the corresponding device
(Error code: K6706)
Program example
In this program, word [signed] data stored in a device specified in
data obtained by conversion is output to a device specified in
1) Function without EN/ENO(INT_TO_STR)
[Structured ladder]
g_int1=-12345
2) Function with EN/ENO(INT_TO_STR_E)
[Structured ladder]
g_bool1
g_int1
INT_TO_STR
g_string='-12345'
_INT
INT_TO_STR_E
g_bool3
EN
ENO
_INT
g_string1
5.1 Type Conversion Functions
is converted into string data, and the
s
.
d
[ST]
g_string1 := INT_TO_STR(g_int1);
[ST]
g_bool3 := INT_TO_STR_E(g_bool1, g_int1, g_string1);
5 Applied Functions
1
)
d
2
3
4
5
6
A
61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents