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