Modbus - Function code 23 (0x17) ReadWrite Registers

665 views
Skip to first unread message

Maxime Douliba

unread,
Feb 5, 2018, 6:12:54 AM2/5/18
to pymodbus
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
Auto Generated Inline Image 1
Reply all
Reply to author
Forward
0 new messages