Wednesday 7 June 2017

Modbus TCP Server/Slave with Function code 22 and 23 implementation (Python/Nodejs)

I am trying to setup a modbus TCP server for test purposes. I have been looking around on the available python or nodejs modbus implementations (pymodbus, modbus-tk, minimalmodbusbut, pymodbusTCP...) however I have been unable to find a modbus TCP server/slave with FC 22 and 23 implemented so far. The goal of FC22 is to be able to write to holding registers single bit as in the PLC world for example %MW1.1

The MODBUS service FC22 “Mask write” is a register service that makes it possible to specifically change bits in a register.

Any hint if it already exists or I will have to implement this myself ?

Thank you in advance,

Benjamin



via Benjamin

No comments:

Post a Comment