Commissioning steps
How to congure the network:
In the default seng, the digital input DI1 is assigned the "Run" funcon. If the
ne
twork control is acvated, this funcon serves as "start enable" for start com-
mands via network. Hence, the digital input DI1 must be set to the HIGH level in
order that the motor can be started via the network.
1.Congure gateway funcon of the master
1. Start »PLC Designer«.
2. Open or recreate a »PLC Designer« project.
3. Open the "Communicaon sengs" tab of the master.
4. Click "Add gateway".
Do the following in the appearing dialog window:
a) Enter the IP address of the master.
b) Conrm the entry with "OK".
5. Click "Search network".
6. Select the corresponding master for the previously entered IP address.
7. Click "Set acve path".
8.
Log into the master using the "Online à Log in" menu command or with <Alt>+<F8>.
Now you can access the slaves from the Engineering PC via the EtherCAT master as gate-
way.
2.Carry out network scan.
1. Execute the "Start Search" command in the context menu of the master.
The appearing dialog box lists all available EtherCAT devices according to the physical
order in the network.
2. Click "Copy all devices into the project".
The physical network structure is reproduced in the »PLC Designer« project.
A proper
operaon requires that the network topology generated in the project
corresponds to the physical order of the EtherCAT nodes in the network. Other-
wise, an error message displays which slave (product code) is to be expected at
which posion.
3.In
tegrate L_MC1P_BasicActuangSpeed funconal module
1. Open the PLC program code (PLC_PRG).
2. Open the Input Help in the lower input area by right clicking via the context menu.
3. Open the category Funcon blocks.
4. Select the element
L_MC1_P → L_MC1_P_MoonControlBasic → 1_POUs → PLCopenAddional and then
the funcon block L_MC1P_BasicActuangSpeed. Click OK.
5. Enter a variable name in the "Declare variables" dialog box.
6. Close the dialogue box by clicking on the OK buon.
The L_MC1P_BasicActuangSpeed funcon block together with its data structure is
now integrated in the PLC program code.
7. Open the L_MC1P_BasicActuangSpeed funcon block and set the reference to the axis
data structure (Axis:=i550_Moon_Axis).
Fig. 67: Assign axis
8. Open the Applicaon context menu in the device tree for
Applicaon, select the com-
mand Add object → Visualisaon ... and insert the visualizaon of the funcon block.
9. Insert a frame into the visualizaon using the Frame tool (Basic tab).
Conguring the network
E
therCAT
Commissioning
336