P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1029
The NC feeds back the status of this spindle/axis in byte 68 in the associated spindle/axis interface (DB31, ...)
(see interface lists). Once the axis/spindle is operating under PLC control, the travel command for the active state
can be evaluated via the relevant axis interface.
On completion ("InPos" is TRUE, "Start" changes to zero), the axis/spindle check function is switched to a neutral
status by FC "SpinCtrl".
Alternatively, the PLC user program can also request the check for the PLC prior to calling FC "SpinCtrl".
By calling this function several times in succession, a better response reaction by the spindle/axis can be
obtained as the changeover process in the FC can be omitted.
Activation through the PLC user program is executed in the corresponding spindle interface in byte 8.
After return of the check, the spindle can again be programmed by the NC program.
Note
Please note:
FC 18 must be called cyclically until signal "InPos" or, in the case of an error "Error",
produces an edge transition of 1 to 0. Only when the "InPos"/"Error" signal has a 0 state can
the axis/spindle concerned be "started" or "stopped" again (the next "start" must be delayed
by at least one PLC cycle). This also applies when the assignment in data byte 8 on the axial
interface has been changed.
Abort:
The function cannot be aborted by means of parameter "Start" or "Stop", but only by means
of the axial interface signals (e.g. delete distancetogo). The axial interface also returns
status signals of the axis that may need to be evaluated (e.g. exact stop, traverse command).
InPos on spindle - rotation/oscillation:
For the function "Rotate spindle" and also for "Oscillate spindle" the significance of the
parameter "InPos" is defined as follows:
Setpoint speed is output → unction started without errors.
Reaching the desired spindle speed must be evaluated via the spindle interface.
Simultaneity:
Several axes can be traversed simultaneously or subject to a delay by FC 18 blocks. The
upper limit is defined by the maximum number of axes. The NCK handles the PLC function
request (FC 18) via independent interfaces for each axis/spindle.
Axis disable:
With the axis disabled, an axis controlled via FC 18 will not move. Only a simulated actual
value is generated. (Behavior as with NC programming).
WARNING
If several block calls (FC 18) have been programmed for the same axis/spindle in the PLC
user program, then the functions concerned must be interlocked by conditional calls in the
user program. The conditional call of a started block (parameter Start or Stop = TRUE) must
be called cyclically until the signal state of output parameter "Active" or "InPos" changes from
1 to 0.
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...