Vai al contenuto

Assigning an Action to a Step

You can assign or change the action associated to a step by opening its properties win- dow; to do so, double-click the step in the SFC editor.Be careful, if the step has already one or two action associated, they will be shown on the block as a white square with a specific letter written inside, if you click the letter you will open directly the action editor, not the step properties window.Opening the step properties window will causes the following dialog box to appear. Assigning an Action to a Step-image_0From the list shown in the Code N box, select the name of the action you want to execute if the step is active.From the list shown in the Code P (Pulse) box, you may optionally choose the name of the action you want to execute each time the step becomes active (which means the ac- tion is executed only once per step activation, regardless of the number of cycles the step remains active).Confirm the assignments by pressing OK. Assigning an Action to a Step-image_0In the SFC schema, action to step assignments are represented by white square with a specific letter inside: action P with letter P in the top right corner; action N with letter N in the bottom right corner.Double-clicking directly a white square works as a shortcut to open that action editor.