Chapter Three Programming
181
Part 1 Programming
Parameter number
The special characters used by Macro A are as follows: OR, XOR, IF, GOTO, EQ, GT, LTT,
GE, LE.
The special characters used by Macro B are as follows:
AND, SIN, COS, TAN, ATAN, SQRT, ABS, BIN, BCD, ROUND, FIX, FUP, WHILE, DO, END.
3.10.10 Restrictions
(1) Usable variable
#0, #1
~
#33, #100
~
#149, #500
~
#509 and system variables
(2) Usable variable value
Maximum ±10
47
, minimum ±10
-
39
(3) Rated numerical value used in <Expression>
Maximum ±99999999, minimum ±0.0000001
Decimal point: usable
(4) Operational precision: decimal 8 digits
(5) Nesting degree of macro calling: up to 4 levels
(6) Repetition Identification number: 1
~
3
(7) Nesting of [ ]: up to 5 levels
(8) Nesting degree of subprogram calling: up to 4 levels
(9) The above-mentioned functions: User Macro B may perform all of them while A can only
perform the following operations.
(
i
)
The variables beyond the amount are applicable.
(
ii
)
The following operations may be performed between variables:
+
,
-
, OR, XOR.
(iii) IF [ <Conditions> ] GOTO n is applicable.
(
iv
)
Simple calling and modal calling are possible.
3.10.11 The Description of the P/S Alarm
1. Alarm No.004
The number or symbol is at the beginning of the program word instead of the address.
(For example): X1*1:
No.004 alarm will be given when “*” instead of the next address appears after X1.
2. Alarm No. 114
The formats other than <Formula> are incorrect. This type of alarm indicators up a lamp in the
following conditions:
(a) The characters following an address shall not be numerical values, • ,
-
, #, [,
+
For example: XF1000
;
XSIN [ 10 ]
;
(b) The formats other than IF (also called WHILE)[ <Formula>
ΔΔ
<Formula> ]
For example: IF [ #1 EQ #2 ] GOTO 10;
WHILE [ #1 SIN#2 ] DO1;
0317
Summary of Contents for GSK983Ma
Page 124: ......
Page 143: ......
Page 185: ......
Page 209: ...Chapter Four Operation 197 Part 2 Operation ...
Page 239: ...Chapter Four Operation 227 Part 2 Operation ...
Page 242: ......
Page 279: ......
Page 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Page 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...