Machining Program Information (Mode 65); Read Machining Program (Mode 69) - Siemens SIMATIC S5 Manual

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

Advertisement

save the first program on diskette, hard disk or using mode 69 ("read machining program")
in the CPU,
delete this program on the IP247 with mode 23. The memory of the IP247 is then com-
pressed,
transfer the saved program to the IP247 again using mode 22 ("enter machining pro-
gram"), The program now appears last in the machining program directory.
While the memory is being compressed make sure that no axis is executing a machining pro-
gram ("automatic", " automatic single statement" or "teach-in"). If one of these modes is being ex-
ecuted, only the memory area after the program currently being executed will be compressed
and no new memory space will be made available.
4.3.20

Machining Program Information (Mode 65)

With this mode, using FBI 65, you obtain a listing of all the machining programs contained on the
put. COM247 also uses this mode in the "information function" (=> Section 5.11 "Information").
Here, however, the length of the machining programs is shown in bytes.
Since machining programs are not axis related, the machining program directory can be read
out to the PC interface via any interface. The only condition is that the destination data block is
sufficiently long.
The programs are
listed in the order in which they are entered and
entered without gaps in the destination data block.
For more det~ied information, refer to the description of FB165 in Section 6.3.8.5 "Structure of
the Machining Program Directory".
4.3.21

Read Machining Program (Mode 69)

With the mode "read machining program", a complete machining program is transferred from the
I P247 to the CPU. COM247 uses this mode indirectly if you press the appropriate function key.
Via the PC interface, the transfer is made with FBI 65. The transfer can be made via any page.
The only condition is that the destination data block in the CPU is of adequate length.
When it outputs a machining program, the IP247 adds information in the header. This includes
the following:
the length of the program in words,
the data block number of the machining program on the IP247 (identical to the machining
program number),
Executing Machining Programs
4-41

Advertisement

Table of Contents
loading

Table of Contents