Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Automation Systems > Networks
Minimize Text   Default    Enlarge Text
 

Print
E-mail

Programming With Westermo TD-32B


Introduction
This tutorial is intended as a supplement to the product user manuals. Therefore, use it to familiarise yourself with the product but not as a guide to complete installation.
 
Product Information

The TD-32 has serial transmission speed of a maximum of 57,600 baud and a communication speed of up to 33,600 baud.

2 ways to set up the Westermo TD-32B

For the factory setting, all switches except SW3: 1 are set to OFF.

Method One
TD-32 can be set up with dip-switch configuration before it is connected to the power.
Set the dip switches to the following:
SW1: 3 = ON as AT & A1
SW3: 1.7 = ON as 2-wire line AT & C1
SW4: 2,3,5,8 = ON as 9600 baud, 7, E, 2 against the PLC 
SW5: 4 = ON as 9600 line speed
The remaining dip switch can be set to OFF.
The modem should already be set up with Auto Reply from the factory. To check this call the modem before leaving the site. If the modem does not respond, you must follow the procedure below to activate the Auto Answer.

Method Two
  • Start up the hyper terminal on the PC.
    Preferences: Features
    - Connect with = Direct to COM1 (or another serial port)
    - Configuration = 9600, 7, Equal, 2, No (baud rate, databit, parity, stop bit, flow control)  
  • Connect to the modem on the COM port 1 ( the same port that is used in the hyper-terminal) and select "connect" in the menu. The modem does not need to be connected to a phone line. The protocol is the same one that the hyperterminal is set to.
  • Set up the modem with the following commands on the factory dip switches:
    AT Checks if the modem is connected.
    AT & F Retrieve the modem settings.
    AT & A1 ignore data on the serial port during the connection.
    AT & D0 Indicates use of DTR.
    (AT & K0 Indicates use of flow control / fix .*)
    ATF8 User fast 9600 baud. (as a test this was wrong, but the modem works fine without)
    ATS0 = 1 Auto answer on the first ring.
    AT & W Save / layout of EEPROM.
    Each entry provides an OK response from the modem in the hyper terminal window.
*It is not necessary to connect pins 4 and 5 on the modem respectively with pins 4 and 5 on the PLC. For bad telephone lines try connecting without this command so that the modem checks the transferred data. Remember to ensure your PC modem is set with with the same data communications. This is especially true if you use CxProgrammer. The following command responses are given by the connection between the modem (or hyper terminal Syswin):
CONNECT 9600/REL - LAPM (or - NMP) This is tested against both ports, both on a CQM1-CPU43 and a C200HX-CPU64. 




Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2008-11-21
Modified 2008-11-21
Views 3216

 

You are not logged in.