P2: Positioning axes
11.7 Control by the PLC
Axis replacement via PLC
The type of an axis for axis replacement is transferred to the PLC with axial interface byte
NCK→PLC NST DB31, ... DBB68 (see alsop Section "K5: Channel synchronization, axis
interchange (Page 351)"):
● IS DB31, ... DBX68.0-68.3 ("NC axis/spindle in channel") channels 1 to 10
● IS DB31, ... DBX68.4 ("new type requested by PLC")
● IS DB31, ... DBX68.5 ("axis can be replaced")
● IS DB31, ... DBX68.6 ("neutral axis/spindle")
● IS DB31, ... DBX68.7 ("PLC axis/spindle")
If IS DB31, ... DBX68.5 ("axis can be replaced") = 1, an axis replacement request can be issued
from the PLC.
11.7.1
Starting concurrent positioning axes from the PLC
Traversing an axis in the NC as competing positioning axes from the PLC user program is
realized using block FC18:
The following functions are defined:
● Linear interpolation (G01)
● Feedrate in mm/min or degrees/min (G94)
● Exact stop (G09)
● The active adjustable work offsets are taken into account
Since each axis is assigned to exactly one channel, the control can select the correct channel
from the axis name/axis number and start the concurrent positioning axis on this channel.
References
Function Manual Basic Functions; Chapter "P3: Basic PLC program for SINUMERIK 840D sl"
> Block descriptions" > "FC18: SpinCtrl Spindle control"
11.7.2
PLC-controlled axes
PLC actions
The table below compares the following PLC actions as response of the NC for a machine
axis:
● Start machine axis as PLC axis using FC18
● Initiate NC start or NC stop
● Axis-specific STOP, RESUME or RESET
● Trigger NC-RESET
684
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions