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