Switching signal from the PLC (PLC Camming)
- 1. In the Solution Explorer:
click on NC axis > "ENC", open the tab "Parameter" and expand the section "Homing".
![Switching signal from the PLC (PLC Camming) 1:](Images/png/11337743883__Web.png)
- 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)".
- 1. Add the library "Tc2_MC2" to the PLC project:
Navigate to PLC > "References", right click, "Add Library..."
Insert library "Tc2_MC2" into the PLC project- 2. Insert an instance of the function block "MC_Home" from "Tc2_MC2" library in the PLC.
- 3. 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".