GSK983Ma Milling Machine Center CNC System User Manual
184
Part 1 Programming
The output of characters and binary output of variables are performed during the execution of
BPRNT instruction.
(a) Characters: Instructed characters output as ISO codes. The characters that can be
instructed include:
¾
Latin letters (A
~
Z)
¾
Number
¾
Special characters (*, /, +, -)
“*” is output as a space code.
(b) Since all variables with a decimal point will be saved. The number of the valid digits after
decimal point is indicated with the parentheses following a variable instruction. The variable
value that takes the digits after decimal point into account is indicated with a 2-character data
(32bit) and starts from high byte outputting in binary data.
(c) EOB codes outputs with ISO codes after outputting instruction data.
(d) The variables of <Empty> cannot be output (with 114#p/s alarm)
(
2
)
DPRNT [ a #b [ c d ]
Digits after the decimal point
Digits before the decimal point
Variable
Character
The output of characters and digits of numerical values may be performed with ISO codes during
the execution of DPRNT.
(a) Refer to the descriptions for the points (a), (c) and (d) of BPRNT instruction.
(b) During the output of a variable value, the variable number is specified after character #. Here
the numbers of the digits before and after decimal point are specified in parentheses.
The number of digits of a variable value starts from high-byte valid digit. Each digit and its
decimal point are output through ISO codes.
The number of digits of a variable value starts from high-byte valid digit. Each digit and its
decimal point are output through ISO codes.
A variable value consists of up to eight digits. If its high-byte digit is 0, then no code will be output
when No. 315 parameter PRT=1 and space code is output when PRT=0.
The digit after the decimal point is not 0, the number after the decimal point can be output in any
time. When it is 0, the decimal point does not output. When the symbol is in the case of the negative
(+) and the parameter 318 PRT = 0, + is output the space code. No code will be output when PRT=1.
(For example 1)
BPRNT [C**X#100[3] Y#101[3] M#10[0]]
Variable value:
#100=0.40956
#101= -1638.4
#10=12.34
Output: X410Y-1638400M12;
(For example 2)
DPRNT[X#2[53]Y#5[53]T#30[20]]
Variable value:
#2=128.47398
#5= -91.2
#30=123.456
1. Parameter 315 PRT=0
Output: X_ _ _128.474Y-_ _ _91.20T_23; (Here, the “_” expresses the space symbol)
2. Parameter 315 PRT=1
Output: X128.474Y-91.20T23;
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 ...