Commands For String Execution - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

3.14 Commands for STRING Execution

STRING execution allows the creation and manipulation of any texts via the PLC program. These
texts may be displayed in the PLC window of the screen by the use of Module 9082, and/or deleted
again with Module 9080 (refer to PLC modules). A STRING Accumulator and four STRING memories
are provided in the control for STRING execution. A maximum of 128 characters may be loaded into
this.
STRING accumulator:
1
STRING memory:
1
S 0
S 1
S 2
S 3
Example:
1
C O O L A N T
STRING Accumulator and STRING memory are volatile, and so are again deleted upon powering off.
For STRING execution, the new operand "S" has been introduced. The operand "S" may be used with
various arguments.
Explanation of the Operand:
The operand "S" is only used in STRING execution. The following locations may be addressed with
the various arguments:
– STRING memory: Should a STRING memory be addressed, the number of the required memory
(S0-S3) must be specified after the Operand-Designation.
– Part of a STRING: If only part of a STRING is to be addressed, then this can be done by addressing
Sn^X (see INDEX REGISTER).
The substring will be addressed from the X-th character in the specified STRING.
– Immediate STRING: A STRING can also be entered directly into the PLC program. The Text
STRING, which may contain 0 – 37 characters, must be identified by quotation marks.
Example: S "COOLANT 1 ON"
– Text from the PLC-Error Message files and/or from the PLC-Dialogue files: Text from the active
error message or dialogue files may be read by the input of the line number.
7-114
TNC 407/TNC 415/TNC 425
128 Characters
128 Characters
1
O N
3 Commands
128
128
128
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents