user manual um en psi-gprs/gsm-modem/rs232-
DESCRIPTION
TRANSCRIPT
INTERFACE
User Manual
GPRS/GSM Modem
UM EN PSI-GPRS/GSM-MODEM/RS232-QB…
Designation:
Revision:
Order No.:
This user manual is valid for:
INTERFACE
2548_en_A PHOENIX CONTACT
06/2008
GPRS/GSM Modem
UM EN PSI-GPRS/GSM-MODEM/RS232-QB…
A
Designation Version Order No.
PSI-GPRS/GSM-MODEM/RS232-QB-USA 2900059
PSI-GPRS/GSM-MODEM/RS232-QB-CA 2900060
User Manual
PSI-GPRS/GSM-MODEM/RS232-QB…
PHOENIX CONTACT 2548_en_A
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
this manual.
Explanation of Symbols Used and Signal Words
The following types of messages provide information about possible property damage and
general information concerning proper operation and ease-of-use.
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.
DANGER
This indicates a hazardous situation which, if not avoided, will result in death or serious
injury.
WARNING
This indicates a hazardous situation which, if not avoided, could result in death or serious
injury.
CAUTION
This indicates a hazardous situation which, if not avoided, could result in minor or
moderate injury.
NOTE
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
property.
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.
PSI-GPRS/GSM-MODEM/RS232-QB…
2548_en_A PHOENIX CONTACT
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,
etc.).
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
user.
PSI-GPRS/GSM-MODEM/RS232-QB…
PHOENIX CONTACT 2548_en_A
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:
www.phoenixcontact.com.
Make sure you always use the latest documentation.
It can be downloaded at:
www.download.phoenixcontact.com.
A conversion table is available on the Internet at:
www.download.phoenixcontact.com/general/7000_en_00.pdf.
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 .
Should you have any suggestions or recommendations for improvement of the contents and
layout of our manuals, please send your comments to
PHOENIX CONTACT GmbH & Co. KG
Flachsmarkstraße 8
32825 Blomberg
Germany
Phone +49 - (0) 52 35 - 3-00
Fax +49 - (0) 52 35 - 3-4 12 00
2548_en_A PHOENIX CONTACT i
Table of Contents
1 GPRS/GSM Modem ................................................................................................................1-1
1.1 Short Description................................................................................................1-1
1.2 Ordering Data.....................................................................................................1-2
1.3 Technical Data ...................................................................................................1-2
2 Hardware Installation ...............................................................................................................2-1
2.1 Structure.............................................................................................................2-1
2.2 Operating Elements............................................................................................2-2
2.3 Electrical Connections........................................................................................2-3
2.3.1 Block Diagram ....................................................................................2-4
2.3.2 V.24 (RS-232) Interface ......................................................................2-5
2.3.3 Antenna ..............................................................................................2-7
2.3.4 SIM Card .............................................................................................2-8
2.3.5 Supply Voltage ..................................................................................2-10
2.3.6 Switching Inputs ................................................................................2-11
2.3.7 Switching Output ...............................................................................2-11
3 Software Installation ................................................................................................................3-1
3.1 System Requirements ........................................................................................3-1
3.2 PSI-MODEM-CONF Configuration Software ......................................................3-2
3.2.1 Installation ...........................................................................................3-2
3.2.2 Operation ............................................................................................3-6
4 AT Commands.........................................................................................................................4-1
4.1 Command Descriptions ......................................................................................4-2
4.2 S Registers.......................................................................................................4-19
4.3 Modem Confirmations ......................................................................................4-21
5 Configuration Help...................................................................................................................5-1
5.1 Programming Connection for Phoenix Contact Controllers ................................5-1
5.2 Programming Connection to Siemens S7 300/400 Using TeleService Software 5-4
PSI-GPRS/GSM-MODEM/RS232-QB…
ii PHOENIX CONTACT 2548_en_A
GPRS/GSM Modem
2548_en_A PHOENIX CONTACT 1-1
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
protection.
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
networks.
– GSM (Global System for Mobile Communication) and GPRS (General Packet Radio
Service)
– Quad band (850 MHz/900 MHz/1800 MHz/1900 MHz)
– Password-protected access/call-back function/selective call acceptance
– Firewall
– 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
PSI-GPRS/GSM-MODEM/RS232-QB…
1-2 PHOENIX CONTACT 2548_en_A
1.2 Ordering Data
1.3 Technical Data
ModemDescription Type Order No. Pcs./Pkt
GPRS/GSM modem, DIN rail-mountable, GSM + GPRS, 850 MHz/900
MHz/1800 MHz/1900 MHz, V.24 (RS-232) interface, alarm input and output,
supply voltage 10 V DC ... 30 V DC
PSI-GPRS/GSM-MODEM/RS232-QB-
USA
2900059 1
GPRS/GSM modem, DIN rail-mountable, GSM + GPRS, 850 MHz/900
MHz/1800 MHz/1900 MHz, V.24 (RS-232) interface, alarm input and output,
supply voltage 10 V DC ... 30 V DC
PSI-GPRS/GSM-MODEM/RS232-QB-CA 2900060 1
Scope of supply: modem, CD with configuration software, and user manual
AccessoriesDescription Type Order No. Pcs./Pkt
Quad band antenna with omni-directional
characteristics,
Antenna cable with SMA circular connector
Degree of protection
Dimensions
2 m
IP65
76 mm x 20 mm
PSI-GSM/UMTS-QB-ANT 2313371 1
System power supply,
primary switched
Input voltage range
Nominal output voltage
Nominal output current
45 Hz ... 65 Hz
85 V AC ... 264 V AC
24 V DC ±1%
1.5 A
MINI-SYS-PS-100-240AC/24DC/1.5 2866983 1
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
to a 9-pos. device interface
9-pos. D-SUB/
9-pos. D-SUB
(female/female)
PSM-KA9SUB9/BB/2METER 2799474 1
Power SupplySupply voltage 10 V DC ... 30 V DC
via COMBICON plug-in screw terminal block
Frequency DC
Current consumption
Nominal operation
Sleep mode (can be configured via software)
< 100 mA at 24 V
< 60 mA at 24 V
LED indicators VCC (green LED):
Flashing: Operation
V.24 (RS-232) InterfaceConnection 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
GPRS/GSM Modem
2548_en_A PHOENIX CONTACT 1-3
GSMFrequencies 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
DCE/DCE
Fax
GPRS
Automatic adjustment
300 baud ... 14.4 kbaud
2400 baud ... 14.4 kbaud
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 OutputsSwitching 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– SMS– Fax– Output control at the opposite station (via SMS)
Switching output Transistor output to the backplane, activated by:
– Input control at the opposite station– SMS– 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 MemoryText memory
SMS
Fax
160 characters
160 characters
Telephone number memory 10 telephone numbers with a maximum of 36 digits
PSI-GPRS/GSM-MODEM/RS232-QB…
1-4 PHOENIX CONTACT 2548_en_A
General DataCE conformance According to R&TTE directive 1999/5/EC
Ambient operating temperature range -25°C ... +60°C
Housing
Material
Dimensions (H x W x D)
ME 35 with 5-pos. bus contact and ground contact
ABS-V0, green
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
Operation
Storage
According to EN 60068-2-27
15g, 11 ms, half-sine shock pulse
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/EECElectrostatic discharge (ESD) EN 61000-4-2 Criterion B
8 kV air discharge
6 kV contact discharge
Electromagnetic HF field
Amplitude modulation
Pulse modulation
EN 61000-4-3 Criterion A
10 V/m
10 V/m
Fast transients (burst)
Signal
Power supply
EN 61000-4-4
Criterion A
1 kV/5 kHz
Criterion A
1 kV/5 kHz
Criterion B
2 kV/ 5 kHz
Surge current load
Signal
Power supply
EN 61000-4-5 Criterion B
1 kV
2 kV
Conducted interference EN 61000-4-6 Criterion A
10 V
Noise emission EN 55022 + A1 + A2 Limiting curve B
Conformance According to R&TTE Directive 1999/5/ECEMC
Immunity to interference
(electromagnetic compatibility)
EN 61000-6-2 Generic standard for the industrial
sector
Safety
Protection of personnel with regard to electrical safety EN 60950
Health
Limitation of exposure of the population to electromagnetic fields EC Gazette 1999/519/EC EC Council recommendation of
July 12, 1999
Radio
Effective use of the frequency spectrum and prevention of radio interference EN 301511
Hardware Installation
2548_en_A PHOENIX CONTACT 2-1
2 Hardware Installation
2.1 Structure
Housing Dimensions
Figure 2-1 Housing dimensions
• Mount the modem on a 35 mm EN DIN rail (see Figure 2-2).
Figure 2-2 Mounting
CAUTION:
Only mount and remove modules when the power supply is disconnected.
WARNING:
The DIN rail must be connected to PE to ensure safe operation.
103239A007
123,5 22,5
99
PSI-GPRS/GSM-
MODEM/RS232-QB
Ord.-No. 23 13 106
RS
232
NET
DCD
ALR
SIM
VCC
RD
AN
T
102678A002
PSI-GPRS/GSM-MODEM/RS232-QB…
2-2 PHOENIX CONTACT 2548_en_A
2.2 Operating Elements
Figure 2-3 Operating elements
103239A008
PSI-GPRS/GSM-
MODEM/RS232-QB
Ord.-No. 23 13 106
RS
232
NET
DCD
ALR
SIM
VCC
RD
AN
T
1 42 3
10
9
8
7
13
12
11
5
6
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))
Connectors
5 SMA antenna connection
6 V.24 (RS-232) data interface, 9-pos. D-SUB
LEDs
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
Hardware Installation
2548_en_A PHOENIX CONTACT 2-3
2.3 Electrical Connections
DANGER:
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
injury.
PSI-GPRS/GSM-MODEM/RS232-QB…
2-4 PHOENIX CONTACT 2548_en_A
2.3.1 Block Diagram
Figure 2-4 Block diagram
IN1
IN2
EEPROM
3
2
7
8
6
4
5
TxD
RxD
RTS
CTS
DSR
DTR
RI
GND
9
1 DCD
RS
-23
2
D-SUB9
An
ten
na
Inp
ut
COMBICON
Ba
ck
pla
ne
Ba
ck
pla
ne
U
24 V
0 V
24 V
5 V
-
SMA
+
Engine
GSM
µC
103239A010
Hardware Installation
2548_en_A PHOENIX CONTACT 2-5
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
handshake).
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.
NOTE
The modem may only be connected to devices, which meet the requirements of
EN 60950 (“Safety of Information Technology Devices”).
PSI-GPRS/GSM-MODEM/RS232-QB…
2-6 PHOENIX CONTACT 2548_en_A
Figure 2-5 V.24 (RS-232) interface
Table 2-1 Meaning of the terminal designations
Designation Meaning
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
32 3
23 2
74 7
85 8
420 4
66 6
57 5
TxD
RxD
RTS
CTS
DTR
DSR
GND
TxD
RxD
RTS
CTS
DTR
DSR
GND
D-SUB
25 9
D-SUB15 m,
max.
922 9RI RI
18 1DCD DCD
PC/PLC Modem
102678A003
9
Hardware Installation
2548_en_A PHOENIX CONTACT 2-7
2.3.3 Antenna
Antenna Connection
• Connect the antenna cable with an SMA connector on the front of the device.
Figure 2-6 Antenna connection with SMA connector
Antenna Installation
• 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.
• Secure the antenna using the washer and nut provided:
Figure 2-7 PSI-GSM/UMTS-QB-ANT antenna installation
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.
103239A004
A
B
102678A005
PSI-GPRS/GSM-MODEM/RS232-QB…
2-8 PHOENIX CONTACT 2548_en_A
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.
Opening the housing If necessary for replacement, the SIM card can be removed from the PCB.
• Open the housing to access the PCB inside. Release the tabs on the housing cover
(see Figure 2-9).
SIM Card
Label
It is recommended that you enter the PIN code as described in section
“PSI-MODEM-CONF Configuration Software” on page 3-2.
WARNING:
Disconnect the device power supply before opening the housing.
The device only supports 3 V SIM cards.
Hardware Installation
2548_en_A PHOENIX CONTACT 2-9
Figure 2-9 Opening the housing
• Separate the upper and lower housing pieces. The PCB is attached to the upper portion
of the housing.
103239A011
PS
I-G
SM
-M
OD
EM
/RS
23
2-Q
BO
rd.-N
o.2
31
31
06
GP
RS
/
VC
C
RD
AL
R
NE
T
DC
D
SIM
ANT
B A
A
PSI-GPRS/GSM-MODEM/RS232-QB…
2-10 PHOENIX CONTACT 2548_en_A
• 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 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.
NOTE
The PSI-GPRS/GSM-MODEM/RS232-QB… is designed exclusively for SELV operation
according to IEC 60950/EN 60950/VDE 0805.
Hardware Installation
2548_en_A PHOENIX CONTACT 2-11
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)..
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).
Table 2-2 Switching inputs on the plug-in screw terminal block
Connection Meaning
IN1 (switching input 1)
IN2 (switching input 2)
10 - 30 V DC
0V (on the same potential level as 0 V
(supply voltage))
0 V
103239A006
24V 0V IN1 IN2
24 V IN20 V IN1
PSI-GPRS/GSM-MODEM/RS232-QB…
2-12 PHOENIX CONTACT 2548_en_A
Software Installation
2548_en_A PHOENIX CONTACT 3-1
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.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-2 PHOENIX CONTACT 2548_en_A
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.
3.2.1 Installation
• 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
“...:\PSI-CONF” directory.
Starting installation
• Close all other applications and click “Next”.
Software Installation
2548_en_A PHOENIX CONTACT 3-3
Accepting the terms of the
license agreement
• Read the terms of the software license agreement thoroughly and click “Yes” to accept
them.
Now select a specific installation folder.
The default path is “C:\Program Files\PSI-MODEM-CONF”.
Selecting an
installation folder
• If necessary, select a different folder and click “Next”.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-4 PHOENIX CONTACT 2548_en_A
Selecting shortcuts
• 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”.
Start copying
• Click “Next” to start copying the files. This may take a few seconds depending on the
system.
Software Installation
2548_en_A PHOENIX CONTACT 3-5
Finishing installation
• Exit setup by clicking “Finish”.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-6 PHOENIX CONTACT 2548_en_A
3.2.2 Operation
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
Software Installation
2548_en_A PHOENIX CONTACT 3-7
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
• Confirm with “OK” to save the settings.
Modifying the baud rate is possible only via AT commands (refer to section 4).
PSI-GPRS/GSM-MODEM/RS232-QB…
3-8 PHOENIX CONTACT 2548_en_A
• 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
input.
Software Installation
2548_en_A PHOENIX CONTACT 3-9
Input 1
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.
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
160 characters.
• 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).
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.
You can send fax and SMS messages simultaneously.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-10 PHOENIX CONTACT 2548_en_A
Fax
• 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
160 characters.
• 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.
Software Installation
2548_en_A PHOENIX CONTACT 3-11
Switching output
• 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.
NOTE:
For this function, the partner modem must be a “PSI-GSM/GPRS-MODEM/RS232”
modem (Order No. 2708630).
PSI-GPRS/GSM-MODEM/RS232-QB…
3-12 PHOENIX CONTACT 2548_en_A
Message
• 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.
Input 2
Switching input 2 is configured in the same way after selecting the “Input 2” tab.
Software Installation
2548_en_A PHOENIX CONTACT 3-13
Connection Test
The “Connection Test” function can be used to check the receive quality of the modem.
• 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.
Default Setting
The “Default Setting” function resets the modem to the default settings.
• To do this, click on the “Default Setting” button.
File Functions
Precise indication is only possible if the modem is logged into the network.
When the modem is reset to the default setting all passwords and telephone numbers are
deleted.
Creates a new project file with the default settings.
Opens a saved project file.
Saves the current settings.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-14 PHOENIX CONTACT 2548_en_A
GSM+GPRS Configuration
• Click on the “Settings” button.
This opens the “GSM+GPRS Configuration” window.
Figure 3-3 “GSM+GPRS Configuration” window
Software Installation
2548_en_A PHOENIX CONTACT 3-15
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
switched on.
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)
interface.
– 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
flow control.
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
characters.
– 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
used.
– 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
page 4-21.
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.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-16 PHOENIX CONTACT 2548_en_A
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
SMS provider.
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:
#<Password>:<Command>
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:
#12345:<Command>
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.
Examples
#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
GSM network.
For security reasons, the PIN code cannot be read from the modem by the configuration
software.
NOTE:
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.
Software Installation
2548_en_A PHOENIX CONTACT 3-17
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
connection.
• Select “Client” if the modem is to establish a connection to a specific IP address
automatically.
• 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.
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.
Password
Enter the password here.
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.
Automatic call acceptance must be activated for all password-protected functions.
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.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-18 PHOENIX CONTACT 2548_en_A
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:
<CRLF>RING<CRLF> +CLIP: “+4952351234...”<CRLF><CRLF>RING<CRLF>
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
for details.
• Under “APN” (Access Point Name), enter the name of the provider's access point,
e.g., c1.korem2m.com.
• Under “User ID”, enter the user ID, e.g., [email protected].
• 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., 178.104.112.5.
• 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 197.158.1.1 to 197.158.255.255.
Software Installation
2548_en_A PHOENIX CONTACT 3-19
To do this, make the following settings:
– Address 1: 197.158.1.1
– 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),
e.g., 178.104.112.4.
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
entered.
PSI-GPRS/GSM-MODEM/RS232-QB…
3-20 PHOENIX CONTACT 2548_en_A
AT Commands
2548_en_A PHOENIX CONTACT 4-1
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.
Modes
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.
Command Structure
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.
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.
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.
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.
PSI-GPRS/GSM-MODEM/RS232-QB…
4-2 PHOENIX CONTACT 2548_en_A
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.
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.
D Dial
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
commands:
DL Redial
The DL command instructs the modem to redial the last dialed telephone number.
E Echo
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.
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).
, Pause
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.
Most systems operate in full duplex mode. In this case, enable the echo function with the
E1 command.
If working in half duplex mode, disable the echo function with the E0 command.
AT Commands
2548_en_A PHOENIX CONTACT 4-3
+++ 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)
I Identification
Q Modem Messages
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
page 4-19).
V Alpha or Numeric Responses
The modem displays responses on-screen (see section “Modem Confirmations” on
page 4-21).
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
Q0 Information from the modem about its status and display of confirmations on the
PC screen.
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.
V0 Display numeric confirmations. This option can be used if the software package or
PLC only supports numeric confirmations.
V1 Display alpha confirmations (default).
PSI-GPRS/GSM-MODEM/RS232-QB…
4-4 PHOENIX CONTACT 2548_en_A
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:
Y Break Signal
Z Reset
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.
&C Carrier Detect Signal
&D Data Terminal (PC) Ready Signal (DTR)
&F Factory Configuration
The &F command (default) restores the factory settings with enabled hardware flow control.
X0 Hayes Smart Modem 300-compatible answering/dummy dialing (private branch
exchange)
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
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.
Z0 Reset and activate stored configuration profile 0.
Z1 Reset and activate stored configuration profile 1.
&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).
&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
DTR line.
&D3 Hang up, reset, and return to command mode if the modem detects a falling edge
on the DTR line.
AT Commands
2548_en_A PHOENIX CONTACT 4-5
&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).
&O Local Switching Output
&S DSR Options
&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.
&W Save Active Configuration
This command saves the active configuration in the permanent memory.
&Y Select Active Profile
The &Y command specifies which stored profile is loaded when the modem is switched on
or reset.
&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.
&O0 Reset the local switching output
&O1 Set the local switching output
&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.
NOTE:
This command cannot be activated when the modem is online.
&W0 Store the active settings as configuration profile 0.
&W1 Store the active settings as configuration profile 1.
&Y0 Use configuration profile 0 (default).
&Y1 Use configuration profile 1.
PSI-GPRS/GSM-MODEM/RS232-QB…
4-6 PHOENIX CONTACT 2548_en_A
&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
10).
%G Caller ID
%S Callback Security
\F Display All Stored Telephone Numbers
The command displays all stored telephone numbers.
\S Receive SMS Messages
*F Reset Modem
The AT*F command returns the modem to its default state.
*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.
%G
0
Disable the caller ID function
%G
1
Activate caller ID output. The caller ID is output to the V.24 (RS-232) interface in a
specific format
%G
3
Activate caller ID evaluation
Selective call acceptance: Only calls from the stored caller IDs from &Z12 and
&Z13 are accepted, regardless of register S0.
%S0 Disable callback security
%S1 Enable callback security with password validation.
%S2 Enable password validation.
\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)
NOTE:
All settings will be lost (telephone numbers/passwords/configurations).
AT Commands
2548_en_A PHOENIX CONTACT 4-7
*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).
+CBST Modulation Method
The +CBST command specifies the modulation method.
+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.
NOTE:
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=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
PSI-GPRS/GSM-MODEM/RS232-QB…
4-8 PHOENIX CONTACT 2548_en_A
+CPIN? Read PIN Code Authentication
+CPIN? can be used to read the status of PIN code authentication.
+CPIN=x Enter the PIN Code
+CPIN=x is used to enter the PIN code (”x” = PIN code).
+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.
+CRING: “Message” is displayed instead of RING.
Messages:
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.
NOTE:
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.
+CRC=0 No additional conformations (default)
+CRC=1 Enable additional confirmations
+CRC? Request setting
”DATA” Data call
”FAX” Fax call
”VOICE” Voice call
NOTE:
The AT+CRC=1 command can result in connection problems with software that expects
a normal RING as confirmation.
AT Commands
2548_en_A PHOENIX CONTACT 4-9
+CREG Network Status
The +CREG command enables or disables the confirmation 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:
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.
+CREG=0 No confirmations for the network status (default)
+CREG=1 Enable confirmations for the network status
+CREG: 0 Not dialed in because an incorrect PIN code was entered or no SIM card
present.
+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)
+CSNS=0 Voice: All calls without additional information are interpreted as voice
calls.
+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
calls.
+CSNS? Request
PSI-GPRS/GSM-MODEM/RS232-QB…
4-10 PHOENIX CONTACT 2548_en_A
+CSQ Signal Quality
The +CSQ command requests the signal quality.
Confirmation: +CSQ: “Signal strength”, “Bit error rate”
Signal strength
Bit error rate
+ICF Data Format
The AT+ICF command specifies the data format of the V.24 (RS-232) interface.
AT+ICF=”Data”, “Parity”
Data
Parity
Example:
AT+ICF=3 → 8N1 (8 data bits, no parity, 1 stop bit)
AT+ICF=2,0 → 8O1 (8 data bits, odd parity, 1 stop bit)
0 -113 dBm or less
1 -111 dBm
2...30 -109 dBm ... -53 dBm
31 -51 dBm or more
99 Unknown or cannot be measured
0 < 0.2%
1 0.2% ... 0.4%
2 0.4% ... 0.8%
3 0.8% ... 1.6%
4 1.6% ... 3.2%
5 3.2% ... 6.4%
6 6.4% ... 12.8%
7 > 12.8%
(0) Automatic data format detection (in future)
1 8 data bits, 2 stop bits
2 8 data bits, 1 parity bit, 1 stop bit
3 8 data bits, 1 stop bit
4 7 data bits, 2 stop bits
5 7 data bits, 1 parity bit, 1 stop bit
0 Odd
1 Even
AT Commands
2548_en_A PHOENIX CONTACT 4-11
+IFC Flow Control
The AT+IFC command specifies the flow control of the V.24 (RS-232) interface.
This command has the same function as the AT&K command (see page 4-5).
AT+IFC=”Receive”, “Send”
Receive
Send
Example:
AT+IFC=0,0 → No flow control, in both directions
+IPR Baud Rate
The AT+IPR command specifies the baud rate of the V.24 (RS-232) interface.
$ADDR Partner Address
This setting is only required if the modem is set to “Client” GPRS mode. Enter the IP address
of the partner (the server) or a URL.
Example:
AT$ADDR=178.104.112.4
AT$ADDR=test.dyndns.org
0 No flow control
1 XON/XOFF (software handshake)
2 C105 (RTS) (hardware handshake)
0 No flow control
1 XON/XOFF (software handshake)
2 C106 (CTS) (hardware handshake)
(0) Automatic baud rate detection (in future)
300 300 bps
1200 1200 bps
2400 2400 bps
4800 4800 bps
9600 9600 bps
19200 19,200 bps
38400 38,400 bps
57600 57,600 bps
115200 115,200 bps
PSI-GPRS/GSM-MODEM/RS232-QB…
4-12 PHOENIX CONTACT 2548_en_A
$ALRR Read the Alarm Functions of the Inputs
AT$ALRR=”input”
input
Response:
$ALRW: “input”, “msg”, “sms”, “fax”, “out”, “timer”
input
msg
sms
fax
out
timer
1 Alarm input 1
2 Alarm input 2
1 Alarm input 1
2 Alarm input 2
0 Activation of the alarm input is not indicated.
1 Activation of the alarm input is indicated on the V.24 (RS-232) interface.
0 No SMS message is sent on activation of the alarm input.
1 An SMS message is sent on activation of the alarm input.
0 No fax message is sent on activation of the alarm input.
1 A fax message is sent on activation of the alarm input.
0 No output is set on activation of the alarm input.
1 The output at the partner is set on activation of the alarm input.
0 Automatic reset of the alarm input is deactivated.
1...255 The alarm input is reset automatically after the specified time in minutes has
elapsed.
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.
AT Commands
2548_en_A PHOENIX CONTACT 4-13
$ALRS Display the Status of the Inputs
AT$ALRS=”input”
input
Response:
$ALRS: “input”, “status”
input
status
$ALRW Specify the Alarm Functions for the Inputs
AT$ALRW=”input”, “msg”, “sms”, “fax”, “out”, “timer”
input
msg
sms
fax
out
1 Alarm input 1
2 Alarm input 2
1 Alarm input 1
2 Alarm input 2
0 No alarm active
1 Alarm message has been processed
2 Alarm active: Set partner output
3 Alarm active: Send SMS message
4 Alarm active: Send fax message
5 Error message
1 Alarm input 1
2 Alarm input 2
0 Activation of the alarm input is not indicated.
1 Activation of the alarm input is indicated on the V.24 (RS-232) interface.
0 No SMS message is sent on activation of the alarm input.
1 An SMS message is sent on activation of the alarm input.
0 No fax message is sent on activation of the alarm input.
1 A fax message is sent on activation of the alarm input.
0 No output is set on activation of the alarm input.
1 The output at the partner is set on activation of the alarm input.
PSI-GPRS/GSM-MODEM/RS232-QB…
4-14 PHOENIX CONTACT 2548_en_A
timer
$APN Access Point Name
Enter the name of the provider's access point here.
Example:
AT$APN=c1.korem2m.com
$CPIN Store a PIN Code in the Permanent Memory
This command has the same function as the AT*S command (see page 4-7).
$DSTO Timeout for Data Transmission via GPRS
This time is used if the amount of data to be sent is smaller than the packet size. Once the
time has elapsed, the data is sent even though the complete packet size has not yet been
reached.
Example:
AT$DSTO=10 → 1-second timeout
$FAXR Request Stored Fax Messages
AT$FAXR=”input”
input
$FAXW Store Fax Messages
AT$FAXW=”input”, “number”
A prompt “>” appears when “ENTER” is pressed. The fax text (160 characters, maximum)
can be entered after the prompt. Press “Ctrl+Z” (0x1A hex) to store the message.
input
number
Enter the fax number here.
As soon as the corresponding alarm input is activated, the modem sends the fax
automatically.
0 Automatic reset of the alarm input is deactivated.
1...255 The alarm input is reset automatically after the specified time in minutes has
elapsed.
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.
1 Alarm input 1
2 Alarm input 2
1 Alarm input 1
2 Alarm input 2
AT Commands
2548_en_A PHOENIX CONTACT 4-15
$FRWL GPRS Server Firewall
This setting is only required if the modem is set to “Server” GPRS mode. The firewall is a
filter, which only allows specific IP addresses to access the modem. Enter the enabled
IP address and the corresponding subnet mask.
AT$FRWL=”Address”, “Mask”
Example:
AT$FRWL=178.104.112.5, 255.255.255.255
You can also enable an address area.
Example: The address area from 197.158.1.1 to 197.158.255.255 is to be enabled. To do
this, make the following settings:
AT$FRWL=197.158.1.1, 255.255.0.0
Request with AT$FRWL?
$GPRS GPRS Mode
In order to establish a TCP/IP connection, one device must be the client and the other the
server. The client is the initiator and establishes the connection, while the server accepts the
connection.
The PSI-MODEM-CONF software offers the following options (see Figure 3-3 on page 3-14
and page 3-17):
– ”Client” if the modem is to establish a connection to a specific IP address automatically.
– ”Server” if another device is to establish a connection to the modem.
– ”Activate context only” if the modem is to establish a variable connection to various IP
addresses. Here, the connection is established using the AT#SKTD AT command (see
page 4-18).
$OUTR Request the Stored Configuration for Remote Switching of the Output
AT$OUT=”input”
input
0 No GPRS connection
1 GPRS context only
2 GPRS server
3 GPRS client
4 Automatic dial-up line connection (CSD). The modem dials the phone number
stored under &Z0.
1 Alarm input 1
2 Alarm input 2
PSI-GPRS/GSM-MODEM/RS232-QB…
4-16 PHOENIX CONTACT 2548_en_A
$OUTW Configuration of Remote Switching of the Output
AT$OUTW=”input”, “number”, “pass”
input
number
Enter the partner phone number.
pass
Enter the password.
As soon as the corresponding alarm input is activated, the modem sets the output at the
partner.
$PASS Password
Enter the password for the user ID ($USER).
Example:
AT$PASS=hallo
$PORT Socket Port
Enter the socket port for the TCP/IP connection. For a connection between two modems,
set the port to 1023 (default).
$SIM Request the SIM Status
Response:
$SIM:x
$SKTO Timeout for GPRS Inactivity
Terminates the socket connection and the GPRS context if no data is transmitted for the
duration of the set time.
Example:
AT$SKTO=30 → 30-second timeout
1 Alarm input 1
2 Alarm input 2
0 SIM status unknown
1 No SIM card inserted
2 SIM card inserted
3 PIN entry required
4 SIM card ready to operate
5 Incorrect PIN entered
AT Commands
2548_en_A PHOENIX CONTACT 4-17
$SMSR Request Stored SMS Messages
AT$SMSR=”input”
input
$SMSW Store SMS Messages
AT$SMSW=”input”, “number1”, “number2”
A prompt “>” appears when “ENTER” is pressed. The SMS text (160 characters, maximum)
can be entered after the prompt. Press “Ctrl+Z” (0x1A hex) to store the message.
input
number1
Enter phone number 1.
number2
A second phone number can be entered as an option.
As soon as the corresponding alarm input is activated, the modem sends the message
automatically.
$SOCK Request the Socket Status (Current GPRS Connection Status)
Response:
$SOCK: a,b
a
b
1 Alarm input 1
2 Alarm input 2
1 Alarm input 1
2 Alarm input 2
0 idle
1 GPRS context deactivated
2 APN setup OK
3 User setup OK
4 Password setup OK
5 GPRS context activated
6 Connection timeout OK
7 Data timeout OK
8 Firewall OK
0 Connection is not active
1 GPRS context active
2 GPRS server waiting for connection
3 GPRS client connection active
4 CSD (dial-up line connection) active
PSI-GPRS/GSM-MODEM/RS232-QB…
4-18 PHOENIX CONTACT 2548_en_A
$USER User ID
Enter the user ID.
Example:
#SKTD Socket Dial
If the modem is to establish a variable connection to various IP addresses, use the
AT#SKTD AT command. To do this, the modem must be in “GPRS=1” mode (see
AT$GPRS command on page 4-15).
AT#SKTD=”type”, “port”, “addr”
type
port
addr
Enter the IP address of the partner (the server) using the format “xxx.xxx.xxx.xxx”. A URL
can also be entered as an alternative.
0 TCP (default)
1 UDP
0...65535 Number of the remote port. Default: 1023
AT Commands
2548_en_A PHOENIX CONTACT 4-19
4.2 S Registers
The modem contains registers. These registers influence the operating characteristics of
the modem, sends the information via the modem, and enables you to test the modem. The
values of certain registers can be modified using specific commands. If you use a command
to modify a register value, this command remains active until you switch off or reset the
modem. The modem then reverts back to the operating characteristics stored in its
permanent memory.
Sr? Read a Register Value
Use the Sr? command to read the current value of a register:
The modem displays a three-digit decimal value for the register.
Sr=n Modify a Register Value
Use the Sr=n command to modify the current value of a register:
Description of the S Registers
S0 Number of Rings Before Automatically Answering (Auto Answer)
Register S0 specifies the number of rings after which the modem can automatically respond
to incoming calls.
Default: 0 (this value disables automatic call acceptance).
S2 Escape Character
Register S2 specifies the ASCII value of the Escape character.
Default: 43
(This value corresponds to the ASCII character “+”. This can be changed to any value
between 0 and 255. Values greater than 127 disable the Escape function and prevent reset
to command mode.)
S3 Carriage Return
Register S3 defines the ASCII value of the carriage return character. This character is used
to terminate a command line and enables the modem to execute this line. In addition, this
character appears after the response that the modem sends to you.
Default: 13
(Any ASCII value between 0 and 127 can be used. This may be required if you have a non-
standard device.)
S4 Line Feed
Register S4 specifies the ASCII value of the line feed character. The modem sends the
character for the line feed after a carriage return character. If you wish to prevent a line feed,
set the value in this register to zero. It is not possible, however, to disable a line feed
character.
r Register number (0 ... 104)
r Register number (0 ... 104)
n New value
PSI-GPRS/GSM-MODEM/RS232-QB…
4-20 PHOENIX CONTACT 2548_en_A
Default: 10
(Any ASCII value between 0 and 127 can be used.)
S5 Backspace Character
Register S5 specifies the ASCII value of the backspace character. This character is
generated when the backspace key is pressed and when the cursor is moved to the left.
Default: 8
(Other ASCII values between 0 and 32 or the value 127 can be used.)
S12 Waiting Time for Detecting the Escape Character
Register S12 specifies how long the modem should wait once the Escape string has been
entered before identifying the escape character and displaying an OK message.
This value is specified in units of 20 milliseconds (1/50 seconds).
Default: 50 (1 second)
(A smaller value may not leave enough time to type in three Escape characters before the
waiting time elapses.)
S25 Delay Time for Data Terminal Ready Status
This register specifies how long the modem needs to detect a change in the DTR signal. The
values are between 0 and 255 in units of 0.01 seconds.
Default: 0.05 seconds
A value between 33 and 126 may not be specified for the backspace character.
AT Commands
2548_en_A PHOENIX CONTACT 4-21
4.3 Modem Confirmations
Table 4-1 Modem confirmations
Word Number Meaning
OK 0 Modem has executed a command successfully.
CONNECT 1 Data connection has been established.
RING 2 Modem has detected a ring.
NO CARRIER 3 Carrier detect signal for the selected modem was
lost or was not detected within the time specified by
register S7.
ERROR 4 Error detected in the command line.
NO DIALTONE 6 No dial tone detected.
BUSY 7 Engaged tone received.
NO ANSWER 8 Partner not answering.
PSI-GPRS/GSM-MODEM/RS232-QB…
4-22 PHOENIX CONTACT 2548_en_A
Configuration Help
2548_en_A PHOENIX CONTACT 5-1
5 Configuration Help
5.1 Programming Connection for Phoenix Contact
Controllers
If you wish to use the modem in conjunction with Phoenix Contact controllers, you will need
a three-wire null modem cable with the following pin assignment.
A modem cable (1:1) with the following pin assignment is required to connect the modem to
the PC.
Modem Controller
Pin 2 Pin 3
Pin 3 Pin 2
Pin 5 Pin 5
Only pins 2, 3, and 5 may be used.
Modem PC
Pin 1 Pin 1
Pin 2 Pin 2
Pin 3 Pin 3
Pin 4 Pin 4
Pin 5 Pin 5
Pin 6 Pin 6
Pin 7 Pin 7
Pin 8 Pin 8
Pin 9 Pin 9
PSI-GPRS/GSM-MODEM/RS232-QB…
5-2 PHOENIX CONTACT 2548_en_A
Configuring the GSM Modem
The modem can be configured using a terminal program (e.g., HyperTerminal).
• Connect the modem to the PC (1:1 cable).
• Select a connection to COM1 (or COM2) with the following interface settings:
– 9600 bps– 8 data bits
– Even parity
– 1 stop bit– No flow control
The modem must be configured as follows when connecting to Phoenix Contact controllers:
• Enter the commands one at a time in the terminal program and press ENTER. Confirm
each command with OK.
If a PSI-DATA/FAX-MODEM/RS232 analog modem is used on one side, the following must
be configured:
• Following configuration of both modems, connect one modem to the PC and the other
modem to the controller.
• Start the terminal program with a connection to COM1 (or COM2) using the settings
above.
• In the terminal program, enter the ATD command plus the telephone number.
Example: ATD0160846738291
• Press ENTER. The modem starts dialing.
AT Command Function
AT&F Factory settings
ATS0=1 Automatic call acceptance
AT&D0 Ignore DTR signal
AT&K0 No data flow control
ATE0 Echo off
AT&W0 Save
AT Command Function
AT&F Factory settings
ATS0=1 Automatic call acceptance
AT&D0 Ignore DTR signal
AT&K0 No data flow control
AT\N0 No error correction
AT%C0 No data compression
ATE0 Echo off
AT&W0 Save
A modem driver is not required. If a driver is installed, make sure that interface COM1 (or
COM2) and not a modem is selected in the terminal program.
Configuration Help
2548_en_A PHOENIX CONTACT 5-3
• When the “Connect 9600” message appears, close the terminal program to enable the
interface again.
• Start PC WorX or Diag+ and begin programming.
• Close PC WorX and Diag+.
• Start the terminal program.
• Enter “+++”, without pressing ENTER.
• Wait for confirmation “OK”.
• Enter the ATH command and press ENTER.
• The modem hangs up.
On the PC and controller set Zvz and Qvz to 7000 ms. This involves an entry in the registry
on the PC and an addition to the project file on the controller (see user manual for the
relevant controller at www.download.phoenixcontact.com).
PSI-GPRS/GSM-MODEM/RS232-QB…
5-4 PHOENIX CONTACT 2548_en_A
5.2 Programming Connection to Siemens S7 300/400
Using TeleService Software
A TS adapter (Siemens Part No. 6ES7 972 - 0CA34-0XA0) is required to connect the PSI-
GPRS/GSM-MODEM/RS232-QB… to the Siemens MPI interface. The programming
connection is established using Siemens TeleService software.
A modem cable (1:1) with the following pin assignment is required to connect the modem to
the TS adapter.
A modem cable (1:1) with the following pin assignment is required to connect the modem to
the PG/PC.
• Install the modem driver for the corresponding modem (GSM or analog) on the PC.
Modem TS Adapter
Pin 1 Pin 1
Pin 2 Pin 2
Pin 3 Pin 3
Pin 4 Pin 4
Pin 5 Pin 5
Pin 6 Pin 6
Pin 7 Pin 7
Pin 8 Pin 8
Pin 9 Pin 9
Modem PG/PC
Pin 1 Pin 1
Pin 2 Pin 2
Pin 3 Pin 3
Pin 4 Pin 4
Pin 5 Pin 5
Pin 6 Pin 6
Pin 7 Pin 7
Pin 8 Pin 8
Pin 9 Pin 9
The “19200 bps default modem” can also be used by Windows as a modem driver.
Configuration Help
2548_en_A PHOENIX CONTACT 5-5
Configuration of the Modem on the PG/PC
The modem driver configures the modem automatically on the PG/PC.
Configuration of the Modem on the TS Adapter
The modem driver configures the modem automatically on the TS adapter.
The initialization string that is already stored in the TS adapter can be initialized without
modification.
• However, should any problems occur, configure the following entries in the TS adapter
via the TeleService software:
• The +++ATH command is used to hang up (default for modem and TS adapter). The
default transmission speed is 19200 bps.
AT Command Function
AT&F Factory settings
E1 Echo on
&K3 Confirmations on
\Q3 Data flow control: Hardware (RTS/CTS)
V1 Word confirmations
&C1 DCD, if carrier detected
S0=1 Automatic call acceptance after one ring
PSI-GPRS/GSM-MODEM/RS232-QB…
5-6 PHOENIX CONTACT 2548_en_A
2548_en_A PHOENIX CONTACT A-1
A Index
A
Access point .............................................................4-14
Access Point Name...................................................4-14
Accessories ................................................................1-2
Alarm functions of the inputs
Read....................................................................4-12
Specify ................................................................4-13
Alarm-Reset-Timer......................................................3-9
Answering, manual......................................................4-2
Antenna
Connection ............................................................2-7
Installation .............................................................2-7
APN ..........................................................................3-18
AT commands.............................................................4-1
Auto answer ..............................................................4-19
Automatic call acceptance ........................................3-15
B
Backspace character ................................................4-20
Baud rate ..................................................................4-11
Block diagram .............................................................2-4
C
Call acceptance
Automatic ............................................................3-15
Selective..............................................................3-18
Callback security.........................................................4-6
Caller ID ......................................................................4-6
Caller identification.............................................3-18, 4-7
Carriage return ..........................................................4-19
Carrier detect signal ....................................................4-4
Client................................................................3-17, 3-19
CLIP ...................................................................3-18, 4-7
Command mode .........................................................4-1
Configuration
Save ......................................................................4-5
Configuration profile....................................................4-5
Configuration software
Connection test ...................................................3-13
Default setting .....................................................3-13
Fax function.........................................................3-10
GSM/GPRS configuration ...................................3-14
Installation ......................................................3-1, 3-2
Interface configuration...........................................3-7
Language selection ...............................................3-7
SMS function.........................................................3-9
Start.......................................................................3-6
Confirmations.....................................................4-3, 4-21
Additional ..............................................................4-8
Setting...................................................................4-4
Connection ...............................................................2-11
Connection terminal blocks.........................................2-2
Connection test.........................................................3-13
Connectors .................................................................2-2
Controllers
Phoenix Contact....................................................5-1
Siemens S7 300/400 .............................................5-4
D
Data
Ordering ................................................................1-2
Technical...............................................................1-2
Data flow control ................................................3-15, 4-5
Data format ...............................................................4-10
Data mode ..................................................................4-1
DCD signal................................................................3-15
Default setting ....................................................3-13, 4-4
Description..................................................................1-1
Dimensions .................................................................2-1
Display telephone numbers ........................................4-6
DSR signal .........................................................3-15, 4-5
DTE flow control..........................................................4-5
DTR signal ................................................3-15, 4-4, 4-20
E
Echo...................................................................3-15, 4-2
Escape character ......................................................4-19
Waiting time ........................................................4-20
Escape string ..............................................................4-3
F
Factory configuration ..................................................4-4
Fax
Request...............................................................4-14
Store ...................................................................4-14
PSI-GPRS/GSM-MODEM/RS232-QB…
A-2 PHOENIX CONTACT 2548_en_A
Fax function via software...........................................3-10
Firewall.............................................................3-18, 4-15
Flow control......................................................3-15, 4-11
G
GPRS connection status ...........................................4-17
GPRS Mode.....................................................3-17, 4-15
GPRS Server Firewall ......................................3-18, 4-15
GPRS settings...........................................................3-18
GPRS/GSM modem
See modem
GSM/GPRS configuration .........................................3-14
H
Hardware flow control ...............................................3-15
Hook ...........................................................................4-3
Housing dimensions....................................................2-1
I
Identification................................................................4-3
IMEI.............................................................................4-7
Input
Display status ......................................................4-13
Read alarm function ............................................4-12
Specify alarm function .........................................4-13
Inputs
Connection ..........................................................2-11
Installation
Configuration software ...................................3-1, 3-2
Modem ..................................................................2-1
Interface
Configuration via software .....................................3-7
Connections ..........................................................2-6
Minimum configuration ..........................................2-5
V.24 (RS-232) .......................................................2-5
L
Language selection.....................................................3-7
LEDs ...........................................................................2-2
Line feed ...................................................................4-19
M
Manual answering.......................................................4-2
Message ...................................................................3-12
Minimum configuration................................................2-5
Modem
Installation .............................................................2-1
Reset.....................................................................4-4
Reset to default state.............................................4-6
Modem confirmations ...............................................4-21
Setting...................................................................4-4
Modem messages ......................................................4-3
Modem register...........................................................4-3
Modulation method .....................................................4-7
Mounting.....................................................................2-1
N
Network status ............................................................4-9
O
Ordering data..............................................................1-2
Output
Connection..........................................................2-11
Local .....................................................................4-5
P
Partner
Address...............................................................4-11
Password ..................................................................4-16
Delete..................................................................3-13
Display ..................................................................4-6
Entry via software................................................3-17
Store .....................................................................4-6
PIN code ............................................................2-8, 3-16
Entry......................................................................4-8
Store .....................................................................4-7
PIN code authentication..............................................4-8
Profile
Select active..........................................................4-5
PUK code
Entry......................................................................4-8
Index
2548_en_A PHOENIX CONTACT A-3
R
Receive SMS messages.............................................4-6
Redial..........................................................................4-2
Register ......................................................................4-3
Register value
Modify .................................................................4-19
Read....................................................................4-19
Register values ...........................................................4-3
Remote login.............................................................3-17
Remote switching
Configure.............................................................4-16
Request...............................................................4-15
Reset ..........................................................................4-4
Reset to default state ..................................................4-6
S
S registers.................................................................4-19
Selective call acceptance..........................................3-18
Server .......................................................................3-17
Short description.........................................................1-1
Signal quality.............................................................4-10
SIM card
Card holder ...........................................................2-8
PIN code ......................................................2-8, 3-16
SIM status .................................................................4-16
Single numbers ...........................................................4-9
SMA connector ...........................................................2-7
SMS
Request...............................................................4-17
Store....................................................................4-17
SMS function via software...........................................3-9
SMS mode ................................................................3-16
Socket dial ................................................................4-18
Socket Port ......................................................3-18, 4-16
Socket status ............................................................4-17
Software
See Configuration software
Software flow control.................................................3-15
Status of the inputs
Display ................................................................4-13
Store numbers ..........................................................3-17
Supply voltage ..........................................................2-10
Switching inputs
Connection ..........................................................2-11
Switching output ..............................................2-11, 3-11
Local .....................................................................4-5
T
Technical data ............................................................1-2
Telephone numbers
Delete..................................................................3-13
Store ............................................................3-17, 4-6
TeleService.................................................................5-4
Timeout
Data transmission................................................4-14
Inactivity ..............................................................4-16
Typing error.................................................................4-1
U
User ID......................................................................4-18
V
V.24 (RS-232) interface ..............................................2-5
Connections ..........................................................2-6
Minimum configuration ..........................................2-5
PSI-GPRS/GSM-MODEM/RS232-QB…
A-4 PHOENIX CONTACT 2548_en_A