9 Appendix A
9 - 5
%
DC4
9.5 Report Format of HUST CNC Controller Status
When using O9000 command to request CNC data, the data report will be displayed
on the PC according to the format described below. The status report format (for
main line) starts with Hxxoooo followed by an ASCII symbol and number, including
On/Off (1/0) switch. The meanings and format for all ASCII symbols in HUST CNC
controller are shown in Table A3.
Table A3 ASCII Symbols and the Corresponding Report Format
Symbol Meaning of ASCII Symbol Format
A Part program selected does not exist A
B I-Bit status report B010100001000000000.....
C O-Bit status report C000001110001000000.....
E Free memory (maximum 8 digits) E1234567
F Tool feedrate F1234.567
G Current G code G02
I Report X-axis tool offset I 1234.567
J Report Y-axis tool offset J 9876.543
K Report Z-axis tool offset K-1234.567
*L Reserved
M Current M code M02
N Current block counter N0020
*O Reserved
P Part program number P1234
*Q Reserved
*R Reserved
S Spindle speed S1200
T Tool number T2
U X-axis program position U 1234.567
V Y-axis program position V-1234.567
W Z-axis program position W-1234.567
X X-axis machine position X 5678.999 (blank means + )
Y Y-axis machine position Y 9876.432
Z Z-axis machine position Z-1234.567
! B-axis machine position !-1234.567
" B-axis program position "-1234.567
# C-bit status Report #010100000000010000000...
$ A-bit status Report $010100000000010000000...
& S-bit status Report &010100000000010000000...
Note that all report data will be send with one line (main line) and end with an ASCII
symbol, CR. The symbols with '*' are not available at the moment.