Data Type Conversion Instructions - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

8.12 Data Type Conversion Instructions

8.12.1 BOOL_TO_***
FB/FC
BOOL_TO_*** instructions convert boolean 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
BOOL to Bit String
Relevant instructions:
Explanation
BOO L_TO_* **
EN
In
Input/ Output
Description
Input
Data to convert
Conversion result
Integer
BO OL_TO_ BYTE
EN
E NO
In
Out
B OOL _TO _DWORD
EN
E NO
In
Out
Chapter 8 Logic Instructions
E NO
Out
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
B OOL_ TO _WORD
EN
E NO
In
Out
BOO L_TO _LW ORD
EN
E NO
In
Out
Applicable
model
DVP15MC11T
Time, date
8-149
8_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents