P4: PLC for SINUMERIK 828D
14.6 Function interface
Function start
Each function is activated by the positive edge of the corresponding "Start" signal. This signal
must remain a logical "1" until the function has been positively or negatively acknowledged
(e.g. using
indicates that the function is active and that the output signals are valid.
Interrupt
It is notpossible to interrupt the function by resetting the start signal, but only via other interface
signals (using the axis-specific signal
The axis interface returns axis status signals that may need to be evaluated (e.g.
travel command , → DB390x).
If the axis/spindle is being traversed via the NC program when the PLC axis control is called
(travel command present), then the function is only started after this movement has ended.
No error code is output in this situation.
Axis disable
With the axis disable set, an axis controlled via PLC axis control will not move. Only a simulated
actual value is generated. (Behavior as with NC programming).
14.6.4.2
User interface: Preparing the NC axis as PLC axis
Firstly, the axis/spindle must be requested from the PLC. This is realized via the following user
interface:
Common signals to axis/spindle (excerpt)
Request axis or spindle:
DB3800 ... 3807
Data block
Byte
Bit 7
DBB 0008
Request
PLC axis/
spindle
Every change to a request bit at the interface (DB380x.DBX0008.7 or bit DB380x.DBX0008.0)
must be signaled to the NC using a 0→1 edge of the activation signal (bit DB380x.DBX0008.4).
This activation signal should be reset again after one cycle.
1124
Position reached = "1" or Error = "1"). The signal "Positioning axis active" = "1"
Signals to axis/spindle [r/w]
Bit 6
Bit 5
Activation
when this
Delete distance to go/spindle reset , DB380x DBX2.2).
PLC → NCK interface
Bit 4
Bit 3
signal
byte is
changed
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
exact stop ,
Bit 2
Bit 1
Request
Basic Functions
Bit 0
NC axis/
spindle