Machining Programs And Their Structure; General - Siemens SIMATIC S5 Manual

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

Advertisement

Machining Programs and their Structure

2.6
Machining Programs and their Structure
2.6.1

General

A machining program is a connected series of traversing jobs, dwell times and offsets. Machin-
ing programs are made up of individual statements. Each statement is itself a complete and
feasible job for the positioning module. The machining programs can be stored in the RAM of the
positioning module, from there they are executed either as a series of statements or in the single
statement mode. The machining programs accepted by the positioning module generally corre-
spond in terms of their structure to a subset of the representation described in DI N 66025, Only
this subset is explained here. COM247 provides you with user-friendly support when generating
a machining program. Deviations from the permitted subset of DIN 66025 are signalled immedi-
ately when generating the program.
Note
I
Machining programs are independent of the axes. A machining program can be
executed simultaneously on all three axes. It is of little importance whether the
particular axis is linear or rotary.
Machining programs do not include dimensions. Position information and
speeds are always interpreted in the unit assigned to the axis in the machine
data record,
Machining programs can be interrupted and continued from the same point.
The programs consist of a sequence of ASCII characters. The following restrictions apply:
a maximum total of 6000 ASCI I characters can be stored on the I P247
these can be divided into 255 programs
a maximum of 1023 ASCII characters are permitted per program.
Repeat loops and subroutines are possible in the programs up to a common nesting depth of 5.
If a statement is inserted in an existing machining program using the machining program editor
of COM247, or if a statement is appended to a program, 50 characters are reserved for this state-
ment. If the maximum length of a machining program would be exceeded by this addition,
A machining program created with COM247 cannot be loaded in the CPU directly. If you wish to
store a machining program in the CPU, you must transfer the machining program to the IP247
and then to an S5 data block on the CPU. The machining program number is entered in the ma-
chining program header. Program numbers 0...255 are permitted.
2-30

Advertisement

Table of Contents
loading

Table of Contents