Dexter
unread,Mar 3, 2011, 5:57:48 AM3/3/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to modbus-tk
In the the above mentioned file if the setting is done to use port 4
as shown below the actual port used will be PORT5
master = modbus_rtu.RtuMaster(serial.Serial(port=4, baudrate=9600,
bytesize=8, parity='N', stopbits=1, xonxoff=0))
I think this is a simple bug and is introduced when passing the port
value to serialwin32.py.
Was a bit busi could not go through the source code yet
Regards
PK