Program Header - Siemens SIMATIC S5 Manual

Ip 266 positioning module
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

IP 266
5.4.1

Program Header

The program header comprises
the program identifier
the program number
max. 58 characters of arbitrary text
a <1> character as header terminator
%
5
Main program in DB5
L
12
Subroutine in DB12
Figure 5-28. Format of the Program Header
The distinction between main program and subroutine is for documentational
purposes only. The IP makes no distinction. Every program can be either a main
program or a subroutine.
Note:
Recursive structures and reciprocal calls are not possible.
EWA 4NEB 812 6057-02
Machine Data, Modes and Traversing Programs
Program identifier
%
=Main program
L
=Subroutine
Program number = DB no.
0 to 255
Max. 58 characters
of arbitrary text
<1> as header terminator
<1>
<1>
5-69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents