Control By The Plc - Siemens SINUMERIK Series Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK Series:
Table of Contents

Advertisement

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.
10.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.
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
10.7 Control by the PLC
Comment
; Last programmed IPOENDA end-of-motion
criterion
; Second action block for the Y axis
IPOENDA
; Second action block for the Z axis
FINEA
; First action block for output as
digital output
;
; Second action block for the X axis
IPOBRKA container
; For all programmed end-of-motion
criteria
; Block search target
P2: Positioning axes
629

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 828d

Table of Contents