Switching signal from a digital input of the EL7411

This chapter describes the configuration exemplarily for the digital input "Input 1".

1. In the Solution Explorer:
click on NC axis > "ENC", open the tab "Parameters" and expand the section "Homing".
Switching signal from a digital input of the EL7411 1:
2. Set the parameter "Reference Mode" to "Homing Sensor Only (PLC cam or digital input 1..8)".
3. Set the parameter "Homing Sensor Source" to "Digital Input 1 (Active High), device depending mapping".
4. In the Solution Explorer:
click on the EL7411, open the tab "Process Data", select the Sync Manager 3 "Inputs" and activate the PDO Assignment 0x1A10.
Switching signal from a digital input of the EL7411 2:
The process data object "DI Inputs" is activated.
Switching signal from a digital input of the EL7411 3:
5. EL7411 > "DI Inputs" > "Input 1" right click, "Change Link" select.
Switching signal from a digital input of the EL7411 4:
A dialog box appears.
6. click on "All Types", select the variable "nState8" and confirm with "OK".
Switching signal from a digital input of the EL7411 5:
A dialog box appears.
Switching signal from a digital input of the EL7411 6:
7. Confirm with "OK".
8. Add the library "Tc2_MC2" to the PLC project:
Navigate to PLC > "References", right click, "Add Library..."
Switching signal from a digital input of the EL7411 7:
9. Insert an instance of the function block "MC_Home" from the library "Tc2_MC2" in the PLC.
Do not connect the input "bCalibrationCam".
You can start homing with a positive edge at input "Execute".