9 Appendix A
9 - 9
3. The status of each Sxxx is either '0' (Off) or '1' (On) as in binary.
Example: If the 10th "h" is "E", E=1110 from Table A4. Then the status of
S039=On, S038=On, S037=On and S036=Off.
Example 7: Auxiliary Bit (A-Bit) Status Report
DC2
%<CR>
O9001<CR>
Hxxoooo&hhhhhhhhhhhh..........<CR> --- (main line)
%
DC4
1. In addition to Hxxoooo, the main line of status report has a total of 66 bytes
information, which starts with an ASCII symbol '&' (1 byte) followed by 64
status bytes and a 'CR' (1 byte). Each "h" represents the status of A-bits and is a
hexadecimal number as described in Table A4.
2. The first status byte (h) will be A000~A003 and the last byte, A252~A255.
3. The status of each Axxx is either '0' (Off) or '1' (On) as in binary.
Example: If the 5th "h" is "5", 5=0101 from Table A4. Then the status of
A019=Off, A018=On, A017=Off and A016=On.
9.6 MCM Data Download Format (HUST read in)
When download MCM data from PC to HUST controller using MCM download
command (Item 28 in Table A2), a DC1 ready signal will be sent from HUST
controller to PC. Please do not start downloading MCM data to HUST controller
unless you have received DC1 signal. The MCM data download format is a 7-digit
integer with negative sign if necessary. The first line data after O9002<CR> will be
sent to HUST controller's MCM No 1, 2nd line to MCM No 2, 3rd line to MCM No
3, and so on. Please refer to HUST CNC operator's manual for MCM parameters.
Format:
DC2
%<CR>
O9002<CR>
0000000<CR> MCM No 1
0000100<CR> MCM No 2
-0000100<CR> MCM No 3
-0000100<CR> MCM No 4
0000000<CR>
0000000<CR> and so forth
.......
.......
%
DC4