ICPDAS GRP-520 User Manual

GRP-520 User Manual, V1.30, Aug. 2015
1
GRP-520 Series
3G Gateway
User Manual v1.30
High Quality, Industrial Data Acquisition, and Control Products
GRP-520 User Manual, V1.30, Aug. 2015
2
Warranty
All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages consequent to the use of this product. ICP DAS reserves the right to change this manual at any time without notice. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, or for any infringements of patents or other rights of third parties resulting from its use. This is licensed under the terms of the GNU General Public License version 2.
Copyright
Copyright 2012 by ICP DAS CO., LTD. All rights reserved worldwide.
Trademark
The names used for identification only may be registered trademarks of their respective companies.
Version
Date
Author
Description
1.00
2013/03/20
Malo
Release version
1.10
2014/02/05
Malo
Add new feature
1.20
2014/08/05
Malo
Add new feature: RTU Client
1.21
2015/04/16
Malo
(1) Add VxComm configure description in chapter 4.3 (2) FTP log function change report interval unit as minute (3) fix the description of 2.5 Rotary Switch (4) improve Reboot Time function
1.30
2015/08/25
Malo
(1) Add PPTP VPN Client function. (2) Add network type option: "Automatic",
"3G only", "2G only"
GRP-520 User Manual, V1.30, Aug. 2015
3
Table of Contents
1. Introduction ............................................................................................... 4
1.1 Features ............................................................................................................. 5
1.2 Applications ...................................................................................................... 5
2. Hardware ................................................................................................... 8
2.1 Specifications ................................................................................................... 8
2.2 Appearance and pin assignments ...................................................................... 9
2.3 Dimensions ..................................................................................................... 10
2.4 LED indicators ................................................................................................ 11
2.5 Rotary Switch .................................................................................................. 12
2.6 Installing GRP-520 ......................................................................................... 13
3. Web Utility .............................................................................................. 14
3.1 Login the Utility ............................................................................................. 14
3.2 Information ..................................................................................................... 15
3.3 Network .......................................................................................................... 18
3.4 System ............................................................................................................ 26
3.5 VxServer ......................................................................................................... 30
3.6 RTU Client ...................................................................................................... 32
4. Example ................................................................................................... 39
4.1 3G Router Application .................................................................................... 39
4.2 Web Server and IP Camera Application ......................................................... 42
4.3 Remote I/O Control / Temperature Monitor ................................................... 47
4.4 Modbus/TCP to Modbus/RTU over 3G, and Card Reader Monitor ............... 52
4.5 RTU Client for Remote Control Application with RTU API.......................... 57
4.6 RTU Client for Remote Control Application with OPC DA Server. .............. 69
4.7 RTU Client for Remote Control Application with InduSoft........................... 72
4.8 Email or FTP report I/O logger file. ............................................................... 74
4.9 VPN Application ............................................................................................ 77
GRP-520 User Manual, V1.30, Aug. 2015
4
1. Introduction
The GRP-520 provided by ICP DAS is a 3G gateway for Ethernet or serial port. With optional GPS model, the GRP-520 can also be a GPS tracking system. It can be used in M2M application fields to transfer the remote I/O, Modbus data or video of the camera via 3G/2G. Within the high performance CPU, the GRP-520 series can handle a large of data and are suit for the hard industrial environment. The GRP-520 series have 3G module, Ethernet interface, and optional GPS module.
GRP-520 User Manual, V1.30, Aug. 2015
5
1.1 Features
Support Tri-band WCDMA 2100/1900/850 MHz and Quad-band GSM 850 / 900 / 1800 /
1900 MHz.
10/100 Base-TX compatible ethernet eontroller
COM port: COM1 (3-wire RS232), COM2 (RS-485), COM3 (3-wire RS232)
GPS : 32 channels with All-In-View tracking (option)
Support Micro SD card.
Provide 3G Router function.
Support port mapping (port forward) function.
Serial Port to 3G Gateway
High reliability in harsh environments
DIN-Rail mountable
1.2 Applications
Signal Alarm Report System
3G Router
Home/Factory security
Remote Video Monitor
Energy Management
Temperature Monitoring
GRP-520 User Manual, V1.30, Aug. 2015
6
Application 1: 3G Router
Application 2: Remote Video Monitor
Application 3: Remote Control (Serial Port to 3G gateway)
GRP-520 User Manual, V1.30, Aug. 2015
7
GRP-520 User Manual, V1.30, Aug. 2015
8
2. Hardware
2.1 Specifications
Item
GRP-520
System / Software
3G Gateway
Ethernet and Serial port (1x RS-232, 1x RS-485) to 3G
Embedded service
Web Server, 3G router
System
CPU
ARM CPU (312MHz)
SRAM
64 MB
Flash
64 MB
EEPROM
16 KB (Data Retention: 40 years; 1,000,000 erase/write cycles)
Expansion Flash Memory
SD Card (Max. 32GB SDHC)
Expansion Disk
USB disk (format : FAT32)
RTC(Real Time Clock)
Provide seconds, minutes, hours, day of week/month, month and year
64-bit Hardware Serial Number
Yes
Watchdog Timer
Yes
LED Indicator
3 LEDs (SYS/PWR, F.W., 3G)
Rotary Switch
Yes (0~9)
GSM System
Frequency Band
GSM : 850/900/1800/1900 MHz
GPRS connectivity
GPRS class 12/10; GPRS station class B
DATA GPRS
Downlink transfer: Max. 85.6 kbps; Uplink transfer: Max 42.8kbps
3G System
Frequency Band
WCDMA 2100/1900/850 MHz
Data Transmission
WCDMA / HSDPA / HSUPA Downlink transfer: Max. 7.2Mbps; Uplink transfer: Max 5.76Mbps
GPS System (option)
Support Channels
32
Protocol Support
NMEA 0183 version 3.01
Comm. Interface
Ethernet
RJ-45, 10/100 Base-TX (Auto-negotiating, Auto MDI/MDI-X, LED indicators)
COM1
RS-232 (RxD, TxD and GND); Non-isolated(Console, Debug)
COM2
RS-485 (D2+, D2-); 3000 VDC isolated
COM3
RS-232 (RxD, TxD and GND); Non-isolated
Mechanism
Casing
Plastic
Dimensions(W x L x H)
91 mm x 132 mm x 52 mm (W x L x H)
Installation
DIN-Rail
Power
Protection
Power reverse polarity protection
Frame Ground Protection
ESD, Surge, EFT, Hi-Pot
Required Supply Voltage
+10 VDC ~ +30 VDC
Power Consumption
4.8W ( 200 mA @ 24 VDC)
Environment
Operation Temp.
-25 to 75
Storage Temp.
-30 to 80
Humidity
5~95% non-condensing
GRP-520 User Manual, V1.30, Aug. 2015
9
2.2 Appearance and pin assignments
COM Port & Power Input
Terminal No.
Pin Assignment
COM1
01
RxD1
02
TxD1
03
GND
COM2
04
D+
05
D-
COM3
06
RxD3
07
TxD3
Power
08
DC.+VS
09
DC.GND
10
F.G.
GRP-520 User Manual, V1.30, Aug. 2015
10
2.3 Dimensions
GRP-520 User Manual, V1.30, Aug. 2015
11
2.4 LED indicators
There are three LED indicators to help users to judge the various conditions of GRP-520.
The description is as follows
A. PWR(Green)Power LED to indicate whether the external power is input or not. The
description is as follows:
The external power is active
The external power is not active
on
off
B. OS(Red)OS LED indicates if the OS is normal or fail.
Normal
Fail
Heart beat (1 sec.)
Always ON or OFF
C. FW(Red)This LED indicates the status of VxServer firmware (Serial port to 3G).
Connected
Connecting
Fail
500ms ON / 500ms OFF
Blanking(4 sec)
Always ON or OFF
D. FW(Green)This LED indicates the status of RTU Client firmware.
Normal
Fail
500ms ON / 500ms OFF
Always ON or OFF
E. 3G (Red)The LED indicates the status of 3G module.
(the 3G module need about 60 seconds to register network usually)
Registered
3G/GPRS data transmit
Fail
800ms ON / 800ms OFF
200ms ON, 200ms OFF
Always ON or OFF
GRP-520 User Manual, V1.30, Aug. 2015
12
2.5 Rotary Switch
There are some functions of rotary switch. The description is as follows
A. 0Normal mode, default position. B. 1 : Debug mode, this a engineering mode, we can communicate with the OS console. C. 2 : OS Update with MicroSD card. 2G SD card is supported. D. 4 : OS Update with Ethernet. It is used in the factory. Please dont use it. E. 8 : Factory default setting. If you forgot your password, you can follow the steps below:
(1) set rotary switch as 8 (2) and connect TxD3 and RxD3 together (3) reset your device (4) if the Red and Green FW Led blinking, it means restore as factory default setting successfully. Please turn rotary switch as 0.
F. 9 : Factory default IP. If you set as 9, and then reset the device, its Ethernet IP will be
192.168.255.1. if you forgot your device IP, you can use this function to re-configure your device IP.
GRP-520 User Manual, V1.30, Aug. 2015
13
2.6 Installing GRP-520
If users want to start GRP-520 normally, it needs to follow these steps to install the
GRP-520 below:
A. Install the antenna
B. Plug in the normal SIM card (Before apply the SIM card, confirm it is OK by mobile
phone.)
C. Plug the Ethernet cable if you need it.
D. If you want to use the Micro SD card, please insert it into the slot.
E. Turn the rotary switch to 0 (normal mode). The COM1 will be the console in position 1
(debug mode), and the default username is root, default password is root.
F. Connect the DC.+VS and DC.GND to the power supply.
G. It is needed to wait about 20 ~ 30 seconds for OS booting. After finishing the process,
GRP-520 would be in normal operation mode and the OS LED would blank as heart beat per 1 sec.
H. It is needed to wait about 30 ~ 60 seconds to search the 3G/2G base and register to the
ISP. After finishing the process, the 3G LED would blank per 1 sec.
GRP-520 User Manual, V1.30, Aug. 2015
14
3. Web Utility
You must configure GRP-520 from web utility before using.
3.1 Login the Utility
Please login before you use the web utility. The default username is admin, and the
default password is admin
Default IP = 192.168.255.1 Default Mask = 255.255.0.0 Default Gateway = 192.168.0.1
After login, the screenshot is showed as below:
GRP-520 User Manual, V1.30, Aug. 2015
15
3.2 Information
You can get the basic information of the device here.
3.2.1 Device Information
This page provides basic device information:
(1) Product Name: the Name of your product (2) Serial Number: only one number of ICPDAS product (3) OS Kernel Version: linux kernel version.
GRP-520 User Manual, V1.30, Aug. 2015
16
3.2.2 Network Information
This page provides basic network information:
(1) Ethernet: Ethernet information
Mode: static IP or DHCP MAC address: a unique identifier assigned to network interfaces. IP Address: a computer's address under the Internet Protocol Mask: Mask will be provided from Gateway provider.
(2) 3G/GPRS Network information: the information will show out after dial up
Status: connected mean the modem dial-up success. IP Address: the IP is provide by ISP provider. P-t-P: provide by ISP provider Mask: provide by ISP provider
(3) Modem information:
PIN Code: the status of PIN Code. Please refer to below: READY: PIN Code is ready. SIM PIN: need PIN code of SIM card SIM PUK: need PUK code of SIM card SIM failure: Access SIM Card failure
GRP-520 User Manual, V1.30, Aug. 2015
17
Register Status: Indicating GRP-520 connect to 3G base successful or not. Signal Quality: the 3G signal quality.
3.2.3 Storage Information
This page provides information about Micro SD card, USB Disk:
(1) USB Disk / SD card:
Size: total size of storage used: the size is used Available: free space in the storage Path: the mount point in file system.
GRP-520 User Manual, V1.30, Aug. 2015
18
3.3 Network
The user can configure the Network functions here.
3.3.1 Ethernet
This page provides the basic settings of Ethernet:
(1) IP Address: IP of Ethernet. (2) Mask: the Mask of the gateway. (3) Gateway: IP of the gateway.
3.3.2 3G Configure
This page provides basic settings of 3G network:
(1) PIN Code: PIN Code are 4 character number provided by SIM Card provider (2) Phone Number: usually fill it as *99***1# or *99#. The number is depended on
SIM Card provider
(3) APN: Access Point Name, please ask your SIM Card provider.
GRP-520 User Manual, V1.30, Aug. 2015
19
(4) User Name: the username for dial-up. Please ask your SIM Card provider. (5) Password: the password for dial-up. Please ask your SIM Card provider. (6) Auto-Dialing: Enable this function to dial-up to 3G network after power on.
3.3.3 3G/GPRS Reconnection
This function can keep the device always on 3G/GPRS network, but it will send the
IMCP signals to check 3G/GPRS network.
The default setting is Disable to prevent it from using extra packets. PS. Some ISP upgrades their system cause GRP-520 difficult to dial-up in Taiwan. Please enable this function to avoid this problem. When GRP-520 dial-up fails, it will try to solve this problem automatically. (It maybe take about 10 minutes, and this problem was solved in v1.1.1 and later).
(1) Server IP: the target IP or URL that you want to send signal (ping the target IP). (2) Max. Retry: if the system retry time is over this number, it will reset 3G modem and
dial-up to try again.
(3) Interval Time: the interval time between this retry and last. (4) Timeout: the device will connect to 3G network for a period of 50 second (default
value) after resetting the Modem, and then the system will start check the connection
of 3G network.
(5) Enable Function: if you enable this function, it will run immediately. (6) Alive: the firmware status. true(color green) means alive. false(color gray)
means not alive..
GRP-520 User Manual, V1.30, Aug. 2015
20
3.3.4 VPN Client Configure
The user can set VPN Client configure here:
(1) Server Address: VPN Server address. (2) User Name: user name for VPN Server. (3) Password: password for VPN Server
3.3.5 DNS Server
The user can set DNS server IP here:
(1) Primary DNS Server: the device will use it to get DNS service first. (2) Alternate DNS Server: if Primary DNS Server is invalid, the device will use
Alternate DNS Server.
3.3.6 DDNS Configure
DDNS is a method of updating, in real time, a Domain Name System (DNS) to point
to a changing IP address on the Internet:
GRP-520 User Manual, V1.30, Aug. 2015
21
(1) Server: the address of DDNS service provider. (2) Domain: The domains name you registered. (3) Username: the username of DDNS service. (4) Password: the password of DDNS service. (5) Period: the period time (seconds) to update your address. (6) Enable: Enable DDNS function.
GRP-520 User Manual, V1.30, Aug. 2015
22
3.3.7 DHCP Server
The Device could be a DHCP Server. The user can set the IP range for DHCP client.
(1) Subnet, Netmask, Lease-time: these items are read-only. (2) Routers: the router IP. It usually is set as your device IP. (3) Range: the IP range that DHCP server assign to DHCP client. (4) Enable: Enable DHCP Server service.
* If your device need link to Internet via 3G/GPRS, please enable the Routing rule for DHCP Range here. About routing rule, please refer next section.
GRP-520 User Manual, V1.30, Aug. 2015
23
3.3.8 Routing
This page provides routing rule configuration.
(1) IP: IP address. (2) Mask: the mask will effect how many IP this rule manages.
24 = 255 IPs, 28 = 16 IPs, 32 = 1 IPs.
(3) Target: the target interface of the rule.
For example: The Rule 0: This rule will push the socket packages from the address 192.168.27.0 ~
192.168.27.255 forward to ppp0 (3G network). The Rule 1: This rule will push the socket packages from the address 192.168.0.0 ~
192.168.0.15 forward to ppp0 (3G network).
GRP-520 User Manual, V1.30, Aug. 2015
24
3.3.9 Port Mapping (Port Forward)
This page provides Port Mapping rule configuration.
(1) Type: the protocol type. There are TCP and UDP (2) From: the interface that the socket comes from.
ppp0 is 3G interface.
(3) Port: the port that the socket comes from. (4) Target IP: the IP that the socket goes forward. (5) Target Port: the Port of the Target IP.
For example: The Rule 0: This rule will bind the socket from the ppp0 and Port=”10080 with
192.168.0.10:80. The Rule 1: This rule will bind the socket from the ppp0 and Port=”10021 with
192.168.0.10:21.
GRP-520 User Manual, V1.30, Aug. 2015
25
3.3.10 Diagnostic
This page provides the tools to check the problem of the network.
(1) Ping Test: this tool will ping Target IP, and show result below. (2) Traceroute: this tool will trace routing path to Target IP, and show the result below. (3) Route Information:: this tool will show route setting below.
Loading...
+ 57 hidden pages