Hello Guest it is March 28, 2024, 01:27:54 PM

Author Topic: Modbus DL05  (Read 1665 times)

0 Members and 1 Guest are viewing this topic.

Modbus DL05
« on: October 12, 2017, 04:10:30 PM »
Can anyone help me, I’m trying to connect a DL05 to Mach 4 via the modbus. I’ve got the outputs working fine but I can’t seem to make the inputs work. When I check the modbus diagnostic window I keep getting a 131 invalid reply error. What am I missing? I’m running mach4 industrial.

Thanks
Art
Re: Modbus DL05
« Reply #1 on: October 12, 2017, 08:12:37 PM »
Thanks, I figured it out
Have a sparkling day
Art
Re: Modbus DL05
« Reply #2 on: October 12, 2017, 09:50:12 PM »
Please tell us more, so the next guy can find the solution by searching here.

Promise we will not laugh if it was something obvious.... 8~)

Steve Stallings
www.PMDX.com
Re: Modbus DL05
« Reply #3 on: October 17, 2017, 11:38:47 AM »
Hey Steve,
I’ve learned a few things about USB interface. I’m using the automation direct serial to USB adapter. First you need to pay attention to the communication setup. I used the default for the DL105. Which is 9600 baud, 8 bits, odd parity and one stop bit. Next you need to decide which port on the DL105 to use. I started with port 1. That is where I think my problem started. It seemed to work fine for outputs but wouldn’t read inputs. I changed to port 2, I also used slave address 1 in Mach while setting up the functions. And everything is working fine. I am finding that if you change USB ports in your computer It changes the com port in your device manager, it can increase the port higher than port 4 which is the highest you can use in Mach. I’m not real happy about that, so I ordered a PCI serial card. I hope this helps others.

Thanks
Art
Re: Modbus DL05
« Reply #4 on: October 23, 2017, 02:39:02 PM »
Just an update, my pci express serial card arrived I plugged it in and all is running fine I would not recommend using the USB to serial device from automation direct. Although it functioned fine, I even found if you unplug from the USB port and plug it back into the same port, windows can change the com port number on you.