Siemens SINUMERIK 828D Programming Manual page 573

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents