How to write value '1' to Tag“C” when Tag“A" or "B" changes?
2014.06.26

 

Q. How to write a value '1' to Tag “C” when the value of Tag “A” or “B” becomes 1? 


 

      

A. Script and Tag Action features are used.


   

      

 

      

1. Go to [Tools] →[Script] menu, write a statement as shown below. 

  

 

2. Create a Tag “A” and “B”, and set “Tag Action” features for them. 

  

    

3.  Move to “Tag Action” tap, and write a Command Expression to call the pre-registered Script.

 

 

4. Click “OK” to finish a Tag setting. Click “Save All” button to save the configuration. 

   

 

 

 

 

 

※ Please refer to the attachment for the detailed information.