background image

UA-5000  Series  User  Manual    V.1.0.0      ICP  DAS 

15 

2.2.

 

Add Variables in the Variable Table 

The following steps will show you how to add variables in the variable table. 
 

Step 1 

Click “Variable Setting” on the left to open the setting page.

 

Step 2 

Click “Add” to add the needed variable. 

 

Summary of Contents for UA-5000 series

Page 1: ...ICP DAS CO LTD UA 5000 Series User Manual IIoT Communication Server ICP DAS CO LTD All Rights Reserved www icpdas com ...

Page 2: ...ringements of patents or other rights of third parties resulting from its use Copyright and Trademark Information Copyright 2015 by ICP DAS Inc LTD All rights reserved worldwide Trademark of Other Companies The names used for identification only maybe registered trademarks of their respective companies License The user can use modify and backup this software on a single machine The user may not re...

Page 3: ...ual Device and Service 19 2 4 1 Set up the Driver 20 2 4 1 1 Example of the Modbus Driver settings 20 2 4 1 2 Example of the MQTT Driver settings 24 2 4 2 Set Up the Virtual Device 28 2 4 2 1 Example of the PID settings 28 2 4 3 Set Up the Service 31 2 4 3 1 Set up the OPC UA Service 31 2 4 3 2 Example of the MQTT Service 31 2 5 Start the RunTime 36 3 System Functional Description 37 3 1 System Ma...

Page 4: ...Modbus Master 42 3 3 1 1 RTU 43 3 3 1 2 TCP 46 3 3 2 MQTT 49 3 4 Virtual Device 52 3 4 1 PID 52 3 5 Service 54 3 5 1 OPC UA 54 3 5 1 1 Redundancy Settings 54 3 5 1 2 Security 55 3 5 2 MQTT 56 4 Technical Reference Websites 59 OPC UA 59 MQTT 59 Modbus 59 ...

Page 5: ...l size and low power consumption that lets this series can be placed in a small space to fit variety of rooms equipment and case environment In the hardware it provides a variety of communication interfaces such as Gigabit Ethernet USB RS 232 and RS 485 ports to connect diverse devices Applying OPC UA can integrate the I O products of ICP DAS with the third party devices import the data informatio...

Page 6: ... I O devices for the PID logic control to provide temperature control and case field solutions Support Modbus TCP RTU Master Through the controller s RS 485 RS 232 and Ethernet ports can connect to the Modbus TCP RTU Slave devices Build systems with scalability and flexibility to meet the diverse application needs and expansion at any time MQTT Broker Inside Compliance with MQTT v3 1 1 protocol Su...

Page 7: ...LED Indicators 4 LEDs Power Running and 2 user defined LEDs Rotary Switch Yes 0 9 VGA Communication Ports VGA Communication Ports Yes resolution 640 480 800 600 1024 768 1280 x 720 Ethernet RJ 45 x 1 RJ 45 x 2 10 100 1000 Based TX Auto negotiating Auto MDI MDI X LED indicators USB 2 0 host 1 Console Port RS 232 RxD TxD and GND Non isolated ttyO2 RS 485 Data Data Non isolated ttyO4 RS 232 RxD TxD a...

Page 8: ... maximum number of devices within 100 connections Modbus RTU A max of 3 ports ttyO2 ttyO4 ttyO5 to connect other Modbus RTU Slave devices e g M 7000 Recommend no more than 32 devices per port for better communication 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 s...

Page 9: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 9 1 5 Appearance ...

Page 10: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 10 ...

Page 11: ...web functions step by step and complete a project 2 1 Link to UA 5000 Web based UI The following steps will show you how to connect to the UA 5000 web interface Using the UA 5000 Utility named UA 5000utility exe at the path of the companion CD i e CD UA 5000 Utility Please copy this file to your PC and then run it to connect the device Step 1 Run the UA 5000 Utility file name UA 5000utility exe ...

Page 12: ...0 0 ICP DAS 12 Step 2 Add a connection item and give a name for it Step 3 Mouse double click on the name you created or single click and then click the Connect button this utility will search and list all devices over the network 1 2 ...

Page 13: ... you want to connect to and then click the Connect button It will connect to the UA 5000 web interface via the default browser Step 5 A login dialog box will appear entering your user name and password and then click OK The factory default user name and password are root 2 1 ...

Page 14: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 14 Finish After logging into the web interface you can see the main configuration screen ...

Page 15: ...CP DAS 15 2 2 Add Variables in the Variable Table The following steps will show you how to add variables in the variable table Step 1 Click Variable Setting on the left to open the setting page Step 2 Click Add to add the needed variable ...

Page 16: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 16 Step 3 Enter all related information for this variable and then click OK Now that your variable is set up ...

Page 17: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 17 Step 4 Repeat the previous steps to add more wanted variables Step 5 Click the Save button to save the settings ...

Page 18: ...8 2 3 Start a Built in MQTT Broker Step 1 Click System Management on the left tree menu and then click the MQTT Broker Setting tab in the right panel Step 2 Click Start to execute the Broker When it marked in gray that means the Broker is running ...

Page 19: ... mentioned as follows Section 3 3 Driver Section 3 4 Virture Device Section 3 5 Service All features follow the task oriented and hierarchical architecture as the logical design First of all the user can add a connection task depends on device properties and add the related command or the item table Finally you can complete two level or three level settings Description of the tool button Add a tas...

Page 20: ...mple we use Modbus TCP protocol to conduct the Modbus Driver setting The user can also refer the Chapter 3 System Function Description Section 3 3 Driver to view all features properties and configuration notice for each item mentioned in this section Step 1 Add all needed variables in the variable table See Section 2 2 Step 2 On the tree menu to the left click Driver Modbus Master TCP and add a co...

Page 21: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 21 Step 3 In the Task table add a Modbus command and enter all parameters Step 4 After completing it you can see this two level Task Command table 1 2 ...

Page 22: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 22 Step 5 Then you can choose a proper variable for a Modbus Address in the Item table Step 6 Repeat the previous steps to set up this table ...

Page 23: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 23 Step 7 Save all settings ...

Page 24: ... UA 5231 communicate with the MQTTdevice The user can also refer the Chapter 3 System Function Description Section 3 3 Driver to view all features properties and configuration notice for each item mentioned in this section Step 1 Add all needed variables in the variable table See Section 2 2 Step 2 Click Driver MQTT on the left tree menu to open the MQTT Driver page ...

Page 25: ...A 5000 Series User Manual V 1 0 0 ICP DAS 25 Step 3 Add a MQTT Driver task Enter task name and Broker settings and then click OK Step 4 In the Item table click Add to add variable and edit its topic 1 2 ...

Page 26: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 26 Step 5 Enter the needed parameters and then click OK Step 6 Now you have successfully added this item ...

Page 27: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 27 Step 7 Follow the previos steps to add several settings Step 8 Save the settings ...

Page 28: ... The user can also refer the Chapter 3 System Function Description Section 3 4 Virture Device to view all features properties and configuration notice for each item mentioned in this section Step 1 Add all needed variables in the variable table See Section 2 2 Step 2 Set up the driver for the corresponding physical I O See Section 2 4 1 Step 3 Click on Virtual Device PID to set up the PID ...

Page 29: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 29 Step 4 Add one PID setting Step 5 Set up all parameters 1 2 ...

Page 30: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 30 Step 6 Save all settings ...

Page 31: ...settings to do 2 4 3 2 Example of the MQTT Service The UA 5000 s MQTT Service is used to convert other Driver s data into the MQTT message Using a user defined topic as an index to receive the data sending from other MQTT devices The following steps will show you the way to convert the Modbus Master Driver s data into the MQTT message The user can also refer the Chapter 3 System Function Descripti...

Page 32: ... 0 ICP DAS 32 Step 2 Set up the Modbus Driver and assign variables to the Driver See Section 2 4 1 Step 3 Set up the MQTT Service Click Service MQTT on the left Step 4 Add a task for this MQTT service After completing it click OK 1 2 ...

Page 33: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 33 Step 5 Click the Add button under the Task tab you added before Step 6 In the pop up Add dialog box enter the needed variable and parameters Then click OK ...

Page 34: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 34 Step 7 Now you have successfully added this item Step 8 Repeat the previous steps to add several items ...

Page 35: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 35 Step 9 Save all settings ...

Page 36: ...describe how to start the UA 5000 series s RunTime When the user finish the project setting and want to start the system runtime simply switch to the Main System Setting page in the System Management panel and then click Start While Start is marked in gray it means the system is running ...

Page 37: ...l settings It includes the System Information Main System and MQTT Broker settings 3 1 1 System Information To display or modify the system information Function items Description Default IP Address The IP address of the UA 5000 System value Netmask The mask address of the UA 5000 System value Host Name The host name of the UA 5000 System value User Name The login name for the UA 5000 s Web UI Pass...

Page 38: ... setting To display or modify the current status for the main system setting Function items Description Default Main System status Display the current status of the main system and allows switching this function Stop Run at startup Whether to run at startup Uncheck ...

Page 39: ...Broker setting Function items Description Default MQTT Broker status Display the current status of the Broker and allows switching this function Start Port MQTT Broker s COM port 1883 Run at startup Whether to run at startup Uncheck 3 1 4 Save the System Management settings Click the Modify button to save the currnt settings ...

Page 40: ...able 1 In the Variable Table you can add edit and delete variables as the figure below 2 Add Edit the variable Function items Description Default Name Variable name Name Attribute Variable attribute Options Read Write Read_Write Read Data Type Variable data type Options Bool Short Unsigned Short Long Unsigned Long Float Double String Bool Size Variable size If this value is greater than 1 this var...

Page 41: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 41 3 Click Ok to complete the setting 4 Click Save to save the current settings ...

Page 42: ...UA 5000 series This topic includes the Modbus Master RTU and TCP and the MQTT items 3 3 1 Modbus Master The following article will show you how to set up the Modbus Master Driver which is divided into RTU and TCP protocols Description of the tool button Add a task command or item Delete a task command or item Modify a task command or item ...

