FabiaTech Corporation
rogramming RS-485
The majority communicative operation of the RS-485 is in the same of the RS-232.
When the RS-485 precedes the transmission, which needs control the TXC signal,
and the installing, steps are as follows:
Step 1: Enable TXC
Step 2: Send out data
Step 3: Waiting for data empty
Step 4: Disable TXC
Note: Please refer to the section of the “Serial Ports” in the Chapter 5 “Technical
Reference” for the detail description of the COM port’s register.
¾
Initialize COM port
Step 1: Initialize COM port in the receiver interrupt mode, and /or transmitter
interrupt mode. (All of the communication protocol buses of the RS-485
are in the same.)
Step 2: Disable TXC (transmitter control), the bit 0 of the address of 4
just sets “0”.
NOTE: Control the FX5201 system “DTR” signal to the RS-485 TXC communication.
41
Содержание FX5201
Страница 6: ...vi...
Страница 12: ...FabiaTech Corporation 6...
Страница 50: ...FabiaTech Corporation 44...
Страница 64: ...FabiaTech Corporation Appendix Dimension a FX5201 DC12 24V OFF ON 2 1 LINK ACT 58...
Страница 65: ...FabiaTech Corporation 59 b FX5201K1 75 100 11 122 52 2 75 100 7 123...