P2: Positioning axes
10.7 Control by the PLC
Extended Functions
632 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
10.7.2 PLC-controlled axes
PLC actions
The table below compares the following PLC actions with the corresponding NCK reactions
for a machine axis 1:
● Start machine axis as PLC axis via FC 18
● Initiate
NC start or NC stop
● Trigger axial
STOP, RESUME or RESET
● Trigger
NC-RESET
● Cancel or set controller enable for the machine axis
● Relinquish control of machine axis to NC
Examples of NCK reactions
PLC actions are shown as NCK reactions in the table below.
PLC actions NCK reaction
Start machine AX1, residing in the 1st channel,
as PLC axis via FC 18
Initiate NC stop axes and spindles
DB21, ... DBX7.4 = 1 (NC stop axes plus spindle)
AX1 is stopped.
DB21, ... DBX7.1 = 1 initiate (NC start) AX1 continues to traverse.
PLC wants to control AX1,
DB31, ... DBX28.7 = 1 (PLC controls axis)
Checking AX1 is relinquished to the PLC. DB31,
... DBX63.1 = 1 (PLC controls the axis)
Initiate NC stop for axes and spindles
DB21, ... DBX7.4 = 1 ("NC stop axes plus
spindle")
AX1 is not stopped.
Initiate axial stop
DB31, ... DBX28.6 = 1 (stop along braking ramp)
AX1 is stopped
DB31, ... DBX63.2 ==1 (axis stop active)
Initiate that axial movement continues
DB31, ... DBX28.2 = 1 (continue)
AX1 moves further
DB31, ... DBX63.2 == 0 (axis stop active)
Initiate NC-RESET
DB21, ... DBX7.7 = 1 initiate (reset)
No effect on AX1
Initiate axial reset
DB31, ... DBX28.1 = 1 (reset)
AX1 is stopped and the traversing motion is
interrupted:
• DB31, ... DBX63.2 = 0 (axis stop active)
• Read-in axial machine data
• DB31, ... DBX63.0 = 1 (reset executed)
• DB31, ... DBX63.2 = 0 (axis stop active)