![FabiaTech Fanless FX5202 Скачать руководство пользователя страница 47](http://html1.mh-extra.com/html/fabiatech/fanless-fx5202/fanless-fx5202_user-manual_3105569047.webp)
FabiaTech Corporation
¾
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)
40
Содержание Fanless FX5202
Страница 6: ...Dimension B 58 vi...
Страница 7: ...vii...
Страница 13: ...FabiaTech Corporation 6...
Страница 49: ...FabiaTech Corporation 42...
Страница 64: ...FabiaTech Corporation Appendix Dimension A OFF LINK ON ACT DC12 24V 2 1 57...
Страница 65: ...FabiaTech Corporation 58 Dimension B Rail Adapter EN 50022 1977 Din Rails On 35mm...