Description
1. RS232 transmit data format. (How to setup the format, please refer to 7.23).
2. PRINT format.
Notice:
The following is the default setup
1. baud rate : 9600bps.
2. no parity.
3. 8 data bits
4. One start bit and one stop bit
9.1
BCD
CODE FORMAT
The DC3000 send 17 bytes to computer after getting a 'R' ( ASCII code : 52H) from the
computer. The following is the content of the 17 bytes:
Byte 1:
Head=0x0fe (hexadecimal).
Byte 2:
Bit 0:
sign of the Y axis, 0 indicate "+" and 1 indicate "-".
Bit 1:
sign of the X axis, 0 indicate "+" and 1 indicate "-"
Bit 2:
sign of the Z axis, 0 indicate "+" and 1 indicate "-".
Bit 3:
reserved.
Bit 4:
0: mm 1: inch. ( display length unit)
Bit 5-Bite 7:
reserved.
Byte 3:
Status (error message) bit
Bit 0:
X axis status, 0 indicate "OK" and 1 indicate "ERROR".
Bit 1:
Y axis status, 0 indicate "OK" and 1 indicate "ERROR".
Bit 2:
Z axis status, 0 indicate "OK" and 1 indicate "-ERROR".
Bit 3-Bit7:
reserved.
Byte 4-Byte 7:
display value of X axis: ( compact BCD code format)
X-value = B4+B5*10^2+B6*10^4+B7*10^6
Byte 8-Byte 11:
display value of Y axis: (compact BCD code format)
Y-value = B8+B9*10^2+B10*10^4+B11*10^6
Byte 12-Byte 15:
display value of Z axis: (BCD code format)
Z-value = B12+B13*10^2+B14*10^4+B15*10^6
Byte 16-Byte 17:
Check sum ( compact BCD code format) :
B17 B16=B2+B3+B4+B5+B6+B7+B8+B9+B10+B11+B12+B13+B14+B15
Byte16.: LSB of sum.
Byte17.: MSB of sum.
Notice:
1. Don't care for the value which axis do not exist.
2. B4: the forth byte, and so is other bytes.
3. The content form B4 to B17 is wrote in compact BCD format.
50
Manual WDC-300
9.
C
ORRESPONDING
Summary of Contents for WDC-300
Page 1: ...Manual WDC 300 COUNTER FOR WPP 300 ...
Page 54: ...W03 134 ...