Westermo TD-32 User Manual

0 (0)

 

32/485

 

 

-

 

 

 

TD

 

32

 

 

 

-

 

 

TD

 

 

 

 

 

 

 

 

Galvanic

Transient

CE

Westermo Teleindustri AB • 2000 • REV. A

©

Isolation

Protection

Approved

 

Tele modem

V.32bis

www.westermo.se

Table of Contents

 

Introduction .....................................................................................................................................................................

4

Safety ..........................................................................................................................................................................................

4

Specifications ..................................................................................................................................................................

5

Installation ..........................................................................................................................................................................

6

RS-232/V.24 Connections ...........................................................................................................................

7

Line Connection ........................................................................................................................................................

7

Typical TD-32 Line Connections .....................................................................................................

8

TD-32/485 (RS-422/485 interface) ................................................................................................

9

DIP Switch Setup ....................................................................................................................................

10–13

LED Status Indicators ...................................................................................................................................

13

DTE Command Lines ....................................................................................................................................

14

AT Command Set....................................................................................................................................

15–34

Result Codes ..............................................................................................................................................................

35

S-Registers .........................................................................................................................................................

36–45

Application Examples ......................................................................................................................

46–49

Glossary ................................................................................................................................................................

50–53

6178-2203

3

Introduction

The Westermo TD-32 is an industrialised dial and leased line modem. This modem has been developed to be used in industrial applications and has some features you would not expect to find on a normal modem.

Terminal data rates of up to 57.6 kbit/sec can be handled using data compression and error correction. The maximum line modulation speed is 14,400 bit/sec (V.32bis).

Leased line connections can be made on 2 or 4 wires. The modem can also be used on ordinary twisted pair cables to provide long distance asynchronous communications.

A watchdog facility continually monitors the power supply and internal hardware as well as the operational software. In the event of a problem the modem automatically resets. This feature has been included to make the unit more suitable for use in unmanned locations.

The TD-32 is available in two standard versions for power supply by 230V AC or 12–36VDC. Special 115V AC and 36–60V DC models are also available on request.

Westermo have implemented commands often left out of standard modems. Two examples of these Westermo specific AT-commands are &D and &A (see AT-command description for further information).

The TD-32 can handle 11 data bits and has a special 2 stop bit mode to allow the unit to be used in applications many modems can’t handle.

The TD-32 has been designed with the engineer in mind, hence the extensive information on the command set, S registers, DIP switched and error codes. We have endeavoured to include all necessary information however if you need more please do not hesitate to call us.

Safety

This equipment should only be installed by professional service personnel. If the unit is intended for permanent connection to mains supply, there should be a readily accessible disconnect device (circuit breaker) incorporated into the fixed wiring.

Line connections on this equipment are designed for connection to TNV circuits. The mains connection is classified as excessive voltage.

Description of the above classifications are given in EN60950:1992.

The TD-32DC shall only be installed to a power supply of the type SELV.

4

6178-2203

Specifications

Modulation

CCITT V.32bis, 4 800 till 14 400 bit/s

 

CCITT V.32, 4 800/9 600 bit/s

 

CCITT V.22bis, 2 400 bit/s

 

CCITT V.22, Bell 212A, 1200 bit/s

 

CCITT V.21, Bell 103, 300 bit/s

Dial up

Tone signals DTMF

Settings

AT-commands & switches

Transmission

Asynchronous & Synchronous

Transmission speed, DET 300, 600, 1 200, 2 400, 9 600, 19 200, 38 400 & 57 600 bit/s

Compression

V.42bis & MNP5

Characters

Up to 11 bitar

Error correction

V.42, MNP 2-4 & MNP 10

Interface

EIA RS-232-C/V.24. RS-422/485 is an option

Line interface

RJ12 or 4-pole screw connector

Line

2-wire for dial up connections

 

2- or 4-wire for leased line connections

REN,

1

Ringer Equivalence Number

Power supply

230V AC –10 – +15%, 48–62 Hz (TD-32 AC)

 

12–36V DC (TD-32 DC)

 

115V AC or 36–60V DC can be delivered as optional

Power consumption

25 mA at 230V AC

 

200 mA at 12V DC

Isolation

Between line, RS-232 connection and power 1500V

Fuse

AC 100mA, DC 1.6A

Temperature

5–50°C surrounding temperature

Humidity

0–95% RH, without condensation

Dimensions

55x100x128 mm (WxHxD)

Weight

0.6 kg (TD-32 AC) & 0.4 kg (TD-32 DC)

Indications

PWR, LINE, ANS, REL, TD, RD, RTS, DCD, DTR & DSR

Mounting

On 35 mm DIN-rail

6178-2203

5

Installation

The modem should be connected in the following way:

Power connection is made through screw-block at bottom right corner.

For 115V AC or 230V AC it is a 3-pole connector, and for 12–36 or 36–60V DC a 2-pole connector.

Computers or other equipment are connected through an RS-232/V.24 connection. This connection can be made either to the 25-pole D-sub or the 9-pole screw connector. Do not use ribbon cable for RS-232 connections.

Light emitting diodes

Line connection RJ-12

Line connection screw block

9

8

7

6

5

4

3

2

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Screw-block for RS-232/V.24 connection

25-pole D-sub for RS-232/V.24 connection

PWR

Connection

6

6178-2203

RS-232/V.24 Connections

Pin outs for the 25-pole D-sub and 9-pole screw terminal:

25-pos.

Screw

Direction

Name

Description

D-sub

Terminal

DCE-DTE

 

 

1

 

- - -

PE

Protective earth

2

8

TXD

Transmit data

3

7

RXD

Receive data

 

4

6

RTS

Request to send

5

5

CTS

Clear to send

 

6

2

DSR

Modem ready

 

7

1

- - -

SG

Signal ground

8

4

DCD

Data carrier detect

 

9

 

 

Continuous high

 

 

 

10

 

 

Continuous low

 

 

 

12

 

DRS

Speed indication (1200/2400)

 

 

15

 

TXC

Synchronous TXD clock from modem

 

 

17

 

RXC

Synchronous RXD clock from modem

 

 

20

3

DTR

Data terminal ready

21

 

RDL

Request of remote digital loop back

22

9

RI

Ring indicator

 

23

 

DRS

Data speed select (1200/2400)

24

 

EXC

External synchronous clock

25

 

TI

Test indication signal

 

 

 

 

 

 

 

The other pins in the 25-pole D-sub should be left unconnected.

1

:

6

Line connection

The telephone line is connected to the 6-pole RJ-12 connector or to the 4-pole screw block in the bottom left side.

When using the screw-block a strap plug supplied must be placed in the RJ-12 connector.

If this is not done the outgoing signal will not be connected to the screw-block.

1 2 3 4

2-wire lines are connected to the two middle pins (3 & 4) in the RJ-12 plug or the TX screws (1 & 2).

In the UK modems the 2-wire line is connected to pin 2 & 5 in the RJ-12 connector.

4-wire lines are connected to the screw terminal, transmitter to TX (1 & 2) and receiver to RX (3 & 4).

12345678

6178-2203

7

Westermo TD-32 User Manual

Typical TD-32 line connections

4-position screw terminal

Leased line 2-wire

4-position screw terminal

Leased line 4-wire

Handshaking

9

8

7

6

5

4

3

2

1

The TD-32 is delivered with a factory setting for “hardware handshake” with RTS-CTS which means that if only TX, RX and GND are connected no data will be sent on the receiving modem’s RS-232 connection unless RTS is high. The problem can be solved by placing a jumper between RTS (screw terminal no 6) and for example DSR

(screw terminal no 2) or by disabling the handshake with the command AT&K0, or with switch 3:2 (switch settings).

Telephone

Telephone

Telephone

Exchange

Exchange

modem

wire

RJ-12 kontakt

3

4

 

 

Telephone

Telephone

Telephone

 

 

Exchange

Exchange

modem

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

6178-2203

TD-32/485 (RS-422/485 interface)

As an option the TD-32 can be supplied with an RS-422/485 interface. This product is referred to as the TD-32/485.

On the TD-32/485 the RS-232/V.24 connection on the screw terminal on upper front side of the unit has been replaced with an RS-422/485 interface. All other features remain identical between the standard TD-32 and TD-32/485. The TD-32/485 can still be connected to an RS-232/V.24 port using the 25-pole D-sub. Please note that there is no galvanic isolation between the RS-232 and the RS-422/485 ports so they should not be connected simultaneously.

The RS-422/485 connections are made as shown below. Please note that the selection of 2 or 4 wire and termination or no termination is done by linking between some of the screw terminals.

Connection

RS-422

4-wire

9

8

7

6

5

4

3

2

1

