User manual

Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
118
Example - Modems (PSTN, GSM and 3G)
PSTN, GSM and 3G (Maxon Modmax MM-6280IND) modems can be used on any serial port of the RTU by
configuring the following items:
Configuration, Port List: Set the port Type to PSTN and then select the Configure button. Set the Init
String for the type of modem being used. If the PSTN modem or GSM is to be used for dialling a paging
service, the default initialisation string may need to be changed as detailed in the topic Configuration -
Port List, PSTN, Init String.
When using a 3G modem, a blank initialisation string should be used. The following settings should be
set in the 3G modem before using it with the RTU. Connect the 3G modem to a PC using the cable
supplied with the modem (or by using an RJC-ADP-26 cable with an ADP-08 adapter from Semaphore).
Use the Toolbox terminal program (or Windows HyperTerminal) initially at 115200 baud (the default
modem baud rate) to set the following AT commands. Note the data format is 8 data bits, 1 stop bit, no
parity bit, no flow control.
AT+IPR=9600
Sets baudrate to 9600 between the modem and the RTU
(after this AT command, Toolbox will need to be set to 9600 baud)
AT&C1
Ensure carrier detect is not always on
ATS0=2
Answer after 2 rings
ATV0
Disable verbose (text) responses
ATE0
Disable Echo mode (the AT commands will not be displayed on the screen after this)
AT&W1
Save above settings in user profile 1
AT&F1
Load above settings into the active profile
Configuration, Port List: For 3G modems, set Baud Rate to 9600. When using a PSTN or GSM
modem to dial a paging service, 9600 can also be used. For PSTN and GSM modems, leave Pre TX and
Post TX set to 0. For 3G modems, set Post TX to 400 ms (this allows for breaks in messages received
from the 3G Network) and leave Pre TX as 0.
Configuration, Network List: Set Target RTU to the address of the RTU to dial and Port # to the port
number configured above. The default Timeout of 2000ms can be used in most cases. Note: a network
link is not required if the RTU is only answering calls.
Configuration, Phone Directory: Set Primary Phone Number and Secondary Phone Number to the
phone number of the target RTU to dial. Note: the phone directory does not have to be configured if the
RTU is only answering calls
Configure a communications block (eg. RX_DATA) in ladder logic to communicate with the target RTU.
The RTU will then automatically dial the number configured above.
Connecting a GSM: In order to dial into a GSM, a data telephone number is required. This is a second
telephone number. To obtain a Telstra data number in Australia, call Telstra on 1800 730 053. When a GSM
SIM card is obtained, please ensure that it does not require a PIN number (a PIN number is not supported by
a GSM) and also ensure that it is a non-transparent data number. If the GSM unit is only used for dialling out
from the RTU, a data number is not required and the normal voice number can be used. The SIM card can
be checked that it is enabled on the network by installing it in a mobile phone.
Connecting a 3G Modem: [When used as a dialup modem] In order to dial into a 3G modem, a data
telephone number is required. This is a second telephone number. To obtain a Telstra data number in
Australia, call Telstra on 1800 730 053. When ordering a 3G SIM card, please ensure that it has data
package bearer code of 2620 (this ensures that the data number is non-transparent) and request that
Voicemail and Missed Call Notifications be disabled. Ensure that the SIM PIN number is disabled. If the 3G
modem is only used for dialling out from the RTU, a data number is not required and the normal voice
number can be used.
Testing a 3G Modem: The SIM card can be checked that it is enabled on the network by installing it in a 3G
mobile phone. A 3G modem can be tested by dialling it from a standard PSTN telephone line. If successful,
the 3G modem will answer and attempt to establish a data connection. Note: dialling a 3G modem from a
mobile or PABX phone will result in unable to connect (from a mobile) or an engaged signal (from a PABX).
This is because most mobile and PABX phones have header data that allow the mobile network to determine
that it is a voice call and so will not allow a data connection.
For diagnosing faults when using a modem, please see the appendix - RTU Commissioning, Trouble
Shooting.