Strings_To_*** - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

8.12.6 Strings_TO_***

FB/FC
Strings_TO_*** instructions convert String data into the data of basic data
FC
types. "***" can be any basic data type.
Parameters
Parameter
Meaning
name
In
Data to convert
Out
Conversion result Output
Bit string
In
Out
The data type of Out must be the same as "***" of the instruction name.
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
String to Bool
Relevant instructions:
The rule for the String-to-Bool conversion is that the output Bool value is TRUE only when the
string value is TRUE or true. Otherwise, the output is FALSE.
String to Integer
Strings can be converted to integers. And some instructions are shown below.
Explanation
St ring_TO_* **
EN
In
Input/ Output
Description
Input
Data to convert
Conversion result
Integer
STRING _TO _BO OL
EN
In
STRI NG_TO_S INT
EN
ENO
In
O ut
STRI NG_TO_DINT
EN
ENO
In
O ut
Chapter 8 Logic Instructions
ENO
O ut
Valid range
Depends on the data type of the
variable that the input parameter is
connected to.
Depends on the data type of the
variable that the output parameter is
connected to.
Real
number
ENO
O ut
S TRI NG _TO_USI NT
EN
ENO
In
O ut
STRING_ TO _ULINT
EN
ENO
In
O ut
Applicable
model
DVP15MC11T
Time, date
8-173
8_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents