EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Program Structure

HEIDENHAIN iTNC 530 HSCI
1966 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1756 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.7.3 Program structure
To make it easier to maintain and expand your PLC program, you should give
it a modular structure. Modular means that you write a separate program
module for each function. You can then call the individual modules from the
main program. You should interrogate improper functioning of the machine in
the PLC program and indicate such malfunctions on the screen with plain-
language error messages.
Module 9019 Size of the processing stack
To debug functions, you can use Module 9019 to interrogate the contents of
the processing stack. The function answers with the number of the bytes that
lie on the processing stack of the PLC at the moment. If the processing stack
is empty, the iTNC returns the value zero. A byte, word, double word or string
occupies four bytes on the stack; a marker, input, output, timer or counter
occupies two bytes.
Call:
CM 9019
PL B/W/D <>Number of bytes on processing stack>

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals