Table 4-8. H Code Descriptions And Instruction Functions For - Hurco WINMAX Programming Manual

Nc programming
Hide thumbs Also See for WINMAX:
Table of Contents

Advertisement

This table lists the Descriptions and Instruction Functions for the H codes used in the G65
macro instructions:
H Code
Description
H01
Definition, Substitution
H02
Addition
H03
Subtraction
H04
Product
H05
Division
H11
Logical Sum
H12
Logical Product
H13
Exclusive OR
H21
Square Root
H22
Absolute Value
H23
Remainder
H24
Conversion from BCD to Binary
H25
Conversion from binary to BCD
H26
Combined Multiplication/Division
H27
Combined Square Root 1
H28
Combined Square Root 2
H31
Sine
H32
Cosine
H33
Tangent
H34
Arc tangent
H80
Unconditional Divergence (GOTO)
H81
If Statement, Equals
H82
If Statement, Not Equal
H83
If Statement, Greater Than
H84
If Statement, Less Than
H85
If Statement, Greater Than/Equals
H86
If Statement, Less Than/Equals
Table 4–8.
H Code Descriptions and Instruction Functions for G65 Macro Instructions
WinMax Lathe NC Programming
Instruction Function
#a = #b
#a = #b + #c
#a = #b - #c
#a = #b * #c
#a = #b / #c
#a = #b .OR. #c
#a = #b .AND. #c
#a = #b .XOR. #c
#a = Ö#b
#a = |#b|
#a = #b - trunc (#b/#c) * #c
trunc: discard fractions less than 1.
#a = BIN(#b)
#a = BCD(#b)
#a = (#a * #b) / #c
#a = Ö(#b2 + #c2)
#a = Ö(#b2 - #c2)
#a = #b * SIN(#c)
#a = #b * COS (#c)
#a = #b * TAN(#c)
#a = TAN(#b/#c)
GOTO a
IF #b = #c, GOTO a
IF #b ¹ #c, GOTO a
IF #b > #c, GOTO a
IF #b < #c, GOTO a
IF #b >= #c, GOTO a
IF #b <= #c, GO TO a
704-0115-307
ISNC G Codes 4-43

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WINMAX and is the answer not in the manual?

Table of Contents

Save PDF