Technical data

Table Of Contents
IEC Functions
System Software for S7-300/400 System and Standard Functions - Volume 2/2
26-24
A5E00739858-01
26.11 Converting Data Type Formats
Description FC5 DI_STRNG
The function FC5 converts a variable in DINT data type format to a string. The
string is shown preceded by a sign. If the variable given at the return parameter is
too short, no conversion takes place and the binary result (BR) bit of the status
word is set to “0".
Parameter Declaration Data Type Memory Area Description
I INPUT DINT I, Q, M, D, L,
Const.
Input value
RET_VAL OUTPUT STRING D, L Result string
You can assign only a symbolically defined variable for the output parameter.
Description FC16 I_STRNG
The function FC16 converts a variable in INT data type format to a string. The
string is shown preceded by a sign. If the variable given at the return parameter is
too short, no conversion takes place and the binary result (BR) bit of the status
word is set to “0".
Parameter Declaration Data Type Memory Area Description
I INPUT INT I, Q, M, D, L,
Const.
Input value
RET_VAL OUTPUT STRING D, L Result string
You can assign only a symbolically defined variable for the output parameter.