Page 43: ... for the command 500 Serial Settings Port Choose a serial port number Please check which RS 232 485 port is in use Note The wrong setting will cause the communication error TtyO2 Baud Rate Choose a baud rate Make sure the module s baud rate is correct Note The wrong setting will cause the communication error 115200 Data Bits The number of bits used to represent one byte of data 8 Parity Choose one...

Page 44: ...ult Command Name Give a command name Command1 Function Definition Data Model Choose the data type for the Modbus command 02 Input Status 1x Slave ID Set the Slave ID of the UA 5000 Range 1 247 1 Start Address The start address of the Modbus command 0 Length The number of the Modbus address 10 Timeout Set the timeout value for the module 500 ...

Page 45: ...Address Modbus address Auto arrange Variable Choose the variable you set before See 3 2 Variable Setting Data Type After selecting the variable its data type will automatically display Not editable Swap To swap 4 byte or 8 byte data into Low to High High to Low order values True enable False disable 4 Click Save to save current settings ...

Page 46: ...elete the Modbus RTU Master Driver in the TCP page 1 Edit the TCP task The Task settings Function items Description Default Task Name Give a task name Task1 Polling Rate Set an interval time for each command 500 Ethernet IP The IP address of the connected device 127 0 0 1 Port The port number for Modbus TCP 502 ...

Page 47: ...ult Command Name Give a command name Command1 Function Definition Data Model Choose the data type for the Modbus command 02 Input Status 1x Slave ID Set the Slave ID of the UA 5000 Range 1 247 1 Start Address The start address of the Modbus command 0 Length The number of the Modbus address 10 Timeout Set the timeout value for the module 500 ...

Page 48: ...ult Address Modbus address Auto arrange Variable Choose the variable you set before See 3 2 Variable Setting Data Type After selecting the variable its data type will automatically display Not editable Swap To swap 4 byte or 8 byte data into Lo to Hi Hi to Lo order values True enable False disable 4 Click Save to save the current settings ...

Page 49: ...T page Description of the tool button Add a task command or item Delete a task command or item Modify a task command or item 1 Edit the MQTT task The Task settings Function items Description Default Task Name Give a task name Task1 Broker Setting IP The IP address of the Broker Syatem value Port The Broker port 1883 Keepalive Keepalive time 60 ...

Page 50: ...show the variable attribute System value Publish Topic The topic of sending data or publishing messages Publish Qos The Quality of Service Qos levels 0 Delivering a message at most once 1 Delivering a message at least once 2 Delivering a message at exactly once 2 Subscribe Topic The topic of receiving data or subscribing messages Subscribe Qos The Quality of Service Qos levels 0 Delivering a messa...

Page 51: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 51 3 Click Save to save the current settings ...

Page 52: ...ve control is the most widely used in industrial control systems A regulator which is controlled in accordance with Proportional Integral and Derivative is called PID contol for short also called PID regulator When the user cannot fully grasp or measur parameters of the control system the PID regulator is the best solution Description of the tool button Add a task command or item Delete a task com...

Page 53: ...arameters manually True Sample Time Set the samping time 500 Setvalue The target value for PID control 0 Controller mode DIRECT Set it as positive output value REVERSE Set it as reverse output value DIRECT Kp Set the Proportional gain 1 0 Ki Set the Integral gain 1 0 Kd Set the Derivative gain 1 0 MV Output Choose a preset floating variable as output Max Set the upper limit value for the variable ...

Page 54: ...mode System value Local Host IP Display the IP address of the active OPC UA Server System value Server Name Display the active OPC UA Server name Not editable ICPDAS_OPC_UA_Server Port The TCP port number of the active OPC UA Server 48010 Activate Driver Check Driver will run at system startup Uncheck Driver will run if a network is available Uncheck Redundant Server IP The IP address of the redun...

Page 55: ...Anonymous Check Allow clients to use anonymous access Uncheck No anonymous login Check Enable User Password Check Allow to log in with username password Uncheck Not supported this way Uncheck Enable Certificate Check Allow to log in with certificates Uncheck Not supported this way Uncheck Click Save to save the OPC Ua settings ...

Page 56: ...ction Items Description Default MQTT Setting Prefix Set up the prefix for the MQTT topic System value Name Give a task name Task1 Scan Rate Set an update frequency for the task data Unit ms 1000 Dead Bend Give a deadbend value for updating a float signal Unit 0 Will Topic Enter the title of a disconnect notice Will Enter a disconnect notice Connection Setting IP Set the Broker s IP address System ...

Page 57: ...te Not editable It will show the variable attribute System value Subscribe Topic The topic of receiving data or subscribing messages Subscribe Qos The Quality of Service Qos levels 0 Delivering a message at most once 1 Delivering a message at least once 2 Delivering a message at exactly once 2 Publish Topic The topic of sending data or publishing messages Publish Qos The Quality of Service Qos lev...

Page 58: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 58 3 Click Save to save current settings ...

Page 59: ...UA 5000 Series User Manual V 1 0 0 ICP DAS 59 4 Technical Reference Websites OPC UA https opcfoundation org MQTT http mqtt org Modbus http modbus org ...

Reviews: