User manual

Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
121
Example - GPRS Modems
GPRS (General Packet Radio Services) modems maintain a continuous connection to the GSM mobile
network and provide faster data transmission rates than GSM modems. However, data transmissions are not
continuous. Data is broken into packets, allowing multiple GPRS modems to share the same channel. This
can cause some data transfers to take up to 10 seconds. The following setup is for a Wavecom Fastrack
GPRS modem (with TCP/IP stacking enabled) connected to an RTU serial port.
A Wavecom Fastrack GPRS modem requires a few AT commands to get it to work properly. After
connecting the GPRS modem to the PC (an RJC-ADP-22 cable and an ADP-08 adapter from
Semaphore can be used), use Toolbox terminal at 115200 baud (the default Wavecom Fastrack baud
rate) to set the following AT commands:
AT#APNSERV=
"xxxxx.corp"
Sets the Access Point Server Name (xxxxx.corp) as obtained from the service
provider.
AT#APNUN="user@
xxxxx.tpips.com.au"
Sets the Access Point User name (user@xxxxx.tpips. com.au) as obtained from
the service provider.
AT#APNPW="zzzzz" Sets the Access Point Password (zzzzz) as obtained from the service provider.
AT+DIALN1="*99***1#" Sets the Dial Number. Note: this is different for different service providers.
To verify the GPRS modem is setup and functioning correctly, the following AT commands can be used:
AT#VALL Lists all of the details, including IP details of the modem.
AT+CGMR Displays the firmware version of the modem. For version "641_09gg.Q2406B 1328940
111903 18:23" use the GPRS RTU driver. For version “655_09gg.Q2406E 2015268
111705 17:01” or newer use the GPRS2 RTU driver.
AT#VVERSION Displays the software version of the TCP/IP Stack. Recommended version is
"eDsoft_W302_V2.10 1166 86 Dec 10 2003 12:20:17" (or newer).
AT#VGPRS Displays the configured server name, user name and password.
AT+CSQ Displays the signal strength. Returns 0 to 31 or 99 (no signal). The minimum value for
successful communications is 15 or higher.
Ensure that the GPRS driver is supported by the type of RTU that is being used and that the latest
firmware and driver are loaded in the RTU (as detailed in protocols.pdf available from www.cse-
semaphore.com/mykingfisher).
Configuration, Port List: Set the port Type to GPRS or GPRS2 (depending on which firmware version
is in the GPRS modem as detailed above). Set Baud Rate to 115200 and Post Tx to 1500 ms. Select the
Configure button to set the GPRS parameters. Set Dial Retries to 2 and Dial Timeout, Online Inactivity
and Hang Up After to 60 seconds.
Note 1: Toolbox cannot communicate with a port configured as GPRS. At least one port (preferably port
1) must be configured for Kingfisher Series 2 protocol. To restore Toolbox communications on a GPRS
port, remove the CPU RAM battery link to clear the configuration. Note 2: Online Inactivity and Hang Up
After timeouts should not be set to 0 seconds as this will cause the GPRS modem to stay online
indefinitely. If the local GPRS modem disconnects while the remote GPRS modem is configured to stay
online indefinitely, it will not be possible to communicate with the remote GPRS modem until it is reset.
Configuration, Network List: Set Target RTU to the address of the RTU to contact and Port # to the
port number configured above. Set Timeout to 6000ms (or greater). Set IP Address to the IP address of
the GPRS modem of the Target RTU. Note: a network link is not required if the RTU is only receiving
calls.
Configure a communications block (eg. RX_DATA) in ladder logic to communicate with the target RTU.
Additional GPRS information can be obtained from the port registers #YPSIGnn (signal strength),
#YPSTnn.6 (online status) and #YPERRnn (initialisation status).
Connecting a GPRS Modem
It is very important to request fixed IP addresses for all GPRS modems. A SIM card and the following
information will also be required:
Access Point Server Name - xxxxx.corp where xxxxx could be Telstra or the company name eg.
Acme.corp
Access Point User Name - user@xxxxx.tpips.com.au where xxxxx is the company name and user is the
name of the GPRS modem.
Access Point Password
For more information please see the document GPRS Version Xxx.PDF available from Semaphore.