GSK983Ma Milling Machine Center CNC System User Manual
160
Part 1 Programming
3.10.4.5 Compound Operation
The abovementioned operation and function can be combined. The priority sequence of the
operation is function, multiply operation and add operation.
For example #i= #j+#K*SIN[#
l
]
——
○
1 ——Operation sequence
——
○
2 ——
——
○
3 ——
3.10.4.6 Operation sequence change by the [ ]
[ ] can be nested 5 times (its brackets are included) if you want the priority part of the
operation sequence inside the [ ].
For example:
#i=SIN [ [ [ #j+#K ] *#
l
+#m ] *n ] (Triply nesting)
—
○
1 —
——
○
2 ——
————
○
3 ——
—————
○
4 ——
—
○
5 ——————————
3.10.4.7 Accuracy
It is very necessary to note that whether it has enough accuracy when the Macro program is
compiled.
(
1
)
Data format
The data float format treated by the Macro program is as follows:
M*2E
Wherein: M: 1 digit symbol bit + 31-digit binary number
E: 1 digit symbol bit + 7-digit binary number
(
2
)
Operation accuracy
The following errors may occur when one operation is performed once and these errors may
accumulate when the operations are performed repeatedly.
Operation format
Average error
The Max. error
The type of the error
a=b*c 1.55×10
-10
4.66×10
-10
Relative
error
a=b/c 4.66×10
-10
1.86×10
-9
a=
b
1.24×10
-9
3.73×10
-9
│
a
ε
│
a=b+c
a=b-c
2.33×10
-10
5.32×10
-10
min
(
b
ε
,
c
ε
)
a=SIN[b]
a=COS[b]
5.0×10
-9
1.0×10
-9
a=ATAN[b]/[c] 1.8×10
-6
3.6×10
-6
Absolute error
│ε│
degree
Содержание GSK983Ma
Страница 124: ......
Страница 130: ...GSK983Ma Milling Machine Center CNC System User Manual 118 Part 1 Programming Rapid traverse Cutting feed ...
Страница 133: ...Chapter Three Programming 121 Part 1 Programming Rapid traverse Cutting feed 6 G82 Drilling cycle boring ...
Страница 143: ......
Страница 185: ......
Страница 209: ...Chapter Four Operation 197 Part 2 Operation ...
Страница 239: ...Chapter Four Operation 227 Part 2 Operation ...
Страница 242: ......
Страница 279: ......
Страница 296: ...GSK983Ma Milling Machine Center CNC System User Manual 284 Part 2 Operation ...
Страница 297: ...Appendix 285 APPENDIX Appendix 1 System Version Display The system version is displayed immediately after power on ...
Страница 371: ...Appendix 11 USB Interface Parameter Transfer Operation ...