ReadBool (FUN)ΒΆ
FUNCTION ReadBool : DINT
The ReadBool method reads one bit from the given offset into value.
@param deviceId The device to read the bit from.
@param bitOffset The bit offset to read the bit at.
@param data Pointer to where the bit will be read to.
@return Returns 0 on success, -1 otherwise.
- InOut:
Scope
Name
Type
Return
ReadBool
DINT
Input
deviceId
DINT
taskId
UDINT
bitOffset
UDINT
value
POINTER TO BOOL