background image

UA-5200  Series  User  Manual    V4.3      ICP  DAS 

Table of Contents 

1.

 

UA-5200 IIoT Communication Server ..................................................................................... 6

 

1.1.

 

Introduction ................................................................................................................... 6

 

1.2.

 

Features ....................................................................................................................... 7

 

1.3.

 

Functions ...................................................................................................................... 8

 

1.4.

 

Specifications ............................................................................................................. 10

 

1.5.

 

Appearance ................................................................................................................ 13

 

1.6.

 

Dimensions ................................................................................................................. 16

 

2.

 

Quick Start ........................................................................................................................... 17

 

2.1.

 

Hardware Connection ................................................................................................. 17

 

2.1.1.

 

Preparations for Devices ...................................................................................... 17

 

2.1.2.

 

Hardware Wiring .................................................................................................. 17

 

2.2.

 

Network Connection ................................................................................................... 18

 

2.2.1.

 

Connection by Factory Default Settings ............................................................... 18

 

2.2.2.

 

Connection by Utility Searching ........................................................................... 20

 

2.3.

 

Project Setting Example .............................................................................................. 24

 

2.3.1.

 

A Quick Setup Project Example ........................................................................... 25

 

3.

 

Web UI Login and Environment Overview ............................................................................ 33

 

3.1.

 

Login the UA Web UI .................................................................................................. 33

 

3.2.

 

Web UI Environment Overview ................................................................................... 35

 

3.3.

 

Setting Procedures and Steps .................................................................................... 36

 

4.

 

Function Wizard ................................................................................................................... 37

 

4.1.

 

Module Communication Conversion ........................................................................... 38

 

4.1.1.

 

Modbus / OPC UA Conversion ............................................................................. 39

 

4.1.2.

 

MQTT / OPC UA Conversion ............................................................................... 50

 

4.1.3.

 

Modbus / MQTT Conversion ................................................................................ 61

 

4.1.4.

 

Modbus / MQTT JSON Conversion ...................................................................... 72

 

4.2.

 

Module Connecting to Azure ....................................................................................... 88

 

Summary of Contents for UA-5200 Series

Page 1: ...ICP DAS CO LTD UA 5200 Series User Manual IIoT Communication Server UA 5231 UA 5231M UA 5231M 3GWA UA 5231M 4GE UA 5231M 4GC ICP DAS CO LTD All Rights Reserved www icpdas com...

Page 2: ...patents or other rights of third parties resulting from its use Copyright and Trademark Information Copyright 2015 by ICP DAS CO LTD All rights reserved worldwide Trademark of Other Companies The nam...

Page 3: ...18 2 2 1 Connection by Factory Default Settings 18 2 2 2 Connection by Utility Searching 20 2 3 Project Setting Example 24 2 3 1 A Quick Setup Project Example 25 3 Web UI Login and Environment Overvie...

Page 4: ...Setting 135 6 Module Setting 136 6 1 Modbus RTU Master 137 6 2 Modbus TCP Master 142 6 3 Modbus ASCII Master 147 6 4 MQTT Module 152 7 IoT Platform Setting 156 7 1 MQTT Local Broker 157 7 2 MQTT Remot...

Page 5: ...1 Recovering to Factory Setting Rotary Switch 8 210 12 2 Updating Middleware via USB Rotary Switch 9 211 13 Security Certificate Download Upload Update 212 13 1 Download the Certificate of UA Controll...

Page 6: ...that already widely used in the factory With the UA 5200 series it becomes very easy to make things used in the factory to connect to MES ERP SCADA and cloud Applying the OPC UA the UA 5200 can integr...

Page 7: ...Broker Inside ARM CPU 1 0 GHz 512 MB RAM and 512 MB Flash Linux kernel 3 2 14 OS Real Time Capability 64 bit Hardware Serial Number for Software Protection Support Redundancy OPC UA Support PID Logic...

Page 8: ...Detection Communication Failure Recovery etc to connect SCADA or OPC UA Clients Allowed up to 8000 OPC UA tags and up to 20 sessions for the OPC UA Client connection Built in MQTT Broker Service MQTT...

Page 9: ...ools Remote Management and Maintenance Remote Monitoring and Control Cloud Big Data Provide Step Box of Function Wizard for Easy Setup The Web UI of UA provides a wizard like Step Box in the Function...

Page 10: ...r 64 bit Hardware Serial Number Yes for Software Copy Protection Dual Watchdog Timers Yes LED Indicators 4 LEDs Power Running and 2 user defined LEDs Rotary Switch Yes 0 9 VGA Communication Ports VGA...

Page 11: ...0 900 1900 2100 MHz 4GE WCDMA 850 900 2100 MHz 4GC WCDMA 900 2100 MHz TD SCDMA 1900 2100 MHz CDMA2000 BC0 800 MHz 4G System 4GE FDD LTE B1 B3 B5 B7 B8 B20 MHz 4GC FDD LTE B1 B3 B8 MHz TDD LTE B38 B39...

Page 12: ...tion quality MQTT MQTT Client Connect the MQTT Broker to read control the devices supporting the MQTT protocol MQTT Service Connect the MQTT Broker to externally read control the devices supporting ot...

Page 13: ...UA 5200 Series User Manual V4 3 ICP DAS 13 1 5 Appearance UA 5231...

Page 14: ...UA 5200 Series User Manual V4 3 ICP DAS 14 UA 5231M...

Page 15: ...UA 5200 Series User Manual V4 3 ICP DAS 15 UA 5231M 3GWA 4GE 4GC...

Page 16: ...UA 5200 Series User Manual V4 3 ICP DAS 16 1 6 Dimensions UA 5231 Unit mm UA 5231M UA 5231M 3GWA UA 5231M 4GE UA 5231M 4GC Unit mm...

Page 17: ...ions for Devices In addition to the UA 5200 series controllers Ex UA 5231 please prepare the following Power Supply 12 48 VDC Ex DP 665 2 Ethernet Hub or Switch Ex NS 205 3 PC NB Can connect to the ne...

Page 18: ...200 Network IP 192 168 255 1 Assign UA 5200 a new IP setting according to your case Netmask 255 255 0 0 Gateway 192 168 1 1 OS Account Username root After login change your password ASAP Refer User Ma...

Page 19: ...Setting Network Setting Network Setting LAN1 to change the IP setting by user network 4 Save the IP setting restore the PC original IP settings and type the new IP in the browser as step 2 to login t...

Page 20: ...ontrollers to the Internet but the IP addresses of UA 5200 are unknown or need to quickly modify the UA controller UA Utility is UA s free tool software to quickly search each UA 5200 controller on th...

Page 21: ...ection Click New to add a connection item and give a name for it 3 Search the UA 5200 controller Mouse double click on the name you created or single click and then click the Connect button this utili...

Page 22: ...nect button It will connect to the UA 5200 webpage via the default Web browser IE Chrome 5 Connect to the UA 5200 controller The default web browser will be run and direct go to the UA 5200 login web...

Page 23: ...S 23 6 Login the Web UI of the UA 5200 controller When login into the web interface the UA 5200 default home page the main configuration screen will be displayed as below and will automatically read s...

Page 24: ...ple to allow users to learn about the project setting flow and steps The quick setup method is to use the Function Wizard that at the up right corner of the Web UI since Version V2 0 0 The Function Wi...

Page 25: ...n is show as the picture below Note Function Wizard at the up right corner of the Web UI is a quick setup area The hardware network connection methods please see the Sec 2 1 and Sec 2 2 This sample us...

Page 26: ...Example The UA 5231 uses the ttyO5 port to connect with the M 7055D so set the Serial Port ttyO5 The M 7055D module default setting is 9600 8 N 1 so set Baud Rate 9600 others need not to change After...

Page 27: ...fault name Name click button to create a new module and click Edit button to configure the module content setting and Modbus mapping table This Example First select the Serial Port ttyO5 give the Modu...

Page 28: ...the Modbus Mapping Table Setting The system provides 4 Modbus data models as below 01 to 04 for mapping to the DO DI AO and AI channels Please note that the start address of UA series controller is st...

Page 29: ...show in the Modbus Mapping Table M 7055D 8 DO setting and the Coil Status 0x table after setting are as below M 7055D 8 DI setting and the Input Status 1x table after setting are as below After settin...

Page 30: ...nning so this step will auto enter the OPC UA Connection Local Server page of IoT Platform Setting The Step Box will prevent the user from selecting the wrong platform This Example The server name and...

Page 31: ...uto enter the OPC UA Modbus RTU Master page of Conversion setting The Step Box will prevent the user from selecting the wrong platform This Example In this setting page please check the enable box of...

Page 32: ...e Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller and will upload the new project into the UA series and run the new project Wh...

Page 33: ...IP to be the same domain with the UA factory default network IP to login the Web UI Refer Section 2 2 1 B Using Software Utility UA Series provides a free software utility for auto searching the UA c...

Page 34: ...og in the Web UI the version information is first displayed on the screen It includes the version of the install Middleware program main program and Web Interface and date The following picture shows...

Page 35: ...ghtly Refer Chapter 4 2 Main Menu Area The main menu contains all the setting functions that classified into six categories Click the main menu item the sub menu will appear on the bottom left of the...

Page 36: ...cting OPC UA in IoT Platform Conversion File Setting Execution Main Menu Step Box of the Function Wizard The chapter 2 provides an example for user to quickly know the setting procedure and the chapte...

Page 37: ...p Box The user just needs to follow the Step Box step by step and then can complete the project or function quickly and rightly This chapter will focus on the steps and function settings About the rea...

Page 38: ...ems in this category that can be divided into 3 protocol types and introduced in 3 sub sections OPC UA MQTT MQTT JSON Modbus OPC UA Conversion Using the OPC UA Service function to convert with Modbus...

Page 39: ...and Modbus RTU TCP ASCII three protocols With the OPC UA Service function the OPC UA Server can read and write the Modbus RTU TCP ASCII devices that connected to the controller The settings of Modbus...

Page 40: ...e Module Communication Conversion in the Function Wizard Step Box The Step Box of the Modbus RTU OPC UA and Modbus ASCII OPC UA has the same 6 steps here will introduce them together When enabling the...

Page 41: ...with the I O module ttyO2 RS 485 ttyO4 RS 232 ttyO5 RS 485 Baud Rate Choose a baud rate to communicate with the module 1200 2400 4800 9600 19200 38400 57600 and 115200 The UA controller and the I O mo...

Page 42: ...ch module can give a name Default name Name Click button could add a new module and then click Edit button to configure the module content and the Modbus mapping table Add a module No 1 Name Example1...

Page 43: ...ls 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of UA controller is start from 0 even if s...

Page 44: ...pping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow the...

Page 45: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 46: ...er from selecting the wrong platform OPC UA Connection Local Server Setting Server Server Name Display the active OPC UA Server name Not editable System values ICPDAS_OPC_UA_Server Port The communicat...

Page 47: ...Module List No The module number in the module list Not editable here Module Name Nickname The module name set in the module list Not editable here All Enabled Check All Enabled box to enable all modu...

Page 48: ...Display the variable name that set in the Modbus Address Mapping Table page Not editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display d...

Page 49: ...t after saving needs to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller and...

Page 50: ...UA Conversion MQTT OPC UA Conversion include the conversion of OPC UA and MQTT protocols With the OPC UA Service function the OPC UA Server can read and write the MQTT device that connected to the con...

Page 51: ...er can choose the item MQTT OPC UA of the Module Communication Conversion in the Function Wizard Step Box The Step Box of the MQTT OPC UA has 6 steps as below When enabling the Step Box it auto enters...

Page 52: ...tep Box will prevent the user from selecting the wrong platform User can choose the local or remote broker for the MQTT connection MQTT Connection Local Broker Setting Port The COM port of the Local M...

Page 53: ...roker Click the left box and remove can delete the Broker Save Click to save the settings of this item MQTT Connection Remote Broker Broker Content Settings Broker Name The name of the remote MQTT Bro...

Page 54: ...and then click Edit button to configure the module content and the Modbus mapping table Add a module No 1 Name DL 302 as below and then click Edit button to enter the Module Content Setting page If se...

Page 55: ...tting Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type of the MQTT variable Include Bool Short Unsigned Short Long Unsigned Long Float...

Page 56: ...igned Long Float Double String Subscribe Topic The topic of receiving subscribing data message Subscribe Qos The subscribe Qos Quality of Service levels Default 2 0 Delivering a message at most once 1...

Page 57: ...from selecting the wrong platform OPC UA Connection Local Server Setting Server Server Name Display the active OPC UA Server name Not editable System value ICPDAS_OPC_UA_Server Port The communication...

Page 58: ...ber in the module list Not editable here Module Name Nickname The module name set in the module list Not editable here Edit If user wants to enable some I O channels for conversion click Edit of that...

Page 59: ...Display the variable name that set in the MQTT Module List Not editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type of the v...

Page 60: ...t after saving needs to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller and...

Page 61: ...TT and Modbus RTU TCP ASCII three protocols With the MQTT Service function users can set the MQTT client to publish the message to the specified broker or subscribe the topic and so to read and write...

Page 62: ...Modbus I O via MQTT Broker user can choose the item Modbus TCP MQTT of the Module Communication Conversion in the Function Wizard Step Box The Step Box of the Modbus TCP MQTT has 5 steps as below When...

Page 63: ...lick Edit button to configure the module content and the Modbus mapping table Add a module No 1 Name Example1 as below and then click Edit button to enter the Module Content Setting page If set up a w...

Page 64: ...del System provides 4 Modbus data models 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of U...

Page 65: ...pping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow the...

Page 66: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 67: ...al Broker page of IoT Platform Setting The Step Box will prevent the user from selecting the wrong platform User can choose the local or remote broker for the MQTT connection MQTT Connection Local Bro...

Page 68: ...roker Click the left box and remove can delete the Broker Save Click to save the settings of this item MQTT Connection Remote Broker Broker Content Settings Broker Name The name of the remote MQTT Bro...

Page 69: ...the wrong platform Convert Setting MQTT Modbus TCP Master Module List No The module number in the module list Not editable here Module Name Nickname The module name set in the module list Not editabl...

Page 70: ...table here Module Name The module name set in the module list Not editable here Scan Rate ms Set an update frequency for the task data Default 1000 Unit ms Dead Bend Give a dead bend value for updatin...

Page 71: ...fault 2 0 Delivering a message at most once 1 Delivering a message at least once 2 Delivering a message at exactly once Publish Topic The topic of sending publishing data message Publish Qos The publi...

Page 72: ...eeds to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller and will upload the...

Page 73: ...he message to the specified broker or subscribe the topic and combine several messages that converted in JSON format into a group to read and write the multiple channels of the Modbus RTU devices that...

Page 74: ...rsion in the Function Wizard Step Box The Step Box of the Modbus RTU MQTT JSON and Modbus ASCII MQTT JSON has the same 7 steps here will introduce them together When enabling the Step Box it auto ente...

Page 75: ...le ttyO2 RS 485 ttyO4 RS 232 ttyO5 RS 485 Baud Rate Choose a baud rate to communicate with the module 1200 2400 4800 9600 19200 38400 57600 and 115200 The UA controller and the I O module need have th...

Page 76: ...ch module can give a name Default name Name Click button could add a new module and then click Edit button to configure the module content and the Modbus mapping table Add a module No 1 Name Example1...

Page 77: ...ls 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of UA controller is start from 0 even if s...

Page 78: ...pping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow the...

Page 79: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 80: ...ion Local Broker page of IoT Platform Setting The Step Box will prevent the user from selecting the wrong platform User can choose the local or remote broker for the MQTT connection MQTT Connection Lo...

Page 81: ...roker Click the left box and remove can delete the Broker Save Click to save the settings of this item MQTT Connection Remote Broker Broker Content Settings Broker Name The name of the remote MQTT Bro...

Page 82: ...t the Modbus RTU or ASCII MQTT JSON conversion at the beginning so this step will auto enter the MQTT Connection MQTT Group Connection page of IoT Platform Setting The Step Box will prevent the user f...

Page 83: ...ent list Not editable here Group Name Give a name e g Group1 Default Name Scan Rate ms Set an update frequency for the data Default 1000 Unit ms Dead Bend Give a dead bend value for updating a float s...

Page 84: ...0 Delivering a message at most once 1 Delivering a message at least once 2 Delivering a message at exactly once Subscribe Topic The topic of receiving subscribing data message Subscribe Qos The subscr...

Page 85: ...ng platform Convert Setting MQTT JSON Modbus RTU Master Module List No The module number in the module list Not editable here Module Name The module name set in the module list Not editable here Conne...

Page 86: ...Name The variable name of the mapping address Not editable here Alias The alias name for the variable Editable here Attribute Display data attribute of the variable Not editable Include Read Read Writ...

Page 87: ...t after saving needs to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller and...

Page 88: ...e function parameters of the Module Connecting to Azure There are 3 items in this category for 3 protocol types Here will introduce the Modbus TCP Azure for this category Modbus RTU Azure Allow the Mo...

Page 89: ...the Microsoft Azure platform and allows users to publish messages to Azure and receive messages from Azure This section will introduce the setting steps and the function parameters There are 3 items a...

Page 90: ...unction Wizard Step Box The Step Box of the Modbus TCP Azure has 5 steps as below When enabling the Step Box it auto enters the first step setting page The step with a bold underline means it is the c...

Page 91: ...lick Edit button to configure the module content and the Modbus mapping table Add a module No 1 Name Example1 as below and then click Edit button to enter the Module Content Setting page If set up a w...

Page 92: ...del System provides 4 Modbus data models 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of U...

Page 93: ...pping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow the...

Page 94: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 95: ...nnection Microsoft Azure Platform page of IoT Platform Setting The Step Box will prevent the user from selecting the wrong platform MQTT Connection Microsoft Azure Platform Azure List Azure Name Azure...

Page 96: ...ft Azure Web Site for detailed information Keep Alive Time second Set the time in second that pass away without communication between the UA controller and Microsoft Azure Default 60 second Scan Rate...

Page 97: ...ing the wrong platform Convert Setting MQTT JSON Modbus TCP Master Module List No The module number in the module list Not editable here Module Name Nickname The module name set in the module list Not...

Page 98: ...able Name The variable name of the mapping address Not editable here Alias The alias name for the variable Editable here Attribute Display data attribute of the variable Not editable Include Read Read...

Page 99: ...ect after saving needs to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller a...

Page 100: ...a common feedback loop component in industrial control applications The controller compares the collected data with a reference value and then uses this difference to calculate a new input value whose...

Page 101: ...se purpose is to allow the system data to reach or remain at the reference value This section will introduce the setting steps and the function parameters of the PID Operation Function Diagram for PID...

Page 102: ...with the I O module ttyO2 RS 485 ttyO4 RS 232 ttyO5 RS 485 Baud Rate Choose a baud rate to communicate with the module 1200 2400 4800 9600 19200 38400 57600 and 115200 The UA controller and the I O m...

Page 103: ...ch module can give a name Default name Name Click button could add a new module and then click Edit button to configure the module content and the Modbus mapping table Add a module No 1 Name Example1...

Page 104: ...ls 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of UA controller is start from 0 even if s...

Page 105: ...apping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow th...

Page 106: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 107: ...The Step Box will prevent the user from selecting the wrong platform Advanced Setting PID Operation PID List PID Name PID name user can define e g Task1 Default Task Click to add a new PID Task Edit...

Page 108: ...PID operation Select the attribute type and name of the float variable Auto Tune Enable Auto tuning PID parameters for your system Default check Un Enable Tuning PID parameters manually e g Kp Ki Kd...

Page 109: ...ut module If no option is available add a new module Variable selection Choose a predefined float variable as the output parameter for PID operation Select the attribute type and name of the float var...

Page 110: ...ject after saving needs to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the system is deleting the old project in the UA controller...

Page 111: ...ervices such as Line Facebook Twitter Gmail Instagram etc For example if Facebook Service A has a new message then send an email to Gmail Service B With the IFTTT cloud platform and UA functions the u...

Page 112: ...controller modules IFTTT trigger conditions the condition variable table and the IFTTT event connection 2 IFTTT Cloud Platform Setting In the IFTTT website set up the if side service and event this u...

Page 113: ...he I O module ttyO2 RS 485 ttyO4 RS 232 ttyO5 RS 485 Baud Rate Choose a baud rate to communicate with the module 1200 2400 4800 9600 19200 38400 57600 and 115200 The UA controller and the I O module n...

Page 114: ...ach module can give a name Default name Name Click button could add a new module and then click Edit button to configure the module content and the Modbus mapping table Add a module Ex No 1 Name M 7 a...

Page 115: ...ls 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of UA controller is start from 0 even if s...

Page 116: ...apping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow th...

Page 117: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 118: ...TT message After setting an IFTTT condition trigger list will show on the bottom includes left box event name key and status Check the box in the left of the list is to select and to delete the list C...

Page 119: ...les Select the module and variable for the condition trigger Module Type select the module type Modbus RTU TCP ASCII Module Name select the module that set for condition trigger Variable Attribute sel...

Page 120: ...is Status Change When detecting the status is changed it will trigger the event and send the assigned message Below is a switch detecting example DIO Trigger Detect per 500 ms 1 Detect initial switch...

Page 121: ...l CO2 concentration 600 ppm Set Dead Band 400 Initial Trigger Condition 1000 or 200 2 Detect CO2 concentration 800 It is in the range of Dead Band 3 Detect CO2 concentration 1100 It exceeds the upper...

Page 122: ...e Condition Display the trigger condition Not editable here Define Message Default Message module code_variable code The user can define own message in the format of English character number general s...

Page 123: ...is saved completely Step 5 Run the Project The project after saving needs to be executed Click the next step Run the Project The Step Box will show the words Please wait as below that means the syste...

Page 124: ...When click the last step the Step Box will disappear automatically now and go to the I O Status screen view Click the left module name the right screen will show the module setting and the I O real ti...

Page 125: ...and the function descriptions are listed on the page of the Main Menu such as the controller service time network account boot and COM port interface settings This chapter will introduce these functio...

Page 126: ...tting Functional status Run Project Display the current status of project running in the UA series controller and provide Run and Stop button to switch the status Default Run MQTT Broker Display the c...

Page 127: ...the date of the UA series controller The yellow block means current day User can switch to show the date in other month Time Display the current time of the UA series controller including hour minute...

Page 128: ...ually Directly enter the new year month date and hour minute second Read The Local Computer Time Click Read can copy the current time of the using computer to the Time Setting of this item Time Zone S...

Page 129: ...f UA controller network refers to the Section 2 2 1 Obtain an IP address automatically DHCP It s the Dynamic Host Configuration Protocol mode The system assigns the IP Mask and Gateway automatically I...

Page 130: ...P com DynDNS FreeDNS Username Set up the login user name The star means the field cannot be null Default undefined Password Set up the login password The star means the field cannot be null Domain Nam...

Page 131: ...art the UA When the 3G 4G signal turns green the network connection is successful 4 When the mobile network is enabled the mobile network will serve as the main route to the external network System Se...

Page 132: ...proprietary number provided by the Telecommunication Service Company APN Please refer to this document provided on the UA Web HMI page to configure the setting Authentication Please refer to this docu...

Page 133: ...ormation for the factory default network values of UA controller please refers to the Section 2 2 1 System Setting Account Setting Account Settings Page Username The login username for the UA 5200 s W...

Page 134: ...ck Reboot can restart the UA controller at once System Setting Boot Run at startup Project Check the Run at startup box can set the project to run at the UA controller startup Default check MQTT Broke...

Page 135: ...ttyO4 RS 232 ttyO5 RS 485 Default ttyO2 Baud Rate Choose a baud rate to communicate with the module 1200 2400 4800 9600 19200 38400 57600 and 115200 The UA controller and the I O module need have the...

Page 136: ...age of the Main Menu such as the Modbus RTU Module Master TCP Module Master ASCII Module Master and MQTT Module The Module Setting will support more modules in the future This chapter will introduce t...

Page 137: ...ick button could add a new module and then click Edit button to configure the module content and the Modbus mapping table Setting Steps 1 Select the module connecting Serial port 2 Give the module nam...

Page 138: ...ule number in the module list System arrange not editable Module Name Nickname Module name or nick name User can give a new name The star means this field cannot be null Edit Click to set the module i...

Page 139: ...apping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of UA controller is start from 0 even if some modules ar...

Page 140: ...apping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow th...

Page 141: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 142: ...e and then click Edit button to configure the module content and the Modbus mapping table Setting Steps 1 Select the module connecting Ethernet LAN port 2 Give the module name or nickname e g Example2...

Page 143: ...nick name User can give a new name The star means this field cannot be null Edit Click to set the module in the Module Content Setting page Copy Select the module wants to copy by check the box and cl...

Page 144: ...del System provides 4 Modbus data models 01 04 for mapping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of U...

Page 145: ...apping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow th...

Page 146: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 147: ...Click button could add a new module and then click Edit button to configure the module content and the Modbus mapping table Setting Steps 1 Select the module connecting Serial port 2 Give the module n...

Page 148: ...odule number in the module list System arrange not editable Module Name Nickname Module name or nick name User can give a new name The star means this field cannot be null Edit Click to set the module...

Page 149: ...apping to address of DO DI AO and AI ex 01 DO channels 02 DI 03 AO 04 AI Start Address The start address of the Modbus command Note the address of UA controller is start from 0 even if some modules ar...

Page 150: ...apping to AI Modbus address Address The start address of the Modbus command Default 0 Note the address of UA controller is start from 0 even if some modules are start from 1 here it needs to follow th...

Page 151: ...dress Table Display Click Show to display all fields click Hide to hide some fields Address Modbus address System auto arrange Variable name The variable name of the mapping address Default Tag0 and a...

Page 152: ...n could add a new module and then click Edit button to configure the module content and the MQTT variable table Setting Steps 1 Select the module connecting Ethernet LAN port 2 Give the module name or...

Page 153: ...e or nick name User can give a new name The star means this field cannot be null Edit Click to set the module in the Module Content Setting page Copy Select the module wants to copy by check the box a...

Page 154: ...tting Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type of the MQTT variable Include Bool Short Unsigned Short Long Unsigned Long Float...

Page 155: ...signed Long Float Double String Subscribe Topic The topic of receiving subscribing data message Subscribe Qos The subscribe Qos Quality of Service levels Default 2 0 Delivering a message at most once...

Page 156: ...tion services via the Ethernet interface for data transmission IoT Platform Setting includes five sub menu functions in MQTT and OPC UA two connections and the function descriptions are listed on the...

Page 157: ...protocol and supporting MQTT message distribution management When using MQTT communication there is no need to build a new Broker system MQTT Connection Local Broker Setting Port MQTT Local Broker s C...

Page 158: ...nd subscribe messages to the remote Broker through this connection Setting Sequence for the MQTT Connection 1 Add and set up a connection Broker name in the Remote Broker List 2 Set up the contents of...

Page 159: ...main The IP address or domain name of the remote Broker Port The communication port of the remote Broker Check the box in the left of the Broker is to select that Broker can delete or copy the Broker...

Page 160: ...domain name of the Remote MQTT Broker Default 127 0 0 1 Port The remote Broker port Default 1883 Keep Alive Time second The Keep alive time Default 60 second SSL TLS Check to enable the supporting of...

Page 161: ...setting of new remove and set up the connection group list and their function parameters Setting Sequence for the MQTT Group Connection 1 Set up a connection MQTT Broker of Local or Remote Broker 2 A...

Page 162: ...T Connection MQTT Connection Group Name List Group Name The MQTT connection group name Check the box in the left of the Group name is to select that group can delete or copy the group Check the box on...

Page 163: ...name Scan Rate ms Set an update frequency for the data Unit ms Default 1000 ms Dead Band Give a dead bend value for updating a float signal Default 0 Will Topic The title of a disconnect notice Defau...

Page 164: ...ce 1 Delivering a message at least once 2 Delivering a message at exactly once Subscribe Topic The topic of receiving subscribing data message Subscribe Qos The subscribe Qos Quality of Service levels...

Page 165: ...loud for the setting is fast and easy The UA series also provides the MQTT function for module to connect to the Azure platform and allows users to publish messages to Microsoft Azure and receive mess...

Page 166: ...an define the name Default Name Click to add a new Azure list Check the box in the left of a Azure name is to select that Azure can delete or copy the Azure Check the box on the top of the list will s...

Page 167: ...osoft Azure Web Site for detailed information Keep Alive Time second Set the time in second that pass away without communication between the UA controller and Microsoft Azure Default 60 second Scan Ra...

Page 168: ...A series built in OPC UA Server OPC UA Connection Local Server Server Server Name Display the active OPC UA Server name Not editable System values ICPDAS_OPC_UA_Server Port The communication port numb...

Page 169: ...Convert Setting has 9 sub menu items in 3 protocol types including OPC UA MQTT and MQTT JSON And each protocol type has 3 convert settings items for conversion with the Modbus RTU TCP ASCII Master pr...

Page 170: ...h Modbus TCP protocol 8 2 Use OPC UA Service to convert with MQTT protocol 8 3 MQTT Use MQTT Service to convert with Modbus RTU ASCII protocol 8 4 Use MQTT Service to convert with Modbus TCP protocol...

Page 171: ...OPC UA and Modbus RTU ASCII Master communication protocol conversion With this function the OPC UA Server can read and write the Modbus RTU ASCII device that connected to the controller The settings...

Page 172: ...e module list Not editable here All Enabled Check All Enabled box to enable all modules in list for conversion Default Uncheck Check the box of each module can enable just that module for conversion E...

Page 173: ...ge Not editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type of the variable that set in the Modbus Address Mapping Table page...

Page 174: ...nd Modbus TCP Conversion This page provides OPC UA and Modbus TCP Master communication protocol conversion With this function the OPC UA Server can read and write the Modbus TCP device that connected...

Page 175: ...st Not editable here Module Name Nickname The module name set in the module list Not editable here All Enabled Check All Enabled box to enable all modules in list for conversion Default Uncheck Check...

Page 176: ...ge Not editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type of the variable that set in the Modbus Address Mapping Table page...

Page 177: ...8 3 OPC UA and MQTT Conversion This page provides OPC UA and MQTT communication protocol conversion With this function the OPC UA Server can read and write the MQTT device that connected to the contr...

Page 178: ...Name Nickname The module name set in the module list Not editable here All Enabled Check All Enabled box to enable all modules in list for conversion Default Uncheck Check the box of each module can...

Page 179: ...No The module name in the module list Not editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type of the MQTT variable Include B...

Page 180: ...on users can set the MQTT client to publish the message to the specified broker or subscribe the topic and so to read and write the single channel of the Modbus device that connected to the controller...

Page 181: ...ist Not editable here Module Name Nickname The module name set in the module list Not editable here All Enabled Check All Enabled box to enable all modules in list for conversion Default Uncheck Check...

Page 182: ...set in the module list Not editable here Scan Rate ms Set an update frequency for the task data Default 1000 Unit ms Dead Bend Give a dead bend value for updating a float signal Default 0 Will Topic...

Page 183: ...fault 2 0 Delivering a message at most once 1 Delivering a message at least once 2 Delivering a message at exactly once Publish Topic The topic of sending publishing data message Publish Qos The publi...

Page 184: ...rsion With the MQTT Service function users can set the MQTT client to publish the message to the specified broker or subscribe the topic and so to read and write the single channel of the Modbus devic...

Page 185: ...e here Module Name Nickname The module name set in the module list Not editable here All Enabled Check All Enabled box to enable all modules in list for conversion Default Uncheck Check the box of eac...

Page 186: ...set in the module list Not editable here Scan Rate ms Set an update frequency for the task data Default 1000 Unit ms Dead Bend Give a dead bend value for updating a float signal Default 0 Will Topic...

Page 187: ...fault 2 0 Delivering a message at most once 1 Delivering a message at least once 2 Delivering a message at exactly once Publish Topic The topic of sending publishing data message Publish Qos The publi...

Page 188: ...o publish the message to the specified broker or subscribe the topic and combine several messages that converted in JSON format into a group to read and write the multiple channels of the Modbus RTU A...

Page 189: ...odule list Not editable here Connection Name Select a group connection name and then click Apply All Enabled Check All Enabled box to enable all modules in list for conversion Default Uncheck Check th...

Page 190: ...mapping address Not editable here Alias The alias name for the variable Editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type...

Page 191: ...ction users can set the MQTT client to publish the message to the specified broker or subscribe the topic and combine several messages that converted in JSON format into a group to read and write the...

Page 192: ...Not editable here Connection Name Select a group connection name and then click Apply Edit If user wants to enable some I O channels for conversion click Edit of that module to enter the Module Conten...

Page 193: ...mapping address Not editable here Alias The alias name for the variable Editable here Attribute Display data attribute of the variable Not editable Include Read Read Write Data Type Display data type...

Page 194: ...unctions in the future There are 2 advanced setting functions now PID Operation and IFTTT Condition Trigger This chapter will introduce the function items and setting parameters The setting procedure...

Page 195: ...in accordance with Proportional Integral and Derivative is called PID control for short also called PID regulator When the user cannot fully grasp or measure parameters of the control system the PID r...

Page 196: ...value and then uses this difference to calculate a new input value whose purpose is to allow the system data to reach or remain at the reference value The setting steps of the PID Operation are as bel...

Page 197: ...Edit can set the PID content Click the left box and remove can delete the PID list The page number of the PID list Current page Total pages Click or to go to the previous or next page Save Click to s...

Page 198: ...PID operation Select the attribute type and name of the float variable Auto Tune Enable Auto tuning PID parameters for your system Default check Un Enable Tuning PID parameters manually e g Kp Ki Kd...

Page 199: ...f no option is available add a new module Variable selection Choose a predefined float variable as the output parameter for PID operation Select the attribute type and name of the float variable Max S...

Page 200: ...n that is a cloud service platform that easy to get your apps and devices working together via creating chains of simple conditional statements applets An applet is triggered by changes that occur wit...

Page 201: ...the IFTTT website setting into the Content Setting of the UA We HMI Detail in the Appendix C This section introduces the setting part on the UA Web Interface including the IFTTT trigger condition var...

Page 202: ...ondition trigger content Status Display the enable status of the IFTTT condition trigger list Remove Click the left box and remove can delete the IFTTT list The page number of the IFTTT list Current p...

Page 203: ...set for condition trigger Variable Attribute select the variable attribute for condition trigger Variable Name select the variable name for condition trigger The following condition fields may differ...

Page 204: ...is Status Change When detecting the status is changed it will trigger the event and send the assigned message Below is a switch detecting example DIO Trigger Detect per 500 ms 1 Detect initial switch...

Page 205: ...l CO2 concentration 600 ppm Set Dead Band 400 Initial Trigger Condition 1000 or 200 2 Detect CO2 concentration 800 It is in the range of Dead Band 3 Detect CO2 concentration 1100 It exceeds the upper...

Page 206: ...e Condition Display the trigger condition Not editable here Define Message Default Message module code_variable code The user can define own message in the format of English character number general s...

