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
143
Part II IEC Instructions
STRING_TO_DWORD
STRING (Hexadecimal Format) to DOUBLE WORD
At first the string is converted to a value of the data type STRING[32]. Finally this is converted to a
value of the data type DWORD in a subprogram of approximately 270 steps, which is also used by
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.
See also: STRING_TO_DWORD_STEPSAVER
Example with and without EN/ENO:
Acceptable Format:
_'[Space][Hexadecimal number][Space]' e.g. perhaps ' afFE '
Acceptable characters:
Space Space “ “
Signs Plus "+“ and minus "-"
Hexadecimal
numbers
Hexadecimal numbers in the range "0 - 9“ or "A - F“ or "a - f".
The analysis ends with the first non-hexadecimal number.
PLC types
Availability of STRING_TO_DWORD (see page 1331)
Data type Comment
STRING Input variable
DWORD Output variable
Description
This function converts a string in hexadecimal formal to a value of the data type DWORD.
Data types

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals