FabiaTech Corporation
54
40 RETURN
b. Send out one character to COM1
10
REM Enabled transmitter by setting DTR ON
20
OUT &H3FC, (INP(&H3FC) OR &H01)
30
REM Send out one character
40
PRINT #1, OUTCHR$
50
REM Check transmitter holding register and shift register
60
IF ((INP(&H3FD) AND &H60) >0) THEN 60
70
REM Disabled transmitter by resetting DTR
80
OUT &H3FC, (INP(&H3FC) AND &HEF)
90 RETURN
c. Receive one character from COM1
10
REM Check COM1: receiver buffer
20
IF LOF(1)<256 THEN 70
30
REM Receiver buffer is empty
40 INPSTR$”
50 RETURN
60
REM Read one character from COM1: buffer
70 INPSTR$=INPUT$(1,#1)
80 RETURN
NOTE: The RS-485 of the FX5321 uses COM1. If you want to program it and
hardware setup, please refer to the BIOS Setup for COM1 address setup
and Chapter 2 “Hardware Installation”: Jumper Setting.
Summary of Contents for Fanless FX5321
Page 5: ...v ...
Page 11: ...FabiaTech Corporation 6 ...
Page 21: ...FabiaTech Corporation 16 ...
Page 49: ...FabiaTech Corporation 44 ...
Page 68: ...FabiaTech Corporation 63 Appendix Dimension a FX5321 145 102 50 4 ...