beautypg.com

HEIDENHAIN TNC 306 Technical Manual User Manual

Page 293

background image


3/2000

TNC 416/TNC 406/TNC 306

PLC-functions

7-3

3.8

Parentheses with comparison commands

7-77

3.8.1

EQUAL TO [ ] (==[ ])

(== [ ]

7-77

3.8.2

LESS THAN [ ] (<[ ])

< [ ]

7-77

3.8.3

GREATER THAN [ ] (>[ ])

> [ ]

7-77

3.8.4

LESS THAN OR EQUAL TO [ ] (<=[ ])

<= [ ]

7-77

3.8.5

GREATER THAN OR EQUAL TO

L

[ ] (>=[ ])

>= [ ]

7-78

3.8.6

NOT EQUAL TO [ ] (<>[ ])

<> [ ]

7-78

3.9

Shift Commands

7-81

3.9.1

SHIFT LEFT (<<)

<<

7-81

3.9.2

SHIFT RIGHT (>>)

>>

7-82

3.10

Bit commands

7-84

3.10.1 BIT SET (BS, BSX)

BS

7-84

3.10.2 BIT RESET (BC, BCX)

BC

7-85

3.10.3 BIT TEST (BT, BTX)

BT

7-86

3.11

Stack operations

7-88

3.11.1 Load data onto Data Stack (PS)

PS

7-88

3.11.2 Pull data from Data Stack (PL)

7-89

3.11.3 Load logic accumulator onto Data Stack (PSL)

PSL

7-89

3.11.4 Load word accumulator onto Data Stack (PSW)

P

SW

7-90

3.11.5 Pull logic accumulator from Data Stack (PLL)

PLL

7-90

3.11.6 Pull word accumulator from Data Stack (PLW)

7-90

3.12

Jump commands

7-93

3.12.1 Unconditional jump (JP)

JP

7-93

3.12.2 Jump if Logic Accumulator = 1 (JPT)

7-93

3.12.3 Jump if Logic Accumulator = 0 (JPF)

J

PF

7-93

3.12.4 Call Module (CM)

CM

7-95

3.12.5 Call Module if Logic Accumulator = 1 (CMT)

CMT

7-95

3.12.6 Call Module if Logic Accumulator = 0 (CMF)

CMF

7-95

3.12.7 End of Module, Program End (EM)

EM

7-97

3.12.8 Jump Label (LBL)

LBL

7-97

3.12.9 End of Module if Logic Accumulator = 1 (EMT)

7-97

3.12.10 End of Module if Logic Accumulator = 0 (EMF)

7-97

3.13

CASE statement

7-99

3.13.1 Indexed call module (CASE)

CASE

7-99

3.13.2 End indexed call module (ENDC)

ENDC

7-99

3.14

Commands for STRING Execution

7-100

3.14.1 LOAD (L)

7-101

3.14.2 ADD (+)

7-102

3.14.3 Storing a STRING (=)

7-102

3.14.4 Overwriting of a STRING (OVWR)

7-103

3.15

Submit Programs

7-104

3.15.1 Call up of the Submit Program (SUBM)

7-104

3.15.2 Status Interrogation of a Submit Program (RPLY)

7-105

3.15.3 Cancellation of a Submit Program (CAN)

7-105

This manual is related to the following products: