Thanks! It works!
I need a little addition: (Test_Bool is a controller scoped bit)
If Test_Bool = 1, then
EthernetIPforCLXCom1.Write("Test_String", "Hello")
Is that possible by any chance ?
I didn't mention the whole idea earlier.
I am logging part data to a database. I have a few basic cameras which save images of the current part to a computer. I need to somehow tie that image to the part data.
To solve this, I want to send the name of the file to the PLC, who ties the filename to the part number in a UDT. This info is then stored to a database.
I could have logged to the database directly from the HMI, but since I don't know how and since that part is being worked on by another programmer, I can't change that too much.