88
4 STANDARD FUNCTIONS/FUNCTION BLOCKS
4.1 Standard Functions
Converting INT/DINT to bit array
Bit array copy
Reading the specified bit of word label
Writing the specified bit of word label
Copying the specified bit of word label
Unnecessary of type conversion
Function symbol Description Reference
INT_TO_BITARR Outputs low-order (n) bits of INT type data to a bit array. Page 757
INT_TO_BITARR_E
DINT_TO_BITARR Outputs low-order (n) bits of DINT type data to a bit array. Page 758
DINT_TO_BITARR_E
Function symbol Description Reference
CPY_BITARR Copies specified number of bits of a bit array. Page 759
CPY_BITARR_E
Function symbol Description Reference
GET_BIT_OF_INT Reads a value of a specified bit of INT type data. Page 760
GET_BIT_OF_INT_E
Function symbol Description Reference
SET_BIT_OF_INT Writes a value to a specified bit of INT type data. Page 761
SET_BIT_OF_INT_E
Function symbol Description Reference
CPY_BIT_OF_INT Copies a specified bit of INT type data to a specified bit of another INT type data. Page 762
CPY_BIT_OF_INT_E
Function symbol Description Reference
GET_BOOL_ADDR Converts a data type to the BOOL type. Page 763
GET_INT_ADDR Converts a data type to the INT type.
GET_WORD_ADDR Converts a data type to the WORD type.