END_UNLOAD
UNLOAD
REG[9].VAL = 84
END_UNLOAD
LOAD
VAR2 = REG[0]
END_LOAD
Description of register status
The Status property can be used to scan a register for valid content.
One possible use for the register scan function is to ensure that a value is written to a register
only if the relevant dialog is a "master dialog".
Programming
Syntax:
Description:
Parameters:
Return value:
Example
IF REG[15].VLD == FALSE
REG[15] = 84
ENDIF
VAR1 = REG[9].VLD
6.3.32
RETURN
Description
The RETURN function can be used to prematurely terminate execution of the current
subprogram and to return to the branch point of the last CALL command.
If no RETURN command is configured in the subprogram, the subprogram will run to the end
before returning to the branch point.
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
; Assign value 84 to register 9
; These registers can then be assigned to local variables
again in a method in the next dialog.
Identifier .vld
The property is read-only property.
Identifier
Name of the register
The result of the scan can be:
FALSE = invalid value
TRUE = valid value
; Scan validity of register value
; Assign the value of the REG[9] status request to Var1.
Programming commands
6.3 Functions
145