Hello Everyone,
I’m hoping someone might be able to assist me troubleshoot my implementation of a DIA project to read some values off a MODBUS enabled Monitoring System.
Below is the network structure:
ConnectPort X4 - XBee485 Adapter (Xbee)
XBee485 Adapter - Monitoring System (2 Wire RS485)
Below are the screenshots of the Industrial Automation configuration on the X4 which I configured following the instructions here http://www.digi.com/wiki/developer/index.php/Modbus_Bridge_on_CPX4:
I tested the X4 to MODBUS communication using ModScan and was able communicate to the Monitoring System successfully:
I followed the instructions to set up the DIA script according to this http://www.digi.com/wiki/developer/index.php/Modbus_Dia_Client
My script regarding the MODBUS communication is below:
- name: mbus
driver: devices.modbus.mbus_udp_device:MBusUDPDevice
settings:
poll_rate_sec: 15
udp_peer: “(‘127.0.0.1’,502)”
round: 2
poll_list:
- poll: “in01”
pollinfo:
uid: 1
fnc: 3
ofs: 0
cnt: 5
channels:
- parse:
nam: “SerialNumMSW”
ofs: 0
frm: “]h”
unt: “num”
typ: “float”
- parse:
nam: “SerialNumLSW”
ofs: 1
frm: “]h”
unt: “num”
typ: “float”
- parse:
nam: “FirmWareRS”
ofs: 2
frm: “]h”
unt: “num”
typ: “float”
- parse:
nam: “FirmWareOS”
ofs: 3
frm: “]h”
unt: “num”
typ: “float”
- parse:
nam: “DevID”
ofs: 4
frm: “]h”
unt: “num”
typ: “float”
THE PROBLEM
My problem with all of this after I compile my script and deploy it onto the X4 I get the following messages every 15 seconds via Telnet:
DEBUG:mbus:Cyclic Process at 2014-01-14 05:43:00
WARNING:MBusPDU:MbPdu.rsp_parse() Exception Response = 0xC9 0B
DEBUG:mbus:process slipped - adjusting for 2.66 lag
DEBUG:mbus:Sleep for 12 seconds
DEBUG:mbus:Cyclic Process at 2014-01-14 05:43:15
WARNING:MBusPDU:MbPdu.rsp_parse() Exception Response = 0xC9 0B
DEBUG:mbus:process slipped - adjusting for 2.66 lag
DEBUG:mbus:Sleep for 12 seconds
and the idig_dia.html page gives:
Can anyone help??