![GSK 980TDi Скачать руководство пользователя страница 183](http://html1.mh-extra.com/html/gsk/980tdi/980tdi_user-manual_2275219183.webp)
Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter 3 G Commands
167
Ⅰ
Programming
or negative value of variable value as address value.
Example: F#103…when #103=15, its function is the same that of F15;
Z-#110…when #110=250, its function is the same that of Z-250;
2. Macro variables can replace macro variables values.
Format: “
#
”+“9”+macro variables number
Example: if #100 = 205, #105 = 500,
The command function of X#9100 is the same as X500;
The command function of X-#9100 is the same as X-500
Note 1: If macro variables values exceed the maximum rang of command values, they cannot be used. For
example: #130 = 120, M#130 exceeds the maximum command value.
z
Null variable
When the variable value is not defined, it is null, the variable #0 is always null and only is read
instead of writing.
1). Reference
When an undefined variable (null variable) is referred, the address is ignored.
#1=<null> #1=0
G00 X100 Z#1 is equal to G00 X100
G00 X100 Z#1 is equal to G00 X100 Z0
2).
Operation
Except for using <null variable > to value, the <null variable> used to operation in other
conditions is the same as that of “0”.
#1=<null>
#1=0
#2=#1
↓
(execution result)
#2=<null>
#2=#1
↓
(execution result)
#2=0
#2=#1
﹡
5
↓
(execution result)
#2=0
#2=#1
﹡
5
↓
(execution result)
#2=0
#2=#1+#1
↓
(execution result)
#2=0
#2=#1+#1
↓
(execution result)
#2=0
3). Condition expression
<null>s in EQ(=) & NE(
≠
) are different to “0”.
#1=<null> #1=0
#1 EQ #0
↓
Valid
#1 EQ #0
↓
Invalid
#1 NE #0
↓
Invalid
#1 NE #0
↓
Invalid
#1 GE #0
↓
Valid
#1 GE #0
↓
Invalid
#1 GT #0
↓
Invalid
#1 GT #0
↓
Invalid
Содержание 980TDi
Страница 17: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 1 Programming I Programming...
Страница 225: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 209 Operation II Operation...
Страница 379: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 363 Connection III Connection...
Страница 539: ...Official GSK Agents in South Africa Tel 27 11 626 2720 design efamatic com 523 IV Appendix IV Appendix...