Technical Note #639: VT-MODEM Interfaces With Telemecanique TSX Micro PLC
Technical Note #639: VT-MODEM Interfaces With Telemecanique TSX Micro PLC
Technical Note #639: VT-MODEM Interfaces With Telemecanique TSX Micro PLC
Abstract: This Technical Note explains the procedure to remotely access a Telemecanique Modicon
TSX Micro CPU 3722 PLC through SIXNET Industrial Modems.
Using the dialing utility in the Schneider Automation PL7 PRO software, the TSX Micro
PLC can be remotely accessed via telephone wiring using a pair of SIXNET Industrial
Modems.
Software Used:
Hardware Used:
Note: A SIXNET VT-MODEM-1 was used during testing on the local PC running PL7 PRO software.
However, most internal PC modem cards will function properly as the dialing modem in this
application.
· TSX Micro PLC: Connect the TSX Micro PLC to a PC running PL7 PRO software via the
TSXPCU1131 cable to the PC’s Communication port and the TSX Micro’s TER port. Open the
hardware configuration screen for the TSX Micro’s Channel 0. Configure the Baud Rate, Data
bits, Parity and Stop bits for 9600, 8, None, 1 respectively. Set the Wait time for 250 ms (See
Screen Shot 3). Go to PLCàConnect to transfer the file from the PC to the PLC. Successful
communication will be indicated when the ‘ONLINE’ message is displayed on the bottom of the
main PL7 screen.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 2 of 10 REV: NOV 2002
Screen Shot 3
· VT-MODEM-1: Connect the VT-MODEM-1 directly to a PC’s COM port via the VT-
CABLE-MDM supplied with the modem. Open the VT-MODEM Wizard. In the ‘Read
Configuration’ window select ‘VT-MODEM-1 (Industrial Modem)’ and click on ‘Next’. The
‘COM Parameters’ Window must match the configuration used in the TSX Micro PLC, so set the
Flow Control to None, Baud rate, Data bits, Parity, Stop bits should be set to 9600, 8, None, 1
respectively (See Screen Shot 4).
Note: The pre-configured VT-MODEM Wizard configuration file, TSXMicro_MDM2.6ms, is
available on the latest SIXNET CD or the SIXNET industrial modem website
www.industrialmodem.com.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 3 of 10 REV: NOV 2002
Screen Shot 4
Next, in the ‘Modem Parameters’ window put Flow Control to None, check the ‘Disable Error
Correction’ check box and leave the rest of the options at their default values (See Screen Shot
5). Finally, load the configuration to the modem by selecting the ‘Write Configuration to the
Modem’ button in the ‘Write Configuration’ window.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 4 of 10 REV: NOV 2002
Screen Shot 5
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 5 of 10 REV: NOV 2002
Screen Shot 6
· Connecting the modems to the devices: Connect the VT-MODEM-1 to a PC’s COM port
via the VT-CABLE-MDM cable that came with the modem. The VT-MODEM-2 connects to the
TSX Micro PLC’s TER port via the TSXPCX1130 cable.
· Connecting the phone lines: The two modems were connected to an internal analog phone
system through their Line RJ11 jacks using standard RJ11 telephone cables.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 6 of 10 REV: NOV 2002
· Dial Utility in PL7 PRO: To use the dialing utility within the PL7 PRO software, go to
PLCàDefine PLC Address…àOptionsàConfiguration of the DriversàUNITELWAY
DriveràConfigurationàEdit… In the Uni-telway tab check the ‘Use Modem’ Check box, add
‘ATDT’ to the Hayes text box and the Phone Number of the answering modem in the ‘Phone
Number’ text box (See Screen Shot 7). Set the parameters in the ‘Line Parameters’ tab to match
the communication parameters in the PLC’s Hardware Configuration (See Screen Shot 8). The
settings in the ‘Advanced’ tab should be set to defaults (See Screen Shot 9).
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 7 of 10 REV: NOV 2002
Screen Shot 9
‘OK’ out of the ‘Station Parameters’ window and the ‘UNITELWAY Configuration’ window to reset
the driver. In the Main PL7 PRO window go to PLCàConnect to establish the modem-to-modem
connection and go online with the PLC. Once the CD LED on the modems turn on solid, the TD and RD
LED’s should blink rapidly, indicating there is successful communication. To Hang-up the connection,
cycle power to the VT-MODEM-1 or close PL7 PRO and follow the directions to terminate the
connection in the ‘Windows HyperTerminal’ section below.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 8 of 10 REV: NOV 2002
successful connection between the VT-MODEM-1 and the PC. An OK should result if the
connection is valid. Now dial the phone number associated with the VT-MODEM-2 by typing
ATDT# <enter>, where # is the phone number. The modem-to-modem connection is indicated by
the ‘CONNECT 9600’ message (See Screen Shot 12). Now that the link between the PC and
TSX Micro PLC is established, close out of HyperTerminal and Open PL7 PRO software. Now
access the PLC by selecting PLCàConnect. The TD and RD LED’s should blink rapidly,
indicating valid communication.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 9 of 10 REV: NOV 2002
Screen Shot 12
To terminate the modem-to-modem connection, close PL7 PRO and open the HyperTerminal session
created previously. Type +++ and wait for the OK message from the modem. Then type ATH to hang-up
the connection (See Screen Shot 13).
Screen Shot 13
Conclusion: This test successfully established communications between a PC and TSX Micro
PLC via SIXNET Industrial Modems.
SIXNET • Box 767 • Clifton Park, NY 12065 USA • +1 (518) 877-5173 • FAX +1 (518) 877-8346 • sales@sixnetio.com
TN639.DOC PAGE 10 of 10 REV: NOV 2002