background image

 

 

                                    PLC-505 User Manual 

70 

 

 

 

Attention: terminal can be added only when it is online. If it fails to add 
terminal, make sure PLC-505 has connected online in LianWangBao server, or 

ask eTung technical support for help. 

 
After terminal is added, assign TCP port for the terminal: Click the terminal in 

terminal list, then click “Terminal Control” -> “Add TCP port”. System prompts: 

“Add TCP port command has been submitted successfully!” Then in the 
terminal list it can be seen the terminal has been assigned a TCP port, as shown 

in the figure below: 

 

 

Figure Appendix 8-8: Add TCP port 

 

 

Содержание PLC-505

Страница 1: ...User Manual eTung Technology Co Ltd 2nd Floor Building 3 Beike Industrial Park No 7 Feng Xian Mid Road Haidian Dist Beijing TEL 4008 909 611 FAX 010 64857815 Website www etungtech com cn Copyright 2005 2018 ALL RIGHTS RESERVED ...

Страница 2: ...table below Model Network PLC 505 N4 4G 3G 2G 7 kinds of network modes and WAN cable networks use 4G by default PLC 505 W0 WIFI and WAN cable networks use WAN by default PLC 505 W4 4G 3G 2G 7 kinds of network modes and WIFI WAN cable networks use 4G by default PLC 505 N4G 4G 3G 2G 7 kinds of network modes and WAN cable networks support GPS ...

Страница 3: ...re to Default 24 2 4 Firmware Update 25 2 5 Remote Configurations 26 Appendix 1 Use PLC 505 Ethernet Functionality to Implement PLC Remote Data Acquisition and Program Update 31 Appendix 2 Use PLC 505 Serial Functionality to Implement PLC Remote Data Acquisition and Program Update 39 Appendix 3 Use PLC 505 to Access LAN Remotely via VPN 46 Appendix 4 Configure PLC 505 to Access Internet via 4G Net...

Страница 4: ...ram download and data acquisition PLC 505 integrates functionalities of all other PLC LianWangBao products It not only supports all network modes from China s three mobile operators but also has two RJ 45 Ethernet interfaces one of which LAN1 can be used as WAN as well one RS232 and one RS485 serial interfaces Ethernet interfaces and serial interfaces can be used at the same time It breaks through...

Страница 5: ...curement cost but also reduce maintenance effort for the projects GPS model can be embedded into PLC 505 to implement device location Set time interval of transmitting GPS location data then after PLC 505 connects to data center it will transmit location data to data center with the predefined time interval Data center can also ask for GPS location data at any time by sending commands Besides the ...

Страница 6: ...PLC 505 User Manual 6 Figure 1 1 PLC 505 side view 1 Figure 1 2 PLC 505 side view 2 1 3 Standard Accessories Figure 1 3 4G all frequency sucking antenna ...

Страница 7: ...PLC 505 User Manual 7 Figure 1 4 WIFI antenna Figure 1 5 GPS antenna ...

Страница 8: ...PLC 505 User Manual 8 Figure 1 6 Cross cable NOTE The accessories may be different because of different models and customer requirements the figures above are just for reference ...

Страница 9: ...PLC 505 User Manual 9 1 4 Dimension Figure 1 7 PLC 505 dimension Figure 1 8 Installation effect ...

Страница 10: ...stablishes connection with cloud platform and mServer Use browser at the host computer to access IoT cloud platform and monitor PLC s data in real time At the same time Virhub software is run at the host computer and connects to mServer as well Then with Virhub functionality PLC and the host computer are in the same virtual LAN and user software at the host computer can then access PLC to download...

Страница 11: ... bi directional communication with PLC PLC 505 has one RS232 ad one RS4845 serial port and support virtual channels on RS485 serial port One PLC 505 can serve at most five PLCs or other devices with RS485 serial port to perform remote data acquisition and program update 1 6 Specifications 1 6 1 Technical Parameters Basic Parameters Power Supply 12 48V wide range of voltage input Power Connector in...

Страница 12: ...ing Support DMZ host IP address mapping Support VPN Support dynamic domain auto registration Support configuring static route table Support real time speed display of wireless network Support configuring with serial port telnet and web interface Support serial port DTU function Ethernet and serial interfaces can be used at the same time Support agent client 1 6 2 Indicator Light Description LED In...

Страница 13: ... Always light Ethernet connection OK Extinguished Ethernet connection not OK LAN2 Green Always light Ethernet connection OK Extinguished Ethernet connection not OK GPS Green Always light Has latitude and longitude data Flashing quickly Found satellite signal but has no latitude and longitude data Flashing slowly No satellite signal Table 1 1 PLC 505 indicator light description 1 6 3 Serial Port De...

Страница 14: ... page and choose System tools Restore set Or press the RESET button continuously the signal lights will flash one by one until all lights are on that means the reset is finished 1 7 Typical Usecases Figure 1 10 Implement PLC remote monitoring and program update via PLC 505 s Ethernet functionality ...

Страница 15: ...l 15 Figure 1 11 Implement PLC remote monitoring and program update via PLC 505 s serial functionality Figure 1 12 Implement remote control of touchscreen desktop via PLC 505 s agent client functionality and VNC software ...

Страница 16: ...PLC 505 User Manual 16 Figure 1 13 Use PLC 505 to access LAN remotely via VPN ...

Страница 17: ... Update 5 Remote Configurations 2 1 Configurations 2 1 1 Preparation One cross Ethernet cable used to connect PLC 505 with PC or customer device One 4G all frequency sucking antenna One power supply One USIM card that can access internet 2 1 2 Configuring PLC 505 Connect PLC 505 with PC via a cross Ethernet cable Boot PC and set IP address as Automatically obtain IP address ...

Страница 18: ...PLC 505 User Manual 18 ...

Страница 19: ...tically obtain IP address Open IE browser input address http 192 168 10 1 and press Enter Input root as username and 1234 as password then press Enter to login web configuration interface and configure the device Figure 2 2 Login router configuration interface ...

Страница 20: ...els and each channel has a channel ID The channel ID is derived from PLC 505 s IMEI labeled on its shell For example PC 505 s IMEI is 240305001234567 then Ethernet channel s ID is 2403050X1234567 and X can be 0 9 The first channel s ID is 240305001234567 and this channel is fixed to connect mServer only and not to connect cloud platform and enable virhub functionality This channel is designed only...

Страница 21: ...gs PLC 505 supports one RS232 serial port and at most five RS485 serial ports and RS232 and RS485 can be used at the same time Each serial port is matched to a channel identified by channel ID If PLC 505 s IMEI is 240305001234567 then RS232 channel s ID is 240305201234567 and RS485 channels IDs are 2403054X1234567 with X 0 4 Choose and enable the channels flexibly RS232 and RS485 serial port param...

Страница 22: ...PLC 505 User Manual 22 Figure 2 4 Configure serial functionality ...

Страница 23: ...e WAN interface for PLC 505 W0 WAN is enabled by default For PLC 505 N4 WAN is disabled by default WIFI client Configure WIFI parameters Once WIFI is enabled WAN will be disabled LAN Set inner IP and DHCP WIFI Hotspot Configure WIFI hotspot parameters WIFI hotspot and WIFI client cannot be used at the same time to enable WIFI hotspot function please disable WIFI client if it is enabled set network...

Страница 24: ...tion parameters normally with default values SNMP settings Set SNMP parameters normally with default values Show system log Show router s connection and communication logs Show DTU log Show router s data transfer logs with DTU function Restore to default Restore to initial default settings with one key Update firmware Update router s firmware Change password Change password logging router 1234 by ...

Страница 25: ...ng to the description of Configuring PLC 505 connect PLC 505 with PC via a cross Ethernet cable open browser inputhttp 192 168 10 1 as URL input username and password by default username is root and password is 1234 and login router configuration webpage Select System tools and then Upgrade Firmware click Browse select the file img to update and click Open then click Upload ...

Страница 26: ...uration parameters remotely Details are described below 1 Modify configuration parameters remotely via SMS The SMS to configure PLC 505 parameters should follow the format below SMS password AT commands 1 SMS password is the SMS wakeup password as shown in wireless network settings of the web configuration interface with 1234 by default This password is used to filter rubbish SMS Long SMS is not s...

Страница 27: ...ing with reply OK or ERROR apn Access point name this parameter is unused for EVDO device and can be null write auto to ask to select APN automatically user dialling account the dialing password must be changed together with dialling account passwd dialling password the dialing account must be changed together with dialling password net_mode network mode 1 3G only 2 LTE only 3 auto switch 4 2G onl...

Страница 28: ...method can be used only when enabliing DTU function or virhub function and PLC 505 is shown online in mServer 2 Method choose the router in mServer s console right click it and choose Remote Control in the popped up dialog input AT commands in CMD List on the left side For example input the following command to change the data center s address and port AT MSERVER 3g etungtech com 8080 Click Send a...

Страница 29: ...OR addr data center address either IP address or domain port data center port 2 AT CSQ Query signal strength and network mode with the following reply OK sig_quality net_mode sig_quality 0 31 bigger value means better signal quality net_mode GPRS EDGE WCDMA HSDPA HSUPA HSPA HSPA FDD LTE TDD LTE 3 AT REBOOT Reboot the router with reply OK 4 AT HBI Query heart beat interval unit second with reply OK...

Страница 30: ...the reply to dest dest can be omitted and if then the reply will be forwarded to the mobile that sends this AT command If the reply SMS has more than one message the router will forward the messages one by one For example AT SMSZHUANFA CXLL 10086 13801234567 means to send an SMS to 10086 to query traffic and then forward the reply to 13801234567 8 AT RDEBUG ENABLED 0 1 Enable Disable remote debugg...

Страница 31: ... account Access website http 3g etungtech com press Register and input registration information Pay attention that the password should not be too simple Input a correct email address then after submit the system will automatically send a web link to the mailbox just click the link to enable the account Figure Appendix 1 1 Apply eYun account ...

Страница 32: ...irst channel is fixed to connect to mServer only not connect to cloud platform and enable Virhub functionality This channel is designed only for PLC program update and it can also be used to perform PLC 505 s remote configuration Other nine channels can be assigned to PLC or other device that has Ethernet interface and customers can choose channels flexibly Set PLC IP as device s Ethernet IP and P...

Страница 33: ...wser visit IoT cloud platform website http home thinglinx com and then login it In the device list click the device created before and then Connection Management register terminal ID as shown in the figure below Terminal ID is the channel ID in PLC 505 s Ethernet functionality Figure Appendix 1 4 Register terminal ID on IoT cloud platform ...

Страница 34: ...tion package from eTung s CD or downloaded from eTung s website www etuntech com download center Router related Run Virhub and click Settings input the username and password applied before Figure Appendix 1 6 Login Virhub 1 Configure Microsoft Loopback adapter s IP address in the Settings dialog we can set Loopback adapter s IP address in Loopback Adapter IP Settings Set IP1 to be in the same IP r...

Страница 35: ...P1 Figure Appendix 1 7 Configure Loopback adapter s IP address Press OK after configuration in the system info area there will be a prompt Succeed to set ip address of Loopback adapter then the software has set the IP address to the Loopback adapter Figure Appendix 1 8 Succeed to set IP address of Loopback adapter 2 Add device in Virhub software add PLC 505 to the user account press Add Device and...

Страница 36: ...PLC 505 User Manual 36 Figure Appendix 1 9 Add device ...

Страница 37: ...at means the communication is OK then use PLC programming software to update program And if there is no response for a long time please contact eTung technical support 4 Detect IP address of devices via Virhub In order that PC running Virhub can communicate with devices at the far end that connect to ER 600 the devices IP must be known beforehand Virhub s Detect IP functionality can automatically ...

Страница 38: ...5 User Manual 38 Figure Appendix 1 11 Detect device s IP address Attention 1 The terminal must be online to use this functionality 2 Virhub version must be V5 9 or higher and PLC 505 must be V3 0 0 or higher ...

Страница 39: ...latform and Vircom functionality make it easier to implement remote access of PLCs that have serial port Below we will illustrate the implementation in detail 1 Apply Lianwangbao eYun account Access website http plc lianwangbao com press Register and input registration information Pay attention that the password should not be too simple Input a correct email address then after submit the system wi...

Страница 40: ...ct PLC 505 with PC via Ethernet cross cable the IP address in PC is set to obtain automatically Open browser and input URL 192 168 10 1 Input username root and password 1234 to login Choose ConnBOX Serial Configure IoT cloud platform domain and port mServer domain and port be default eYun platform normally by default and no need to change ...

Страница 41: ...d parity can be set for RS232 and RS485 separately Click Save Choose Reboot System in the menu list and reboot PLC 505 Figure Appendix 2 3 Configure PLC 505 s serial functionality 3 Register terminal ID on IoT cloud platform to implement data acquisition Open browser visit IoT cloud platform website http home thinglinx com and then login it In the device list click the device created before and th...

Страница 42: ...form customer can check the real date acquired remotely from PLC Figure Appendix 2 5 Check real data from IoT cloud platform 4 Switch PLC to programming mode on IoT cloud platform Login cloud platform and then choose the device created before click Connection Management switch on the programming mode to set PLC to programming mode ...

Страница 43: ...nter DTU related then download and install Vircom Run Vircom software and click Configure then input the username and password applied before Add terminal in Vircom by clicking Add DTU then input the channel ID when configuring PLC 505 s serial functionality Choose the device and then click Add Mapping to map a virtual COM for PLC 505 Run PLC programming software to open the virtual COM and send r...

Страница 44: ...PLC 505 User Manual 44 Figure Appendix 2 7 Configure Vircom and choose mServer Figure Appendix 2 8 Add device ...

Страница 45: ...eed to map virtual COM 6 Switch PLC to data acquisition mode on cloud platform Login cloud platform choose the device created before click Connection Management then switch off the programming mode to change PLC from programming mode to data acquisition mode Figure Appendix 2 11 Switch to data acquisition mode on cloud platform ...

Страница 46: ...ture Figure Appendix 3 1 Use PLC 505 to access LAN remotely via VPN 2 Preparations 1 One router with VPN function use PPTP protocol as an example a LAN is attached to this router and can access internet 2 One PLC 505 including accessories 3 One USIM card with internet service 4 One PC 3 Steps 1 Configure to use PPTP when accessing the router Here we use router RV042 from linksys as an example Firs...

Страница 47: ...3 2 Configure router s VPN function Actually different routers have different configuration interface and options we can configure it accordingly 2 Configure PLC 505 Login PLC 505 s configuration interface click VPN function and configure it as shown in the figure below ...

Страница 48: ...e domain here PLC 505 supports domain resolving Username the username configured in the router at corporate LAN side i e the username configured in linksys router before Password the password configured in the router at corporate LAN side i e the password configured in linksys router before VPN function ON to enable VPN connection After all settings are complete reboot PLC 505 3 Check dialing stat...

Страница 49: ... corporate LAN and then access the video monitoring interface Notes 1 The IP address used by PC or video server that is connected to PLC 505 must not be in the same range as those IP addresses at the corporate LAN side For example if the IP range at the corporate LAN side is 192 168 0 then PLC 505 should be in other IP range for example 192 168 1 2 PLC 505 and the PC or video server that connects ...

Страница 50: ...ns login PLC 505 s webpage choose Network Settings Network Select configure to use 4G to access Internet For PLC 505 N4 the default network settings are to use Wireless 2G 3G 4G Set Network to WIRELESS 2G 3G 4G press Save and then reboot PLC 505 NOTE Some PLC 505 types do not have 4G module and then cannot access Internet via 4G network ...

Страница 51: ...ccording to the description of ch 2 1 Configurations login PLC 505 s webpage choose Network Settings Network Select configure to use WAN to access Internet For PLC 505 W0 the default network settings are to use WAN Figure Appendix 5 1 Use WAN to access Internet by default For PLC 505 N4 the default network settings are to use Wireless 2G 3G 4G ...

Страница 52: ...meters There are three kinds of types DHCP PPPoE and STATIC Choose PPPoE if cable MODEM is used to access internet and choose DHCP or STATIC if a dedicated line or LAN is used to access internet Use STATIC if the IP address is static or assigned manually otherwise use DHCP Figure Appendix 5 3 Set type When choosing PPPoE PPPoE username and password should be set additionally ...

Страница 53: ... Appendix 5 4 Configure PPPoE username and password When choosing STATIC configure static IP net mask gateway and DNS accordingly Figure Appendix 5 5 Configure static IP When choosing DHCP no additional parameters need to configure ...

Страница 54: ...s web configuration page it can be seen that PLC 505 has connected to the internet with WAN Figure Appendix 5 7 PLC 505 accesses Internet via WAN 2 Configure PLC 505 to access Internet via WIFI PLC 505 W0 and PLC 505 W4 can access Internet via WIFI According to the description of ch 2 1 Configurations login PLC 505 s webpage choose Network Settings Network Select set network as WIFI then click Sav...

Страница 55: ...ser Manual 55 Figure Appendix 5 8 Set network as WIFI Choose Network Settings WIFI Client to configure WIFI parameters Figure Appendix 5 9 Configure WIFI parameters 1 Click Refresh to search the WIFI APs around ...

Страница 56: ...PLC 505 User Manual 56 Figure Appendix 5 10 Search WIFI APs Choose WIFI AP in the list select security type and input pin then click Save and reboot PLC 505 ...

Страница 57: ...Figure Appendix 5 11 Configure WIFI parameters 2 WAN will be disabled automatically once WIFI is enabled After reboot login PLC 505 s web configuration page it can be seen that PLC 505 has connected to the internet with WIFI ...

Страница 58: ...PLC 505 User Manual 58 Figure Appendix 5 12 PLC 505 accesses Internet via WIFI NOTE Some PLC 505 types do not have WIFI module and then cannot access Internet via WIFI ...

Страница 59: ...ts device location GPS location information can be actively transferred by PLC 505 to the host PC As shown in the figure below in PLC 505 s configuration webpage choose ConnBOX Ethernet or Serial set GPS report interval in seconds Setting it to 0 means PLC 505 will not actively transfer location information to the host PC ...

Страница 60: ...ort interval After PLC 505 connects to cloud platform it will actively transfer location information to cloud platform and customer can check location information as shown in the figure below Figure Appendix 6 2 Check location information on cloud platform ...

Страница 61: ... PLC 505 supports sending receiving SMSs via Ethernet interface The method is described below First establish a TCP connection with the PLC 505 s Ethernet IP 192 168 10 1 by default and port 8888 then use command AT SMS or AT SMSA to send SMSs For example use TCP Test Tool to send SMS as shown below ...

Страница 62: ...has connected to PLC 505 s listening port 2 Input AT SMS or AT SMSA command in box Edit Send Data and pay attention to end with CR then click send if OK is shown in box Edit Data Log that means the command has been sent successfully NOTE 1 Currently receiving long SMSs is supported but sending long SMSs is not supported i e the length of messages in English cannot exceed 160 characters and the len...

Страница 63: ...mber Phone number to receive the short message Encoding Format 1 ASCII encoding 2 8bit encoding 3 Unicode encoding Data Length The actual data length behind Data The data to be sent each byte should be formatted to a 2 byte hexadecimal number for instance 1234 should be written as 31323334 Examples Send 1234 with ASCII encoding to 13812345678 AT SMS 13812345678 1 4 31323334 r Below is the command ...

Страница 64: ...elow is the fourth message r n SMSAL 05000376 4 4 10001 6 123456 2 Format for SMS messages received with encodings other than ASCII If the content of received SMSs is not in ASCII encoding for example with Chinese characters the output is in the following format r n SMS phone number encoding format data length data r n Examples 1234 received from 13812345678 in 8bit encoding r n SMS 13812345678 2 ...

Страница 65: ...ice VNC supports multiple OSs including Windows Linux MAC OS and Android and it is platform independent i e we can use Windows PC running VNC to control device that runs Linux or MAC OS or use Android mobile to control touchscreen that runs Linux Customers devices for example touchscreens is located on the remote places It requires that PC or mobile phone can remote control the touchscreen with vn...

Страница 66: ... and run vncviewer on PC or mobile and PC or mobile can access Internet 2 Configure touchscreen IP address set the IP address to be in the same IP range as PLC 505 s LAN IP for example 192 168 10 20 Check PLC 505 s LAN IP range in its web configuration page by default 192 168 1 as shown in the figure below Figure Appendix 8 2 Configure PLC 505 LAN IP 1 ...

Страница 67: ...ox Agent Client mServer DN or IP is plc lianwangbao com and mServer port is 8080 by default that is eTung LianWangBao mServer normally use the default settings until customer builds its own mServer Then configure device information including touchscreen s IP for example 192 168 10 20 and vncserver s listening port for example 5900 and tick Enable press Save and reboot PLC 505 Figure Appendix 8 4 C...

Страница 68: ...plements device remote control in different locations PLC 505 support at most 5 channels and each channel has a 15 byte channel ID The channel ID is derived from PLC 505 s IMEI For example PLC 505 s IMEI is 240305001234567 then the agent clients channel ID is 2403055X1234567 and X can be 0 4 to represent one of the five channels Figure Appendix 8 5 Configure multi channel agent client 4 Connect PL...

Страница 69: ...ser Manual 69 Figure Appendix 8 6 Login LianWangBao server Click Terminal Control Add Terminal Figure Appendix 8 7 Add terminal Input the channel ID corresponding to the agent client for example 240305501234567 ...

Страница 70: ...ung technical support for help After terminal is added assign TCP port for the terminal Click the terminal in terminal list then click Terminal Control Add TCP port System prompts Add TCP port command has been submitted successfully Then in the terminal list it can be seen the terminal has been assigned a TCP port as shown in the figure below Figure Appendix 8 8 Add TCP port ...

Страница 71: ...rminal accordingly As shown in the figure below two terminals and corresponding TCP ports are added Figure Appendix 8 9 Add TCP port for each terminal 6 Use vncviewer on PC or mobile to remote control touchscreen Run vncviewer in PC or mobile input server information as LianWangBao server s domain plus the TCP port assigned in step 5 as shown in the figure below ...

Страница 72: ... access LianWangBao server s TCP port Click OK then there will be a warning dialog and then prompts the password dialog Input the password to verify then the remote touchscreen s desktop will be shown on PC or mobile Figure Appendix 8 11 Input password Attention ...

Страница 73: ... s server information use different TCP port for different channels otherwise the connections will be lost and PCs cannot work correctly 2 The solution above is just one of device remote access solutions In fact to support PCs remote access on touchscreen Virhub VNC is another effective solution Please refer to Appendix 1 for details on how to use Virhub ...

Отзывы: