Modbus communications - problems when using Data Exchange
Posted: Thu Jun 20, 2013 9:47 am
I have a T10A screen.
I'm communicating to a bank of 6 dual-loop temperature controllers (Ascon Tecnologic) via Modbus RTU at 9600 baud.
I need to communicate Setpoint and Measured values back and forth to a PLC (Panasonic/Matsushita FP-X).
Generally, things are working, but I get a lot of communications failures on the Modbus network. These failures seem to occur only when I use Data Exchange.
For testing purposes, I created a barebones program/screen that ONLY displays the SP and temp variables for the 12 control loops. 24 analog numeric tags on one sceen, and there are no other screens. Everything works fine with no comm errors. Once I set up a few tags to perform Data Exchange, however, the comm errors begin immediately. Generally, out of the six Temp Controllers, at least one of them will generate an error every 5 seconds or so. I have masked these failures from the operator by setting the "Hide Comm Error" flag to TRUE.
If I were only monitoring the measured values, this would be sufficient, as the temperatures don't vary and I don't need fast update rates. The problem is that the failures sometimes occur when the PLC needs to communicate a new Setpoint, or if I load a new recipe from the touchscreen. There have been instances when the T10A thinks it has changed the setpoint, but it hasn't taken effect because the temperature controller never received the change. The workaround for this is to manually change the temperature to something else, and then change it back to what the recipe value was. However, the operator usually does not know that the failure occurred.
Any ideas? I'm going to experiment with baud rates, but I don't hold out much hope for that. The Ascon's can only do 1200/2400/4800/9600 baud. I'm not sure that slowing it down will help with the errors.
I'm communicating to a bank of 6 dual-loop temperature controllers (Ascon Tecnologic) via Modbus RTU at 9600 baud.
I need to communicate Setpoint and Measured values back and forth to a PLC (Panasonic/Matsushita FP-X).
Generally, things are working, but I get a lot of communications failures on the Modbus network. These failures seem to occur only when I use Data Exchange.
For testing purposes, I created a barebones program/screen that ONLY displays the SP and temp variables for the 12 control loops. 24 analog numeric tags on one sceen, and there are no other screens. Everything works fine with no comm errors. Once I set up a few tags to perform Data Exchange, however, the comm errors begin immediately. Generally, out of the six Temp Controllers, at least one of them will generate an error every 5 seconds or so. I have masked these failures from the operator by setting the "Hide Comm Error" flag to TRUE.
If I were only monitoring the measured values, this would be sufficient, as the temperatures don't vary and I don't need fast update rates. The problem is that the failures sometimes occur when the PLC needs to communicate a new Setpoint, or if I load a new recipe from the touchscreen. There have been instances when the T10A thinks it has changed the setpoint, but it hasn't taken effect because the temperature controller never received the change. The workaround for this is to manually change the temperature to something else, and then change it back to what the recipe value was. However, the operator usually does not know that the failure occurred.
Any ideas? I'm going to experiment with baud rates, but I don't hold out much hope for that. The Ascon's can only do 1200/2400/4800/9600 baud. I'm not sure that slowing it down will help with the errors.