Siemens SINUMERIK 840D sl Programming Manual page 662

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Motion synchronous actions
10.3 Main run variables for synchronized actions
Note
$AC_BLOCKTYPEINFO also always includes the value for the block type in the thousands
position (T) in the case that there is an intermediate block. The thousands position is not
accepted in $AC_BLOCKTYPE not equal to 0.
$AC_SPLITBLOCK
Value:
0
1
3
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
...
662
Significance:
Unchanged programmed block (a block generated by the compressor is also dealt with as
a programmed block)
There is an internally generated block or a shortened original block
The last block in a chain of internally generated blocks or shortened original blocks is
available
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]:
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents