Synchronized Action Marker ($Ac_Marker[N]) - Siemens SINUMERIK 828D Programming Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Motion synchronous actions
10.3 Main run variables for synchronized actions
Significance
PROC
UP
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
564
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, 07/2010, 6FC5398-2BP40-0BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents