Timeout and ID Mismatch: Reading DXM100 controller via COM port


TheNovice
 Share

Recommended Posts

I am trying to read register value from Banner DXM 100 controller.

I created COM port serial connection- 19200,8, none, 1, 1000ms.

When I am trying to read register 2 using Channel # as 2(also tried 40003), I am getting P-ModbusRTU 0010: Timeout error on every read and P-ModbusRTU 0014: ID Mismatch error after several reads.

I am trying to read every 2 seconds with offset 0. Port monitor and channel details look something like the image below:

Error.thumb.png.3fe2c09d0bc4c25ee4c3317c09729394.png

 

I have tried 'n number of ways to read the register value, by changing- modbus ID(on the device and Daqfactory), baud rate, channel#, timing, offset, I/O type, device timeout(to 2000ms) etc. but no luck.

Has someone encountered such issue before and can help me?

 

Thanks!!

 

 

Link to comment
Share on other sites

DAQFactory is the master because it is making the queries.  The device is the slave because it only responds to queries.  It won't say anything unless asked.  That device supports several different protocols, and typically you have to configure the device for the protocol you want as you can't talk multiple protocols on the same port.

Link to comment
Share on other sites

You don't want DAQFactory to be the slave.

Possibly, but the radio isn't responding to DAQFactory queries except occasionally, and then the response doesn't look to me like a Modbus, that's why I think its either a comm setting issue, or the device isn't setup to be a Modbus slave, but instead a different protocol.

Link to comment
Share on other sites

The problem was with my Controller I (stupid) was using.

There are different type of DXM100 devices which can be found here- https://www.bannerengineering.com/us/en/products/wireless-sensor-networks/wireless-controllers/industrial-wireless-controller-dxm-series.html?pageNum=1&sort=4#all

I was using DXM100 B1C1 which doesn't support Radio Communication.

I switched to DXM100 B1R2 which supports Modbus Radio Communication and I am now able to read and write registers successfully using Daqfactory.

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share