Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 153

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Converting STRING to INT/DINT
Function symbol
Processing details
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
■Converting STRING to BCD
Function symbol
Processing details
STRING_TO_BCD
Converts a value from STRING data type to BCD data type.
STRING_TO_BCD_E
■Converting STRING to REAL
Function symbol
Processing details
STRING_TO_REAL
Converts a value from STRING data type to REAL data type.
STRING_TO_REAL_E
■Converting STRING to TIME
Function symbol
Processing details
STRING_TO_TIME
Converts a value from STRING data type to TIME data type.
STRING_TO_TIME_E
■Converting bit array to INT/DINT
Function symbol
Processing details
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
■Converting INT/DINT to bit array
Function symbol
Processing details
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
■Copying the bit array
Function symbol
Processing details
CPY_BITARR
Copies the bit array by the specified number of bits.
CPY_BITARR_E
■Reading/writing/copying the specified bit of the word label
Function symbol
Processing details
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
4 STANDARD FUNCTIONS/FUNCTION BLOCKS
4.1 Standard Functions
Reference
Page 1870
STRING_TO_INT(_E)
Page 1872
STRING_TO_DINT(_E
)
Reference
Page 1874
STRING_TO_BCD(_E)
4
Reference
Page 1876
STRING_TO_REAL(_
E)
Reference
Page 1879
STRING_TO_TIME(_E
)
Reference
Page 1881
BITARR_TO_INT(_E)
Page 1882
BITARR_TO_DINT(_E)
Reference
Page 1883
INT_TO_BITARR(_E)
Page 1884
DINT_TO_BITARR(_E)
Reference
Page 1885
CPY_BITARR(_E)
Reference
Page 1886
GET_BIT_OF_INT(_E)
Page 1888
SET_BIT_OF_INT(_E)
Page 1890
CPY_BIT_OF_INT(_E)
151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents