VB 6.0 code with DDE Link application to SLC5/05 hardware
I am a beginner in VB. Does anyone know what the code is to create alarm or a message that will appear in a text box when a fault occurs in the RSLogix 500 program. The VB 6.0 is communicating to the SLC 5/05 through DDE Link Topic configuration.
I was able to start the machine using a start button. It sends a 1 to the RSLogix 500 program and it goes through the cycle. I am trying to create a code to display when it it machine faults, such as when an input or output is not made.
For the Start button I used LinkItem and LinkPoke. Is there a better way to write the code without using to many text boxes. Is active X control better or using VB 2010?
Please assist. Thanks in advance.