Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1514

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.2.2 Conditional compilation
1514
Depending on freely definable, symbolic OEM machine parameters, a PLC
program can be conditionally compiled on the MANUALplus 620. This allows
you to select and deselect machine options by entering the options in machine
parameters, or to select specific operating states of the machine, for example.
Therefore, only one PLC program is necessary for all variants of machine
options.
Settings in the configuration editor
System
PLC
CfgOemBool
[Key name of arbitrary parameter]
CfgOemInt
[Key name of arbitrary parameter]
CfgOemString
[Key name of arbitrary parameter]
CfgOemPosition
[Key name of arbitrary parameter]
For more information about the freely definable OEM machine parameters,
see „Data transfer machine parameters => PLC" on page 1657.
You can give the machine operator access via user parameters to the machine
parameters that you define yourself, see "User Parameters" on page 365.
Enter the commands for the conditional compilation in the PLC program.
Create a PLC configuration file (*.MCG) with DEFINE instructions, which will
partially be replaced by contents of the OEM machine parameters.
In MP_compCfgFile, enter the path for the PLC compiler configuration file.
Restart the MANUALplus 620 or recompile the PLC program.
HEIDENHAIN Technical Manual MANUALplus 620

Advertisement

loading