
8.5.4
Global data
Access to global data is possible in all function blocks.
Global data is normally used for cross communication between function
blocks and can therefore relieve the call interface of function blocks. In addi‐
tion, it is not necessary to adjust the call interface repeatedly in case of modi‐
fications. This is to advantage in that the appearance is maintained and the
user documentation of the PLC project does not have to be changed.
The global data are declared in the "Resources" register. There, other global
data lists and sub-folders can be created in order to achieve a better struc‐
ture.
Declarations of global data can in particular be used as a central point of the
declaration of I/O data in order to have a total list of I/O data in the PLC proj‐
ect (if desired).
8.5.5
Program header
The program header provides quick and clear information about the assigned
program code.
The completely filled header contains the following pieces of information:
●
Function/intended use of the PLC program in a few words
●
Current version
●
Name of the programmer
●
Date of last change
●
Company for which the programmer works
●
IndraLogic targets on which the PLC program can run
●
Detailed description of the function/intended use of the PLC program, as
well as information on specific preparations or handling
The header should be written in English.
Using the header is highly recommended.
The template below can be used to achieve a uniform header. To do this,
copy the text to the clipboard. Then paste the content of the clipboard into the
declaration section in IndraLogic before all other code.
If Declaration in table form has been selected in the IndraLogic
editor, you have to paste the content of the clipboard under the
"Info" tab.
Header template
Program:
(*##################################################*)
(*##################################################*)
(* General Header *)
(*--------------------------------------------------*)
(* Short description : *)
(* Version : *)
(* Name : *)
(* Date : *)
(* Company : *)
(* Target : *)
(* Functional description : *)
(* Handling specials : *)
(*--------------------------------------------------*)
(* Additional Header *)
(*--------------------------------------------------*)
DOK-INDRV*-MLD3-**VRS*-AP02-EN-P
Bosch Rexroth AG
223/267
Rexroth IndraDrive Rexroth IndraMotion MLD (2G) as of MPx-18
Programming information
LSA Control S.L. www.lsa-control.com [email protected] (+34) 960 62 43 01