18 TYPE CONVERSION FUNCTIONS
18.57 Unnecessary of Type Conversion
973
18
18.57
Unnecessary of Type Conversion
GET_BOOL_ADDR, GET_INT_ADDR, GET_WORD_ADDR
These functions output the input variable as the output variable type.
Setting data
■
Descriptions, types, and data types
Processing details
■
Operation processing
• These functions output the input data variable as the output variable type according to the following table.
■
Operation result
The operation processing is executed. The operation output value is output from (d).
Operation error
There is no operation error.
Ladder diagram, FBD/LD
Structured text
d:=GET_BOOL_ADDR(s)
d:=GET_INT_ADDR(s);
d:=GET_WORD_ADDR(s);
Argument
Description
Type
Data type
s
Input
Input variable
ANY
d(GET_BOOL_ADDR / GET_INT_ADDR / GET_WORD_ADDR)
Output
Output variable
BOOL/INT/WORD
General function
Input data type
Output data type
GET_BOOL_ADDR
BOOL
ARRAY OF BOOL
BOOL
GET_INT_ADDR
INT
DINT
WORD
REAL
TIME
STRING
ARRAY OF INT
ARRAY OF DINT
ARRAY OF WORD
ARRAY OF DWORD
ARRAY OF REAL
ARRAY OF TIME
INT
GET_WORD_ADDR
WORD
s
d
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......