Motion synchronous actions
10.3 Main run variables for synchronized actions
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10-15
10.3.6 Synchronized action parameters $AC_PARAM[n]
Function
The synchronized action parameter $AC_PARAM[n] is used for calculations and as
intermediate memory in synchronized actions. These variables can either be saved in the
memory of the active or passive file system.
Synchronized action variable: Data type:REAL
These parameters exist once in each channel under the same name.
$AC_PARAM[n] Arithmetic variable for movement synchronized actions
(REAL)
$MC_MM_NUM_AC_PARAM Machine data for setting the number of parameters for
movement synchronized actions up to a maximum of
20000.
n Array index of parameter 0-n
Example of synchronized action parameter $AC_PARAM[n]
$AC_PARAM[0]=1.5
$AC_MARKER[0]=1
ID=1 WHEN $AA_IW[X]>100 DO $AC_PARAM[1]=$AA_IW[X]
ID=2 WHEN $AA_IW[X]>100 DO $AC_MARKER[1]=$AC_MARKER[2]
10.3.7 Arithmetic parameter $R[n]
Function
This static array variable is used for calculations in the parts program and synchronized
actions.
Programming
Programming in parts program:
REAL R[n]
or
REAL Rn
Programming in synchronized actions:
REAL $R[n]
or
REAL $Rn