Getting started – Lenze ETC Motion Control User Manual
Page 65

Getting started
Creating a PLC sample program
Starting and configuring the PLC sample program
2.12
2.12.2
l
65
EDSTCXN EN 2.0
1. In the CoDeSys, select Resources
W
Global Variables
W
Ein_Ausgaenge.
2. Define the inputs and outputs as bit in the corresponding words of the
process image.
ETCN030
This function evaluates the following system variables, which control start
and stop of the PLC program in the ETC−MMI:
ƒ db1_sps2nc_programmstart_b
ƒ db1_sps2nc_programmstop_b
ƒ db1_nc2sps_programmstart_b
ƒ db1_nc2sps_programmstop_b
ƒ (DB1_B9_0_plc2nc_program_start_b,
DB1_B137_0_nc2plc_program_start_b;
DB1_B12_0_plc2nc_stop_program_b,
DB1_B142_0_nc2plc_stop_program_b )
This function evaluates the following system variables, which set the release
and monitoring signals in the control system:
ƒ db1_sps2nc_vorschubfreigabe_w
ƒ db1_sps2nc_reglerfreigabe_w
ƒ db1_nc2sps_betriebsbereit_2_bit
ƒ DB1_W1_plc2nc_feed_release_axes_w
ƒ DB1_W5_plc2nc_regulator_release_w
ƒ DB1_X128_1_nc2plc_NC_ready_2_bit
Define inputs/outputs
Function START_STOP
Function
RELEASE_SIGNAL_HANDLER