User Manual PSI-DATA/FAX-MODEM/RS232 Industrial Modem Designation: PSI-DATA/FAX-MODEM/RS232 UM E Order No.
User Manual PSI-DATA/FAX-MODEM/RS232 Industrial Modem Designation: PSI-DATA/FAX-MODEM/RS232 UM E Revision: 02 Order No.: 26 99 35 4 This user manual is valid for: PSI-DATA/FAX-MODEM/RS232 industrial modem (Order No.
Please Observe the Following Notes: In order to ensure the safe use of your device, we recommend that you read this manual carefully. The following notes provide information on how to use this manual. Requirements of the User Group The use of products described in this manual is oriented exclusively to qualified electricians or persons instructed by them, who are familiar with applicable national standards.
PSI-DATA/FAX-MODEM/RS232 Statement of Legal Authority This manual, including all illustrations contained herein, is copyright protected. Use of this manual by any third party deviating from the copyright provision is forbidden. Reproduction, translation, or electronic and photographic archiving or alteration requires the express written consent of Phoenix Contact. Violators are liable for damages. Phoenix Contact reserves the right to make any technical changes that serve the purpose of technical progress.
Table of Contents 1 PSI-DATA/FAX-MODEM/RS232 Industrial Modem ..................................................... 1-3 1.2 Application .............................................................................................. 1-4 1.3 Ordering Data ......................................................................................... 1-5 1.3.1 Accessories ............................................................................ 1-5 1.4 Technical Data...........................................
Table of Contents 3 Hardware Installation.................................................................................................... 3-3 3.1 Structure ................................................................................................. 3-3 3.2 Operating Elements................................................................................ 3-5 3.2.1 Connection Terminals ............................................................. 3-5 3.2.2 Connectors .............................
PSI-DATA/FAX-MODEM/RS232 5.5 DTMF.................................................................................................... 5-10 5.5.1 DTMF Alarm ......................................................................... 5-10 5.5.2 DTMF Control ....................................................................... 5-11 5.6 ASCII to Fax Conversion ...................................................................... 5-12 5.7 SMS in the Fixed-Line Network .....................................
Table of Contents iv 692302
Section 1 This section provides information about – The data for the industrial modem PSI-DATA/FAX-MODEM/RS232 Industrial Modem ......................................................... 1-3 692302 1.2 Application .............................................................................................. 1-4 1.3 Ordering Data ......................................................................................... 1-5 1.3.1 Accessories ................................................................
PSI-DATA/FAX-MODEM/RS232 1-2 692302
PSI-DATA/FAX-MODEM/RS232 Industrial Modem 1 1.1 PSI-DATA/FAX-MODEM/RS232 Industrial Modem Description The PSI-DATA/FAX-MODEM/RS232 DIN-rail mountable RS-232 modem is specifically designed to meet industrial demands for remote monitoring. It provides global access to machines and systems via permanent and dial-up line connections according to the V.34 standard.
PSI-DATA/FAX-MODEM/RS232 1.2 Application L IN E V C C R D T D R E S E T / A L R A L R D T R D C D E R R O H A A F A X E C P S I-D A T A /F A X -M O D E M /R S 2 3 2 O r d .- N o . 2 7 0 8 2 0 3 L IN E V C C R D T D T e le p h o n e n e tw o rk (P S T N ) R E S E T / A L R A L R D T R D C D E R R O H A A F A X E C R S 2 3 2 P S I-D A T A /F A X -M O D E M /R S 2 3 2 O r d .- N o .
PSI-DATA/FAX-MODEM/RS232 Industrial Modem 1.3 Ordering Data Pcs. Type Analog modem, DIN-rail mountable, dial-up and standard line operation in Europe, USA, and Canada, RS-232 interface, 3-way isolation, alarm input/output, 24 V AC/DC supply voltage Order No. pkt. PSI-DATA/FAX-MODEM/ RS232 27 08 20 3 1 Scope of supply: modem, configuration software, user manual on CD-ROM, RJ-12 cable 1.3.
PSI-DATA/FAX-MODEM/RS232 1.4 Technical Data 1.4.1 Supply Supply voltage 10 V to 60 V DC or 16 V to 40 V AC via plug-in COMBICON screw terminal block Frequency DC or 50 Hz to 60 Hz Current Consumption - Nominal operation - Sleep mode (configurable via software) < 100 mA (at 24 V) < 40 mA (at 24 V) Indicator 1.4.2 Green LED (VCC), steady light during operation, flashes in sleep mode RS-232 Interface Connection 9-pos.
PSI-DATA/FAX-MODEM/RS232 Industrial Modem 1.4.3 PSTN Port (a/b Line) Connection RJ-12, 6-pos. or plug-in COMBICON screw terminal block Shield DC coupled on DIN rail Operating modes Dial-up modem, 2-wire half/full duplex Fax modem, 2-wire half duplex Permanent line, 2-wire full duplex Dial-up method Multi-frequency/pulse dial configurable via software Transmission rate - DCE/DCE - Fax Automatic adjustment according to V.8 300 baud to 33.6 kbaud 2400 baud to 14.4 kbaud Compatibility ITU V.
PSI-DATA/FAX-MODEM/RS232 1.4.4 Switching Input and Output Switching input UNom 24 V DC/5 mA, input range 9...48 V DC, electrically isolated.
PSI-DATA/FAX-MODEM/RS232 Industrial Modem 1.4.6 General Data CE conformance EMC Directive 89/336/EEC Approvals u (in preparation) Telecommunications approvals TBR21, TBR15, TIA/EIA/IS-968 for Europe, USA, and Canada Ambient operating temperature range during operation 0°C to +55°C (+32°F to +131°F) ME 35 housing - Material - Dimensions (H x W x D in mm (in.)) With 5 pos. bus contact and ground contact ABS-V0, green 99 x 35 x 114.5 (3.898 x 1.378 x 4.
PSI-DATA/FAX-MODEM/RS232 c 1.
Section 2 This section provides information about – The data for the industrial modem Quick Installation of a Dial-up Connection........................................................................ 2-3 692302 2.1 Hardware Installation.............................................................................. 2-3 2.1.1 Default Configuration ............................................................... 2-3 2.1.2 Mounting .............................................................................
PSI-DATA/FAX-MODEM/RS232 2-2 692302
Quick Installation of a Dial-up Connection 2 Quick Installation of a Dial-up Connection The quick startup guide only refers to a standard dial-up connection. For the configuration of permanent line operation, please refer to Section 5.1, "Permanent Line". 2.1 2.1.1 Hardware Installation Default Configuration The modem is preconfigured to dial-up line operation with automatic data rate detection by default upon delivery, i.e., all DIP switches are set to "OFF".
PSI-DATA/FAX-MODEM/RS232 2.1.2 Mounting Only mount and remove modules when the power supply is disconnected. • Mount the modem on a 35 mm (1.378 in.) EN DIN rail (see Figure 2-1). The DIN rail must be connected to PE to ensure reliable operation.
Quick Installation of a Dial-up Connection Electrical connection Only qualified personnel may electrically connect, 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.
PSI-DATA/FAX-MODEM/RS232 2.1.4 RJ-12/RJ-11 connectors Connecting the Telecommunications Cable Connect the telecommunications cable to an RJ-12/RJ-11 connector on the front of the device. Signals "a" and "b" are assigned to the middle pins, 3 and 4. n .c . P in 8 n n . c . c. . P i n 76 b T2 D - P i n 65 b n .c . P i n 54 a n .c . P i n 43 aT 2 D + P i n 32 n R . cD .
Quick Installation of a Dial-up Connection 2.1.5 Supply Voltage The PSI-DATA/FAX-MODEM/RS232 module is designed exclusively for SELV operation according to IEC 60950/EN 60950/VDE 0805. Connect the 24 V voltage supply to the "24V" and "0V" connection points on the plug-in screw terminal block. 2 4 V 0 V 2 4 V 0 V n .c . n .c . n .c . a i+ i- b 6 9 2 3 A 0 3 8 Figure 2-5 Connecting the supply voltage As soon as the "VCC" LED lights up, the modem is ready for dial-up line operation.
PSI-DATA/FAX-MODEM/RS232 2.2 Software Installation 2.2.1 System Requirements In principle, any device can be connected to the modem via a free 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 & play function: Windows 95, Windows 98, Windows ME, Windows NT4.0, Windows 2000 or Windows XP.
Quick Installation of a Dial-up Connection 2.2.2 692302 Driver Installation • Connect the modem to the PC as described above and switch on the supply voltage. After the PC is started the modem is automatically detected and the driver can be installed: • Select "Search for a suitable driver for my device (recommended)" and click on "Next".
PSI-DATA/FAX-MODEM/RS232 • 2-10 Insert the CD-ROM provided into the drive and click on "Next".
Quick Installation of a Dial-up Connection • • Click on "Next" to confirm the selection. To complete the installation, click on "Finish". The driver is now installed and the modem is available to application programs, e.g., the data communications network.
PSI-DATA/FAX-MODEM/RS232 2-12 692302
Section 3 This section provides information about – The installation and connection of your modem Hardware Installation........................................................................................................ 3-3 692302 3.1 Structure ................................................................................................. 3-3 3.2 Operating Elements................................................................................ 3-5 3.2.1 Connection Terminals .....................
PSI-DATA/FAX-MODEM/RS232 3-2 692302
Hardware Installation 3 Hardware Installation 3.1 Structure Housing Dimensions 3 5 m m 1 1 4 .5 m m (1 .3 7 8 ") (4 .5 0 8 ") 9 9 m m (3 .8 9 8 ") P S I-D A T A /F A X - M O D E M /R S 2 3 2 O rd .-N o . 2 7 0 8 2 0 3 V C C R D T D L IN E R E S E T / A L R A L R D T R D C D E R R O H A A F A X E C 6 9 2 3 B 0 3 0 Figure 3-1 Housing dimensions Only mount and remove modules when the power supply is disconnected. • Mount the modem on a 35 mm (1.378 in.
PSI-DATA/FAX-MODEM/RS232 6 9 2 3 A 0 3 1 Figure 3-2 3-4 Mounting 692302
Hardware Installation 3.2 Operating Elements 5 6 7 9 8 1 0 4 3 1 1 2 1 2 1 P S I-D A T A /F A X -M O D E M /R S 2 3 2 O rd .-N o . 2 7 0 8 2 0 3 2 6 2 5 V C C R D T D 2 4 2 3 L IN E 1 3 R E S E T / A L R 2 2 A L R D T R D C D E R R 2 1 2 0 1 9 1 8 Figure 3-3 3.2.
PSI-DATA/FAX-MODEM/RS232 3.2.3 LEDs 14 OH (Green) Off the hook 15 AA (Yellow) Automatic answer (automatic call acceptance), flashes during selective acceptance of calls 16 FAX (Yellow) Fax mode 17 EC (Yellow) Error correction in V.42 mode, flashes during data compression 19 ERR (Red) Alarm message could not be sent 20 DCD (Yellow) Data carrier detected, connection established with partner 21 DTR (Yellow) Connected device is ready (e.g.
Hardware Installation 3.2.5 DIP Switches 1 2 6 9 2 3 A 0 3 3 Figure 3-4 DIP switches The DIP switches (1) are located behind the cap (2) on the RS-232 interface. • Insert a small screwdriver into the slot on the bottom of the cap and lever it open. DIP Switch Functions All DIP switches are set to the "OFF" position by default (dial-up line operation). Switch 1 is used to switch between dial-up line operation (OFF) and permanent line operation (ON).
PSI-DATA/FAX-MODEM/RS232 Switch 4 is only used in the event of an emergency. If automatic baud rate detection has been switched off and the device has been configured to a fixed baud rate without echo and without confirmation, it is very difficult to detect this baud rate setting. • In this case, set switch 4 to "ON" and briefly disconnect the supply voltage. The modem now starts with a fixed defined setting: 19200 bps, 8 data bits, odd parity, 1 stop bit.
Hardware Installation 3.3.1 Block Diagram 4 x C O M B IC O N 2 4 V 0 V U 5 V 2 4 V + B a c k p la n e B a c k p la n e - D 9 -S U B D C D 3 T x D 2 R x D in 7 R T S in + 8 C T S 6 D S R 4 D T R E E P R O M µ C b a 9 P h o n e L in e n .c .
PSI-DATA/FAX-MODEM/RS232 3.3.2 RS-232 Interface The modem and the PC or another device are connected via the RS-232 cable PSM-KA-9SUB 9/BB/2 METER (Order No. 27 99 47 4). 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.
Hardware Installation P C /P L C S U B 2 5 D C T x R x R T C T D T D S D M a x .1 5 m (4 9 .2 1 ft.
PSI-DATA/FAX-MODEM/RS232 3.3.3 RJ-12/RJ-11 connectors Telecommunications Cable Connect the telecommunications cable to an RJ-12/RJ-11 connector on the front of the device. Signals "a" and "b" are assigned to the middle pins, 3 and 4. The signals for the optional connection of a telephone are fed back to terminals 2 and 5. n .c . P in 8 n n . c . c. . P i n 76 b T2 D - P i n 65 b n .c . P i n 54 a n .c . P i n 43 aT 2 D + P i n 32 n R . cD .
Hardware Installation 3.3.4 Supply Voltage The PSI-DATA/FAX-MODEM/RS232 module is designed exclusively for SELV operation according to IEC 60950/EN 60950/VDE 0805. The supply voltage must be within the range of 10 V to 60 V DC or 16 V to 40 V AC (50 - 60 Hz). Connect the 24 V voltage supply to the "24V" and "0V" connection points on the plug-in screw terminal block. 2 4 V 0 V 2 4 V 0 V n .c . n .c . n .c .
PSI-DATA/FAX-MODEM/RS232 3-14 692302
Section 4 This section provides information about – The installation of the configuration software Software Installation ......................................................................................................... 4-3 692302 4.1 System Requirements ............................................................................ 4-3 4.1.1 Driver Installation ..................................................................... 4-4 4.2 Configuration Software ....................................
PSI-DATA/FAX-MODEM/RS232 4-2 692302
Software Installation 4 Software Installation 4.1 System Requirements In principle, any device can be connected to the modem via a free 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 plug & play function: Windows 95, Windows 98, Windows ME, Windows NT4.0, Windows 2000 or Windows XP. Driver installation differs depending on the operating system.
PSI-DATA/FAX-MODEM/RS232 4.1.1 4-4 Driver Installation • Connect the modem to the PC as described above and switch on the supply voltage. After the PC is started the modem is automatically detected and the driver can be installed: • Select "Search for a suitable driver for my device (recommended)" and click on "Next".
Software Installation • 692302 Insert the CD-ROM provided into the drive and click on "Next".
PSI-DATA/FAX-MODEM/RS232 • • Click on "Next" to confirm the selection. To complete the installation, click on "Finish". The driver is now installed and the modem is available to application programs, e.g., the data communications network.
Software Installation 4.2 Configuration Software The PSI-MODEM-CONF software is used to configure the PSI-DATA/FAX-MODEM/RS232. Your modem has more functions than can be mapped in the configuration software. To use these functions, enter additional AT commands in the "Additional Settings" field (see page 4-19). The AT commands and their meanings are described in Section "Command Descriptions" on page 6-4. 4.2.
PSI-DATA/FAX-MODEM/RS232 Accepting the terms of the license agreement • Read the terms of the software license agreement thoroughly and click on "Yes" to accept them. You may now select a specific installation folder. The default setting is "C:\Program Files\PSI-MODEM-CONF". Selecting an installation folder • 4-8 If necessary, select a different folder and click on "Next".
Software Installation Start copying • Click on "Next" to start copying the files. This may take a few seconds depending on the system. • Exit setup by clicking on "Finish".
PSI-DATA/FAX-MODEM/RS232 4.2.2 Operation After installation, you will find the following icon on your desktop: Starting the software Double-click on this icon to start the PSI-MODEM-CONF configuration software.
Software Installation Configuring the interface 692302 First, you must configure the interface. • Select the "RS-232" function from the "Options" menu. • Select the interface to which your modem is connected. • • Adjust the parameters according to your application requirements. Save the settings by confirming with "OK". • Click on the "Write" button to write the settings to the modem.
PSI-DATA/FAX-MODEM/RS232 • Click on the "Read" button to read data from the connected modem. The software displays the type and version of the firmware, and the serial number of the modem. You now have the option of assigning various functions to the integrated modem switching input.
Software Installation SMS For this function the modem requires a service provider that supports SMS in the fixed-line network. The modem is preset to "Deutsche Telekom". A description of how to set up other service providers appears on page 4-20. 692302 • • • Select the "SMS" checkbox to activate the SMS function. Enter the telephone number of the SMS receiver in the white "Number" field. Write your message in the "SMS Messages" field. The text must not exceed 160 characters.
PSI-DATA/FAX-MODEM/RS232 Fax • • • To activate the fax function select the "Fax" checkbox. Enter the telephone number of the fax receiver in the white "Number" field. Write your message in the "Fax Message" field. The text must not exceed 253 characters. • • Click on the "Write" button to write the settings to the modem. To send the fax message, activate the modem switching input (see Section "Switching Input" on page 3-13). You can send fax and SMS messages simultaneously.
Software Installation Switching Output For this function, the partner modem must be a "PSI-DATA/FAX-MODEM/RS232" modem. • • • 692302 To activate the switching output function select the "Output" checkbox. Enter the telephone number of the partner in the white "Number" field. If you wish to use the devices in permanent line operation, you can enter any telephone number. Enter the password for the partner in the "Password" field, as the partner switching output is password-protected.
PSI-DATA/FAX-MODEM/RS232 • – – • Specify the modem mode: In "Set" mode the modem responds to a positive edge on the local input by calling the partner and setting the partner output. This output can be reset by an AT command (local or remote), an SMS, the integrated pushbutton or by briefly disconnecting the supply voltage. In "Follow" mode the modem responds to a positive edge on the local input by calling the partner and setting the partner output.
Software Installation File Functions Creates a new project file with the default settings. Opens a saved project file. Saves the current settings. Profile Settings Click on the "Settings" button . This opens the "Profile settings" window.
PSI-DATA/FAX-MODEM/RS232 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 RS-232 interface activates the DCD signal (Data Carrier Detect). Alternatively, this signal can also be permanently switched on.
Software Installation Result Codes Your modem is configured so that it outputs alphanumeric responses on-screen. The "Numeric" option can be used if your software package or PLC only supports numeric confirmations. The relevant settings can be found in Table 6-2 on page 6-29. Auto Answer Auto Answer (automatic call acceptance) enables you to specify the number of rings after which your modem can automatically respond to incoming calls. Automatic call acceptance is switched off by default upon delivery.
PSI-DATA/FAX-MODEM/RS232 SMS Mode When SMS mode is disabled, you can only send SMS messages. In addition, your service provider must support "SMS in the fixed-line network" (see Section "SMS in the Fixed-Line Network" on page 5-14). When SMS mode is enabled, SMS messages received are output to the RS-232 interface. To receive SMS messages, this feature must be supported and enabled by your SMS provider.
Software Installation SMS Provider The number for the SMS provider must be stored in the modem memory. It is set to Deutsche Telekom by default. • Select your provider from the list. If your provider is not listed, select "No Provider" and enter the telephone number of your provider in the "Additional Settings" field as follows: &Z20= Example for Deutsche Telekom: &Z20=01930100 The number saved manually (&Z20) cannot be read by the configuration software.
PSI-DATA/FAX-MODEM/RS232 Caller ID Mode Caller ID or CLIP (Calling Line Identification Presentation) is the transmission of the caller’s telephone number. If this function is enabled at your analog connection, the PSI-DATA/FAX-MODEM/RS232 can detect, output, and evaluate the caller ID. When the caller ID output function is activated in the PSI-DATA/FAX-MODEM/ RS232, the caller ID, e.g., for Deutsche Telekom is transmitted after the first ring, i.e.
Software Installation • 692302 Click on the "Write" button have all been entered.
PSI-DATA/FAX-MODEM/RS232 4-24 692302
Section 5 This section provides information about – The additional functions of your modem Special Functions ............................................................................................................. 5-3 692302 5.1 Permanent Line ...................................................................................... 5-3 5.2 Alarm Inputs and Alarms ........................................................................ 5-4 5.3 Password Protection....................................
PSI-DATA/FAX-MODEM/RS232 5-2 692302
Special Functions 5 Special Functions 5.1 Permanent Line The PSI-DATA/FAX-MODEM/RS232 modem supports 2-wire permanent line operation. – DIP switches for master/slave selection – Up to 33600 bps/115200 bps (bidirectional, full duplex) – Automatic connection/continuous line monitoring – TBR15 approval – Transmission via its own telephone cable (2-wire) over a distance of up to 20 km (12.43 mi.) The device is approved for 2-wire permanent lines according to TBR15, i.e.
PSI-DATA/FAX-MODEM/RS232 5.2 Alarm Inputs and Alarms The PSI-DATA/FAX-MODEM/RS232 modem has one electrically isolated input and one electrically isolated output. Alarm functions can be assigned to the input, i.e., SMS and/or fax messages can be automatically sent by activating the input and/or the output of a partner can be activated. The control system is configured using AT commands (see Section "AT Commands" on page 6-3).
Special Functions The number and the password for the partner must be entered for the OUT configuration. The option can be set to "0" or "1": Option 0 Set The partner output is set by activating the local input Option 1 Follow The partner output follows the local input. A new call must be made each time the input changes. Sleep/Power Down mode is disabled in this mode.
PSI-DATA/FAX-MODEM/RS232 Alarm at the Input: In the event of an alarm at input 1, the alarm message "INPUT 1 ACTIVE" is first sent to the local RS-232 interface. The configured messages are then sent with the following priority: 1. Set output 2. SMS message 3. Fax message The "ALR" LED starts flashing and does not enter the ON state until all the alarm jobs have been processed. The PSI-DATA/FAX-MODEM/RS232 modem attempts to send each message (SMS or fax) up to four times.
Special Functions 5.3 Password Protection 5.3.1 Selecting a Password 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. If no password is stored, the modem continues to request the stored telephone details. The password and telephone number can be stored using the *P=x and &Zn=x commands (see below).
PSI-DATA/FAX-MODEM/RS232 5.3.3 Password-Protected Call Back The %S1 command enables password-protected call back. If you wish to activate this function, switch your modem to auto answer mode (automatic call acceptance; ATS0 > 0). Your modem now accepts calls and executes the usual handshake. The caller is then 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.
Special Functions 5.4 5.4.1 Caller ID and Selective Call Acceptance Caller ID Output Caller ID or CLIP (Calling Line Identification Presentation) is the transmission of the caller’s telephone number. If this function is enabled at your analog connection, the PSI-DATA/FAX-MODEM/RS232 can detect, output, and evaluate the caller ID. The AT%G1 command activates the caller ID output function in the PSI-DATA/ FAX-MODEM/RS232. The caller ID, e.g., for Deutsche Telekom is transmitted after the first ring, i.e.
PSI-DATA/FAX-MODEM/RS232 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. 5.5 DTMF DTMF (Dual Tone Multiplexed Frequency) tones are created by superimposing two tones from different frequency ranges.
Special Functions 5.5.2 DTMF Control The modem is called by a telephone or calls a telephone. The partner uses DTMF tones and sends control characters to the modem. The modem decodes these and outputs the characters to the serial interface. In order that the modem can be called, this function must be enabled with the ATR1 command. Once the modem has accepted the call, it waits for five seconds for the DTMF start character (#).
PSI-DATA/FAX-MODEM/RS232 5.6 ASCII to Fax Conversion The PSI-DATA/FAX-MODEM/RS232 supports ASCII to fax conversion. The modem can automatically generate a fax from a simple ASCII string and send it. The converted fax is limited to 30 kbytes, i.e., each line is limited to 60 characters. First, the unique ID should be set once (AT+FLID="123"). It is stored in a nonvolatile memory and can be reset at any time.
Special Functions Table 5-2 DOS Umlauts DOS Umlaut ASCII Character 84hex ä 94hex ö 81hex ü 8Ehex Ä 99hex Ö 9Ahex Ü E1hex ß Table 5-3 Windows Umlauts Windows Umlaut ASCII Character E4hex ä F6hex ö FChex ü C4hex Ä D6hex Ö DChex Ü DFhex ß Please note, DOS umlauts and Windows umlauts are only valid in 8-bit data format.
PSI-DATA/FAX-MODEM/RS232 5.7 SMS in the Fixed-Line Network You can send and receive SMS messages in the Deutsche Telekom fixed-line network with the PSI-DATA/FAX-MODEM/RS232. SMS messages can only be received if this feature has been enabled by Deutsche Telekom and an SMS message is sent first to log in. 5.7.1 Sending SMS Messages AT*AS NUMBER<;>TEXT…^Z: Following the AT*AS command, you are prompted to enter the number and text. The number must end with ;. Exit the message with Ctrl+Z.
Special Functions SMS messages are preceded by the caller ID (CLIP) of the service provider. The caller ID is not transmitted until after the first ring, so that the modem does not respond to the call until the second ring. The following command activates the receive SMS function: AT\S1 The actual message is transmitted after the first ring (RING) and is structured as follows: Example RING RECEIVE SMS FROM: 0160123456789 DATE/TIME: 05.03.
PSI-DATA/FAX-MODEM/RS232 5.7.3 Control via SMS Messages The PSI-DATA/FAX-MODEM/RS232 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. This mode is activated using the AT\S2 command. In this mode, the SMS message is not forwarded to the termination equipment, but is evaluated by the modem itself.
Special Functions 5.8 5.8.1 Setting a Partner Output Transmitting Local Inputs to the Partner Output The PSI-DATA/FAX-MODEM/RS232 modem has one electrically isolated input and one electrically isolated output. Alarm functions can be assigned to the input, i.e., the partner output, for example, can be activated by activating the input. The input configuration can be found in Section "Alarm Inputs and Alarms" on page 5-4. 5.8.
PSI-DATA/FAX-MODEM/RS232 5-18 692302
Section 6 This section provides information about – The various AT commands AT Commands.................................................................................................................. 6-3 692302 6.1 Command Descriptions .......................................................................... 6-4 6.2 AT Commands for MNP and LAPM (V.42bis) ...................................... 6-15 6.3 V.250 Commands Implemented ........................................................... 6-20 6.
PSI-DATA/FAX-MODEM/RS232 6-2 692302
AT Commands 6 AT Commands Your modem stores its operating characteristics in a non-volatile memory (EEPROM). These characteristics can be overwritten 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. Your modem is automatically in command mode until you dial a number and establish a connection. You can enter commands for your modem using appropriate communication software (e.g., HyperTerminal).
PSI-DATA/FAX-MODEM/RS232 Repeating the Previous Command You can instruct your modem to repeat the last command by entering A/ in command mode. AT is not entered for this command and it does not have to be confirmed by pressing ENTER, i.e., the command is repeated as soon as A/ is entered. 6.1 AT Command Descriptions 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).
AT Commands B Set Transmission Method The B command can be used to operate your modem in Bell and/or CCITT mode depending on the DTE baud rate and on whether your modem is generating or answering a call. Table 6-1 on page 6-28 shows how this command works. D Dialing The D command instructs your modem to dial a number. Enter the number that wish to dial after the D command.
PSI-DATA/FAX-MODEM/RS232 ! Dial an Outside Line/Divert Calls Use this modifier to divert a call. Enter the telephone number that is to be dialed first, then the ! modifier followed by the telephone number to which the call is to be diverted. Once the modem has established a connection with the first telephone number, it waits for two seconds and then diverts the call.
AT Commands +++ Escape String The escape string can be used to switch your modem from data mode to command mode without losing the connection with the partner. When you enter the escape string, your modem outputs an OK message to inform your 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) H0 I L M 692302 The modem hangs up. Identification I0 Display the ID number for your modem.
PSI-DATA/FAX-MODEM/RS232 O Data Mode/Fall Forward/Fall Backward O0 Return to data mode if you switched to command mode using the escape string. O1 Adjustment after returning to data mode. O2 Adjustment by increasing the speed (Fall Forward) in increments of 1200 bps after returning to data mode. O3 Adjustment by decreasing the speed (Fall Backward) in increments of 1200 bps after returning to data mode. This function is useful if errors emerge, e.g., due to modifying the telephone line attributes.
AT Commands T Tone Frequency Dialing Tone frequency dialing is stored by default. V Alpha or Numeric Responses Your modem displays responses on-screen. W V0 Display numeric confirmations. This option can be used if your software package or PLC only supports numeric confirmations. V1 Display alpha confirmations (default). Additional Confirmations The W command enables or disables the MNP/V.
PSI-DATA/FAX-MODEM/RS232 Y Z 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. Reset Use the Z command to reset your modem. Your modem then hangs up and loads configuration profile 0 or 1. This command must be the last one in the command line.
AT Commands &K Set DTE Flow Control The &K command specifies the type of data control that is set between the modem and the local PC to prevent overruns. Your modem has type types of data flow control. The selected function depends on the requirements of your PC. &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 control data transmission to the PC.
PSI-DATA/FAX-MODEM/RS232 &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. &X Synchronous Pulse Generator The &X commands specifies the device for which the synchronous pulse generator is available. &Y &X0 Generation of the synchronous pulse generator by the modem itself. &X1 Accept the synchronous pulse generator of the PC or terminal.
AT Commands %G Caller ID %G0 Disable the caller ID function. %G1 Enable caller ID output. The caller ID is output to the RS-232 interface in a specific format %G3 Enable caller ID evaluation. Selective call acceptance: Only calls from the stored caller IDs from &Z18 and &Z19 are accepted, regardless of register S0. %P Power-On Auto-Connect The %P command specifies whether the modem automatically establishes a connection with another modem when it is switched on.
PSI-DATA/FAX-MODEM/RS232 *A *F Configuration of the Switching Input *A1 Configuration of input 1 *A1? Display the configuration of input 1 *AF ASCII to fax: automatically generate and send faxes *AS Automatically send SMS messages *AS? View the last received SMS message *AO Control the partner output Reset Modem The AT*F command returns the modem to its default state. All settings will be lost.
AT Commands 6.2 %An AT Commands for MNP and LAPM (V.42bis) Auto Reliable Fallback The %A command specifies which character forces the modem to fall back from a connection in Reliable Mode to a connection in normal mode when the \C2 command is activated. The fallback character can be specified in ASCII code as any value between 0 and 127. Default: 0 %C Data Compression (V.
PSI-DATA/FAX-MODEM/RS232 \C Set MNP Buffer The \C specifies whether the modem stores received data in the buffer memory while both modems are establishing a Reliable Connection (LAPM [Link Access Procedure Modems] or MNP [Microcom Networking Protocol]). It also specifies whether the modem should respond to the fallback character that was specified with the %A command. \C0 Instruct your mode to not store data in the buffer while a Reliable Connection is being established.
AT Commands \J Set Serial Data Transmission Speed The \J command specifies whether the data transmission speed between your modem and your computer should be adapted to the transmission speed between the two modems. \J0 Disable speed adjustment and use data compression. This default setting enables the use of a high baud rate between your PC and your modem, regardless of the connection speed between the two modems.
PSI-DATA/FAX-MODEM/RS232 \N V.42/MNP Data Connection The \N command specifies what type of data connection your modem can establish (MNP or LAPM (V.42bis)). \N0 Establish a standard data connection (i.e., a connection that does not use MNP or V.42). \N1 Establish a direct data connection (i.e., a connection that bypasses error correction). \N2 Establish only V.42 or MNP data connections. If the partner modem does not use V.42 or MNP, your modem aborts the connection and returns to command mode.
AT Commands \X Forward XON/XOFF When the command for software-controlled data flow control (\G1) is activated, the PC and modem execute data control with XON/XOFF characters. The \X command specifies whether the control characters are sent from your modem to the partner modem. 692302 \X0 Detect the XON/XOFF characters without your modem forwarding them to the partner system (default). \X1 Detect XON/XOFF characters and immediately forward them to the partner system.
PSI-DATA/FAX-MODEM/RS232 6.3 6-20 V.
AT Commands 6.4 S Registers Your modem has 105 registers (S0 through S104). These registers influence the operating characteristics of the modem, send your information via your modem, and enable you to test your 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 your switch off or reset your modem. Your modem then reverts back to the operating characteristics stored in its permanent memory.
PSI-DATA/FAX-MODEM/RS232 Description of the S Registers S0 Number of Rings Before Automatically Answering (Auto Answer) Register S0 specifies the number of rings after which your modem can automatically respond to incoming calls. Default: 0 (this value disables automatic answer). S1 Count the Received Ring Signals Register S1 counts the ring signals when you are called. If the value in this register is greater than or equal to 1 and corresponds to the value in register S0, your modem answers the call.
AT Commands S5 Backspace 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.) A value between 33 and 126 must not be specified for the backspace character.
PSI-DATA/FAX-MODEM/RS232 S9 Waiting Time for Detecting the Carrier Detect Signal Register S9 specifies how long the carrier detect signal for the selected modem must be present so that your modem can detect it. This function ensures that your modem does not incorrectly interpret other signals such as the engaged tone, telephone ringing or voice paging as a carrier detect signal. This register value is specified in units of one tenth of a second.
AT Commands S12 Waiting Time for Detecting the Escape Character Register S12 specifies how long your 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.
PSI-DATA/FAX-MODEM/RS232 S23 Modem Control Register (Bit-Mapped) Register S23 specifies the status of DTE data rate, parity, and monitoring tone. S24 Not used S25 Delay Time for Data Terminal Ready Status This register specifies how long your 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.
AT Commands S93 to S103 Reserved S104 Maximum Connection Time This register controls the maximum connection time in minutes. Regardless of the data traffic, the modem automatically disconnects when the maximum time has elapsed. The values for this register are between 0 and 255 in 1-minute intervals. Default: 0 (I.e., the timer function is disabled.
PSI-DATA/FAX-MODEM/RS232 6.5 Bell/CCITT Mode The B command can be used to set the transmission method (see page 6-5). Table 6-1 Bell/CCITT mode AT Command DTE Baud Rate (bps) Bell/CCITT Mode B0 300 V.21 1200 V.22 2400 V.22bis/V.22/Bell 212A 4800, 9600 V.32/V.22bis/V.22/Bell 212A 19,200 V.32bis/V.32/V.22bis/V.22/Bell 212A 19,200, 38,400, 57,600, 115,200 V.34/V.FC/V.32bis/V.32/V.22bis/ V.22/Bell 212A 300 Bell 103 B1 1200 Bell 212A 2400 V.22bis/V.22/Bell 212A 4800, 9600 V.32/V.
AT Commands 6.6 Modem Confirmations The X command can be used to control the way in which your modem responds to specific events (see page 6-9). Table 6-2 Modem confirmations Word X Number Meaning OK 0,1,2,3,4 0 Modem has executed a command. CONNECT 0,1,2,3,4 1 Data connection has been established. RING 0,1,2,3,4 2 Modem has detected a ring. NO CARRIER 0,1,2,3,4 3 Carrier detect signal for the selected modem was lost or was not detected within the time specified by register S7.
PSI-DATA/FAX-MODEM/RS232 Table 6-2 Modem confirmations (Fortsetzung) Word X Number Meaning CONNECT 75/1200 1,2,3,4 22 75/1200 bps connection established. CARRIER 300 1,2,3,4 40 Connection with 300 bps carrier. CARRIER 120075 1,2,3,4 44 Connection with 1200/75 bps carrier. CARRIER 75/1200 1,2,3,4 45 Connection with 75/1200 bps carrier. CARRIER 1200 1,2,3,4 46 Connection with 1200 bps carrier. CARRIER 2400 1,2,3,4 47 Connection with 2400 bps carrier.
AT Commands 6.7 Processing the Break Character The \K command specifies one of three options for processing the break character (see page 6-17): Table 6-3 AT\Kn Effect n = 0, 2, 4 Do not send a break character to the partner system. n=1 Delete buffer memory and immediately send a break character to the partner modem. n=3 Immediately send a break character to the partner modem. n=5 Send all data from the buffer memory and then send a break character to the partner modem.
PSI-DATA/FAX-MODEM/RS232 Table 6-5 AT\Kn Effect n = 0, 1 Delete buffer memory and send a break character to the partner modem. n = 2, 3 Immediately send a break character to the other modem. n = 4, 5 Send all data from the buffer memory, followed by a break character to the other modem. n=6 Ignore break character.
Section 7 This section provides information about – Configurations for various connections Configuration Help............................................................................................................ 7-3 692302 7.1 Programming Connection for Phoenix Contact Controllers.................... 7-3 7.2 Programming Connection for Siemens S7 300/400 ...............................
PSI-DATA/FAX-MODEM/RS232 7-2 692302
Configuration Help 7 Configuration Help 7.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. The pin assignment is as follows: Modem Controller Pin 2 Pin 3 Pin 3 Pin 2 Pin 5 Pin 5 A modem cable (1:1) is required to connect the modem to the PC.
PSI-DATA/FAX-MODEM/RS232 Configuration of the Modem The modem must be configured as follows when connecting to Phoenix Contact controllers: AT Command Function AT*F Default setting ATS0=1 Automatic call acceptance AT&D0 Ignore DTR signal AT&K0 No data flow control ATW0 Only CONNECT message ATX3 Dummy dialing AT\N0 No error correction ATE0 Echo off AT&W0 Store The interface on the PC must be set as follows: – 9600 bps – 8 data bits – Even parity – 1 stop bit 7-4 692302
Configuration Help 7.2 Programming Connection for Siemens S7 300/400 A TS adapter (Siemens Part No. 6ES7 972 - 0CA34-0XA0) is required to connect the PSI-DATA/FAX-MODEM/RS232 to the Siemens MPI interface. The programming connection is established using Siemens TeleService software. A modem cable (1:1) is required to connect the modem to the TS adapter.
PSI-DATA/FAX-MODEM/RS232 The interface on the PC must be set as follows: – 9600 bps (or 38,400 bps) – 8 data bits – No parity – 1 stop bit The "19,200 bps default modem" can also be used by Windows as a modem driver.
We Are Interested in Your Opinion! We would like to hear your comments and suggestions concerning this document. We review and consider all comments for inclusion in future documentation. Please fill out the form on the following page and fax it to us or send your comments, suggestions for improvement, etc. to the following address: Phoenix Contact GmbH & Co. KG Marketing Services Dokumentation 32823 Blomberg GERMANY Phone +49 - (0) 52 35 30 0 Telefax +49 - (0) 52 35 34 18 8 E-Mail tecdoc@phoenixcontact.
FAX Reply Phoenix Contact GmbH & Co. KG Date: Marketing Services Dokumentation Fax No: +49 - (0) 52 35 34 18 8 From: Company: Name: Department: Address: Job function: City, ZIP code: Phone: Country: Fax: Document: Designation: PSI-DATA/FAX-MODEM/RS232 UM E Revision: 02 Order No.