Closed TG9541 closed 4 years ago
Bitfield read BF@ for Little Endian (LE, MODBUS) and write for BF! Big Endian (BE, STM8) was introduced in #19.
BF@
BF!
Generalize this to BF@ .,. BF! (BE) and LEBF@ ... LEBF! (LE) and use it for FC-1 (Read Coils) and FC-2 (Read Discrete Inputs).
BF@ .,. BF!
LEBF@ ... LEBF!
Bitfield read
BF@
for Little Endian (LE, MODBUS) and write forBF!
Big Endian (BE, STM8) was introduced in #19.Generalize this to
BF@ .,. BF!
(BE) andLEBF@ ... LEBF!
(LE) and use it for FC-1 (Read Coils) and FC-2 (Read Discrete Inputs).