UM EN PSI-GPRS/GSM-MODEM/
Designation: UM EN PSI-GPRS/GSM-MODEM/RS232-QB…
This user manual is valid for:
Designation Version Order No.
2548_en_A PHOENIX CONTACT
Please Observe the Following Notes
In order to ensure the safe use of the product described, you have to read and understand
this manual. The following notes provide information on how to use this manual.
User Group of This Manual
The use of products described in this manual is oriented exclusively to
Phoenix Contact accepts no liability for erroneous handling or damage to products from
Phoenix Contact or third-party products resulting from disregard of information contained in
Explanation of Symbols Used and Signal Words
This is the safety alert symbol. It is used to alert you to potential personal injury
hazards. Obey all safety messages that follow this symbol to avoid possible
injury or death.
This indicates a hazardous situation which, if not avoided, will result in death or serious
This indicates a hazardous situation which, if not avoided, could result in death or serious
This indicates a hazardous situation which, if not avoided, could result in minor or
The following types of messages provide information about possible property damage and
general information concerning proper operation and ease-of-use.
This symbol and the accompanying text alerts the reader to a situation which may cause
damage or malfunction to the device, either hardware or software, or surrounding
This symbol and the accompanying text provides additional information to the reader. It is
also used as a reference to other sources of information (manuals, data sheets, literature)
on the subject matter, product, etc.
PHOENIX CONTACT 2548_en_A
General Terms and Conditions of Use for Technical Documentation
Phoenix Contact reserves the right to alter, correct, and/or improve the technical
documentation and the products described in the technical documentation at its own
discretion and without giving prior notice, insofar as this is reasonable for the user. The
same applies to any technical changes that serve the purpose of technical progress.
The receipt of technical documentation (in particular data sheets, installation instructions,
manuals, etc.) does not constitute any further duty on the part of Phoenix Contact to furnish
information on alterations to products and/or technical documentation. Any other
agreement shall only apply if expressly confirmed in writing by Phoenix Contact. Please
note that the supplied documentation is product-specific documentation only and that you
are responsible for checking the suitability and intended use of the products in your specific
application, in particular with regard to observing the applicable standards and regulations.
Although Phoenix Contact makes every effort to ensure that the information content is
accurate, up-to-date, and state-of-the-art, technical inaccuracies and/or printing errors in
the information cannot be ruled out. Phoenix Contact does not offer any guarantees as to
the reliability, accuracy or completeness of the information. All information made available
in the technical data is supplied without any accompanying guarantee, whether expressly
mentioned, implied or tacitly assumed. This information does not include any guarantees
regarding quality, does not describe any fair marketable quality, and does not make any
claims as to quality guarantees or guarantees regarding the suitability for a special purpose.
Phoenix Contact accepts no liability or responsibility for errors or omissions in the content
of the technical documentation (in particular data sheets, installation instructions, manuals,
The aforementioned limitations of liability and exemptions from liability do not apply, in so
far as liability must be assumed, e.g., according to product liability law, in cases of
premeditation, gross negligence, on account of loss of life, physical injury or damage to
health or on account of the violation of important contractual obligations. Claims for
damages for the violation of important contractual obligations are, however, limited to
contract-typical, predictable damages, provided there is no premeditation or gross
negligence, or that liability is assumed on account of loss of life, physical injury or damage
to health. This ruling does not imply a change in the burden of proof to the detriment of the
2548_en_A PHOENIX CONTACT
Statement of Legal Authority
This manual, including all illustrations contained herein, is copyright protected. Use of this
manual by any third party is forbidden. Reproduction, translation, and public disclosure, as
well as electronic and photographic archiving or alteration requires the express written
consent of Phoenix Contact. Violators are liable for damages.
Third-party products are always named without reference to patent rights. The existence of
such rights shall not be excluded.
How to contact us
Internet Up-to-date information on Phoenix Contact products and our Terms and Conditions can be
found on the Internet at:
Make sure you always use the latest documentation.
It can be downloaded at:
A conversion table is available on the Internet at:
Subsidiaries If there are any problems that can´t be solved using the documentation, please contact your
Phoenix Contact subsidiary.
Subsidiary contact information is available at www.phoenixcontact.com.
Published by .
PHOENIX CONTACT GmbH & Co. KG
Phone +49 - (0) 52 35 - 3-00
Fax +49 - (0) 52 35 - 3-4 12 00
Should you have any suggestions or recommendations for improvement of the contents and
layout of our manuals, please send your comments to
PHOENIX CONTACT 2548_en_A
ii PHOENIX CONTACT 2548_en_A
1 GPRS/GSM Modem
1.1 Short Description
The DIN rail-mountable PSI-GPRS/GSM-MODEM/RS232-QB… GPRS modem is
specifically designed to meet industrial requirements for process data acquisition, remote
monitoring and alarm generation. It provides global access to machines and systems via
GSM connections. A wide range of security functions, such as adjustable selective call
acceptance, connection establishment with password protection, call back function, and
firewall, protect the system against unauthorized access.
The integrated TCP/IP stack even allows the implementation of simple control systems into
the GPRS network. No additional PC is needed for logging into the GPRS network.
One particularly useful feature for remote system monitoring are the configurable warning
or alarm inputs. If these inputs are activated, the modem calls user-defined numbers and
sends stored text messages by fax and/or SMS. Using the switching output additional
functions can be controlled via SMS messages. To ensure error-free operation even in
harsh EMC conditions, the device has high-quality 3-way isolation and integrated surge
The modem also features an integrated automatic “Sleep” function to increase battery life
and a wide supply voltage range of 10 V to 30 V, making it suitable for universal use. Modem
startup is very easy using plug and play and user-friendly configuration software. The
modem is approved for operation in 850 MHz, 900 MHz, 1800 MHz, and 1900 MHz GSM
– GSM (Global System for Mobile Communication) and GPRS (General Packet Radio
– Quad band (850 MHz/900 MHz/1800 MHz/1900 MHz)
– Password-protected access/call-back function/selective call acceptance
– Integrated TCP/IP stack
– Virtual permanent line via GPRS
– Configurable input and output
– Alarm sent directly by SMS, e-mail or fax via the integrated switching input
(or via AT commands)
– Sends, receives, and evaluates SMS messages
– Wide supply voltage range of 10 V DC to 30 V DC
– Temperature range of -25°C to +60°C
– High-quality electrical isolation (VCC // RS-232)
– Integrated surge protection
– Easy startup using plug and play and user-friendly configuration software
– 3964R compatible
2548_en_A PHOENIX CONTACT 1-1
1.2 Ordering Data
Description Type Order No. Pcs./Pkt
GPRS/GSM modem, DIN rail-mountable, GSM + GPRS, 850 MHz/900 PSI-GPRS/GSM-MODEM/RS232-QB- 2900059 1
MHz/1800 MHz/1900 MHz, V.24 (RS-232) interface, alarm input and output, USA
supply voltage 10 V DC ... 30 V DC
GPRS/GSM modem, DIN rail-mountable, GSM + GPRS, 850 MHz/900 PSI-GPRS/GSM-MODEM/RS232-QB-CA 2900060 1
MHz/1800 MHz/1900 MHz, V.24 (RS-232) interface, alarm input and output,
supply voltage 10 V DC ... 30 V DC
Scope of supply: modem, CD with configuration software, and user manual
Description Type Order No. Pcs./Pkt
Quad band antenna with omni-directional PSI-GSM/UMTS-QB-ANT 2313371 1
Antenna cable with SMA circular connector 2m
Degree of protection IP65
Dimensions 76 mm x 20 mm
System power supply, MINI-SYS-PS-100-240AC/24DC/1.5 2866983 1
primary switched 45 Hz ... 65 Hz
Input voltage range 85 V AC ... 264 V AC
Nominal output voltage 24 V DC ±1%
Nominal output current 1.5 A
DIN rail connector (2 required) ME 17,5 TBUS 1,5/ 5-ST-3,81 GN 2709561 10
DIN rail connector (1 required) ME 22,5 TBUS 1,5/ 5-ST-3,81 GN 2707437 50
V.24 (RS-232) cable, 2 m, to connect the modem 9-pos. D-SUB/ PSM-KA9SUB9/BB/2METER 2799474 1
to a 9-pos. device interface 9-pos. D-SUB
1.3 Technical Data
Supply voltage 10 V DC ... 30 V DC
via COMBICON plug-in screw terminal block
Nominal operation < 100 mA at 24 V
Sleep mode (can be configured via software) < 60 mA at 24 V
LED indicators VCC (green LED):
V.24 (RS-232) Interface
Connection 9-pos. D-SUB pin strip
Device type Data Communication Equipment (DCE)
Data format Serial asynchronous UART/NRZ
Encoding 7/8 data, 1/2 stop, 1 parity, 10/11-bit character length
Serial transmission speed Fixed setting at 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600,
115200 bps (adjustable via software)
Data flow control Software handshake: Xon/Xoff
Hardware handshake: RTS/CTS
No handshake or 3964R
LED indicator/data indicator TD (yellow LED), data to modem (dynamic)
RD (green LED), data from modem (dynamic)
LED indicator/control signal indicator DTR (yellow LED), Data Terminal Ready
DCD (yellow LED), Data Carrier Detect
1-2 PHOENIX CONTACT 2548_en_A
Frequencies 850 MHz, 900 MHz, 1800 MHz, 1900 MHz (EGSM)
Transmission power 2 W at 850 MHz and 900 MHz
1 W at 1800 MHz and 1900 MHz
SIM interface 3 V SIM card
Transmission speed Automatic adjustment
DCE/DCE 300 baud ... 14.4 kbaud
Fax 2400 baud ... 14.4 kbaud
GPRS 300 kbps ... 85.6 kbps
Compatibility V.34, V.32, V.22bis, V.110
GPRS compatibility GPRS Class 10, Class B
Encoding scheme: CS1 ... CS4
4 time slots for receiving data
2 time slots for transmitting data
Command set compatibility AT standard command set and extended
V.250 basic command set
Antenna connection 50 Ω impedance SMA antenna female connector
Data indicator OH (green LED), logged into the GSM network
– Flashing: Off the hook
SIM (red LED)
– Steady light: No SIM card present
– Flashing: No PIN code entered
– OFF: SIM card present and PIN code entered
NET (yellow LED)
– Steady light: Very good network reception
– Flashing: Good network reception
– Flashing quickly: Moderate network reception
– OFF: No network reception
Startup diagnostics Selftest, visualization via LEDs
(controller, RAM, EPROM, GSM engine, antenna, EEPROM)
Network function The PIN code is saved in the modem.
After a voltage interrupt, the modem automatically relogs into the network and
logs automatically into the GPRS network.
Network check Network bar graph in the configuration software
Switching Inputs and Outputs
Switching inputs 2 x UN 24 V DC/5 mA, input voltage range 9 V DC ... 48 V DC, floating,
activate one or more of the following:
– Message to the local V-24 (RS-232) interface
– Output control at the opposite station (via SMS)
Switching output Transistor output to the backplane, activated by:
– Input control at the opposite station
– Local AT command
Signaling ALR (red LED)
– Flashing: SMS/FAX error message to be sent
– Steady light: Alarm has been triggered
Text and Telephone Number Memory
SMS 160 characters
Fax 160 characters
Telephone number memory 10 telephone numbers with a maximum of 36 digits
2548_en_A PHOENIX CONTACT 1-3
CE conformance According to R&TTE directive 1999/5/EC
Ambient operating temperature range -25°C ... +60°C
Housing ME 35 with 5-pos. bus contact and ground contact
Material ABS-V0, green
Dimensions (H x W x D) 99 x 22,5 x 114.5 mm
Weight of device 209 g
Functional earth ground Housing contact with DIN rail
Vibration resistance According to EN 60068-2-6
5g, 1.5 h in each x, y, and z direction
Shock test According to EN 60068-2-27
Operation 15g, 11 ms, half-sine shock pulse
Storage 30g, 11 ms, half-sine shock pulse
Free fall According to IEC 60068-2-32 from a height of 1 m (without packaging)
Degree of protection IP20
Separate ground levels Power supply // V.24 (RS-232)
Test voltage 1.5 kV AC, 50 Hz, 1 min. between all ground levels according to
DIN EN 61010-1/VDE 0411-1 and DIN EN 60950
Conformance According to EMC Directive 89/336/EEC
Electrostatic discharge (ESD) EN 61000-4-2 Criterion B
8 kV air discharge
6 kV contact discharge
Electromagnetic HF field EN 61000-4-3 Criterion A
Amplitude modulation 10 V/m
Pulse modulation 10 V/m
Fast transients (burst) EN 61000-4-4
Signal Criterion A
1 kV/5 kHz
Power supply Criterion A
1 kV/5 kHz
2 kV/ 5 kHz
Surge current load EN 61000-4-5 Criterion B
Signal 1 kV
Power supply 2 kV
Conducted interference EN 61000-4-6 Criterion A
Noise emission EN 55022 + A1 + A2 Limiting curve B
Conformance According to R&TTE Directive 1999/5/EC
Immunity to interference EN 61000-6-2 Generic standard for the industrial
(electromagnetic compatibility) sector
Protection of personnel with regard to electrical safety EN 60950
Limitation of exposure of the population to electromagnetic fields EC Gazette 1999/519/EC EC Council recommendation of
July 12, 1999
Effective use of the frequency spectrum and prevention of radio interference EN 301511
1-4 PHOENIX CONTACT 2548_en_A
2 Hardware Installation
Ord.-No. 23 13 106
Figure 2-1 Housing dimensions
Only mount and remove modules when the power supply is disconnected.
• Mount the modem on a 35 mm EN DIN rail (see Figure 2-2).
The DIN rail must be connected to PE to ensure safe operation.
Figure 2-2 Mounting
2548_en_A PHOENIX CONTACT 2-1
2.2 Operating Elements
1 2 3 4
Ord.-No. 23 13 106
Figure 2-3 Operating elements
Connection Terminal Blocks
1 24 V supply (10 V DC ... 30 V DC)
2 0 V supply (0 V)
3 IN1 (switching input 1 (10 V DC ... 30 V DC))
4 IN2 (switching input 2 (10 V DC ... 30 V DC))
5 SMA antenna connection
6 V.24 (RS-232) data interface, 9-pos. D-SUB
7 SIM (Red) No SIM card, flashes when no PIN code has been entered
8 DCD (Yellow) Data carrier detected, connection established with partner
9 NET (Yellow) Steady light for very good network reception
Flashes for good network reception
Flashes quickly for moderate network reception
OFF when there is no or very bad network reception
10 ALR (Red) Steady light when alarm message was sent successfully
Flashes when sending the alarm message
Flashes quickly when alarm message could not be sent
OFF for no alarm
11 TD (Green) Transmit data with reference to the GSM connection
12 RD (Yellow) Receive data with reference to the GPRS connection
13 VCC (Green) Flashes when supply voltage present
2-2 PHOENIX CONTACT 2548_en_A
2.3 Electrical Connections
Only qualified personnel may connect the power, start up, and operate this device.
According to the safety instructions in this text, qualified personnel are persons who are
authorized to start up, to ground, and to mark devices, systems, and equipment according
to the standards of safety technology. In addition, these persons must be familiar with all
warning instructions and maintenance measures in this text.
Disregarding this warning may result in damage to equipment and/or serious personal
2548_en_A PHOENIX CONTACT 2-3
2.3.2 V.24 (RS-232) Interface
The modem and the PC or another device are connected via the
PSM-KA9SUB9/BB/2METER V.24 (RS-232) cable (Order No. 2799474). The cable is an
interface cable with 1:1 connected contacts.
• Use this interface cable to connect the modem to a free COM interface on the PC.
In rare cases, when connecting a PLC or control system, DCE (Data Communication
Equipment) may be used instead of DTE (Data Terminal Equipment), which is typical for a
PC. If so, the following cables must be crossed (null modem cable):
– TxD and RxD
– RTS and CTS
– DSR and DTR
If you do not know which type of interface is connected, determine the correct configuration
by testing (crossing cables).
Minimum configuration The minimum configuration only requires one connection for TxD, RxD, and GND (software
This does not apply to the 3964R protocol for Phoenix Contact controller boards. Only TxD,
RxD, and GND are connected here, but no handshake protocol is selected.
The modem may only be connected to devices, which meet the requirements of
EN 60950 (“Safety of Information Technology Devices”).
2548_en_A PHOENIX CONTACT 2-5
25 9 9
DCD 8 1 1 DCD
TxD 2 3 3 TxD
RxD 3 2 2 RxD
RTS 4 7 7 RTS
CTS 5 8 8 CTS
DTR 20 4 4 DTR
DSR 6 6 6 DSR
RI 22 9 9 RI
GND 7 5 5 GND
Figure 2-5 V.24 (RS-232) interface
Table 2-1 Meaning of the terminal designations
DCD (Data Carrier Detect) Data carrier detected, connection established
TxD (Transmit Data) Transmit data (refers to PC, PLC, etc.)
RxD (Receive Data) Receive data (refers to PC, PLC, etc.)
RTS (Request To Send) Request to send
CTS (Clear To Send) Clear to send
DTR (Data Terminal Ready) Ready (refers to PC, PLC, etc.)
DSR (Data Set Ready) Ready (modem)
RI (Ring Indicator) Incoming call
GND (Signal Ground) Signal ground
2-6 PHOENIX CONTACT 2548_en_A
• Connect the antenna cable with an SMA connector on the front of the device.
Figure 2-6 Antenna connection with SMA connector
• Select an antenna position with a good radio network signal. The receive quality can be
determined using the “NET” LED.
• When using the PSI-GSM/UMTS-QB-ANT antenna (Order No. 2313371) drill a hole
with a diameter of 16.5 mm in the top of the control cabinet.
Please observe the following during installation:
– The antenna has a diameter of 76 mm and is 21 mm high.
– The cable is 2 meters long.
• Secure the antenna using the washer and nut provided:
Figure 2-7 PSI-GSM/UMTS-QB-ANT antenna installation
2548_en_A PHOENIX CONTACT 2-7
2.3.4 SIM Card
SIM card registration The PSI-GPRS/GSM-MODEM/RS232-QB… includes an unregistered SIM card. The SIM
card must be registered to use the device. Registration can be completed at
www.phoenix.diversenet.net. A wide variety of plans are available to choose from.
When registering, you will be required to provide the ID number of the SIM card. This ID is
provided on a label on the side of each modem.
Figure 2-8 SIM card ID label
PIN code The SIM card can be protected with a 4-digit PIN code.
It is recommended that you enter the PIN code as described in section
“PSI-MODEM-CONF Configuration Software” on page 3-2.
Opening the housing If necessary for replacement, the SIM card can be removed from the PCB.
Disconnect the device power supply before opening the housing.
The device only supports 3 V SIM cards.
• Open the housing to access the PCB inside. Release the tabs on the housing cover
(see Figure 2-9).
2-8 PHOENIX CONTACT 2548_en_A
Ord.-No. 23 13 106
Figure 2-9 Opening the housing
• Separate the upper and lower housing pieces. The PCB is attached to the upper portion
of the housing.
2548_en_A PHOENIX CONTACT 2-9
• Remove the SIM card from the holder on the PCB (see Figure 2-10). .
Figure 2-10 Inserting the SIM card
• Slide the replacement SIM card into the holder with the contact surface towards the
PCB. The angled corner must point towards the back of the PCB.
• Reassemble the housing.
2.3.5 Supply Voltage
The PSI-GPRS/GSM-MODEM/RS232-QB… is designed exclusively for SELV operation
according to IEC 60950/EN 60950/VDE 0805.
The supply voltage must be between 10 and 30 V DC.
Connect the 24 V supply voltage to the “24V” and “0V” connection points on the plug-in
screw terminal block.
2-10 PHOENIX CONTACT 2548_en_A
24 V 0V IN1 IN2
24V 0V IN1 IN2
Figure 2-11 Connecting the supply voltage
As soon as the “VCC” LED lights up, the modem is ready.
2.3.6 Switching Inputs
The switching inputs are connected to the corresponding IN1 and IN2 plug-in screw terminal
blocks (see Figure 2-11)..
Table 2-2 Switching inputs on the plug-in screw terminal block
IN1 (switching input 1) 10 - 30 V DC
IN2 (switching input 2)
0V (on the same potential level as 0 V 0V
2.3.7 Switching Output
The switching output is located on the backplane and is designed as a transistor output. It is
used together with the PSI-MODEM-SPLITTER (Order No. 2708766).
2548_en_A PHOENIX CONTACT 2-11
3 Software Installation
3.1 System Requirements
In principle, any device can be connected to the modem via a free V.24 (RS-232) interface.
A terminal program, for example, can be used for configuration. More detailed information
can be found in later sections.
A PC with one of the following operating systems is required for the PSI-MODEM-CONF
configuration software and the plug and play function:
– Windows 95, Windows 98, Windows 2000, Windows NT, Windows ME or Windows XP.
The installation procedure for the driver varies depending on the operating system. In the
following, the driver installation under Windows XP is described as an example. During
installation, please always follow the on-screen instructions.
If any messages appear informing you that the software does not have a Microsoft digital
signature or has not passed the Windows logo test, confirm with “Continue Anyway.” This
has absolutely no effect on the operation of the software or PC.
2548_en_A PHOENIX CONTACT 3-1
3.2 PSI-MODEM-CONF Configuration Software
PSI-MODEM-CONF software is used to configure the PSI-GPRS/GSM-MODEM/RS232-
QB… GSM modem. The modem has more functions than can be mapped in the
configuration software. To use these functions, enter additional AT commands in the
“Additional Settings (AT)” field (see page 3-17). The AT commands and their meanings are
described in section “Command Descriptions” on page 4-2.
• Insert the CD-ROM labeled “PSI-MODEM-CONF” in the CD-ROM drive on the PC.
• Use Windows Explorer to start the “Setup_Vx.x.xxx.exe” file located in the
• Close all other applications and click “Next”.
3-2 PHOENIX CONTACT 2548_en_A
Accepting the terms of the
• Read the terms of the software license agreement thoroughly and click “Yes” to accept
Now select a specific installation folder.
The default path is “C:Program FilesPSI-MODEM-CONF”.
• If necessary, select a different folder and click “Next”.
2548_en_A PHOENIX CONTACT 3-3
• For full installation select “Yes” for both options.
• If you do not wish to create any shortcuts on desktop or in the Start menu (quick launch
toolbar) select “No”.
• Click “Next”.
• Click “Next” to start copying the files. This may take a few seconds depending on the
3-4 PHOENIX CONTACT 2548_en_A
After installation the following shortcut will appear on the desktop:
Starting the software • Double-click on this icon to start the PSI-MODEM-CONF configuration software.
Figure 3-1 PSI-MODEM-CONF configuration software
3-6 PHOENIX CONTACT 2548_en_A
Selecting the language • If necessary, set the language to English or German in the “Options” menu item.
Figure 3-2 Select language
Configuring the interface Proceed as follows to configure the V.24 (RS-232) interface:
• Select the “RS232” function from the “Options” menu (see page 3-7).
• Select the interface to which the modem is connected.
• Use the following settings for the data connection:
– Baud rate: 19200, Parity: NONE, Data bits: 8, Stop bits: 1
Modifying the baud rate is possible only via AT commands (refer to section 4).
• Confirm with “OK” to save the settings.
2548_en_A PHOENIX CONTACT 3-7
• Click on the “Read” button to read data from the connected modem.
The software displays the firmware type and version, as well as the serial number of the
modem in the status bar.
You now have the option of assigning various functions to the integrated modem switching
3-8 PHOENIX CONTACT 2548_en_A
Alarm-Reset-Timer Here you can enter the time for resetting an alarm input. This time (in minutes) must be set
separately for each input.
Please note that the modem attempts to send an alarm message up to four times. This
process can take up to 15 minutes. If, for example, a time of just 5 minutes is entered, the
modem cannot utilize all four attempts in the event of an error.
• A time of at least 2 minutes should be entered.
SMS For this function the modem requires a service provider that supports SMS. The telephone
number of the SMS service center must also be stored on the SIM card.
• Select the “SMS” check box to activate the SMS function.
• Enter the telephone number of the SMS receiver in the white “Number” field.
• Write the message in the “SMS Message” field. The text must not exceed
• Click on the “Write” button to write the settings to the modem.
• To send the SMS message, activate modem switching input 1 (see section “Switching
Inputs” on page 2-11).
You can send fax and SMS messages simultaneously.
2548_en_A PHOENIX CONTACT 3-9
• Select the “Fax” check box to activate the fax function.
• Enter the telephone number of the fax receiver in the white “Number” field.
• Write the message in the “Fax Message” field. The text must not exceed
• Click on the “Write” button to write the settings to the modem.
• To send the fax message, activate modem switching input 1 (see section “Switching
Inputs” on page 2-11).
You can send fax and SMS messages simultaneously.
3-10 PHOENIX CONTACT 2548_en_A
For this function, the partner modem must be a “PSI-GSM/GPRS-MODEM/RS232”
modem (Order No. 2708630).
• Select the “Output” check box to activate the switching output function.
• Enter the telephone number of the partner in the white “Number” field.
• Enter the password for the partner in the “Password” field, as the partner switching
output is password-protected.
Method of operation The modem responds to a positive edge at the local input by sending an SMS to the partner
and setting the partner output. This output can be reset by an AT command (local or
remote), an SMS, or by briefly disconnecting the supply voltage.
2548_en_A PHOENIX CONTACT 3-11
• Select the “Message” check box to activate the message function.
All messages are then forwarded to the V.24 (RS-232) interface.
• Click on the “Write” button to write the settings to the modem.
Switching input 2 is configured in the same way after selecting the “Input 2” tab.
3-12 PHOENIX CONTACT 2548_en_A
The “Connection Test” function can be used to check the receive quality of the modem.
Precise indication is only possible if the modem is logged into the network.
• Click on the “Connection Test” button to start the test indicator. The result of the line test
is displayed on the screen.
From approximately -105 dBm a connection cannot usually be established. Good
connections are usually between -65 and -75 dBm.
The “Default Setting” function resets the modem to the default settings.
• To do this, click on the “Default Setting” button.
When the modem is reset to the default setting all passwords and telephone numbers are
Creates a new project file with the default settings.
Opens a saved project file.
Saves the current settings.
2548_en_A PHOENIX CONTACT 3-13
• Click on the “Settings” button.
This opens the “GSM+GPRS Configuration” window.
Figure 3-3 “GSM+GPRS Configuration” window
3-14 PHOENIX CONTACT 2548_en_A
Echo If the echo is on, all characters sent by the PC in command mode are sent back by the
modem. The characters can thus be displayed on-screen on the PC.
DCD Signal When the partner carrier detect signal is detected, the V.24 (RS-232) interface activates the
DCD signal (Data Carrier Detect). Alternatively, this signal can also be permanently
DSR Signal The DSR signal (Data Set Ready) of the V.24 (RS-232) interface can be permanently
switched on or switched off in command mode.
DTR Signal The modem can process the DTR signal (Data Terminal Ready) as follows:
– The modem ignores the DTR signal. This may be necessary when using a PLC, as the
V.24 (RS-232) interface of a PLC is often unable to provide a DTR signal.
– The modem returns to command mode if there is no DTR signal at the V.24 (RS-232)
– The modem hangs up and returns to command mode if there is no DTR signal at the
V.24 (RS-232) interface.
Flow Control The data flow control of the V.24 (RS-232) interface can be set for various operating modes:
– For the “Hardware” setting, the CTS and RTS signals are used for bidirectional data
The CTS signal starts or finishes data transmission from the PC or terminal. The RTS
signal control data transmission to the PC or terminal.
– For the “Software” setting, the data flow control is bidirectional using Xon and Xoff
– For the “Hardware (CTS from DCE)” unidirectional data flow control setting, the CTS
signal starts or finishes data transmission from the PC or terminal. The RTS signal is not
– Data flow control can also be switched off completely. This may be necessary when
protocols such as 3964R are transmitted, which control the flow independently.
Result Codes The modem is configured so that it outputs alphanumeric responses on the screen. The
“Numeric” option can be used if the software package or PLC only supports numeric
confirmations. The relevant settings can be found in section “Modem Confirmations” on
Auto Answer Automatic call acceptance (Auto Answer) enables you to specify the number of rings after
which the modem can automatically respond to incoming calls. Automatic call acceptance
is switched off by default upon delivery.
2548_en_A PHOENIX CONTACT 3-15
SMS Mode When SMS mode is disabled, you can only send SMS messages.
When SMS mode is enabled, SMS messages received are output to the V.24 (RS-232)
interface. To receive SMS messages, this feature must be supported and enabled by the
In control mode the PSI-GPRS/GSM-MODEM/RS232-QB… can be controlled via SMS
messages. For example, you can activate the output, reset the alarm or send the status of
the modem simply by sending an SMS message. In this mode, the SMS message is not
forwarded to the termination equipment, but is evaluated by the modem itself. The SMS
message sent to the modem must be structured as follows:
The password is the password stored in the modem (maximum of seven characters).
Please note that not all characters can be sent in the SMS message. Choose a password
according to the SMS character set. If the password is, e.g., 12345, the message should
appear as follows:
The following control commands are available:
RESET Resets the alarm and the switching output (e.g., AT*AR).
SET:OUTPUT Activates the switching output (“Output”).
CLR:OUTPUT Deactivates the switching output (“Output”).
SEND:STATUS Sends a status SMS message to the caller.
“Text” Outputs all the characters within the inverted commas to the
V.24 (RS-232) interface.
#12345:SET:OUTPUT Activates the output.
#12345:SEND:STATUS Sends an SMS message (status report) to the sender.
#12345:”RST PLC” Sends the text RST PLC to the terminal equipment
(V.24 (RS-232) interface).
#12345:RESET Resets the alarm function and the switching output.
SIM Card PIN Store a PIN Code in the Permanent Memory
The PIN code (four numbers) is stored in the permanent memory on the modem. Following
a voltage failure the PIN code is automatically entered again and the modem logs into the
For security reasons, the PIN code cannot be read from the modem by the configuration
Make sure that to use the right SIM card for the PIN code. The PIN code is always
re-entered in the event of a voltage failure. If an incorrect PIN code is entered, the SIM
card is blocked after three voltage interrupts.
3-16 PHOENIX CONTACT 2548_en_A
GPRS Mode The settings for the GPRS connection are made here:
• Leave this set to “OFF” if no GPRS connection is required.
• If the modem is to establish a connection to various IP addresses, select “Activate
context only”. Here, the connection is established using the AT#SKTD AT command
(see page 4-18).
In order to establish a TCP/IP connection, one device must be a client and the other a
server. The client is the initiator and establishes the connection, while the server accepts the
• Select “Client” if the modem is to establish a connection to a specific IP address
• Select “Server” if another device is to establish a connection to the modem.
Additional Settings (AT) The modem has more functions than can be mapped in the configuration software. To use
these functions, enter additional AT commands in the “Additional Settings (AT)” field.
The AT commands and their meanings are described in section “Command Descriptions”
on page 4-2.
Example: The command +CRC=1 enables additional confirmations.
Additional settings can be saved in the project file via the “Save” button. However, they
are not read from the modem by the configuration software.
Telephone Book Store Numbers
Ten telephone numbers can be stored in Store Numbers 1 through 10.
Service No. Fax
The number for the provider's Fax service must be stored in the modem memory.
Remote Login Password Mode
When password mode is active, the caller must enter a password after the incoming call
has been accepted. If the password is invalid or the time allocated for password entry has
been exceeded, the caller has two more attempts to enter the correct password. When the
correct password is entered, the modem continues to operate as usual, otherwise the
connection is aborted.
When password mode is active with callback the caller is requested to enter a password.
If the password is invalid or the time allocated for password entry has been exceeded, the
caller has two more attempts to enter the correct password.
When the correct password is entered, the modem aborts the existing connection to dial the
number that is stored in the memory under Callback No. The modem has three attempts to
establish a connection with the callback number.
Automatic call acceptance must be activated for all password-protected functions.
Enter the password here.
The password can contain up to seven characters from the ASCII character set (1 to 127),
excluding question marks. The password is not case sensitive.
2548_en_A PHOENIX CONTACT 3-17
Caller Identification CLIP (Calling Line Identification Presentation) is the transmission of the caller's telephone
number (caller ID). If this function is enabled, the GSM modem can detect, output, and
evaluate the caller ID.
When the caller ID output function is activated in the GSM modem, the caller ID is
transmitted after the first ring and the modem does not accept the call until after the second
ring. The caller ID is then detected by the GSM modem and output to the V.24 (RS-232)
interface as follows:
A telephone number is then only output if a valid caller ID has been detected. It is only output
once for each call.
Selective Call Acceptance
If “Selective Answer” is selected, the PSI-GPRS/GSM-MODEM/RS232-QB… automatically
checks whether, e.g., the service PC is calling the modem and establishes a connection. Up
to two telephone numbers can be stored in the device, which the modem compares and
then automatically establishes a connection if they match. The “CallerID 1” and “CallerID 2”
fields are reserved for this function.
If numbers are stored in these fields and “Selective Answer” is enabled, the PSI-
GPRS/GSM-MODEM/RS232-QB… checks each call to see whether one of the saved
numbers has been called. If so, the modem accepts the call and establishes a connection,
regardless of the settings for automatic call acceptance. The control system therefore does
not have to evaluate the caller ID and the modem makes sure that only the service numbers
(”CallerID 1” and “CallerID 2”) reach the system, even without a callback function.
The telephone number evaluation function has a filter function, which also enables partial
evaluation of the telephone number. The evaluation starts with the last digit and is carried
out for each stored digit. If, for example, from the telephone number 0123456789 only the
digits 56789 have been stored, all telephone numbers that end with these digits are
considered as valid. The number of preceding digits is of no importance. The advantage of
this is that various formats (e.g., +49 40 xxxxx and 040 xxxxx) can be evaluated.
The flashing “AA” LED indicates that this mode is active. The call is only accepted if the
stored numbers match. The caller ID is also output.
GPRS Settings The following settings must be made for each GPRS connection. Contact the GSM provider
• Under “APN” (Access Point Name), enter the name of the provider's access point,
• Under “User ID”, enter the user ID, e.g., email@example.com.
• Under “Password” enter the corresponding password, e.g., hello.
• In the “Socket Port” field, enter the socket port for the TCP/IP connection. For a
connection between two modems, enter “1023” (default).
GPRS Server Firewall This setting is only required if the modem is set to “Server” GPRS mode (see page 3-17).
The firewall is a filter, which only allows specific IP addresses to access the modem.
• Under “Address 1”, enter the enabled IP address, e.g., 126.96.36.199.
• In the “Mask 1” field, enter the corresponding subnet mask, e.g., 255.255.255.255.
You can also enable an entire address area.
Example: To enable the address area from 188.8.131.52 to 184.108.40.206.
3-18 PHOENIX CONTACT 2548_en_A
To do this, make the following settings:
– Address 1: 220.127.116.11
– Mask 1: 255.255.0.0
An alternative entry for the firewall can be entered under address 2 and mask 2.
GPRS Client This setting is only required if the modem is set to “Client” GPRS mode (see page 3-17).
• Under “Remote Address” enter the IP address of the partner (the server),
A URL can also be entered as an alternative, e.g., test.dyndns.org.
• Click on the “Write” button to write the settings to the modem once they have all been
2548_en_A PHOENIX CONTACT 3-19
4 AT Commands
The modem stores its operating characteristics in a non-volatile memory (EEPROM). You
can overwrite these characteristics using commands and can thus modify the method of
operation of the device. The modem executes commands as long as it is in command
mode. The modem is automatically in command mode until you dial a number and establish
a connection. You can enter commands for the modem using appropriate communication
software (e.g., HyperTerminal). The device supports data transmission speeds of 300,
1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200 bps.
Make sure the baud rate setting for the COM port in the communication software
corresponds to one of these speeds. By default upon delivery, the modem is
preconfigured with 19200 bps, 8 data bits, 1 stop bit, no parity, no handshake.
The modem can be operated in two modes:
– Command mode: The modem can be configured and controlled via AT commands. As
soon as a connection is established, the modem automatically switches to data mode.
– Data mode: In this mode, the modem transmits data to the partner.
All commands transmitted to the modem must start with AT and must be confirmed by
pressing ENTER. The commands can be entered in either upper or lower case, but not a
mixture of the two. Spaces may be inserted between the commands so that the command
lines are easier to read.
AT deletes the last command line executed by the modem (if present) and prepares the
modem for the new command line. In addition, AT informs the modem of the transmission
speed, parity, and character length.
For commands that must be specified by a parameter, a missing parameter corresponds
to parameter 0, e.g., ATM = ATM0.
Correcting a Typing Error
If you make a mistake when entering a command, you can correct it using the backspace
key. Pressing the backspace key deletes the last character entered. The AT at the start of
the command line is not deleted.
2548_en_A PHOENIX CONTACT 4-1
4.1 Command Descriptions
AT Attention String
AT is the prefix of a command line and must be entered at the start of each command line
(except for the A/ command or the +++ Escape string). The Attention characters transmit
the transmission speed, character format, and parity of the PC or terminal to the modem.
If you attempt to execute a command line that does not start with AT, an error message is
generated (except when repeating a command with A/ or using the +++ Escape string).
A Manual Answering
Use the A command to manually answer a call. The A command can also be used to convert
voice communication into data communication: Once you have completed the spoken part
of the call, the caller enters the ATD command and ENTER to enable data transmission.
The partner responds with the ATA command and ENTER. The modem does not execute
any commands that appear after the A in the command line. You must therefore enter all
settings before the A command.
The D command instructs the modem to dial a number. Enter the number that you wish to
dial after the D command. You can modify the D command with the following additional
This modifier inserts a 2-second pause before dialing. If, for example, the modem
is located in a private branch exchange (e.g., in offices), where a number (usually
0) must be dialed for an outside line, insert a comma between the 0 and the actual
telephone number you wish to dial. The modem dials 0, waits for two seconds and
then dials the telephone number.
The DL command instructs the modem to redial the last dialed telephone number.
The modem is set by default to display commands on the PC screen in command mode
(echo). This feature can only be used if the PC is configured for full duplex mode.
Most systems operate in full duplex mode. In this case, enable the echo function with the
If working in half duplex mode, disable the echo function with the E0 command.
4-2 PHOENIX CONTACT 2548_en_A
+++ Escape String
The Escape string can be used to switch the modem from data mode to command mode
without losing the connection with the partner. When you enter the Escape string, the
modem outputs an OK message to inform you that it is in command mode.
Enter ATO to return to data mode and confirm by pressing ENTER. Enter ATH to hang up
and confirm by pressing ENTER.
H Hook (Hang Up)
H The modem hangs up.
I0 Display: Modem ID
I1 Display: ROM checksum
I2 Display: ROM checksum and test
I3 Display: Firmware version
I4 Display: Modem ID
I8 Display: Serial number
I9 Display: Plug&Play string
Q Modem Messages
Q0 Information from the modem about its status and display of confirmations on the
Q1 Disable confirmations. This may be necessary, e.g., if a PLC is connected to the
modem and responses would interfere.
Q2 Display confirmations only when the modem has established a connection.
Sr? Read the Modem Register
The modem has 29 registers (0 through 28), which are used to set the operating
parameters. Sr? can be used to read the values set in the registers.
Sr=n Set Register Values
Sr=n can be used to modify the register values for the modem (see section “S Registers” on
V Alpha or Numeric Responses
The modem displays responses on-screen (see section “Modem Confirmations” on
V0 Display numeric confirmations. This option can be used if the software package or
PLC only supports numeric confirmations.
V1 Display alpha confirmations (default).
2548_en_A PHOENIX CONTACT 4-3
X Confirmation Settings
The X command can be used to control the way in which the modem responds to specific
events. There are five different command sets for answering:
X0 Hayes Smart Modem 300-compatible answering/dummy dialing (private branch
X1 As X0 plus all CONNECT answering/dummy dialing (private branch exchange)
X2 As X1 plus detection of dial tone/proceed-to-dial tone (outside line)
X3 As X1 plus detection of engaged tone/dummy dialing (private branch exchange)
X4 All answering and detection of dial tone and engaged tone
Y Break Signal
Y0 No transmission of break signals and no response to them.
Y1 Response to break signals. The device sends a break signal for four seconds
before disconnecting. In addition, it aborts an active connection when it receives a
break signal for 1.6 seconds from the partner.
Use the Z command to reset the modem. The modem then hangs up and loads
configuration profile 0 or 1. This command must be the last one in the command line.
Z0 Reset and activate stored configuration profile 0.
Z1 Reset and activate stored configuration profile 1.
&C Carrier Detect Signal
&C0 Continuous activation of the carrier detect signal for the modem.
&C1 Set the RS-232-C carrier detect signal for the modem (DCD) when the modem
detects a carrier detect signal from the partner (default).
&D Data Terminal (PC) Ready Signal (DTR)
&D0 Ignore the status of the DTR signal. The DTR signal is always activated, even
when the PC is switched off.
&D1 Return to command mode if the modem detects a falling edge on the DTR line.
&D2 Hang up and return to command mode if the modem detects a falling edge on the
&D3 Hang up, reset, and return to command mode if the modem detects a falling edge
on the DTR line.
&F Factory Configuration
The &F command (default) restores the factory settings with enabled hardware flow control.
4-4 PHOENIX CONTACT 2548_en_A
&K Enable DTE Flow Control
The &K command specifies the type of data control that is used between the modem and
the local PC to prevent data loss. The modem supports two types of data flow control. The
selected function depends on the requirements of the PC.
This command has the same function as the AT+IFC command (see page 4-11).
&K0 Disable data flow control.
&K3 Use CTS/RTS signals for bidirectional data flow control. The CTS signal starts or
finishes data transmission from the PC or terminal. The RTS signal controls data
transmission to the PC.
If the RTS is disabled, data transmission is finished. If it is enabled, the modem
sends data to the PC.
&O Local Switching Output
&O0 Reset the local switching output
&O1 Set the local switching output
&S DSR Options
&S0 Enable the DSR signal (default).
&S1 Enable the DSR signal during the handshake and in data mode and disable it in
test or silent mode.
The DSR is activated when the carrier detect signal is lost.
&V Display Configuration Profile
The &V command can be used to view the active configuration profile of the modem. Any
commands or registers that appear in the profile, but are not described in this user manual,
can be ignored.
This command cannot be activated when the modem is online.
&W Save Active Configuration
This command saves the active configuration in the permanent memory.
&W0 Store the active settings as configuration profile 0.
&W1 Store the active settings as configuration profile 1.
&Y Select Active Profile
The &Y command specifies which stored profile is loaded when the modem is switched on
&Y0 Use configuration profile 0 (default).
&Y1 Use configuration profile 1.
2548_en_A PHOENIX CONTACT 4-5
&Zn=x Store a Telephone Number in the Permanent Memory
The &Zn=x command stores a telephone number (x) (36 digits maximum) in the permanent
memory of the modem. The modem can store up to 10 telephone numbers (n = 0 through
%G Caller ID
%G Disable the caller ID function
%G Activate caller ID output. The caller ID is output to the V.24 (RS-232) interface in a
1 specific format
%G Activate caller ID evaluation
Selective call acceptance: Only calls from the stored caller IDs from &Z12 and
&Z13 are accepted, regardless of register S0.
%S Callback Security
%S0 Disable callback security
%S1 Enable callback security with password validation.
%S2 Enable password validation.
F Display All Stored Telephone Numbers
The command displays all stored telephone numbers.
S Receive SMS Messages
S0 Do not receive SMS messages
S1 Receive SMS messages. SMS messages are output to the V.24 (RS-232)
interface in a specific format.
S3 Control the modem via SMS messages (see “SMS Mode” on page 3-16)
*F Reset Modem
The AT*F command returns the modem to its default state.
All settings will be lost (telephone numbers/passwords/configurations).
*P=x Store a Password in the Permanent Memory
The *P=x command stores the password x (maximum of seven characters from the ASCII
character set, excluding question marks) in the permanent memory on the modem. No
password is stored on the modem by default. If no password is stored and the %S1 or %S2
command is activated, the modem skips the password request stage.
*P? Display Stored Password
The *P? command displays the stored password.
4-6 PHOENIX CONTACT 2548_en_A
*S=x Store a PIN Code in the Permanent Memory
The *S=x command stores the PIN code x (four or five numbers) in the permanent memory
on the modem. Following a voltage failure the PIN code is automatically entered again and
the modem dials into the GSM network.
This command has the same function as the AT$CPIN command (see page 4-14).
Make sure to use the right SIM card for the PIN code. The PIN code is always re-entered
in the event of a voltage failure. If an incorrect PIN code is entered, the SIM card is blocked
after three voltage interrupts.
All commands beginning with “+C” are temporary only. After a voltage reset, the values
will be reset to their default values and cannot be stored by using the &W command.
+CBST Modulation Method
The +CBST command specifies the modulation method.
+CBST=0 Automatic detection (default)
+CBST=1 300 bps (V.21)
+CBST=2 1200 bps (V.22)
+CBST=3 1200/75 bps (V.23)
+CBST=4 2400 bps (V.22bis)
+CBST=6 4800 bps (V.32)
+CBST=7 9600 bps (V.32)
+CBST=14 14400 bps (V.34)
+CBST=65 300 bps (V.110)
+CBST=66 1200 bps (V.110)
+CBST=68 2400 bps (V.110)
+CBST=70 4800 bps (V.110)
+CBST=71 9600 bps (V.110)
+CBST=75 14400 bps (V.110)
+CBST? Request the set modulation method
Answer: +CBST=”Modulation method”,0,1
+CGSN Request the IMEI
+CGSN is used to request the IMEI (International Mobile Equipment Identity).
+CLIP Caller Identification (CLIP)
+CLIP is used to enable or disable Calling Line Identification Presentation (caller ID).
Incoming calls receive the following additional message:
+CLIP: “Telephone number”, “Type”
If the telephone number includes the international dialing prefix “+”, “Type” = 145.
Otherwise “Type” = 129.
2548_en_A PHOENIX CONTACT 4-7
+CPIN? Read PIN Code Authentication
+CPIN? can be used to read the status of PIN code authentication.
Ready The PIN code has been entered correctly.
SIM PIN Enter the PIN code.
SIM PUK The PIN code has been entered incorrectly three times.
Enter the 8-digit PUK code.
+CPIN=x Enter the PIN Code
+CPIN=x is used to enter the PIN code (”x” = PIN code).
The PIN code is not stored using the +CPIN command. Following a voltage loss, the
modem cannot automatically dial into the network again. The command to “Store a PIN
Code in the Permanent Memory” on page 4-7 can remedy this situation.
+CPIN=x,n Enter the PUK Code
+CPIN=x,n is used to enter the 8-digit PUK code and the new 4-digit PIN code (”x” = PUK
code, “n” = new PIN code).
+CRC Additional Confirmations
The +CRC command enables or disables additional confirmations for incoming calls.
+CRC=0 No additional conformations (default)
+CRC=1 Enable additional confirmations
+CRC? Request setting
+CRING: “Message” is displayed instead of RING.
”DATA” Data call
”FAX” Fax call
”VOICE” Voice call
The AT+CRC=1 command can result in connection problems with software that expects
a normal RING as confirmation.
4-8 PHOENIX CONTACT 2548_en_A
+CREG Network Status
The +CREG command enables or disables the confirmation for the network status.
+CREG=0 No confirmations for the network status (default)
+CREG=1 Enable confirmations for the network status
When confirmations for the network status are enabled, one of the following messages is
displayed each time the network status changes:
+CREG: 0 Not dialed in because an incorrect PIN code was entered or no SIM card
+CREG: 1 Dialed into the local network
+CREG: 2 Not dialed in, searching for network
+CREG: 3 Not dialed in because it is not possible to dial into the network.
+CREG: 4 Not used
+CREG: 5 Dialed into an external network (roaming)
These messages can also be requested manually using the +CREG? command.
+CSNS Procedure for Single Numbers
In the GSM network, call signals usually include additional information indicating whether it
is a data or voice call. The network operator also assigns different telephone numbers for
data or voice connections. If the network operator (service provider) only uses a single
number system, the +CSNS command can be used to specify how the modem should
interpret a call without additional information.
+CSNS=0 Voice: All calls without additional information are interpreted as voice
+CSNS=2 Fax: All calls without additional information are interpreted as fax calls.
+CSNS=4 Data: All calls without additional information are interpreted as data
2548_en_A PHOENIX CONTACT 4-9