Page 207: ...tem default I O Status page It displays the all I O channel information based on the sorting of all I O Modules ii Related settings and the user defined I O Status page It displays the I O channel sta...

Page 208: ...u function Settings and has 3 setting items This chapter will introduce the function items and setting parameters The setting procedure for the UA series controllers is to set up from the left to the...

Page 209: ...settings to the UA series controller Extension name of the project file tar Update Update and run the project file that uploaded into the controller Trusted Certificate Upload Upload the Trusted Cert...

Page 210: ...f the UA 5200 hardware and turn the Rotary Switch to 8 2 Reboot the UA 5200 and wait a long buzzer sound that means of doing the recovering 3 Wait about 3 minutes until 2 long buzzer sounds and then t...

Page 211: ...ing model The download website http icpdas com tw pub cd UA 5000 middleware 3 Save the Middleware package file into an empty FAT32 format USB drive and put to the UA 5200 USB port 4 Reboot the UA 5200...

Page 212: ...e communication mechanism and also provides the OPC UA trust certificate to protect data transmission security The OPC UA is secure by default encryption enabled and uses advanced certificate handling...

Page 213: ...the file to the controller Trusted Certificate and click on the button Upload Then select the certificate designated folder to open the file The certificate will be uploaded to the UA controller 3 Cl...

Page 214: ...Quality Uncertain Name Short_RW 2 Attribute RW Datatype Int16 Value 0 Quality Uncertain Name Descriptions Variable The array name of JSON Its structure includes several member data as below Name The...

Page 215: ...UA 5200 Series User Manual V4 3 ICP DAS 215 Appendix B Technical Reference Websites OPC UA https opcfoundation org MQTT http mqtt org Modbus http modbus org...

Page 216: ...form Setting Introduced in this Appendix C In the IFTTT website set up the if side service and event this use webhooks for the UA the then side service and action that user can select the service such...

Page 217: ...ries User Manual V4 3 ICP DAS 217 IFTTT Website Setting Steps 1 Login in IFTTT website Sign in IFTTT https ifttt com If you never use the IFTTT sign up a member 2 New an Applet Click the May Applets N...

Page 218: ...trigger of Receive a web request and then enter the Event Name you want for example UA 5200 test The user can define a new name and copy into the Event Name setting field in the UA Web HMI Advanced Se...

Page 219: ...at The this setting is completed as the picture below Now click the button that and then search and choose the service for the action In this example we search and choose the service LINE Choose the a...

Page 220: ...can use the default value Value1 Value1 it will send the message content that setting in the Define Message field of the UA Web HMI IFTTT Condition Trigger Condition Table The message will list the m...

Page 221: ...ture is like the left picture You can click Back button to review and change the setting Click Finish button when all set The Applet will show in the My Applets and link the Webhooks and LINE and has...

Page 222: ...ting is set up in the previous steps Now we will check the event Key and test the message sending 1 Go to Webhooks service Click the account function menu of Services on the up right corner Search and...

Page 223: ...lease copy the Key into the setting field Key in the UA Web HMI Advanced Setting IFTTT Condition Trigger Add Message Content Setting See Section 9 2 Copy to UA Web HMI IFTTT Condition Trigger setting...

Page 224: ...After click the Test it button the green trigger bar shows on the top And then the LINE receives a message IFTTT test This notify is received on the PC version LINE See the bottom right corner It mea...

Page 225: ...UA 5200 Series User Manual V4 3 ICP DAS 225 The LINE APP messages received on the mobile phone...

Page 226: ...t wire with a networked device ex PC or Switch MicroSD Card Reader 1 CA 0910 Cable 1 In the shopping box of the UA Series Power Supply 1 10 30 VDC The Steps to Update Middleware via MicroSD Card 1 Tak...

Page 227: ...00 again 4 Wire the female head of CA 0910 cable to the network PC and the other head to the Console Port of UA Wire CA 0910 cable to the Console port of UA 5 And then turn on the power of the UA 5200...

Page 228: ...put your Serial line default COM1 and Speed 115200 for UA And then click Open button 7 After the login message enter the default username root and password icpdas 8 Configure the UA environment Cony t...

Page 229: ...the login screen appears again 10 Open a web browser on the PC ex Google Chrome IE and enter 192 168 255 1 in the address bar 11 The web browser will run and go to the UA login web site as below Pleas...

Page 230: ...es User Manual V4 3 ICP DAS 230 12 When login to the web interface the UA 5200 home page will be displayed as below If the Middleware Version number is the same as your download version the updating i...

Page 231: ...UA 5200 Series User Manual V4 3 ICP DAS 231 Appendix E UA Series LED Indicators LED indicators of UA Series provide a very convenient way of status indications for faster easier diagnostics...

Page 232: ...ne minute to complete the start up procedure until the RUN led starts flashing 3G Green ON The modem is functioning normally and SIM card inside OFF The modem is not functioning or no SIM card inside...

Page 233: ...tion in the Function Wizard CH4 a Module Communication Conversion Add MQTT OPC UA b Add APP Message Notify new type and add new function IFTTT Condition Trigger Line Facebook Twitter 8 Add new functio...

Reviews: