Control By The Plc - Siemens SINUMERIK 840D sl Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

P2: Positioning axes

11.7 Control by the PLC

Example
For two action blocks with end-of-motion criteria for three axes:
Program code
N01 G01 POS[X]=20 POS[Y]=30
IPOENDA[X]
N02 IPOBRKA(Y, 50)
N03 POS[Z]=55 FINEA[Z]
N04 $A_OUT[1]=1
N05 POS[X]=100
N06 IPOBRKA(X, 100)
...
TARGET:
The first action block contains the digital output:
$A_OUT[1] = 1.
The second action block contains the settings for the end-of-motion criteria:
for the X axis IPOBRKA / $SA_IPOBRAKE_BLOCK_EXCHANGE[AX1]=100
for the Y axis IPOBRKA / $SA_IPOBRAKE_BLOCK_EXCHANGE[AX2]=50
for the Z axis FINEA. The motion end condition IPOENDA last programmed is also stored for
the X axis.
11.7
Control by the PLC
PLC axes
PLC axes are traversed from the PLC and can move asynchronously to all other axes. The
travel motions are executed separate from the path and synchronized actions.
Reference:
Function Manual, Basic Functions; Basic PLC Program for SINUMERIK 840D sl (P3) or PLC
for SINUMERIK 828D (P4)
Concurrent positioning axes
Using function block FC18, for SINUMERIK 840D sl concurrent positioning axes can be started
from the PLC.
682
Comment
; Last programmed IPOENDA end-of-mo-
tion criterion
; Second action block for the Y axis
IPOENDA
; Second action block for the Z axis FI-
NEA
; First action block for output as dig-
ital output
;
; Second action block for the X axis
IPOBRKA container
; For all programmed end-of-motion cri-
teria
; Block search target
Function Manual, 10/2015, 6FC5397-1BP40-5BA3
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents