We have an application where we need activate a stack light on the shop floor through an IP addressable control unit that was purchased with the stack light. Supposedly, you send commands to this device to get it to light up wither red, yellow, or green, or shut back off. I haven't a clue how to do this from an RPG application. I assume it either a command string needs to be sent from either RPG or a CL program. And how you target is specific IP address is an unknown for me. Can anyone help point us in the right direction?
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
IP Device Management from RPG or CL
Collapse
X
-
IP Device Management from RPG or CL
My guess is that you need to communicate via sockets, here is a excellent tutorial with example code http://www.scottklement.com/rpg/socktut/index.html The device you are trying to communicate with must have some documentation describing the protocol for the commands. Scott Mildenberger
Comment