Siemens SINUMERIK 840D sl Function Manual page 53

Synchronized actions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

$AC_BLOCKTYPE
Value
Meaning: Current block has been gener‐
ated because of ...
10
Pole handling with orientation transforma‐
tion
$AC_SPLITBLOCK
The system variable $AC_SPLITBLOCK can be used to determine whether an internally
generated block or a programmed block shortened by the NC is present.
$AC_SPLITBLOCK
Value
Example
Synchronized actions for counting smoothing blocks.
The query of the system variable $AC_TIMEC == 0 (interpolation cycles since start of the block)
ensures that the block type is determined only once at the start of the block.
Program code
$AC_MARKER[0]=0
$AC_MARKER[1]=0
$AC_MARKER[2]=0
...
; Synchronized action for counting all smoothing blocks
ID=1 WHENEVER ($AC_TIMEC==0) AND ($AC_BLOCKTYPE==5) DO
...
; Synchronized action for counting the G641 smoothing blocks
ID=2 WHENEVER ($AC_TIMEC==0) AND ($AC_BLOCKTYPEINFO==5001) DO
...
; Synchronized action for counting the G642 smoothing blocks
ID=3 WHENEVER ($AC_TIMEC==0) AND ($AC_BLOCKTYPEINFO==5002) DO
...
Synchronized actions
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
Meaning:
0
Programmed block. A block generated by the compressor is also treated as a programmed
block.
1
Internally generated block or a shortened original block
3
Last block in a chain of internally generated blocks or shortened original blocks
$AC_MARKER[0] = $AC_MARKER[0] + 1
$AC_MARKER[1] = $AC_MARKER[1]+1
$AC_MARKER[2] = $AC_MARKER[2] + 1
3.3 System variables for synchronized actions
$AC_BLOCKTYPEINFO
Value
Meaning
10000
Look-ahead positioning of the pole axis
10001
Traversal of the pole taper
Comment
; Counter for all smoothing blocks
; Counter for G641 smoothing blocks
; Counter for G642 smoothing blocks
Detailed description
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents