AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual...

15
1954 Technology Drive, P.O. Box 4225 Peterborough, Ontario K9J 7B1 / Canada Tel.: (705) 745-2431 Fax: (705) 741-0466 www.siemens.com/sensorsystems Siemens Canada Limited Siemens Milltronics Process Instruments AG082411 SITRANS RD500 with 3G multitech rCell modem Objective: How to set up a 3G connection using Static and Dynamic IP addressing Equipment: SITRANS RD500 Multitech rCell MTCBAH4EN2 modem PC with Ethernet card Internet explorer 6.0 or higher Ethernet cable While every effort was made to verify the following information, no warranty of accuracy or usability is expressed or implied. Overview 3G and GPRS are global standards in telecommunications for data transfer. Although initially 3G and GPRS were used in the public domain with cell phones, smart phones and mobile computing, they are now widely used for industrial applications for remote telemetry. These applications are generally know as M2M solutions. The M2M solutions allow two-way communication between industrial equipment in the field (SITRANS RD500) and a host system. The host system could be a server, SCADA system or other communication APPLICATION GUIDE GPRS Data center Manufacturing GPRS GPRS Data center Manufacturing

Transcript of AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual...

Page 1: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

1954 Technology Drive, P.O. Box 4225 Peterborough, Ontario K9J 7B1 / Canada

Tel.: (705) 745-2431 Fax: (705) 741-0466 www.siemens.com/sensorsystems

Siemens Canada Limited Siemens Milltronics Process Instruments

AG082411

SITRANS RD500 with 3G multitech rCell modem

Objective: How to set up a 3G connection using Static and Dynamic IP addressing

Equipment: SITRANS RD500 Multitech rCell MTCBAH4EN2

modem

PC with Ethernet card Internet explorer 6.0 or higher Ethernet cable

While every effort was made to verify the following information, no warranty of accuracy or usability is expressed or implied.

Overview 3G and GPRS are global standards in telecommunications for data transfer. Although initially 3G and GPRS were used in the public domain with cell phones, smart phones and mobile computing, they are now widely used for industrial applications for remote telemetry. These applications are generally know as M2M solutions. The M2M solutions allow two-way communication between industrial equipment in the field (SITRANS RD500) and a host system. The host system could be a server, SCADA system or other communication

APPLICATION GUIDE

GPRS

Data center

Manufacturing

GPRSGPRS

Data center

Manufacturing

Page 2: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 2 of 15

APPLICATION GUIDEdevice. In general, the equipment in the field will report alarm and data log information to the host system. In some applications, it is necessary for the host system to contact the device in the field and request information or configure the device when you turn it on. If your connection to the cell network is lost or your phone is off, your IP address is lost until you turn on your phone. At this point you are reassigned a new IP address. The dynamic IP address service allows the cell carrier to re-use IP addresses and not have to worry what IP address is being used by the device in the field. The disadvantage of dynamic IP is that you never know what your IP address is going to be so you can never get back to your device from the host system (unless a service such as Dyndns is used). Public Static IP With a static IP service, the cell carrier permanently assigns an IP address to your account. When the device in the field logs onto the network, the same IP address always is assigned to the device. The Static IP address allows the host system to contact the device in the field because the IP address is known and allows for full two-way communication. Third party management of IP addresses In some countries, the cell providers do not offer a public static IP service. Alternatively they lease a pool of IP addresses to data management partners who manage the static IP addresses for the end user and cell carrier. The cell carrier partners will deliver the SIM cards and assign IP address and APN login to the end users. APN For initial connection to the cell network whether it be dynamic or static IP an APN (Access Point) is required. An APN is like logging into your computer, it represents login credentials to allow access to the cell network. The APN information is provided by the cell provider. Custom APN A Custom APN or private IP will allow a private connection from the cell carrier to the host. In essence, the IP address of the device in the field is not publicly available. The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive but deployment on a large scale would most likely warrant the extra cost with the added security benefit. DNS support DNS stands for Domain Name System (or Service or Server). Basically, the DNS is a network of DNS servers that sit on the Internet and have a database of domain names and their associated IP addresses.

Page 3: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 3 of 15

APPLICATION GUIDEWhen you enter a Web site, for example URL http://www.siemens.com into your web browser, a domain name server on the Internet will look up that domain name and resolve the IP address. That IP address is then used to contact that domain. When using DNS service in the RD500 you simply enter the IP address of your DNS server into the “DNS server name” in the network page. The RD500’s FTP and email client allows the user to enter a domain name. This enables the RD500 to send the datalog files to a host whose IP address is not static. The FTP server or email client’s domain name is resolved by the DNS server specified in the DNS server field on the network page. The destination IP address will be resolved by the DNS server. That IP address will be populated next to the domain name in the FTP or email pages.

Service and feature overview

Cell plan Device originated communication

Host originated communication

Dynamic Yes DYNDNS req. Public Static IP Yes Yes Custom APN Yes Yes

