Delete Machining Program (Mode 23) - Siemens SIMATIC S5 Manual

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

Advertisement

Executing Machining Programs
Note
length in the header information, otherwise the entry of the program is aborted with
an error!
If a machining program is created with COM247, the machining program can only be transferred
to the module if it is syntactically correct. The syntax check is made by COM247. If, however, the
machining program is transferred from the CPU to the IP247, the program is checked for syntacti-
cal errors by the firmware on the IP247. If an error occurs, the module error "machining program
error" is set. The machining program error itself is written in the machining program header in
DW n+3 (=> Section 6.3.8.2 "Structure of the Machining Program DB in the PC Memory"). A
machining program marked as containing errors is not listed in the machining program directory.
It cannot be edited using the software package COM247.
If an error is detected, you must proceed as follows:
read the machining program with mode 69 ("read machining program") from the IP247 to
the PC memory,
locate the machining program error in the program and correct it,
delete the program on the IP247 with mode 23 ("delete machining program"),
transfer the program to the IP247 again using mode 22 ("enter machining program").
When a machining program is created using the software package COM247, a syntax check is
carried out. Whether or not the program is consistent with the machine data can, however, only
be determined when the program is executed.
4.3.19

Delete Machining Program (Mode 23)

Using this mode, a machining program is deleted from the IP247 memory. The job is either trig-
gered using FBI 65 via the data channel or by the software package COM247 when you press
the delete key <F5> (=> Section 5.10 "Delete"). The following requirement must be met:
the program to be deleted is not currently being executed.
If a program is deleted from the program memory of the IP247 while the IP247 is running another
program ("automatic" or "automatic single statement") a gap may result in the memory area of
the I P247. You will then receive the error message "machining program only cleared from
directory". This gap can be closed both with COM247 or from the PC as follows:
stop all machining programs on the axes,
read the machining program directory (BA65) from the IP247,
4 - 4 0

Advertisement

Table of Contents
loading

Table of Contents