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
Syntax
PROC UP(AXIS PAR1=NO_AXIS, AXIS PAR2=NO_AXIS)
IF PAR1 <>NO_AXIS...
Significance
PROC
SR
PARn
NO_AXIS
Example: Definition of axis variables in the main program
Program code
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
Program code
WHEN ... DO $AC_MARKER[0] = 2
WHEN ... DO $AC_MARKER[0] = 3
WHENEVER $AC_MARKER[0] == 3 DO $AC_OVR=50
652
Subprogram definition
Subprogram 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, 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