2/17/2017 11:43 AM | |
Posts: 6 Rating: (0) |
Hello, I got multiple valves that i want to connect to one single Pop-Up. When i press on a Valve in my HMI, a script will run, in this script i got two variables, a string with the name of the valve and a boolean ReadWrite = 0. I got a Data Block in my PLC which got all the Valves. If ReadWrite = 0, i will read the data from the datablock, when its 1, i will write to the datablock.
I've tested it with 1 Valve, it runs perfect. Then i added a Valve, and this is where it goes wrong. When clicking on the valve, an error occurs with: Error no tag 'dbValves_Test_4.Control.CMDModeRequest' in script <PopUpMapping_Valve> in line 13. Which says that he cant find the tag, which is strange because he doesnt give the error at line 10, where the same tag is no problem. The Tag is connected with the plc at the HMI_Tags. Does anybody have an idea what i am doing wrong? In the attachment i've added the script, the error and the HMI_Tags table.
AttachmentScreenshots Error no tag.zip (283 Downloads) |
Follow us on