Control Microsystems 5901 User manual

5901 High Speed Dialup Modem
Hardware Manual
CONTROL
MICROSYSTEMS
SCADA products... for the distance
48 Steacie Drive Telephone: 613-591-1943
Kanata, Ontario Facsimile: 613-591-1022
K2K 2A9 Technical Support: 888-226-6876
Canada 888-2CONTROL

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
1
5901 High Speed Dialup Modem Hardware Manual
©2000 - 2006 Control Microsystems Inc.
All rights reserved.
Printed in Canada.
Trademarks
TeleSAFE, TelePACE, SmartWIRE, SCADAPack, TeleSAFE Micro16 and
TeleBUS are registered trademarks of Control Microsystems Inc.
All other product names are copyright and registered trademarks or trade names
of their respective owners.
Material used in the User and Reference manual section titled SCADAServer
OLE Automation Reference is distributed under license from the OPC
Foundation.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
2
Table of Contents
1OVERVIEW.................................................................................................... 8
2INDUSTRY CANADA CERTIFICATION........................................................ 9
3IMPORTANT SAFETY INFORMATION....................................................... 10
4INSTALLATION........................................................................................... 11
4.1 Field Wiring.............................................................................................11
4.2 RS-232 Serial Port..................................................................................12
4.2.1 5901 Modem Connection to DTE......................................................13
4.3 Telephone Line Connection....................................................................13
4.4 Power Connections................................................................................. 14
4.4.1 I/O Bus Connection...........................................................................14
4.4.2 5901 SA Power Connection..............................................................14
4.4.3 RS-232 Connection...........................................................................15
4.5 Configuration Jumpers............................................................................15
4.6 5901 Modem Reset Control.................................................................... 16
4.6.1 Reset on Power Application .............................................................. 16
4.6.2 Reset on I/O Bus Reset Signal..........................................................16
4.6.3 Reset on DTR Control.......................................................................16
4.6.4 Failure Recovery ............................................................................... 16
4.7 LED Indicators........................................................................................16
5OPERATION................................................................................................ 18
5.1 Stand Alone Modem Operation .............................................................. 18
5.1.1 5901 Modem Connection to PC........................................................18
5.1.2 Operation using Communication Software........................................18
5.1.3 Operation using TelePACE program................................................. 18
5.1.4 Operation with Host SCADA program ............................................... 19
5.2 Operation with Programmable Controllers.............................................. 19
5.2.1 Configure Controller Serial Communication Port...............................19
5.2.2 Initializing the 5901 Modem...............................................................19
5.2.3 Initiating Dial-Up Modem Connection................................................20
5.2.4 Communicating with a Remote Controller.........................................20

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
3
5.3 Operation with Non-Programmable Controllers...................................... 21
6MAINTENANCE........................................................................................... 22
7TROUBLESHOOTING................................................................................. 23
8SPECIFICATIONS....................................................................................... 24
9APPROVALS AND CERTIFICATIONS ....................................................... 25
10 AT COMMAND GUIDELINES...................................................................... 26
10.1 AT Command Format.............................................................................26
10.1.1 DTE Speed Auto Detect.................................................................... 26
10.1.2 Escape Code Sequence....................................................................27
10.2 AT Command Set................................................................................... 27
10.2.1 A/ - Repeating a Command Line.......................................................27
10.2.2 AT - Read/Write S Parameter ...........................................................27
10.2.3 A - Answer......................................................................................... 28
10.2.4 Bn - CCITT or Bell.............................................................................28
10.2.5 Dn - Dial ............................................................................................ 28
10.2.6 Dial Modifiers..................................................................................... 29
10.2.7 En - Command Echo.........................................................................30
10.2.8 Hn - Disconnect (Hang-Up)............................................................... 30
10.2.9 In - Identification................................................................................30
10.2.10 L –Speaker Volume.......................................................................... 31
10.2.11 M –Speaker Control .........................................................................32
10.2.12 On - Return to On-Line Data Mode ...................................................32
10.2.13 P - Set Pulse Dial Default..................................................................32
10.2.14 Qn - Quiet Results Codes Control..................................................... 33
10.2.15 Sn - Read/Write S-Register...............................................................33
10.2.16 T - Set Tone Dial Default...................................................................33
10.2.17 Vn - Result Code Form......................................................................34
10.2.18 Wn - Connect Message Control........................................................34
10.2.19 Xn - Extended Result Codes.............................................................34
10.2.20 Zn - Soft Reset and Restore Profile ..................................................35
10.3 AT& Command Set.................................................................................35
10.3.1 &Cn - RLSD (DCD) Option................................................................ 35
10.3.2 &Dn - DTR Option.............................................................................36

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
4
10.3.3 &Fn - Restore Factory Configuration (Profile) ...................................36
10.3.4 &Gn - Select Guard Tone..................................................................37
10.3.5 &Kn - Flow Control............................................................................37
10.3.6 &Ln - Leased Line Operation ............................................................ 37
10.3.7 &Mn - Asynchronous/Synchronous Mode Selection ......................... 37
10.3.8 &Pn - Select Pulse Dial Make/Break Ratio........................................38
10.3.9 &Qn - Sync/Async Mode ...................................................................38
10.3.10 &Rn - RTS/CTS Option.....................................................................39
10.3.11 &Sn - DSR Override..........................................................................39
10.3.12 &Tn –Local Analog Loopback Test ..................................................39
10.3.13 &V - Display Current Configuration and Stored Profiles.................... 40
10.3.14 &V1 - Display Last Connection Statistics ..........................................40
10.3.15 &Wn - Store Current Configuration ...................................................41
10.3.16 &Xn - Select Synchronous Clock Source..........................................42
10.3.17 &Yn - Designate a Default Reset Profile ........................................... 42
10.3.18 &Zn=x - Store Telephone Number .................................................... 42
10.4 AT+ Command Set.................................................................................43
10.4.1 +A8E=a,b,c,d,e,f - V.8 and V.8bis Operation Controls......................43
10.4.2 +A8I:x,y - CI Signal Indication ...........................................................44
10.4.3 +DS = a,b,c,d - Data Compression ................................................... 44
10.4.4 +DR=n - Data Compression Reporting.............................................. 45
10.4.5 +EB=x,y,z - Break Handling in Error Control Operation ....................46
10.4.6 +EFCS=n - 32-bit Frame Check Sequence.......................................46
10.4.7 +ER=n - Error Control Reporting....................................................... 47
10.4.8 +ES=x,y,z - Error Control and Synchronous Mode Selection............ 47
10.4.9 +ESA=a,b,c,d,e,f,g,h - Configure Synchronous Access Submode....49
10.4.10 +ESR=n - Selective Repeat ..............................................................50
10.4.11 +ETBM=x,y,z - Call Termination Buffer Management.......................51
10.4.12 +FCLASS=n - Select Active Service Class .......................................51
10.4.13 +GCAP - Request Complete Capabilities List...................................52
10.4.14 +GCI=nn - Country of Installation...................................................... 52
10.4.15 +GMI - Request Manufacturer Identification......................................54
10.4.16 +GMM - Request Model Identification............................................... 54
10.4.17 +GMR - Request Revision Identification ........................................... 54
10.4.18 +IFC=n - DTE-Modem Local Flow Control ........................................54
10.4.19 +ILRR=n - DTE-Modem Local Rate Reporting.................................. 55
10.4.20 +ILRR:m,n - DTE-Modem Local Reported Rate................................56
10.4.21 + IPR=n - Fixed DTE Rate ................................................................ 56

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
5
10.4.22 +ITF=a,b,c - Transmit Flow Control Thresholds................................57
10.4.23 +MR=n - Modulation Reporting Control.............................................58
10.4.24 +MS - Select Modulation...................................................................59
10.4.25 +VCID=n - Caller ID (CID)................................................................. 61
10.5 AT- Command Set..................................................................................61
10.5.1 -Kn –MNP 10 Extended Services..................................................... 61
10.5.2 -SMS=n - Select Mode......................................................................61
10.5.3 –STE=n - Set Telephony Extension..................................................62
10.6 AT\ Command Set..................................................................................63
10.6.1 \Bn - Transmit Break to Remote........................................................63
10.6.2 \Kn - Break Control............................................................................63
10.6.3 \Nn - Operating Mode........................................................................64
10.6.4 \Vn - Single Line Connect Message Enable......................................65
10.7 AT% Command Set................................................................................66
10.7.1 %7 - Plug and Play Serial Number....................................................66
10.7.2 %8 - Plug and Play Vendor ID and Product Number......................... 66
10.7.3 %Cn - Enable/Disable Data Compression......................................... 66
10.7.4 %En- Enable/Disable Line Quality Monitor and Auto-Retrain or
Fallback/Fall Forward.............................................................................................. 67
10.7.5 %L - Report Line Signal Level...........................................................67
10.7.6 %Q - Report Line Signal Quality........................................................ 68
10.7.7 %Un - Select µ-Law or A-Law Codec Type....................................... 68
10.8 AT* Command Set..................................................................................68
10.8.1 **- Load Flash Memory...................................................................... 68
10.8.2 *B - Display Blacklisted Numbers......................................................70
10.8.3 *D - Display Delayed Numbers.......................................................... 71
10.9 AT) Command Set..................................................................................71
10.9.1 )Mn - Enable Cellular Power Level Adjustment................................. 71
10.10 At@ Command Set................................................................................. 72
10.10.1 @Mn - Initial Cellular Power Level Setting ........................................72
10.11 AT: Command Set.................................................................................. 72
10.11.1 :En - Compromise Equalizer Enable Command................................ 72
11 MODEM S-REGISTERS.............................................................................. 73
11.1 S0 - Number of Rings to Auto-Answer.................................................... 73
11.2 S1 - Ring Counter...................................................................................73
11.3 S2 - Escape Character ...........................................................................73

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
6
11.4 S3 - Carriage Return Character..............................................................73
11.5 S4 - Line Feed Character ....................................................................... 74
11.6 S5 - Backspace Character......................................................................74
11.7 S6 - Wait Time before Blind Dialing or for Dial Tone..............................74
11.8 S7 - Wait Time for Carrier, Silence, or Dial Tone ................................... 74
11.9 S8 - Pause Time For Dial Delay.............................................................75
11.10 S9 - Carrier Detect Response Time........................................................ 75
11.11 S10 - Lost Carrier To Hang Up Delay..................................................... 75
11.12 S11 - DTMF Tone Duration ....................................................................75
11.13 S12 - Escape Prompt Delay (EPD).........................................................75
11.14 S14 - General Bit Mapped Options Status.............................................. 76
11.15 S16 - Test Mode Bit Mapped Options Status .........................................76
11.16 S19 - Reserved.......................................................................................76
11.17 S20 - Reserved.......................................................................................77
11.18 S21 - V.24/General Bit Mapped Options Status .....................................77
11.19 S22 - Speaker/Results Bit Mapped Options Status................................77
11.20 S23 - General Bit Mapped Options Status.............................................. 78
11.21 S24 - Sleep Inactivity Timer....................................................................78
11.22 S25 - Delay To DTR off .......................................................................... 78
11.23 S26 - RTS to CTS Delay.........................................................................78
11.24 S27 - Bit Mapped Options Status ...........................................................79
11.25 S28 - Bit Mapped Options Status ...........................................................79
11.26 S29 - Flash Dial Modifier Time ...............................................................80
11.27 S30 - Disconnect Inactivity Timer ........................................................... 80
11.28 S31 - Bit Mapped Options Status ...........................................................80
11.29 S36 - LAPM Failure Control....................................................................80
11.30 S38 - Delay Before Forced Hang Up...................................................... 81
11.31 S39 - Flow Control Bit Mapped Options Status ......................................81
11.32 S40 - General Bit Mapped Options Status.............................................. 81
11.33 S41 - General Bit Mapped Options Status.............................................. 82
11.33.1 S46 - Data Compression Control ...................................................... 82
11.34 S48 - V.42 Negotiation Action................................................................. 83
11.35 S86 - Call Failure Reason Code.............................................................83

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
7
11.36 S91 - PSTN Transmit Attenuation Level................................................. 84
11.37 S92 - Fax Transmit Attenuation Level ....................................................84
11.38 S95 - Extended Result Codes ................................................................84
11.39 S210 –V.34 Symbol Rates.....................................................................85
12 MODEM RESULT CODES .......................................................................... 86
Index of Figures
Figure1: 5901 Module Layout.............................................................................................11
Figure 2: RS-232 Port Connector (DCE)............................................................................12
Figure 3: RS-232 Wiring - 5901 (DCE) to DTE ..................................................................13
Figure 4: 5901 Modem RJ-11 Connection, P6 ...................................................................14
Figure 5: 5901 Terminal Block Connection, P3..................................................................14

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
8
1 Overview
The 5901 modem provides high-speed dial-up telephone communication for SCADAPack,
TeleSAFE Micro16 and SmartWIRE controllers. The 5901 modem is a 5000 Series module and may
be fully integrated into a DIN rail mounted controller system. Operating power is received from the
I/O Bus and the 5901 modem requires no external power source.
The 5901 modem supports telephone line connection speeds up to 56k baud. The 5901 modem
performs complete handshake and data rate negotiations and supports error correction and data
compression modes to ensure data transfer integrity. Non-error correcting mode is also supported.
The 5901 modem supports DTE speeds up to 115200 baud with speed buffering at all speeds.
XON/XOFF or RTS/CTS flow control between DTE and 5901 modem are supported.
Auto-recovery circuitry in the 5901 modem ensures controlled modem operation at all times. The
5901 modem is reset to the factory default or user-defined settings whenever power is applied or
when the modem receives an I/O Bus Reset signal from the controller. A modem reset may be
performed using the modem control functions in TelePACE Ladder Logic and C Tools programs.
The 5901 may also be reset from a remote location using a pre-defined dial sequence.
The 5901 modem supports the Hayes “AT” command set. The 5901 modem automatically
determines the speed and format of the data sent from the DTE. Under AT operation the modem
performs an autobaud/autoparity/autolength function on each AT command entered.
Telephone line protection consists of a three-electrode spark gap surge arrester from TIP and RING
to chassis and a MOV from TIP to RING. The 5901 modem operates in environmental conditions of
between –40°C and +60°C and between 5% and 95% relative humidity.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
9
2 Industry Canada Certification
1
NOTICE: The Industry Canada label identifies certified equipment. This certification means that
the equipment meets certain telecommunications network protective, operational and safety
requirements. Industry Canada does not guarantee the equipment will operate to the user’s
satisfaction.
Before installing this equipment, users should ensure that it is permissible to be connected to the
facilities of the local Telecommunications Company. The equipment must also be installed using an
acceptable method of connection. The customer should be aware that the compliance with the above
conditions may not prevent degradation of service in some situations.
Repairs to certified equipment should be made by an authorized Canadian maintenance facility
designated by the supplier. Any repairs or alternations made by the user to this equipment, or
equipment malfunctions, may give the telecommunications company cause to request the user to
disconnect the equipment.
Users should ensure for their own protection that the electrical ground connections of the power
utility, telephone lines and internal metallic water pipe system, if present, are connected together.
This precaution may be particularly important in rural areas.
CAUTION: Users should not attempt to make such connections themselves, but should contact the
appropriate electric inspection authority, or electrician, as appropriate.
AVIS: L’étiquette de l'Industrie Canada identifie le matériel homologué. Cette étiquette certifie que
le matériel est conforme à certaines normes de protection, d’exploitation et de sécurité des réseaux
de télécommunications. Industrie Canada n’assure toutefois pas que le matériel fonctionnera à la
satisfaction de l’utilisateur.
Avant d’installer ce matériel, l’utilisateur doit s’assurer qu’il est permis de le raccorder aux
installations de l’entreprise locale de télécommunication. Le matériel doit également être installé en
suivant une méthod acceptée de raccordement. L’abonné ne doit pas oublier qu’il est possible que la
conformité aux conditions énoncées ci-dessus n’empêchent pas la dégradation du service dans
certaines situations.
Les réparations de matériel homologué doivent être effectuées par un centre d’entretien canadien
autorisé, désigné par le fournisseur. La compagnie de télécommunications peut demander à
l’utilisateur de débrancher un appareil à la suite de réparations ou de modifications effectuées par
l’utilisateur ou a cause de mauvais fonctionnement.
Pour sa propre protection, l’utilisateur doit s’assurer que tous les fils de mise à la terre de la source
d’énergie électrique, les lignes téléphoniques et les canalisations d’eau métalliques, s’il y en a, sont
raccordés ensemble. Cette précaution est particulièrement importante dans les régions rurales.
AVERTISSEMENT: L’utilisateur ne doit pas tenter de faire ces raccordements lui-même; il doit
avoir recours à un service d’inspection des installations électriques, ou à un électricien, selon le cas.
1
A certification label will be found on certified equipment. Equipment without this label is not certified.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
10
3 Important Safety Information
Power, input and output (i/o) wiring must be in accordance with Class I, Division 2 wiring methods
Article 501-4 (b) of the National Electrical Code, NFPA 70 for installations in the U.S., or as
specified in Section 18-1J2 of the Canadian Electrical Code for installations within Canada and in
accordance with the authority having jurisdiction.
WARNING !
EXPLOSION HAZARD - SUBSTITUTION OF COMPONENTS MAY
IMPAIR SUITABILITY FOR CLASS 1, DIVISION 2.
WARNING !
EXPLOSION HAZARD –WHEN IN HAZARDOUS LOCATIONS, TURN
OFF POWER BEFORE REPLACING OR WIRING MODULES.
WARNING !
EXPLOSION HAZARD - DO NOT DISCONNECT EQUIPMENT
UNLESS POWER HAS BEEN SWITCHED OFF OR THE AREA IS
KNOWN TO BE NONHAZARDOUS.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
11
4 Installation
The 5901 High Speed Dial Up modem is available in two standard versions, the model 5901 and the
model 5901SA. The model 5901 is a standard 5000 Series module that connects to the system I/O
Bus as an integrated part of a Control Microsystems system. The model 5901SA is a stand-alone
version of the 5901 and is used with other devices such as personal computers. Both versions of the
modem are identical in every respect except that the 5901SA is powered using a 9VDC transformer
and has rubber feet for desktop mounting.
Figure1: 5901 Module Layout
4.1 Field Wiring
The 5901 modem has four connectors for field wiring. Refer to Figure1: 5901 Module Layout for
the location of these connectors.
The RS-232 serial communication port, labeled P4, is a 9 pin female, D-sub-miniature connector,
DE-9P. Refer to section 4.2-RS-232 Serial Port for more information.
The telephone line connection is terminated at the 2 pole terminal block, labeled P3, or the RJ-11
modular jack, labeled P6. The RJ-11 modular jack is typically used. Refer to the section 4.3-
Telephone Line Connection for more information.
The 9VDC adapter connection, labeled P5, is used with the AD-119-9 transformer. This connection
is used with the 5901SA modem only. Connector P5 is center pin positive.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
12
Note: The 9VDC adapter connection cannot be used in Hazardous Locations.
4.2 RS-232 Serial Port
The RS-232 port is a 9-pin female D-sub-miniature connector (DE-9P) configured as Data
Communications Equipment (DCE). Figure 2: RS-232 Port Connector (DCE) and Table 1: RS-232
Connections describe the RS-232 connector.
2
RxD
3
TxD
7
RTS
8
CTS
1
DCD
6
DSR
4
DTR
9
5 V
5
Gnd
Figure 2: RS-232 Port Connector (DCE)
A description of each pin signal is shown in Table 1: RS-232 Connections. In this table a MARK is
a voltage of +3 volts or greater and a SPACE is a voltage of –3 volts or less.
Table 1: RS-232 Connections
Pin
Type
Description
Pin1
DCD
Output
This signal is at a MARK level when carrier is detected by the
modem on the receiver inputs.
The CD led is on for a MARK level.
Pin 2
RxD
Output
Data received by the modem is output on this pin. The level is
SPACE on standby and MARK for received data.
The RD LED is on for a MARK level.
Pin 3
TxD
Input
Data transmitted by the modem is input on this pin from the
DTE. The level is SPACE on standby and MARK for
transmitted data.
The TD LED is on for a MARK level.
Pin 4
DTR
Input
This signal indicates that the DTE is ready to receive data.
Pin 5
Ground
This pin is connected to the I/O system ground.
Pin 6
DSR
Output
This signal indicates the modem is ready to start
communication. It is always in a MARK state.
Pin 7
RTS
Input
This input must be a MARK for the modem to transmit data.
The DTE should set it to a MARK just before transmission of
data. The CTS output will be asserted when the modem is
ready to transmit data.
The RS LED is on for a MARK level.
Pin 8
CTS
Output
This output indicates the modem is ready to transmit data. A
MARK level indicates the modem is ready. The DTE should
wait for this signal before transmitting data.
The CS LED is on for a MARK level.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
13
Pin
Type
Description
Pin 9
5 Volt
Power
Input/
output
This pin may be connected to the 5V power supply by
installing jumper J1. This pin is a power source for an
external device when used as an output. It powers the
modem when used as an input.
This pin must NOT be connected if it is not used.
4.2.1 5901 Modem Connection to DTE
The serial cable that is provided with the 5901 modem is suitable for connecting the modem to a
DTE (Data Terminal Equipment) device such as a SCADAPack controller, TeleSAFE Micro16
controller or a SmartWIRE 5202 Communication controller.
Other DTE devices such as a personal computer may require a longer serial cable. Figure 3: RS-232
Wiring - 5901 (DCE) to DTE shows a typical serial connection.
DTE
5901 (DCE)
6
9
DCD
RxD
TxD
DTR
GND
DSR
RTS
CTS
5 Volt
2
3
4
5
7
8
1
DCD
RxD
TxD
DTR
GND
RTS
CTS
See device
specifications
for pin numbers
Pin 9 may be connected to the 5V
power supply. Use caution when
connecting to this pin.
DSR
Figure 3: RS-232 Wiring - 5901 (DCE) to DTE
All RS-232 wiring exceeding the length of the serial cable supplied with the modem must use
shielded cable. The shield should be connected to chassis ground at one end of the cable only. The
DE-9 connector shell is a good ground point. A maximum cable length of 50ft (15.2m) is allowed.
Failure to properly shield the cable may result in the installation not complying with FCC or DOC
radio interference regulations.
4.3 Telephone Line Connection
The telephone line typically connects to the RJ-11 modular jack, labeled P3. The RJ-11 jack mates
with a 4 pin modular plug with at least 4 contacts. This type of connector is common in the
telephone industry. Pins 2 and 3 are the tip and ring connection. Pins 1 and 4 are not used. See
Figure 4: 5901 Modem RJ-11 Connection, P6.
Alternately, the terminal block connection shown in Figure 5: 5901 Terminal Block Connection,
P3 allows direct wiring of the telephone line to the 5901 modem.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
14
RJ-11 Conections
1. n/c
2. Telephone line Tip
3. Telephone line Ring
4. n/c
2
1
4
3
Figure 4: 5901 Modem RJ-11 Connection, P6
T
R
Figure 5: 5901 Terminal Block Connection, P3
4.4 Power Connections
The 5901 modem may be powered in any one of the following ways:
5VDC applied to the 5901 from the I/O Bus.
9VDC applied to the 5901SA from P5.
5VDC applied to the 5901 from pin 9 on the RS-232 connector, P4.
4.4.1 I/O Bus Connection
The 5901 modem is normally powered through the connection to the system I/O Bus. The 5901
modem is connected to the system I/O Bus using a cable connected to P1 or P2. Refer to the System
Configuration Guide for complete information on the system I/O Bus cabling.
4.4.2 5901 SA Power Connection
The 5901SA version of the modem is powered using a transformer connected to P5. The transformer
plugs into a 120VAC supply and provides 9VDC to the 5901SA. The transformer is shipped with all
5901SA modems. To power the 5901SA modem using the transformer:
Ensure the transformer is not connected to the 120VAC supply.
Locate connector P5 on the 5901 modem. Refer to Figure1: 5901 Module Layout for the
location of P5.
Insert the small female plug on the transformer assembly into connector P5.
Plug the transformer into a 120VAC supply.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
15
Note: The 9VDC adapter connection cannot be used in Hazardous Locations.
4.4.3 RS-232 Connection
The 5901 may be powered from pin 9 of the RS-232 connector, P4. There are a number of
restrictions with respect to the 5VDC tolerance and fuse considerations. Contact Control
Microsystems Technical Support for further information when using this method of powering the
5901 modem.
4.5 Configuration Jumpers
The 5901 modem uses three configuration jumpers for setting modem operation parameters. These
jumpers are described in the table below. Refer to Figure1: 5901 Module Layout above for the
location of each jumper.
Jumper
Description
Setting
J1
5V from P4
pin 9
When installed the 5901 uses 5VDC power from
serial connection P4 pin 9. When powering the
SCADAPack using this method, ensure jumper J2 is
removed and jumper J4 is installed.
When removed the 5901 is not powered from the
serial connection. This is the normal position for
5901 and 5901SA.
J2
Module
Reset
When installed the 5901 is reset by the I/O Reset
signal from the system I/O Bus. This is the normal
position for the 5901 when powered from the I/O
bus, or from a SCADAPack’s RS-232 port.
When removed the 5901 is reset internally. This is
the normal position for the 5901SA. Note that the
5901 is considered an SA only when it is powered
using an external 115V AC to 9V DC transformer.
J4
DTR
When installed the DTR signal does not affect 5901
reset. This is the normal position for the 5901SA.
Note that the 5901 is considered an SA only when it
is powered using an external 115V AC to 9V DC
transformer.
When removed and the DTR signal is de-asserted
the 5901 will reset. This is the normal position for
the 5901, when powered from the I/O bus, or from a
SCADAPack’s RS-232 port.
J5
Chassis
Ground
When installed the telephone line transient
protection is connected to chassis ground. This is
the normal position for the 5901, when powered
from the I/O bus, or from a SCADAPack’s RS-232
port.
When removed the telephone line transient
protection is not connected to chassis ground. This
is the normal operation for the 5901SA. This is the
normal position for the 5901SA. Note that the 5901
is considered an SA only when it is powered using
an external 115V AC to 9V DC transformer.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
16
4.6 5901 Modem Reset Control
A common problem encountered with consumer modems is the tendency to periodically go into an
unstable state. The usual solution for this problem is to simply turn the modem off and then turn it
on again. The modem then returns to normal operation.
When a modem is used in industrial or commercial applications that require it to be installed in very
remote locations this solution is not feasible. The 5901 modem uses a number of methods to ensure
stable operation in virtually all applications.
The 5901 modem is reset to the power up state under any of the following conditions.
When power is applied from a power off state.
When the controller RESET signal is active, indicating all I/O modules are to be reset.
When the DTR signal is low. This is the normal signal from the DTE to reset the modem.
Note: 5901 modem will power up with the default configuration. User entered “AT” commands
are not saved when power is cycled. When a configuration is used that is different than the
default configuration it must be saved to NVRAM in the modem. Refer to the &W0 and
&Y0 commands in Appendix C for more information on saving configurations to NVRAM.
4.6.1 Reset on Power Application
Each time power is applied to the 5901 modem it is reset. Power may be applied to the 5901 modem
in the following ways:
5VDC applied to the 5901 from the I/O Bus.
5VDC applied to the 5901 from RS-323 connector pin 9.
9VDC applied to the 5901 from P5.
4.6.2 Reset on I/O Bus Reset Signal
When the SCADAPack or Micro16 controller RESET signal is TRUE, the modem is turned off and
then turned on. Refer to SCADAPack & Micro16 Hardware manual for information on the
controller RESET signal.
4.6.3 Reset on DTR Control
The 5901 modem will reset when the DTR line in the serial port is de-asserted. The DTE device
connected to the 5901 may control the reset of the 5901 by asserting or de-asserting DTR.
4.6.4 Failure Recovery
If the 5901 modem detects 7 or more rings, in each of two ring attempts within 2 minutes, it will be
reset. This mode allows the user to remotely reset the 5901 modem if failure occurs.
4.7 LED Indicators
The 5901 modem has five status LEDs. These LED’s cannot be disabled to conserve power.
LED
Color
Function
TXD
Red
The TD LED is on when the DTE is transmitting data to the
modem.
RXD
Red
The RD LED is on when data is being received by the modem.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
17
LED
Color
Function
DSR
Red
The DSR LED is on when the modem is ready to start
communication. It is always in a MARK state (on).
DTR
Red
The DTR LED is on when DTR is asserted by the DTE device.
OH
Red
The OH LED is on when the modem is off hook.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
18
5 Operation
The operation of the 5901 modem is configured and controlled using commands or strings of
commands. These commands are sent to the 5901 through the serial communication RS-232 port.
Commands sent to the 5901 are referred to as AT commands. See section 10-AT Command
Guidelines for information on how the AT commands are structured.
The 5901 modem contains a pre-set operating configuration. This configuration is shown as the
default settings in sections 10.2-
AT Command Set to10.10-At@ Command Set.
The pre-set configuration enables the 5901 to operate in most situations but some changes to this
configuration may be required to meet application demands.
The 5901 modem may be operated as a stand-alone modem; as part of a 5000 Series I/O system with
a programmable controller, such as a SCADAPack or TeleSAFE Micro16; and as part of a 5000
Series I/O system with a non-programmable controller, such as a SmartWIRE 5202.
5.1 Stand Alone Modem Operation
When the 5901 modem is used as a stand-alone modem it is directly connected to a Personal
Computer (PC). To configure and control the 5901 modem the PC executes a communication
program, the TelePACE program or a host SCADA program.
5.1.1 5901 Modem Connection to PC
When used as a stand-alone modem the RS-232 serial communication port on the 5901 modem
connects to a serial port on the PC. This connection is referred to as a DTE (PC) to DCE (5901
modem). See the section 4.2.1-5901 Modem Connection to DTE for information on this connection.
5.1.2 Operation using Communication Software
The communication program controls the operation of the 5901 modem by sending configuration
commands, or strings of commands to the modem. These commands are referred to as AT
commands. See section 10.2-AT Command Guidelines for information on how the AT commands
are structured.
The documentation for the communication program used will contain information about how to send
AT commands to the modem.
5.1.3 Operation using TelePACE program
The TelePACE program supports dial up connections to the SCADAPack, TeleSAFE Micro16 and
TeleSAFE 16EX controllers. The TelePACE program controls the operation of the 5901 modem
through the PC Serial Ports Setting dialog box. For complete information about the PC Serial Ports
Setting refer to the TelePACE Ladder Logic User Manual.
To configure the TelePACE program to use the 5901 modem:
From the Communication menu select PC Serial Port Settings.
Ensure the settings on the right side of the PC Serial Ports Setting dialog box are correct for
your application. These settings include Port, Protocol, Baud, Parity and Station.
Note: The Port setting is the serial port the PC will use to connect to the 5901 modem.

5901 High Speed Dialup Modem Hardware Manual
October 19, 2007
19
Select the Dial Up radio button.
Enter the dialing information required to make connection with the remote controller. Some
sample Dialing Prefix strings are shown below.
To connect to a remote controller that is using a 5901 modem use this command string:
Dial Prefix &F0
To connect to a remote TeleSAFE controller that is using a 6901 modem use this command string:
Dial Prefix &F0 &K0
5.1.4 Operation with Host SCADA program
The Host SCADA program controls the operation of the 5901 modem by sending configuration
commands, or strings of commands to the modem. These commands are referred to as AT
commands. See section 10.2-AT Command Guidelines for information on how the AT commands
are structured.
The documentation for the Host SCADA program used will contain information about how to send
AT commands to the modem.
5.2 Operation with Programmable Controllers
The SCADAPack or TeleSAFE Micro16 controllers can control the operation of the 5901 modem
using TelePACE Ladder Logic or C Tools programming software.
To configure the SCADAPack or TeleSAFE Micro16 controller and the 5901 modem for successful
dial up communication the following steps are recommended.
Configure the controller serial port to use the 5901 modem.
Initialize the 5901 modem.
Initiate a dial-up modem connection with another controller or SCADA host.
Communicate with another controller or host after dial connection is made.
5.2.1 Configure Controller Serial Communication Port
The serial communication port that the controller uses to connect with the 5901 modem must be
configured for RS-232 Dial up modem. The controller serial ports are configured using the
TelePACE program. To configure the controller serial port:
Select Controller from the TelePACE menu bar.
Select Serial Ports from the Controller menu.
In the Controller Serial Ports Settings dialog select RS-232 Dial up modem in the Port Type
selection for the com port being used.
5.2.2 Initializing the 5901 Modem
The modem initialization setting determines the 5901 modem operation when the application
program in the controller initiates a dial out or when a dial in is received from a remote modem.
Application programs usually require that the modem be initialized at the start of the program.
TelePACE Ladder Logic uses the INIM function for initializing the 5901 modem. Refer to the
TelePACE Ladder Logic Reference and User manual for complete information on this function.
Table of contents