EasyManua.ls Logo

HUST CNC H2N - Page 84

Default Icon
90 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
HUST H2N Connecting Manual
9 - 8
Example 4: Output Bit (O-Bit) Status Report
DC2
%<CR>
O9001<CR>
HxxooooChhhhhhhhhhhhhh...........<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 'C' (1 byte) followed by 64
status bytes and a 'CR' (1 byte). Each "h" represents the status of O-bits and is a
hexadecimal number as described in Table A4.
2. The first status byte (h) will be O000~O003 and the last byte, O252~O255.
3. The status of each Oxxx is either '0' (Off) or '1' (On) as in binary.
Example: If the 3rd "h" is "A", A=1010 from Table A4. Then the status of
O011=On, O010=Off, O009=On and O008=Off.
Example 5: Command Bit (C-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 C-bits and is a
hexadecimal number as described in Table A4.
2. The first status byte (h) will be C000~C003 and the last byte, C252~C255.
3. The status of each Cxxx is either '0' (Off) or '1' (On) as in binary.
Example: If the 4th "h" is "8", 8=1000 from Table A4. Then the status of
C015=On, C014=Off, C013=Off and C012=Off.
Example 6: CNC Status Bit (S-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 S-bits and is a
hexadecimal number as described in Table A4.
2. The first status byte (h) will be S000~S003 and the last byte, S252~S255.

Table of Contents

Related product manuals