PreviousNext

Add Program Tags

In this example, we will be creating a timed trigger, so we will need a TIMER and a place to store the current trigger state. From the program tree, double click on Tasks -> MainTask -> MainProgram -> Program Tags and select the Edit Tags tab. Create a tag named Trigger_Timer of type TIMER and Trigger_Val of type DINT. We will also create a User_Tag_Val of type DINT to hold our user tag value which we will set to a value of 1 on the Monitor Tags tab.

FIGURE F-32. 


PreviousNext