Motion synchronous actions
10.3 Main run variables for synchronized actions
Job planning
562 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
The index <x> is used to specify the data block (access rights) and the value <number> to
specify the number of synchronized-action GUDs for each data type (REAL, INT, etc.).
A 1-dimensional array variable with the following naming scheme is then created in the
relevant data block for each data type.: SYG_<data type><access right>[<index>]:
Index
<x>
Data type
(MD18660 to MD18665)
Block REAL INT BOOL AXIS CHAR STRING
0 SGUD SYG_RS[ i ] SYG_IS[ i ] SYG_BS[ i ] SYG_AS[ i ] SYG_CS[ i ] SYG_SS[ i ]
1 MGUD SYG_RM[ i ] SYG_IM[ i ] SYG_BM[ i ] SYG_AM[ i ] SYG_CM[ i ] SYG_SM[ i ]
2 UGUD SYG_RU[ i ] SYG_IU[ i ] SYG_BU[ i ] SYG_AU[ i ] SYG_CU[ i ] SYG_SU[ i ]
3 GUD4 SYG_R4[ i ] SYG_I4[ i ] SYG_B4[ i ] SYG_A4[ i ] SYG_C4[ i ] SYG_S4[ i ]
4 GUD5 SYG_R5[ i ] SYG_I5[ i ] SYG_B5[ i ] SYG_A5[ i ] SYG_C5[ i ] SYG_S5[ i ]
5 GUD6 SYG_R6[ i ] SYG_I6[ i ] SYG_B6[ i ] SYG_A6[ i ] SYG_C6[ i ] SYG_S6[ i ]
6 GUD7 SYG_R7[ i ] SYG_I7[ i ] SYG_B7[ i ] SYG_A7[ i ] SYG_C7[ i ] SYG_S7[ i ]
7 GUD8 SYG_R8[ i ] SYG_I8[ i ] SYG_B8[ i ] SYG_A8[ i ] SYG_C8[ i ] SYG_S8[ i ]
8 GUD9 SYG_R9[ i ] SYG_I9[ i ] SYG_B9[ i ] SYG_A9[ i ] SYG_C9[ i ] SYG_S9[ i ]
Where i = 0 to (<number> - 1)
Block: _N_DEF_DIR/_N_ ... _DEF, e.g for SGUD ⇒ _N_DEF_DIR/_N_SGUD_DEF
Properties
Synchronized-action GUD have the following properties:
● Synchronized-action GUD can be read and written in synchronized actions and part
programs/cycles.
● Synchronized-action GUD can be accessed via the OPI.
● Synchronized-action GUD is displayed on the HMI user interface in the "Parameters"
operating area.
● Synchronized-action GUD can be used on the HMI in the Wizard, in the variables view
and in the variables log.
● The array size for STRING type synchronized action GUD is set to a fixed value of 32
(31 characters + \0).
● Even if no definition files have been created manually for global user data (GUD),
synchronized-action GUD defined using machine data can be read in the corresponding
GUD block from the HMI.
NOTICE
User variables (GUD, PUD, LUD) can only be defined with the same name as synchro-
nized-action GUD (
DEF ... SYG_xy) if no synchronized-action GUD has been parame-
terized with the same name (MD18660 - MD18665). These user-defined items of GUD
cannot be used in synchronized actions.