4 STANDARD FUNCTIONS/FUNCTION BLOCKS
4.1 Standard Functions
151
4
■
Converting STRING to INT/DINT
■
Converting STRING to BCD
■
Converting STRING to REAL
■
Converting STRING to TIME
■
Converting bit array to INT/DINT
■
Converting INT/DINT to bit array
■
Copying the bit array
■
Reading/writing/copying the specified bit of the word label
Function symbol
Processing details
Reference
STRING_TO_INT
Converts a value from STRING data type to INT data type.
STRING_TO_INT_E
STRING_TO_DINT
Converts a value from STRING data type to DINT data type.
STRING_TO_DINT_E
Function symbol
Processing details
Reference
STRING_TO_BCD
Converts a value from STRING data type to BCD data type.
STRING_TO_BCD_E
Function symbol
Processing details
Reference
STRING_TO_REAL
Converts a value from STRING data type to REAL data type.
STRING_TO_REAL_E
Function symbol
Processing details
Reference
STRING_TO_TIME
Converts a value from STRING data type to TIME data type.
STRING_TO_TIME_E
Function symbol
Processing details
Reference
BITARR_TO_INT
Converts the specified number of bits in a bit array to an INT data type value.
BITARR_TO_INT_E
BITARR_TO_DINT
Converts the specified number of bits in a bit array to a DINT data type value.
BITARR_TO_DINT_E
Function symbol
Processing details
Reference
INT_TO_BITARR
Outputs the lower n bits of the INT data type value to the bit array.
INT_TO_BITARR_E
DINT_TO_BITARR
Outputs the lower n bits of the DINT data type value to the bit array.
DINT_TO_BITARR_E
Function symbol
Processing details
Reference
CPY_BITARR
Copies the bit array by the specified number of bits.
CPY_BITARR_E
Function symbol
Processing details
Reference
GET_BIT_OF_INT
Reads a value from the specified bit of a word label.
GET_BIT_OF_INT_E
SET_BIT_OF_INT
Writes a value to the specified bit of a word label.
SET_BIT_OF_INT_E
CPY_BIT_OF_INT
Copies the specified bit of the word label to the specified bit of another word label.
CPY_BIT_OF_INT_E
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......