Procedure
Proceed as follows to reference to the limit switch:
- Define a state machine in the implementation.
- Prepare the variables for homing with reference sensor. For further information on the variables, refer to chapter stUserInterface.stHome.


Line | Comment |
|---|---|
[2] | Mode for referencing with limit switch |
[3] | Use digital input 1 of the OSS21C |
- Activate and start the mode.
- Check whether referencing was successful. Then deactivate the mode.


