Converting Word (Signed) Type To Double Word (Signed) Type - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Converting word (signed) type to double word (signed) type

INT_TO_DINT(_E)
High
Basic
Process
performance
Structured ladder/FBD
INT_TO_DINT_E
EN
ENO
s
The following function(s) can go in the dotted squares.
INT_TO_DINT, INT_TO_DINT_E
■Argument
Input/output
argument
Input argument
Output argument
Processing details
■Operation processing
Converts word (signed) type data input to (s) into double word (signed) type data, and outputs the operation result from (d).
s
1234
Word (signed) type
■Operation result
• Function without EN/ENO
An operation is executed and the operation value is output from (d).
• Function with EN/ENO
The following table shows the executing conditions and operation results.
EN
TRUE (Operation execution)
FALSE (Operation stop)
*1 When FALSE is output from ENO, the data output from (d) is undefined. In this case, create a program so that the data output from (d) is
not used.
5 APPLICATION FUNCTIONS
32
5.1 Type Conversion Functions
Redundant Universal
LCPU
ST
ENO:=
INT_TO_DINT_E
d
Name
Description
EN
Executing condition (TRUE: Execution, FALSE:
Stop)
s(_INT)
Input
ENO
Execution result (TRUE: Normal, FALSE: Error)
d
Output
Double word (signed) type
ENO
TRUE
FALSE
(EN, s, d);
d
1234
*1
Data type
Bit
Word (signed)
Bit
Double word (signed)
(d)
Operation output value
Undefined value

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents