Gud Variables - Siemens Sinumerik 840D sl Programming Manual

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Examples of implicit type conversions
Type conversion from INTEGER to BOOL
$AC_MARKER[1]=561
ID=1 WHEN $A_IN[1] == TRUE DO $A_OUT[0]=$AC_MARKER[1]
Type conversion from REAL to BOOL
R401 = 100.542
WHEN $A_IN[0] == TRUE DO $A_OUT[2]=$R401
Type conversion from BOOL to INTEGER
ID=1 WHEN $A_IN[2] == TRUE DO $AC_MARKER[4] = $A_OUT[1]]
Type conversion from BOOL to REAL
R401 = 100.542
WHEN $A_IN[3] == TRUE DO $R10 = $A_OUT[3]
10.3.3

GUD variables

GUD variables capable of synchronized actions
As well as specific system variables, predefined global synchronized-action user variables
(synchronized action GUD) can also be used in synchronized actions. The number of
synchronized action GUD items available to the user is parameterized for each specific data
type and access using the following machine data:
MD18660 $MM_NUM_SYNACT_GUD_REAL[<x>] = <number>
MD18661 $MM_NUM_SYNACT_GUD_INT[<x>] = <number>
MD18662 $MM_NUM_SYNACT_GUD_BOOL[<x>] = <number>
MD18663 $MM_NUM_SYNACT_GUD_AXIS[<x>] = <number>
MD18664 $MM_NUM_SYNACT_GUD_CHAR[<x>] = <number>
MD18665 $MM_NUM_SYNACT_GUD_STRING[<x>] = <number>
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Motion synchronous actions
10.3 Main run variables for synchronized actions
571

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents