Hello!
currently I am working in an scripting to write values in the PLC when the bottom is pressed:
value = int(event.source.parent.getComponent('Column Number').text)
value1 = int(event.source.parent.getComponent('Row Number').text)
if value <= 12 and value >0:
system.tag.write('/Robots/HMI_input_column1', value)
if value1 <= 11 and value1 >0:
system.tag.write('/Robots/HMI_input_row1', value1)
However, what I want is when these conditions are true and they were written in the PLC, another bit in my PLC goes high. Should I add another bottom attached to my 'write' bottom or it can be something handle from my current scrip?
Your current script can be optimized. You didn't say explicitly that this was in Ignition 7, so I will assume that it is in Ignition 8+. In which case you should really be using the system.tag.writeBlocking() or system.tag.writeAsync() functions.
You should also be consolidating your writes into a single call. Even in Ignition 7 you should have preferred system.tag.writeAll() over multiple calls to write().
Your tag paths do not appear to be valid paths as they do not start with a root folder. You should make sure that you use the tag selector in the script editor to get the correct path.