REST to ModBus client or local modbus register mapping..PARSER

I started doing this…for about 20 minutes I Guess I could do most function codes

Modbus codes in plain text for REST… would be (1)ReadCoils, (2)ReadDInputs,(4)ReadInputRegs,(5)WriteCoil, (6)WriteHRegister, (7)ReadErr, (15) WriteCoils.

with Modbus ASCII as the REST protocol data unit. Instead of a CRC, some other security code could be used to evaluate the packet integrity…

I have a Modbus SPI mirror…and could pump client frames over that bus once authenticated…

Did I smoke the wrong CIGAR or would this be useful???

1 Like