FabiaTech Corporation
42
Send out one character (Transmit)
Step 1: Enable TXC signal, and the bit 0 of the address of 4 just sets “1”.
Step 2: Send out the data. (Write this character to the 0 of the current
COM port address)
Step 3: Wait for the buffer’s data empty. Check transmitter holding register
(THRE, bit 5 of the address of 5), and transmitter shift register
(TSRE, bit 6 of the address of 5) are all sets must be “0”.
Step 4: Disabled TXC signal, and the bit 0 of the address of 4 sets “0”
Send out one block data (Transmit – the data more than two characters)
Step 1: Enable TXC signal, and the bit 0 of the address of 4 just sets “1”.
Step 2: Send out the data. (Write all data to the 0 of the current COM
port address)
Step 3: Wait for the buffer’s data empty. Check transmitter holding register
(THRE, bit 5 of the address of 5), and transmitter shift register
(TSRE, bit 6 of the address of 5) are all sets must be “0”.
Step 4: Disabled TXC signal, and the bit 0 of the address of 4 sets “0”
Receive data
The RS-485’s operation of receiving data is in the same of the RS-232’s.
Basic Language Example
a. Initial 86C450 UART
10
OPEN “COM1:9600,m,8,1”AS #1 LEN=1
20
REM Reset DTR
30
OUT &H3FC, (INP(%H3FC) AND &HFA)
Содержание Fanless Series FX5403
Страница 6: ...vi Appendix 59 Dimension 59 ...
Страница 7: ...vii ...
Страница 10: ...FabiaTech Corporation 3 Layout 1 2 Antenna 4 2 3 1 DC12 24V ON OFF ...
Страница 13: ...FabiaTech Corporation 6 ...
Страница 22: ...FabiaTech Corporation 15 DC Power Connector Use external 2 pin apartable terminal block DC12 24V ON OFF ...
Страница 23: ...FabiaTech Corporation 16 ...
Страница 51: ...FabiaTech Corporation 44 ...
Страница 66: ...FabiaTech Corporation 59 Appendix Dimension ...