If you decide to use the standard handshake procedure, you only have to select one variable. This variable must be able to be read and written.

Handshake Variable | Select the variable here that you want to use to start the trigger. This variable must be able to be read and written by the DataSuite. |
Error code | If there is an error in the execution of the trigger, you can have the error code (Int) written to a variable. |
Error message | In the event of an error in the execution of the trigger, you can have the error message (string) written to a variable. |
Procedure
To start the trigger, set the value of the variable to 1 in the PLC, for example. This 1 is recognised by the DataSuite and a 2 is written into the variable to signal the active execution of the trigger. After the trigger has been executed, either a 4 for successful or an 8 for error is written into the variable.
Value of the variable | Set by | Meaning |
1 | e.g. PLC | Start the trigger |
2 | DataSuite | The start has been detected and the trigger is being executed |
4 | DataSuite | Trigger successfully completed |
8 | DataSuite | Error in the execution of the trigger |
Please note:
Prevent multiple execution of triggers: A popular error is that the PLC permanently (in every PLC cycle) writes a 1 into the variable. This causes the trigger to be restarted immediately after completion. Instead, use e.g. an edge in connection with a move.
Trigger is not started: Another popular error is that the value of the variable is set to 1 in the PLC for only one cycle. However, the DataSuite cannot read every PLC cycle and thus the 1 is not recognised. Instead, use e.g. an edge in connection with a move.