RD500 services Dynamic IP Static IP Web Browser Yes with DNS

support Yes

FTP Server Yes with DNS support

Yes

FTP Sync Yes Yes SMS Yes Yes Email Yes Yes Last Log report Yes Yes Alarms Yes Yes Overview Reports Yes Yes

Application In this application we are going to setup a static IP address for the SITRANS RD500 using an external 3G modem option. If we wanted to setup a dynamic IP address instead of a static IP simply replace the SIM card for the one with a dynamic IP.

Page 4: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 4 of 15

APPLICATION GUIDE

Configuring the SITRANS RD500 to work with the Modem This application guide assumes you are already familiar with connecting direct to the RD500 via a crossover Ethernet cable. See RD500 Manual for details.

1. Open your web browser and enter the IP address for the SITRANS RD500, default 192.168.2.100 with the login and password, default login is ‘admin’ and default password is ‘rd500’.

2. From the main overview page, click on Configuration tab. 3. In the configuration screen, select Network tab. 4. Once in the network page, set the options as in the example below. 5. Set the desired IP address (first three octets must be same as modem, final octet must differ). 6. Set the desired Network mask (must be same as modem’s). 7. Set the Gateway to the IP address of the modem (default 192.168.2.1) 8. Set the DNS server to your network provider’s DNS server or in this case we are setting it to the

following public DNS server 8.8.8.8. 9. Set the port to the desired port. For this example, we will use the standard HTTP port of 80. 10. Click Apply. 11. Move to the following sections outlining modem configuration. 12. Once modem configuration is complete, connect RD500 to modem using a standard Ethernet

cable. Note: the IP address must be 192.168.2.X where X is the same as the address defined for the RD500

in the modem. For this example, we are using 192.168.2.100. Be sure the Network mask is also the same as the one used for the modem.

Page 5: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 5 of 15

APPLICATION GUIDE

Modem Setup 1 Connect the Multitech rCell modem to your computer with an Ethernet cable. 2 Using a small Phillips screwdriver, remove the two SIM door screws and remove the SIM door.

Note: Ensure that power is removed from the unit when changing a SIM.

Page 6: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 6 of 15

APPLICATION GUIDE3 Insert the SIM card into the card holder. The above graphic illustrates the correct SIM card

orientation. 4 Verify that the SIM card fits into the holder properly and then replace the cover.

Configuring the Modem Set Your PC’s TCP/IP Address for Ethernet Functionality The following directions establish a TCP/IP connection at the PC so the PC can communicate with the modem. The following directions were written using a Windows XP/ 2003+ operating system.

1. Click Start > Control Panel. Double-click the Network Connections icon.

2. Right-click the Local Area Connection icon and choose Properties from the drop-down list.

3. The Local Area Connection Properties dialog box displays.

● Select Internet Protocol [TCP/IP]. ● Click the Properties button. The Internet Protocol (TCP/IP) Properties screen displays.

4. The Internet Protocol (TCP/IP) Properties screen:

Page 7: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 7 of 15

APPLICATION GUIDE

Note: If this screen opens and displays your current IP configuration, we suggest you record this information for future reference (i.e., after the modem is configured, you may wish to return this PC to its original settings).

● To set a Fixed IP Address for the PC, select Use the following IP address. ● Enter the PC IP Address. Example: 192.168.2.x. Note: The x in the address stands for numbers that must be unique to other connected devices on the modem; in this case we will use 192.168.2.10. ● Enter the PC Subnet Mask. Example: 255.255.255.0 ● Enter the PC Default Gateway. Example: 192.168.2.1 Note: The PC settings must be in the same subnet range as the modem. The factory default settings for the modem are: IP Address: 192.168.2.1 Subnet Mask: 255.255.255.0 ● Select Use the following DNS server addresses. ● Enter the IP Address for the Preferred DNS Server. Example: 8.8.8.8 ● Click OK. ● Close the Local Area Properties screen by clicking OK. ● Close the Control Panel and connect the PC to the modem with your Ethernet cable.

Configure the modem’s Ethernet interface 1. From the PC, open a Web browser.

Note: Ensure that the Status LED is blinking, indicating that the modem is ready. 2. Type the default Gateway Address: http://192.168.2.1

Page 8: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 8 of 15

APPLICATION GUIDE3. Login

After entering the Address, the Login screen displays.

● Type the default User Name: admin (all lower-case). ● Type the default password: admin (all lower-case). Note: The User name and Password are case-sensitive (both must be typed in lower-case). A password can be up to 12 characters. If Windows displays the AutoComplete screen, you may want to click No to tell the Windows OS not to remember the password. This helps maintain PC security. Password Caution: It is recommended that you change the default password to better protect the security of your modem. ● Click the Login button. The Web Management Home screen displays.

4. Use the Wizard Setup for Quick Configuration Select Wizard Setup

5. After clicking the Wizard Setup selection, the Wizard Setup screen displays.

Page 9: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 9 of 15

APPLICATION GUIDE

IP Configuration

IP Address The default is 192.168.2.1. To change it, simply enter your own IP address.

Mask The default is 255.255.255.0 DNS Enter the primary DNS IP address for the system. The

default is 0.0.0.0

PPP Configuration

PPP The default is disable. To connect to the Internet, you need to enable PPP.

Dial-on- Demand

The default is disable.

Idle Time Out Sets the amount of time the PPP link stays active before disconnecting. Setting the value to zero causes the link to stay active continuously.

Dial Number Enter the dial number. This number connects you to the Internet. For GSM, the number is *99***1#.

APN For GSM models, enter the APN (Access Point Name). The APN is assigned by your wireless service provider.

Init String You can set up to 4 modem initialization strings.

Page 10: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 10 of 15

APPLICATION GUIDEPPP Authentication Authentication Type Click the button corresponding to the authentication

protocol you want to use to negotiate with the remote peer. PAP, CHAP, or PAP-CHAP. Default = PAP-CHAP

Username Enter the PPP Username. This name authenticates the remote peer. (check with cell provider if required)

Password Enter the PPP Password. This password authenticates the remote peer. (check with cell provider if required)

6. Click Submit. 7. Click Save & Restart (located on the Menu bar). The modem will reboot 8. The Status LED will go out during a ‘Save & Restart’. Once it is flashing, the unit is ready to go. 9. Open a Web browser. If all configurations are correct and the modem’s CD LED is ON, you should

now be able to access the Internet. 10. Check for the modem IP address by navigating to Statistics & Logs > PPP and see PPP local IP

address. This is the address you will use to access the modem and RD500 remotely. Configuring the modem for the RD500 To start, you should decide which ports you would like to use for the RD500 services such as the web server and ftp server. In this application guide, we will use the typical predefined service port addresses for web and ftp. To set the RD500 web server on port 80 you will need to change the modem’s web server port as follows;

1. From the modem web interface click on IP setup > HTTP configuration 2. Change the HTTP port field to something other than 80 as shown below

Page 11: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 11 of 15

APPLICATION GUIDE

3. Next, click on Networks & Services > Network Configuration.

4. Enter the desired name for the RD500 and the desired IP address and subnet mask.

Note: Be sure the name given to devices and services are unique.

5. Enter the RD500’s IP Address. Example: 192.168.2.x. and subnet mask.

6. Click Add.

Note: The x in the address stands for a number which is different than the other IP addresses on the network. In this case, we use the default IP address for the RD500 – 192.168.2.100. Note: if you are using DHCP to assign addresses, the IP address range can be defined and static IP addresses must be associated with the devices’ MAC address – see modem manual for more details on DHCP setup.

Page 12: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 12 of 15

APPLICATION GUIDE

7. Next click on Networks & Services > Service Configuration. 8. For the purposes of this guide we will use the default web service already defined. Note: If another port needs to be defined for any of the RD500 services, this is where the unique port and address information would be added. See example on next page where we are defining port 500 for the RD500’s web server. Note “S port” defines the local IP address range and the “D port” defines the external port, in this case port 500.

Page 13: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 13 of 15

APPLICATION GUIDE

9. Next click on Packet Filters > Packet Filters. 10. Any services that need to send data to external networks/servers will be defined here 11. In this example all connected devices will be able to communicate remotely. Note: To limit which devices and services should have access externally, you would change the setting of Host/Network from any to a specific device and the service field to a specific service. See modem manual for more details. The default should be used to allow the RD500 to fully communicate remotely.

Page 14: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 14 of 15

APPLICATION GUIDE

12. Next click on Packet Filters > DNAT Configuration. Note: this is where the RD500 can be set up to allow external clients to access its services on the local network. In the following example, we have added the ability to access the RD500’s web and FTP servers for remote access by using the predefined services in the modem. In this case the ports will be 80 for the RD500 web server and 21 for the RD500 ftp server. If different ports are desired they would be configured under networks and services as previously defined.

13. Set allow access to any. 14. Set external services to HTTP. 15. Set LAN IP to the name given to the RD500. 16. Set internal services to HTTP. 17. Set internal source to NOCHANGE. 18. Click Add. 19. Repeat above steps for FTP making sure to choose FTP service rather than HTTP.

Page 15: AG082411 SITRANS RD500 with 3G multitech rCell modem · The APN is essentially a VPN (Virtual Private Network) from the cell carrier to the host system. Custom APNs are more expensive

SITRANS RD500 with 3G multitech rCell modem AG082411 15 of 15

APPLICATION GUIDE

Finally, click on Save & Restart. When the modem restarts and the PPP connection has been established, the RD500 should now be accessible through the modem on port 80 for the web server and port 21 for the FTP server. Open a web browser and type the IP address of the modem as follows; http://x.x.x.x (where x.x.x.x represents your modem’s IP address - find your IP address from the modem interface Statistics & Logs > PPP. To access the FTP server on the RD500, use an FTP client and type in the IP address. Be sure the FTP server is turned on in the RD500.