EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Page 1687

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
July 2013 9.2 Conditional Compilation 1687
The variable #targetpath is available so that a PLC program, in which
individual modules are on the "PLCE:" partition, can be compiled correctly on
the programming station and the control.
Example:
#targetpath PLCE:\PLC\
uses plce\geheim.src
#targetpath PLC:\basis\program
On the PC: plce\geheim.src is searched for the module.
On the control: PLCE:\PLC\plce\geheim.src is searched for the module.
The environmental variable %GraphicsResolution% in the PLC configuration
file is also available for conditional compilation of the PLC program. The
variable is set to the value 1024x768 or 1280x1024, depending on the screen
resolution. The content of the environmental variable can be evaluated and
used for conditional compilation.
Example:
define resolution=%GraphicsResolution%
...
# if resolution=1024x768
...
#endif
...
# if resolution=1280x1024
...
#endif
Example of a config file:
Enter the commands for the conditional compilation in the PLC program.
Create the config file.
In OEM.SYS, enter PLCCOMPCFG = followed by the path for the config file.
Enter the machine options in the machine parameters MP4000.x.
Reset the iTNC or recompile the PLC program.

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals