Determining The Path Tangent In Synchronized Actions - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Block-related synchronized actions
By programming a block-related synchronized action, travel to fixed stop can be connected
during an approach motion.
Example:
N10 G0 G90 X0 Y0
N20 WHEN $AA_IW[X] > 17 DO FXS[X]=1
N30 G1 F200 X100 Y110
Static and block-related synchronized actions
In static and block-related synchronized actions, the same commands FXS, FXST and FXSW
can be used as in the normal parts program run. The values assigned can be resulted from a
calculation.
10.4.28

Determining the path tangent in synchronized actions

Function
The system variable $AC_TANEB (Tangent ANgle at End of Block), which can be read in
synchronized actions, calculates the angle between the path tangent at the end of the
current block and the path tangent at the start of the programmed following block.
Parameters
The tangent angle is always output positive in the range 0.0 to 180.0 degrees. If there is no
following block in the main run, the angle -180.0 degrees is output.
The system variable $AC_TANEB should not be read for blocks generated by the system
(intermediate blocks). The system variable $AC_BLOCKTYPE is used to tell whether it is a
programmed block (main block).
Example
ID=2 EVERY $AC_BLOCKTYPE==0 DO $SR1 = $AC_TANEB
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Motion synchronous actions
10.4 Actions in synchronized actions
;If X reaches a position greater than
;17 mm
;FXS is activated
10-63

Advertisement

Table of Contents
loading

Table of Contents