EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Conversion instructions
226
Part II IEC Instructions
UDINT_TO_STRING
_LEADING_ZEROS
Unsigned DOUBLE INTEGER into STRING
Function used String1
defined as
Result
STRING[2] '78'
STRING[4] '5678'
STRING[6] '345678'
STRING[8] '12345678'
STRING[10] '0012345678'
STRING[12] '000012345678'
String1:=UDINT_TO_STRING(12345678)
and so on...
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
PLC types
Availability of UDINT_TO_STRING_LEADING_ZEROS (see page 1319)
When using the data type STRING
with small PLCs like FP-e or FP0,
make sure that the length of the result string is equal to or greater than
the length of the source string.
For further information refer to the online help: Upgrade Problems with
Data Type STRING
Data type I/O Function
UDINT input input data type
STRING output conversion result
Description
This function converts a value of the data type UDINT (positive value) to a value of the data type
STRING. It generates a result string in decimal representation that is right aligned. It is filled with
leading zeros up to the maximum number of characters defined for the string.
Example
Explanation
Data types

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals