beautypg.com

Commands for string execution, 14 commands for string execution – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 390

background image


7-100

TNC 416/TNC 406/TNC 306

Commands

3/2000

Structure of a CASE statement:

Internal Addressing (0 to max. 127)

1

CASE B 150

2

CM 100 <------- (0)

3

CM 200 <------- (1)

4

CM 201 <------- (2)

5

CM 202 <------- (3)

6

CM 203 <------- (4)

7

CM 204 <------- (5)

8

CM 300 <------- (6)

9

ENDC

Line 1:

Command + operand; The internal address of the required Module must be loaded into the
operand

Line 2:

Call Module for operand contents 0

Line 3:

Call Module for operand contents 1

Line 4:

Call Module for operand contents 2

Line 5:

Call Module for operand contents 3

Line 6:

Call Module for operand contents 4

Line 7:

Call Module for operand contents 5

Line 8:

Call Module for operand contents 6

Line 9:

End of the CASE statement

3.14 Commands for STRING Execution

STRING execution is only possible with TNC 406/TNC 416!

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:

128 Characters

1

128

STRING memory:

128 Characters

1

128

S 0
S 1
S 2
S 3

Example:

1

128

C O O L A N T

1

O N

This manual is related to the following products: