Hi,
I need help for writing and reading messages from a python script to a master MODBUS.
I try to manage a FESTO CMMO-ST engine by using Modbus command from a python script running in Universal Robot side.
I use a sample program from FESTO who is able to manage the engine by using MODBUS protocol but I don't know python and MODBUS enough to do it programmatically.
As it's described in the image below, I use Function Code 23 and send 2 bytes to the engine.

Can somebody help me to translate it to a python program, please ?
Many many thanks