08/2005 Expanding the Operator Interface (BE1)3 Syntax© Siemens AG, 2005. All rights reservedSINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition BE1/3-103• The EXE function can be used on HMI Advanced to call a program created asan application with the HMI Advanced OEM package or to start the FreeContour Programming application.With HMI Embedded, EXE can only be used to start the Free ContourProgramming application.For further information, see “Methods syntax”3.7 General screen form variablesRegisterRegisters are needed to be able to exchange data between different screen forms.Registers are assigned to a screen form. They are loaded when the first screenform is generated and assigned the value 0 or a blank string.REG [x]where:x Number of register with x = 0...19Real or String type = VariantRegisters with x ≥ 20 are used by Siemens.NoteRegisters may not be used directly in OUTPUT blocks for generating NC code.Register valueThe assignment of values to registers is configured in a method.Identifier.val = Register valueOrIdentifier = Register valuewhere:Identifier Name of registerRegister value Value of registerUNLOADREG[0] = VAR1 ;Assign value of variable 1 toregister 0END_UNLOADUNLOADREG[9].VAL = 84 ;Assign value 84 to register 9END_UNLOADThese registers can then be assigned to local variables again in the next screenform.