FCT \ 5: Write 1 bit¶
For the function code “write 1 bit”, the value of the bit to be written is encoded in one word.
BIT = TRUE -> Data word = FF 00 HEX
BIT = FALSE -> Data word = 00 00 HEX
Function code | Server operand address | Number of words | CRC | |||
High | Low | High | Low | High | Low |
Function code | Server operand address | Data | CRC | |||
High | Low | High | Low | High | Low |