top server 5 user configurable (ucon) driver training
DESCRIPTION
TOP Server 5 User Configurable (UCON) Driver Training. Lauren Conrad. Agenda. UCON Overview Example Messages Simple Read Transaction Simple Write Transaction Complex Transaction Unsolicited Transaction Resources. UCON Overview when and why to use it. Why Use UCON?. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/1.jpg)
TOP Server 5 User Configurable (UCON) Driver Training
Lauren Conrad
![Page 2: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/2.jpg)
Agenda
• UCON Overview• Example Messages• Simple Read Transaction• Simple Write Transaction• Complex Transaction• Unsolicited Transaction• Resources
![Page 3: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/3.jpg)
![Page 4: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/4.jpg)
Why Use UCON?
• Allows user to easily create a device driver for devices with no off-the-shelf driver solution
• Is completely integrated into the TOP Server just like other TOP Server drivers• Allows user to configure a set of “transactions” through the user interface based
on the protocol format required by the device• Makes device data available to any OPC DA, OPC UA, Wonderware Suitelink, DDE,
or GE iFIX PDB/NIO Client• Requires no programming experience• Provides access to barcode readers, scales, gauges, etc.• Eliminates need for expensive and unreliable alternatives (i.e. custom driver
development, manual data entry, interfacing device to a PLC, etc.)
![Page 5: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/5.jpg)
Evaluating the Protocol
• How Complex is it?• How is the data presented?• How many items will the driver be requesting?• How are the packets terminated?• How do we connect to the device?• Is the device a slave or a master?
![Page 6: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/6.jpg)
02 03 00 00 00 01 84 0A
07 06 00 00 00 02 87 0A
30 31 2D 39 31 38 2D 31 0D 0A
30 31 2D 39 31 34 37 4E 38 2D 31 0D 0A
02 30 2C 50 46 2C 46 03
02 35 2A 50 46 2B
09 30 2C 46 03
![Page 7: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/7.jpg)
Example Command Formats
• Read Command Format<STX><Device ID><Command><ETX>
• Read Response Format<STX><Device ID><Command>,<Data1>,<Data2>,...<ETX>
• Write Command Format<STX><Device ID><Command><Data><ETX>
• Write Response Format<STX<Device ID><Command><Response><ETX>
![Page 8: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/8.jpg)
Example Protocol Types• Binary
– Modbus Holding Register Request
• Hex ASCII– Modbus ASCII Holding Register Request
• ASCII– Unsolicited Packet Sent from Bar Code Reader
– Unsolicited Multiple Data Packet Sent from Inspection System
![Page 9: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/9.jpg)
13.56 GPM13.53 GPM13.57 GPM
13.56
![Page 10: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/10.jpg)
Creating a Project
![Page 11: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/11.jpg)
Creating a Read Transaction
![Page 12: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/12.jpg)
Read Transaction Summary
![Page 13: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/13.jpg)
13.56
13.56
![Page 14: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/14.jpg)
Creating a Write Transaction
![Page 15: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/15.jpg)
Write Transaction Summary
![Page 16: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/16.jpg)
Updating the Server
![Page 17: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/17.jpg)
Station 1256.05 °C44 bar
![Page 18: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/18.jpg)
Adding Multiple Tags
![Page 19: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/19.jpg)
Creating the Transactions
![Page 20: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/20.jpg)
Buffer Pointer
1. Location of buffer pointer after the Read buffer is updated (Byte 1)2. Pointer position after first seek command (Byte 5)3. Pointer position after first move command (Byte 6)4. Pointer position after second seek command (Byte 11)5. Pointer position after second move command (Byte 12)6. Pointer position after third seek command (Byte 19)7. Pointer position after third move command (Byte 20)8. Pointer position after fourth seek command (Byte 24)9. Pointer position after fourth move command (Byte 25)10.Pointer position after fifth seek command (Byte 27)11.Pointer position after fifth move command (Byte 28)
Quantity Product Name Product Code Units Unit Price
![Page 21: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/21.jpg)
Transaction Summary
![Page 22: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/22.jpg)
Tag Group
![Page 23: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/23.jpg)
65,456lbs.
52,435lbs.
60,347lbs.
![Page 24: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/24.jpg)
Creating an Unsolicited Channel
• Enable Unsolicited mode by checking the box• Receive timeout- the amount of time the driver should wait for the unsolicited
message to come in• Dead time- allows TOP Server to re-synchronize itself with the device(s) after
receiving a message with an unknown key• Key length- tells the driver how many characters to use as transaction keys
(must be the first characters in a message)• Log unsolicited message timeouts- places a message in the event log when the
"Receive timeout" period expires while receiving an unsolicited message
![Page 25: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/25.jpg)
Creating an Unsolicited Device
• Wait Time- how long the device waits for an unsolicited message before triggering the _UnsolicitedPcktRcvdOnTime system tag
![Page 26: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/26.jpg)
Adding Unsolicited Tags
![Page 27: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/27.jpg)
Creating Unsolicited Transactions
![Page 28: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/28.jpg)
Unsolicited Transaction Summary
![Page 29: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/29.jpg)
Unsolicited Tag Group
![Page 30: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/30.jpg)
![Page 31: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/31.jpg)
Online
• toolboxopc.com– Driver specific page: http://
toolboxopc.com/html/ucon1.html
– Support tab: http://toolboxopc.com/html/support.asp
![Page 32: TOP Server 5 User Configurable (UCON) Driver Training](https://reader036.vdocument.in/reader036/viewer/2022062408/56814277550346895dae9e7b/html5/thumbnails/32.jpg)
Contacting Software Toolbox Support
• Questions?– Phone: +1 704 849 2773– Email: [email protected]– Fax: +1 704 849 6388