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 #156 background imageLoading...
Page #156 background image
Conversion instructions
155
Part II IEC Instructions
STRING_TO_INT
STRING (decimal format) to INTEGER
Thereby the attached string is first converted to a value of the data type STRING[32]. Finally this is
converted to a value of the data type INT via a sub-programm of approx. 270 steps that is also
used in the functions STRING_TO_INT, STRING_TO_WORD, STRING_TO_DINT and
STRING_TO_DWORD.
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.
Permissible format:
'[Space][Sign][Decimal numbers][Space]' e.g. ' 123456 '
Permissible characters:
Space All characters except for "+“ (plus), "-" (minus) and all decimal numbers
Sign "+“ (plus), "-" (minus)
Decimal
numbers
Decimal numbers "0 - 9“
The analysis ends with the first non-decimal number.
PLC types
Availability of STRING_TO_INT (see page 1331)
Data type Comment
STRING input variable
INT output variable
Description
This function converts a STRING in decimal format to a value of the data type INT.
Example
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