USB232U/485Ui
Page 22
5
PROGRAMMING
The USB232U/485Ui interfaces are supplied with Windows 98, 2000, XP and Linux specific
drivers. Programming for use under other operating systems is beyond the scope of this
manual.
5.1
Programming with Windows 98, 2000 and XP Device drivers.
Application programmers writing programs to run under these operating systems will simply
treat the port as a standard COM port. All Programs written to run under these operating
systems will be able to use the advanced features of the device.
5.2
Half Duplex Transmission Turnaround
In a multiple RS485 transmitter installation, the application program controls the data
communication turnaround and the selection of the bus 'talker'. Two common ways of providing
program control are the 'Master/Slave' and 'Token Ring' methods. The 'Master/Slave' method
designates one device on the network as Master, and this device supervises all transmissions
by communicating with each of the Slaves in turn and offering it a transmission slot. In token
ring operation, each device knows its ID neighbour and only talks directly to this next device.
Thus communication only occurs between adjacent pairs of devices and this makes for a
flexible network but can be a more difficult method to implement.
In half duplex mode the RS485 transmit buffer is enabled automatically, by the FT8U232BM
UART, whenever data is waiting to be sent in the UART Transmit buffer. This feature makes
efficient multi-drop communication simple to implement by removing the burden of the
Transmit buffer enable control from the software. Programmers may find this feature useful
when trying to implement multi-drop systems using Application software that does not support
control of the transmitter. The port can simply be configured as a Half-Duplex port using
jumpers. The application software will then treat the port as it would any other. Transmit buffer
enabling and disabling will then take place automatically.
Содержание USB232U
Страница 6: ......
Страница 11: ...USB232U 485Ui Page 5 Brighton East Sussex BN2 4AW England ...