Structure Of The Machining Program Directory - Siemens SIMATIC S5 Manual

Positioning module 1p 247 for stepper motors
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

Structure of the Machining Program Directory

6.3.8.5
You can read the machining program directory from the IP247 with
BA = 65
The length of the directory is variable and depends on the number of machining programs on the
positioning module. A maximum of 255 machining programs can be stored on the IP247 (DBO to
can therefore be a maximum of 510 words long.
The entries in the directory are not sorted according to the DB number but are stored in the
order in which they are entered on the IP247.
If the data block (DBx) selected for entry of the machining programs is not long enough, the re-
maining data are stored in the next data block (DBx+l) from data word DWO.
You can only select a destination start address (parameter ZANF) for DBx, Entries are made only
up to data word DW255 in the data blocks DBx and DBx+l.
If two DBs are required, data block DBx must be installed up to and including DW255. Otherwise
the program will be aborted with an error message.
The following rule applies to the length of data block DBx:
length =
(possible entries ~ 2)
for DBx+l the following applies:
length =
remaining entries x 2.
A further switch to a data block DBx+2 is not pssible. If the directory cannot be stored
completely in the PC memory, the job is aborted with an error message.
Standard Function Block FB165
+ destination start address ZANF
6 - 4 5

Advertisement

Table of Contents
loading

Table of Contents