rmayer
Military
- Dec 9, 2007
- 17
Hi Gents, Question for ya...
We have a new design, PLC driven machine that loads its recipe at the beginning of each shift via Modbus write of 95 register values. On top of that periodic routine we wrote a vba-over-MSAccess app for simple DAQ, analysis, and troubleshooting via modbus as well.
The app grabs 800 registers and logs them with operator setting frequency (as fast as 1 sample per 500ms). Everything has been working flawlessly for about 3 months <<Segway to current problem...
The program grabs 100 registers per each 1 modbus read command and does this multiple times to gather the desired data. Recently this stopped working and through a lot of troubleshooting, we figured out that the error is only set when the modbus read command exceeds 80 registers.
So, is there some type of safe modbus usage rule of thumb that I am aware of that says 'thou shalt not as for more than 80 at a time lest he be riddled with errors"???
Next ??
Is it abnormally hard or more stressful on and PLC components to be polling it this way (100 regs per read, 8 reads in rapid succession)?
I'm using modbus TCP/IP over ethernet but also had the same issue using RTU over RS422.
Thanks in advance for puttin up with my newbie questions.
We have a new design, PLC driven machine that loads its recipe at the beginning of each shift via Modbus write of 95 register values. On top of that periodic routine we wrote a vba-over-MSAccess app for simple DAQ, analysis, and troubleshooting via modbus as well.
The app grabs 800 registers and logs them with operator setting frequency (as fast as 1 sample per 500ms). Everything has been working flawlessly for about 3 months <<Segway to current problem...
The program grabs 100 registers per each 1 modbus read command and does this multiple times to gather the desired data. Recently this stopped working and through a lot of troubleshooting, we figured out that the error is only set when the modbus read command exceeds 80 registers.
So, is there some type of safe modbus usage rule of thumb that I am aware of that says 'thou shalt not as for more than 80 at a time lest he be riddled with errors"???
Next ??
Is it abnormally hard or more stressful on and PLC components to be polling it this way (100 regs per read, 8 reads in rapid succession)?
I'm using modbus TCP/IP over ethernet but also had the same issue using RTU over RS422.
Thanks in advance for puttin up with my newbie questions.