EasyManuals Logo

Panasonic FP Series User Manual

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
Page #227 background imageLoading...
Page #227 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals