Detailed Description
2.1 Spindle modes
Basic logic functions: Spindles (S1)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
15
SPOS [n]=ACP(.....)
Approaches the position from the positive direction.
When positioning from a negative direction of rotation, the speed is decelerated to zero and
accelerated in the opposite direction to execute the positive approach.
SPOS [n]=ACN(....)
Approaches the position from the negative direction.
When positioning from a positive direction of rotation, the speed is decelerated to zero and
accelerated in the opposite direction to execute the negative approach.
MD20850
In order to reach a constancy of M19 and SPOS and/or SPOSA regarding the behavior at VDI-
interface, with SPOS and SPOSA configurable help function M19 is output to the VDI interface
and activated through setting of the following machine data setting:
MD20850 SPOS_TO_VDI = 1
.
After activation, the minimum duration of an SPOS/SPOSA block is increased to the time for
output and acknowledgment of the auxiliary functions by the PLC.
M19 (DIN 66025)
M19 can be used to position the spindle.
The position and the position approach mode are read from the following setting data:
SD43240 M19_SPOS
and
SD43250 M19_SPOSMODE
.
The positioning options with M19 are identical to those of
SPOS = <approach mode> <position/path>
.
M19 is output as an auxiliary function to the VDI interface as an alternative to M3, M4, M5, and
M70. The M19 block remains active in the interpolator for the duration of the positioning
motion (like SPOS).
Part programs using M19 as a macro (e.g., DEFINE M19 AS SPOS = 0) or as a
subroutine, continue to remain executable. For the sake of compatibility with previous
controls, the internal processing of M19 (NCK positions the spindle) can be disabled as
shown in the following example:
MD22000 $MC_AUXFU_ASSIGN_GROUP[0] = 4
; Auxiliary functions group: 4
MD22010 $MC_AUXFU_ASSIGN_TYPE[0] = "M"
; Auxiliary functions type: "M
MD22020 $MC_AUXFU_ASSIGN_EXTENSION[0] = 0
; Auxiliary functions expansion: 0
MD22030 $MC_AUXFU_ASSIGN_VALUE[0] = 19
; Auxiliary function value: 19