Word (Unsigned)/16-Bit String Type → Word (Signed), Double Word (Signed) Type Conversion - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
Hide thumbs Also See for Melsec-Q Series:
Table of Contents

Advertisement

WORD_TO_INT(_E), WORD_TO_DINT(_E)
5.1.21
Word (unsigned)/16-bit string type → word (signed), double
word (signed) type conversion
WORD_TO_INT(_E)
WORD_TO_DINT(_E)
Structured ladder
WORD_TO_INT_E
EN
ENO
s
Input argument,
EN:
s:
Output argument,
ENO:
d:
Function
Operation processing
(1) WORD_TO_INT, WORD_TO_INT_E
Converts word (unsigned)/16-bit string type data input to
and outputs the operation result from
Word (unsigned)/16-bit string type
5.1 Type Conversion Functions
5-64
5.1.21 Word (unsigned)/16-bit string type
WORD_TO_INT(_E), WORD_TO_DINT(_E)
ST
ENO:=
WORD_TO_INT_E
d
Executing condition (TRUE: Execution, FALSE: Stop)
Input
Output status (TRUE: Normal, FALSE: Error)
Output
5678
H
_E: With EN/ENO
functions.
WORD_TO_INT
WORD_TO_DINT
(EN, s, d);
:Bit
:Word (unsigned)/16-bit string
:Bit
:Word (signed), double word (signed)
s
.
d
22136
Word (signed) type
word (signed), double word (signed) type conversion
Performance
Universal
UD
indicates any of the following
WORD_TO_INT_E
WORD_TO_DINT_E
into word (signed) type data,
High

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents