background image

GRP-520  User  Manual,  V1.30,  Aug.  2015 

57 

4.5

 

RTU Client for Remote Control Application with RTU API.

 

This example shows how to use RTU API to collect and control remote Modbus/RTU and 

Modbus/TCP I/O with RTU Client / Server. 

There are ET-7017, M-7045, and a PLC in this system. 

 

 

(1)

 

Please connect your device (ET-7k or M-7k modules) to Ethernet or RS-485 of GRP-520.: 

 

(2)

 

If you never use RTU Center, please refer the link as below: 

http://m2m.icpdas.com/m2m_rtu.html

 

        If you need OPC solution, please refer the link as below: 

           

http://m2m.icpdas.com/NAPOPC_M2M.html

 

        If you need RTU library to develop your own software, please refer the link as below: 

           

http://m2m.icpdas.com/m2m_rtu_api.html

 

 

(3)

 

Set Pin code of your SIM card, and Enable “Auto-Dialing” function. 

Set “User Name” and “Password” if your SIM card needs it. 

Press “Modify” 

 

Summary of Contents for GRP-520

Page 1: ...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...

Page 2: ...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 Th...

Page 3: ...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...

Page 4: ...RP 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 se...

Page 5: ...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 Gatew...

Page 6: ...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...

Page 7: ...GRP 520 User Manual V1 30 Aug 2015 7...

Page 8: ...n 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 Upli...

Page 9: ...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...

Page 10: ...GRP 520 User Manual V1 30 Aug 2015 10 2 3 Dimensions...

Page 11: ...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...

Page 12: ...s used in the factory Please don t 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 y...

Page 13: ...nsert 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...

Page 14: ...om 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...

Page 15: ...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 IC...

Page 16: ...ocol 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 pro...

Page 17: ...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 th...

Page 18: ...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 provide...

Page 19: ...nction 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 t...

Page 20: ...sword 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...

Page 21: ...r 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 upda...

Page 22: ...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...

Page 23: ...y 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 2...

Page 24: ...erface 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 Th...

Page 25: ...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...

Page 26: ...igure password system parameter reboot the device and restore factory settings here 3 4 1 Password The user can change the password of the web utility here 1 Password new password 2 Confirm confirm th...

Page 27: ...system 2 Enable Enable Reboot Timer function 3 4 4 Backup Restore The user can backup the device settings and restore it here 1 Backup Press Backup button to backup settings into your PC 2 Restore Pre...

Page 28: ...ezone if you do not know your timezone please click the link check timezone to find out 4 Enable NTP Function if you enable it GRP 520 will update time automatically 3 4 7 System Service This page ind...

Page 29: ...GRP 520 User Manual V1 30 Aug 2015 29 3 Start click the button to start this process 4 Stop click the button to stop this process...

Page 30: ...er firmware here 1 Server IP Server IP or URL 2 Server Port the port of the server 3 Heartbeat Time if setting this value small it is sensitive to detect network disconnected 4 Device ID ID of the dev...

Page 31: ...ue as 1000 if you don t need this function this value is limited by network protocol 8 Modbus TCP to RTU Modbus TCP to Modbus RTU gateway function Port1 is COM2 of GRP 520 RS 485 Port2 is COM3 of GRP...

Page 32: ...Number 3 FTP Email Main Info Tab 1 Server Address Server IP or Domain Name 2 Server Port the port of the server 3 Station ID the ID for this device do not be the same with other RTU device 4 Data Upd...

Page 33: ...bit of COM2 8 Parity the parity bit of COM2 9 Stop bit the stop bit of COM2 10 Modbus Timeout ms the Timeout value of Modbus 11 Enable Function enable the RTU Client function 12 Alive the firmware st...

Page 34: ...he modbus ID 4 IP the IP of modbus TCP device Keep it empty for Modbus RTU device 5 Port the Port number of modbus TCP device 6 DI Number the number of DI channel 7 DO Number the number of DO channel...

Page 35: ...e per Log File min the time interval to change log file and send log file via Email or FTP GRP 520 will change logger file before the file be over 3 MB and move old logger file into LOGFILE folder and...

Page 36: ...eceiver xxx gmail com yyy gmail com 10 Email Server the server address of the email server 11 Email Server Port the server port of the email server Usually it will be 25 465 or 587 12 Email Username t...

Page 37: ...dress Example for single receiver xxx gmail com for multi receiver xxx gmail com yyy gmail com 3 Email Server the server address of the email server 4 Email Server Port the server port of the email se...

