Note: The definition of Modicon data addresses is as follows.
0 indicates coil.
1 indicates discrete input.
4 indicates register.
xxxx indicates the range of 1–9999. Each type has an independent logic
address range from 1 to 9999 (protocol address starts from 0).
0, 1 and 4 do not have the physical meaning and are not involved in actual
addressing.
Users shall not write X element with function codes 05 and 15, otherwise, the
system does not feed back the error information if the written operands and
data are correct, but the system does not perform any operation on the write
instruction.