S1

2/4

T2

T4 GND T-

T+

R-

R+

 

WIRE

 

 

 

 

RS 422/485

 

 

 

 

 

 

 

 

 

PWR

 

V24/RS232-C

 

 

 

 

 

 

 

 

 

 

 

TD

 

 

 

 

 

 

 

 

RD

 

 

 

 

 

 

 

 

RTS

 

 

 

 

 

 

 

 

DCD

 

 

 

 

 

 

 

 

LINE

 

 

 

 

 

Connection

RS-485

9

8

7

6

5

4

3

2

1

S1

2/4

T2

T4 GND T-

T+

R-

R+

 

WIRE

 

 

 

 

RS 422/485

 

 

 

 

 

 

 

 

 

PWR

 

V24/RS232-C

 

 

 

 

 

 

 

 

 

 

 

TD

 

 

 

 

 

 

 

 

RD

 

 

 

 

 

 

 

 

RTS

 

 

 

 

 

 

 

 

DCD

 

 

 

 

 

 

 

 

LINE

 

 

 

 

 

Termination

4-wire

9

8

7

6

5

4

3

2

1

S1

2/4

T2

T4 GND T-

T+

R-

R+

 

WIRE

 

 

 

 

RS 422/485

 

 

 

 

 

 

 

 

 

PWR

 

V24/RS232-C

 

 

 

 

 

 

 

 

 

 

 

TD

 

 

 

 

 

 

 

 

RD

 

 

 

 

 

 

 

 

RTS

 

 

 

 

 

 

 

 

DCD

 

 

 

 

 

 

 

 

LINE

 

 

 

 

 

Termination

2-wire

9

8

7

6

5

4

3

2

1

S1

2/4

T2

T4 GND T-

T+

R-

R+

 

WIRE

 

 

 

 

RS 422/485

 

 

 

 

 

 

 

 

 

PWR

 

V24/RS232-C

 

 

 

 

 

 

 

 

 

 

 

TD

 

 

 

 

 

 

 

 

RD

 

 

 

 

 

 

 

 

RTS

 

 

 

 

 

 

 

 

DCD

 

 

 

 

 

 

 

 

LINE

 

 

 

 

 

6178-2203

TD-32/485

9

8

7

6

5

4

3

2

1

S1

2/4

T2

T4 GND T-

T+

R-

R+

 

WIRE

 

 

 

 

RS 422/485

 

 

 

 

 

 

 

 

 

PWR

 

V24/RS232-C

 

 

 

 

 

 

 

 

 

 

 

TD

 

 

 

 

 

 

 

 

RD

 

 

 

 

 

 

 

 

RTS

 

 

 

 

 

 

 

 

DCD

 

 

 

 

 

 

 

 

LINE

 

 

 

 

 

 

 

 

ANS

 

 

 

 

 

 

 

 

REL

 

 

 

 

 

9

DIP Switch Setup for Dial-up and Leased Line

Disconnect power before changing DIP-switches.

Use ESD-protection when changing switches.

The DIP-switches can be used to provide the following settings. The DIP-Switches are underneath the top lid of the modem. Non defined switches will be in off position.

9

8

7

6

5

4

3

2

1

Switch 1

ON

Standard dial-up line

1 2 3 4

ON

Leased line, Answering

ON

Leased line, Originating

ON

Do not abort if unwanted characters

 

 

are received when connecting

ON

Escape sequence disabled

 

1 2 3 4 (All commands ignored in on-line mode)

Related

AT-commands

(ATE0Q1&C1&A1)

(ATE0Q1&C1&A1)

(AT&A1)

(ATE0Q1&C1)

10

6178-2203

Switch 2

Related

AT-commands

ON

1 2 3 4 5 6 7 8

ON

For use of SW2:2 to 7

1 2 3 4 5 6 7 8

ON

Asynchronous communication

1 2 3 4 5 6 7 8

Synchronous, external clock.

Clock from D-sub pin 24

Synchronous, internal clock,

The modem creates the clock

slave.

(AT&S0&D0&C0)

Switch 3

Related

AT-commands

ON

1 2 3 4 5 6 7 8

ON

1 2 3 4 5 6 7 8

ON

1 2 3 4 5 6 7 8

ON

1 2 3 4 5 6 7 8

2-wire line connection

 

Flow control OFF

(AT&K0)

REL-mode disconnected

(AT\N0)

Speaker always OFF

