Macro Function Instructions - Control Instructions

Macro Function Instruction List

G code

H code

Features

Definition

G65

H80

Unconditional transfer

GO TO n

G65

H81

Conditional transfer 1

IF # j=# k,GOTOn

G65

H82

Conditional transfer 2

IF # j≠# k,GOTOn

G65

H83

Conditional transfer 3

IF # j># k, GOTOn

G65

H84

Conditional transfer 4

IF # j<# k, GOTOn

G65

H85

Conditional transfer 5

IF # j≥# k, GOTOn

G65

H86

Conditional transfer 6

IF # j≤# k, GOTOn

G65

H99

Generate PS alarm

PS alarm number 500+n appears

Unconditional transfer format G65 H80 Pn (n is block number)
Example G65 H80 P120; (transfer to N120)

Conditional Transition 1 #j EQ #k(=)
Format G65 H81 Pn Q#j R#k (n is the block number)
Example G65 H81 P1000 Q#101 R#102
When #101=#102, transfer to N1000 block; if #1011 #102, execute the next block.

Conditional Transition 2 #j NE #k (≠)
Format G65 H82 Pn Q#j R#k (n is the block number)
Example G65 H82 P1000 Q#101 R#102
When #1011 #102, transfer to N1000 block; if #101=#102, execute the next block.

Conditional Transition 3 #j GT #k (>)
Format G65 H83 Pn Q#j R#k (n is the block number)
Example G65 H83 P1000 Q#101 R#102
When #101 > #102, transfer to N1000 block; if #101 £ #102, execute the next block.

Conditional Transition 4 #j LT #k(<)
Format G65 H84 Pn Q#j R#k (n is block number)
Example G65 H84 P1000 Q#101 R#102
When #101 < #102, transfer to N1000; if #101 3 #102, execute the next block.

Conditional transfer 5 #j GE #k (≥)
Format G65 H85 Pn Q#j R#k (n is the block number)
Example G65 H85 P1000 Q#101 R#102
When #101 3 #102, transfer to N1000; if #101 <#102, execute the next block.

Conditional Transition 6 #j LE #k (≤)
Format G65 H86 Pn Q#j Q#k (n is block number)
Example G65 H86 P1000 Q#101 R#102
When #101 £#102, transfer to N1000; if #101>#102, execute the next program segment.

curling iron

Curling Wand,Hair Curling Wand,Curling Iron Wand,Wave Curling Iron

Ningbo Glory King Imp&Exp Co., Ltd. , https://www.nbglory.com

Posted on