Download User`s Manual Template - Triangle Research International

Transcript
Chapter 14
Serial Communications
14.10 Using Modem to Remotely Program/Monitor The PLC
TLServer 3.x supports remote dial up to M-series and F-series PLCs via standard, off-the-shelf modems.
It takes two modems to communicate between two devices. The host end of the modem setup and
configuration is handled by the TLServer software itself, whereas on the PLC side, the PLC has to
configure the modem so that it can successfully communicate with the host computer running TRiLOGI.
14.10.1
Wiring
The modem is often connected to the PLC’s COMM1. Since the serial port on most modems are DCE
type, you will need a make a special cable (also known as null-modem) to connect them as shown in
Figure 14.2. If the modem only has a DB25 connector, you can connect the wires as shown in the
following diagram:
F1616-BA
COMM1
(Female
DB9)
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
Modem
(Female DB25)
20
Figure 14.3
Connecting EZWire1616’s COMM1 to a modem’s DB25 port
Note that pin 6 (DSR) and pin 20 (DTR) at the modem end are tied together. This is often required to
inform the modem that the device is ready for operation so that the modem can work properly. A modem
may also be connected to COMM2 or COMM3 for multi-drop remote programming and monitoring using
TRiLOGI 6 or 7 software. However, you will need to purchase an auto-turnaround type RS232-to-RS485
converter, such as: the “Auto485” (http://www.tri-plc.com/auto485.htm).
14.10.2
Programming
Please refer to the Internet i-TRiLOGI version Programmer’s Reference guide, Chapter 3 for
programming details for the PLC to communicate with the PC via modem.
14-15