Synchronized Action Marker $Ac_Marker[N] - Siemens SINUMERIK 840D sl Programming Manual

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
Programming
PROC UP(AXIS PAR1=NO_AXIS, AXIS PAR2=NO_AXIS)
IF PAR1 <>NO_AXIS...
Subroutine definition
PROC
SR
PARn
NO_AXIS
Example of the definition of an axis variable in the main program
DEF AXIS AXVAR
UP( , AXVAR)
10.3.5

Synchronized action marker $AC_MARKER[n]

Function
The array variable $AC_MARKER[n] can be read and written in synchronized actions. These
variables can either be saved in the memory of the active or passive file system.
Synchronized action variable: Data type INT
$AC_MARKER[n]
$MC_MM_NUM_AC_MARKER
n
Example of reading and writing marker variables
WHEN ... DO $AC_MARKER[0] = 2
WHEN ... DO $AC_MARKER[0] = 3
WHENEVER $AC_MARKER[0] == 3 DO $AC_OVR=50
10-14
Subroutine definition
Subroutine name for recognition
Parameter n
Initialization of formula parameter with default axis
identifier
Channel-specific marker/counter, INTEGER data type
Machine data for setting the number of channel-
specific markers for movement synchronized actions
Array index of variables 0-n
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents