Building a task with a trigger value variable
- On the Definition tab, click Task Builder.
-
Click New and enter
Trigger valueas the task name. - Click Command.
- In the SmartLink Task Builder window, from the Component type list, select Relay.
- From the Command list, select Toggle relay activation.
- From the Variable list, select Trigger variable #1. The task displays at the bottom of the window.
- Click OK. The SmartLink task now displays in the text field.
- Click Save and close the Task Builder window.
- On the Definition tab, select Event Trigger.
-
Click New and enter
Trigger valueas the event trigger name. - In the Trigger source area, from the component type list, select Door.
-
Click the Three dot icon to select the component.
Note: You can also select a group of components or all of the components as a trigger source.
- Click the Three dot icon to select Always valid as the Trigger schedule.
- Select the Use extended filter option.
- In the Trigger destination area, click the Three dot icon to select the SmartLink.
- Click the Three dot icon to select Trigger value as the task.
- Select the Use task variable option.
- On the Events tab, select the Access granted event.
- Click Save .
- Click the Variable tab.
- Select Relay for both as the variable type.
- Click the Extended filter tab.
- Select Card as the Filter type, and select the component filter and both variables.
- Repeat Step 23 for as many cards as required.
- Click Save and click Close.