Page 38: ...GRP 520 User Manual V1 30 Aug 2015 38 3 6 4 Modbus Test The user can test all configure for Modbus here There is the result message for testing ET 7026...

Page 39: ...4 Example 4 1 3G Router Application This example shows the steps to share 3G network to 3 XPac8000 1 Please configure the Ethernet of XPac8000 as IP 192 168 0 10 12 Mask 255 255 0 0 gateway 192 168 2...

Page 40: ...4 Enable 3G GPRS Reconnection function to keep your 3G GPRS network always online usually ISP will disconnect your connection once every 1 3 days Generally you can set the Server IP as your server s...

Page 41: ...2015 41 5 Set routing rule to share 3G network This setting will share 3G network to IP address from 192 168 0 0 192 168 0 255 Press Modify 6 Please reboot GRP 520 to enable settings you can reboot fr...

Page 42: ...Application This example shows the steps to share 3G network to ET 7044 and IP camera 1 Please Set the Ethernet of ET 7044 and IP camera as IP 192 168 0 20 22 Mask 255 255 0 0 gateway 192 168 27 51 2...

Page 43: ...nable 3G GPRS Reconnection function to keep your 3G GPRS network always online usually ISP will disconnect your connection once every 1 3 days Generally you can set the Server IP as your server s IP o...

Page 44: ...g Rule to let user access the device behind GRP 520 via the internet This setting will bind the port of 3G interface to Target IP Target Port Port 12080 of 3G interface 192 168 0 20 80 Port 12180 of 3...

Page 45: ...GRP 520 User Manual V1 30 Aug 2015 45 8 Please type the IP address or domain name of GRP 520 in 3G network You will look as below It maybe like mygrp5k no ip org 12080...

Page 46: ...GRP 520 User Manual V1 30 Aug 2015 46 9 If you want to see the IP Camera image from web browser please type the IP address or domain name of GRP 520 in 3G network It maybe like mygrp5k no ip org 12180...

Page 47: ...onnect your device DL 100 or PLC to serial port of GRP 520 2 If you never use VxServer please refer the link as below http m2m icpdas com VxServer html you need download VxServer software and VxComm s...

Page 48: ...f you use MDVPN please set the Server IP as your Server IP that doesn t deny ICMP service Ping Press Modify after you finish all settings 5 Configure VxServer Function Set Server IP and Server Port th...

Page 49: ...GRP 520 User Manual V1 30 Aug 2015 49 6 Please reset your device and un plug your Ethernet from GRP 520 it will dial up in 60 seconds and then it will connect to your control center...

Page 50: ...below a Press Search Servers button you will get a device list b Click right button of the mouse on GRP 520 c Click Add Server d choose the virtual com port number e change setting tab to Server Opti...

Page 51: ...0 Aug 2015 51 8 You will see virtual com port COM11 COM12 but it can t be opened Click tool Restart Driver to restart VxComm driver Open com port to connect your device In this case COM11 is RS 485 CO...

Page 52: ...Please connect your device M 7017 or PLC to RS 485 of GRP 520 Baudrate of Modbus device is 9600 bps data format is 8N1 Data bits Parity Stop bits Baudrate of Card Reader is 115200 bps 2 If you never...

Page 53: ...IP as your Server IP that doesn t deny ICMP service Ping Press Modify after you finish all settings 5 Configure VxServer Function Set Server IP and Server Port the default port number is 11000 For Ca...

Page 54: ...GRP 520 User Manual V1 30 Aug 2015 54...

Page 55: ...will dial up in 60 seconds and then it will connect to your control center 7 After GRP 520 connect to VxServer please follow steps below a Press Search Servers button you will get a device list b Clic...

Page 56: ...al com port COM11 COM12 but it can t be opened Click tool Restart Driver to restart VxComm driver Open com port to connect your device In this case COM11 is RS 485 COM12 is RS 232 of GRP 520 Please do...

Page 57: ...e ET 7k or M 7k modules to Ethernet or RS 485 of GRP 520 2 If you never use RTU Center please refer the link as below http m2m icpdas com m2m_rtu html If you need OPC solution please refer the link as...

Page 58: ...always online usually ISP will disconnect your connection once every 1 3 days Generally you can set the Server IP as your server s IP or google s DNS server IP 8 8 8 8 If you use MDVPN please set the...

Page 59: ...hoose ET 7017 in the list and then press Add button 6 The web will bring out all I O number information as below Please modify Device Name Device ID IP and Port for your ET 7017 Device Name an alias n...

Page 60: ...ice tab choose M 7022 in the list and then press Add button We will see the screenshot as below The web will bring out all I O number information Please modify Device Name and Device ID for your M 702...

Page 61: ...dd PLC in Modbus Device tab communication with RS 485 choose Custom in the list and then press Add button We will see the screenshot as below Here we set the Device Name Device ID DI Number AI Number...

Page 62: ...10 Please choose Modbus Test function and press Test button to test our settings If the result is successful the screenshot will be as below and please follow next step If result is fail the screensh...

Page 63: ...Tab Set Server Address and Server Port of your server that running RTU Center Set Station ID of this GRP 520 and don t be the same with another RTU device Set Data Update Period and Heartbeat Period...

Page 64: ...r Or you can install NAPOPC M2M DA Server it contains RTU Center Please download install file from http m2m icpdas com NAPOPC_M2M html 13 Execute RTU Center and add a RTU device in RTU Center Click Ne...

Page 65: ...GRP 520 User Manual V1 30 Aug 2015 65 14 GRP 520 will connect to RTU Center later and screenshot as below...

Page 66: ...66 15 You can double click on ET 7050 to bring out Output control panel and press DO1 to control remote DO 16 Download RTU API from RTU Center web page and extract it There are RTU API library and so...

Page 67: ...015 67 17 Copy pre building demo into folder of RTU Center demo must be in the same folder with RTU Center because they use the same share memory in M2M_RTU dll Here we copy two file RTU_CS_demo exe a...

Page 68: ...formation Set Station ID as 1 because we set Station ID as 1 in GRP 520 Press 2 ReadData button to read Local IO data Because GRP 520 don t have local IO we get the error code here Set Modbus ID as 1...

Page 69: ...lication with OPC DA Server 1 Please refer last section for setting of RTU Client RTU Center 2 After install NAPOPC M2M DA Server please click the icon to launch NAPOPC M2M DA Server from right bottom...

Page 70: ...GRP 520 User Manual V1 30 Aug 2015 70 4 You will get a tag list as below 5 You can double click on device node to modify device name...

Page 71: ...GRP 520 User Manual V1 30 Aug 2015 71 6 Now you can use OPC Client to read I O data from NAPOPC M2M DA Server Or you can client Monitor to monitor all I O data...

Page 72: ...example shows how to using SCADA InduSoft to control monitor remote I O with GRP 520 1 About RTU Client RTU Center and OPC Server please refer last section 2 Right click OPC DA 2 05 folder and insert...

Page 73: ...GRP 520 User Manual V1 30 Aug 2015 73 4 Configure Tag Name and Item Column Fill in your tag Double click Item column and select the point from pop up window...

Page 74: ...e format GRP 520_StationID_YYYYMMDD_hhmmss csv ex GRP 520_13_20140806_172347 csv Configure Max Time per Log File to indicate how long to change send back log file If the file size is close 3MB GRP 520...

Page 75: ...GRP 520 User Manual V1 30 Aug 2015 75...

Page 76: ...GRP 520 User Manual V1 30 Aug 2015 76 3 Finally please don t forget enable firmware in Main Info Tab If you don t need the firmware send data to RTU Center you can set Data Update Period as 0...

Page 77: ...ation 1 XP 8341 can send data to the PC in office side 2 The PC in the office side can access XP 8341 s web page data via VPN tunnel 1 Please Set the IP of web server XP 8341 as IP 10 0 0 140 Mask 255...

Page 78: ...nable 3G GPRS Reconnection function to keep your 3G GPRS network always online usually ISP will disconnect your connection once every 1 3 days Generally you can set the Server IP as your server s IP o...

Page 79: ...rk This setting will share 3G VPN network to IP address from 10 0 0 1 10 0 0 255 Press Modify 7 Set Port Mapping Rule to let user access the device behind GRP 520 via the VPN network This setting will...

Page 80: ...GRP 520 User Manual V1 30 Aug 2015 80 8 Please reboot GRP 520 to enable settings you can reboot from the web or the power source...

Page 81: ...anual V1 30 Aug 2015 81 9 GRP 520 get a VPN IP 192 168 3 56 as below 10 Please type the VPN IP address of GRP 520 in the browser of the office side PC here is 192 168 3 56 10080 You will look some thi...

Page 82: ...GRP 520 User Manual V1 30 Aug 2015 82 11 Now the XP 8341 also can connect to the PC in the office side...

Reviews: