Switching signal from the PLC (PLC Camming)
- 1. In the Solution Explorer:
click on NC axis > "ENC", open the tab "Parameters" and expand the section "Homing".

- 2. Set the parameter "Reference Mode (Sync condition)" to "Homing Sensor Only (PLC cam or digital input 1..8)".
- 3. Set the parameter "Homing Sensor Source" to "Default: PLC Cam (MC_Home)".
- 4. Insert the library "Tc2_MC2" into the PLC project:
PLC > References, right click, "Add Library..."

- 5. Insert an instance of the function block "MC_Home" from "Tc2_MC2" in the PLC.
- 6. Apply the signal of the reference switch to the "bCalibrationCam" input of the function block.
- You can start homing with a positive edge at input "Execute".