54
11.16.2 Loading a recipe
The following example code shows how process parameters can be loaded to the internal workpiece recipe.
CASE iStep OF
10:
WorkpieceNo
:= 3;
// Load third workpiece recipe
ControlWord
:= 1;
// Begins with the handshake
iStep
:= 20;
// Jump to the next step
20:
IF StatusWord.12 THEN
// Queries the bit DataTransferOK=TRUE from StatusWord,
// Response of the product to transferred data
ControlWord
:= 0;
// Reset of the ControlWord
iStep
:= 30;
// Jump to the next step
END_IF
30:
IF NOT StatusWord.12 THEN
// Query for completion of the data transfer,
// DataTransferOK = FALSE
// Do other things...
//Handshake is completed,
// Parameters from the third recipe have been taken over into the current process parameters.
END_IF;
END_CASE
INSTALLATION AND OPERATING INSTRUCTIONS:
GEH6000IL/GED6000IL
DDOC00212 / p
EN / 2022-05-01
Zimmer GmbH • Im Salmenkopf 5 •
77866 Rheinau, Germany •
+49 7844 9138 0 • www.zimmer-group.com