(ATM0)

 

(ATQ1E0&C1&K0&A1)

state

(AT&C1)

 

disabled and

%E0

 

6178-2203

11

Switch 4 (Serial speed and format)

Related

AT-commands

ON

1 2 3 4 5 6 7 8

ON

300 bit/s

1 2 3 4 5 6 7 8

ON

600 bit/s

1 2 3 4 5 6 7 8

1 200 bit/s

2 400 bit/s

(AT\N1)

(AT\N1)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

12

6178-2203

Switch 5 (line modulation)

Related

 

 

ON

 

 

1 2 3 4 5 6 7 8

 

 

ON

 

(ATF1)

V.21; 300 bit/s

1 2 3 4 5 6 7 8

 

 

ON

 

(ATF4)

V.22; 1 200 bit/s

1 2 3 4 5 6 7 8

 

 

V.22bis;

2 400 bit/s

(ATF5)

V.32bis;

4 800 bit/s

(ATF6)

 

 

(ATF7)

 

 

(ATF8)

 

 

(ATF9)

 

 

(ATF10)

 

 

(ATF0)

LED Status Indicators

PWR

Full Intensity

The modem is functioning normally

 

Half intensity

The modem is in test mode

 

Occasional flashing with speaker click

Power supply problem

 

1:6, on:off ratio

RAM error

 

On/off with speaker click

Modem unable to start

LINE

LED lights up when the modem has the line

 

 

ANS

LED flashes when a ring is detected on the line. The ANS indicator shines

 

constantly when answering an incoming call and remains lit thereafter

 

to indicate the modem is in auto answer mode.

REL

LED flashes when the modem is in both error correcting and compressing mode.

 

When the modem is only in error correcting mode this LED is on.

 

When the modem is in direct or normal mode this LED remains off.

TD

Transmitted Data: Displays data received from the local RS-232/V.24 port

 

 

RD

Received Data: Displays data leaving the modem on the RS-232/V.24 port

 

 

 

RTS

Request to Send signal from the DTE

 

 

 

 

DCD

Data Carrier Detect modem signal

 

 

 

 

DSR

Data Set Ready modem signal

 

 

 

 

Please also refer to AT&C, AT\N, AT&T, ATS0

6178-2203

13

DTE Command Lines

In order to send commands to the modem, a prefix must be entered before the actual command(s). This prefix is the ASCII string ‘AT’, which is an abbreviation for attention.

Commands may be entered in either upper or lowercase characters. The only exception is the prefix ‘AT’; both characters in this string must be of the same case.

Several commands may be entered on the same command line with or without space in between. The command lines shall always be terminated by a carriage return (with the exception of the ‘A/’command).

The command consists of a single letter or a letter with the characters %, &, \, ( or * in front.

At Swedish terminals which lack \ in the character set Ö is used instead. After each command there might be a parameter, most often a numerical value. Most parameter values are written to a memory in the modem, an S-register. Different registers are effected depending on which command has been used.

Commands and appurtenant parameters are sent to the modem through the serial port on the modem. This must be connected to a terminal, a computer with a communication software or other equipment which is able to send asynchronous, serial information. Each time ”AT” is sent to the modem it will analyse which speed and parity is being used and will then switch to the serial port. In this modem it is also possible to use DIP-Switches to set the most common parameters and also set the modem so that it will not react on commands coming through the serial port.

In the description of commands it is written ”Default” within brackets after some commands, this means that the command has this value when reset to the factory parameters (AT&F).

When communication is established with another modem it is still possible to reach the command mode by sending an ”escape” sequence to the modem. This sequence consists of an interruption in communication, after which three characters is sent, most often plus (+++) and after which it is silent again. The silent periods are there to prevent that a text, containing this sequence, when sent will interrupt the connection. The silence is usually 1 second, but can be changed in register S12.

Also the character can be changed, in register S2.

14

6178-2203

Description of commands

The modem can be configured and controlled with the AT-commands listed below.

A/ – Re-execute command

This command differs from the others since it will not be preceded by ”AT” and also not terminated by ENTER.

A – Answer

The modem will wait for a carrier for the time that was specified in S7.

Please also refer to ATDn, S0, S1, S7, S8, S9, S30

\An – Select Maximum MNP Block Size

This command controls the size of data blocks used during connections with MNP, error corrected links. The value is written to S40 bit 6 and 7.

\A0

64 characters.

\A1

128 characters.

\A2

192 characters. (Default)

\A3

256 characters.

Please also refer to AT\N

&An – Interrupt connection negotiation

Usually the modem will abort the connection negotiation if characters are sent to the serial port during negotiation phase.

This command gives a possibility to ignore incoming characters.

&A0

Abort connection negotiation when characters are sent to the serial port. (Default)

&A1

The modem will ignore characters on the serial port during negotiation phase.

Please also refer to AT&D

Bn – Selecting CCITT or BELL

For historical reasons the American standard for 300 and 1200 baud is different than the international.

B0

CCITT-mode (European standard) (Default)

B1

BELL-mode (American phone company)

Please also refer to ATFn, S27

6178-2203

15

&Bn – DTR Dial Option

This command enables the modem to dial a number stored with &Zn=number when the DTR signal goes from inactive to active signal level.

&B0

No automatic call with DTR. (Default)

&B1

Call on DTR.

Please also refer to AT&Z, AT&D

\Bn – Transmit Break to Remote

The command controls the length of the break-signal, in a non-error correction mode. The length is depending of the value n and is in multiples of 100 mS. During an error corrected link break will only be transmitted to the remote modem through the active error correction protocol, giving no indication of the length. The command works together with AT\K.

\Bn Break length in 100 mS units. The value can be between 1 and 9. (Default 3)

*B – Display blacklisted phone numbers

This command requests the modem to return a list with blacklisted phone numbers to the terminal equipment when asked. The format of the response is shown by the example below.

Permanently forbidden phone numbers as defined by country requirements will not appear on this list. If no blacklisted numbers exist, the modem responds with the result code OK.

Example:

NO. – PHONE NUMBER -

1;

4175537660

2;

8288924961

3;

3887278862

4;

3124839442

5;

6284664

OK

Cn – Carrier control

This command is included for compatibility only, and has no effect other than returning a result code.

&Cn – DCD Option

The modem will handle the DCD signal depending on n. The parameter value is written to S21 bit 5. On leased lines DCD always follows the state of the carrier.

&C0

DCD remains ON at all times. (Default.)

&C1

DCD follows the state of the carrier.

16

6178-2203

%C – Enable/disable data compression

Enables or disables data compression negotiation. The modem can only perform data compression on an error corrected link. The parameter value is written to S41 bit 0 and 1.

%C0

Disables data compression. Resets S41 bit 1 to 0.

%C1

Enables MNP 5 data connection. Resets S41 bit 1.

%C2

Enables V.42bis compression. Sets S41 bit 1.

%C3

Enables both MNP 5 and V.42 compression.

 

Sets S41 bit 1. (Default)

Please also refer to AT\Nn

Dn – Dialling command

This command directs the modem to go on-line and dial according to the string entered after D.

If no dial string or any other character (according to below) is supplied, the modem will go on-line and attempt the handshake in originate mode, (dialling mode).

The command D can also be followed by other characters than numbers, these are as following:

*Sends the DTMF tone corresponding to * on a regular phone.

#Sends the DTMF tone corresponding to # on a regular phone.

A-D

Sends the DTMF tones corresponding to these.

JAttempts to connect this call with MNP 10 link negotiation. (also refer to AT*H)

KEnables power level adjustment during MNP 10 link negotiation. (also refer to ATMn)

LAn L immediately after ATD makes the modem re-dial the last number.

PThe modem selects pulse dialling. In most countries this is not available.

TThe modem selects tone dialling (DTMF). This is normally used by the modem why it is not necessary to use T when dialling a number.

S=n

The modem dials the number stored in the directory with &Z. (n = 0 to 19)

WThe modem will wait for dial tone before dialling the rest of the numbers.

,A comma gives a pause in dialling. The length is determined by the value in register S8. Note! It is neither allowed nor advisable to use comma to wait for a new dialling tone. Use W instead.

;Semicolon in the end of a dialling command returns the modem to command mode and it allows the user to issue additional ”AT” commands to the modem.

^The calling tone that otherwise is heard during a dial attempt, is not activated during this specific dial attempt.

(-)

Brackets, hyphens and spaces have no function and these can be used to format the com-

 

mand line.

If ATD.. returns ERROR the ATX0 is probably set in a country that does not allow blind dialling.

Please also refer to ATA, ATX, AT&Z, S6, S7, S8, S9, S30

6178-2203

17

Loading...
+ 39 hidden pages