Ken Roach
Lifetime Supporting Member + Moderator
Is anyone here on the Forum familiar with a PLC that supports User-Defined Function codes on Modbus/TCP ?
I have a device to integrate with my control system that advertises itself to be 'Modbus/IP' compatible. They even used the (TM) mark for Modbus, and proudly advertised that the device could easily be integrated with PLCs.
When I cracked open the protocol reference and "application note" I found to my dismay that they don't support ordinary Modbus function codes except for trivial tasks (reading the auxiliary discrete I/O points). Every other feature of the device has to have a User-Defined Modbus Function Code (0x43 is the default) with their application protocol as the data payload.
I'm currently attacking the application with a ControlLogix and 1756-EWEB module using the Open Sockets feature.
But meanwhile I want to find out if I'm just too narrowly experienced with Modbus implementations. I've never seen a PLC that supported User-Defined Modbus/TCP function codes. I will readily admit that 90% of my experience with Modbus is in the Allen-Bradley, Digi, and Prosoft product lines.
Can anyone cite a specific make and model of logic controller that allows you to enter a User-Defined value for the Modbus/TCP Function code ?
I have a device to integrate with my control system that advertises itself to be 'Modbus/IP' compatible. They even used the (TM) mark for Modbus, and proudly advertised that the device could easily be integrated with PLCs.
When I cracked open the protocol reference and "application note" I found to my dismay that they don't support ordinary Modbus function codes except for trivial tasks (reading the auxiliary discrete I/O points). Every other feature of the device has to have a User-Defined Modbus Function Code (0x43 is the default) with their application protocol as the data payload.
I'm currently attacking the application with a ControlLogix and 1756-EWEB module using the Open Sockets feature.
But meanwhile I want to find out if I'm just too narrowly experienced with Modbus implementations. I've never seen a PLC that supported User-Defined Modbus/TCP function codes. I will readily admit that 90% of my experience with Modbus is in the Allen-Bradley, Digi, and Prosoft product lines.
Can anyone cite a specific make and model of logic controller that allows you to enter a User-Defined value for the Modbus/TCP Function code ?