EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Motion synchronous actions
10.3 Main run variables for synchronized actions
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
573
Example: Counting blending blocks
Program code Comments
$AC_MARKER[0]=0
$AC_MARKER[1]=0
$AC_MARKER[2]=0
...
; Definition of synchronized actions with which
blending blocks are counted.
; All blending blocks are counted in $AC_MARKER[0]:
ID=1 WHENEVER ($AC_TIMEC==0) AND ($AC_BLOCKTYPE==5) DO $AC_MARKER[0]=$AC_MARKER[0]+1
...
; Blending blocks generated with G641 are counted in $AC_MARKER[1]:
ID=2 WHENEVER ($AC_TIMEC==0) AND ($AC_BLOCKTYPEINFO==5001) DO $AC_MARKER[1]=$AC_MARKER[1]+1
; Blending blocks generated with G642 are counted in $AC_MARKER[2]:
ID=3 WHENEVER ($AC_TIMEC==0) AND ($AC_BLOCKTYPEINFO==5002) DO $AC_MARKER[2]=$AC_MARKER[2]+1
...

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals