Legacy Support > ThingWorx XMPP Edge MicroServer (EMS) Software > Edge Thing Configuration at the Device > Edge Thing
  
Edge Thing
An Edge thing, as opposed to an Edge Enhanced thing or an Edge Database Thing, is usually a connection to an OPC-DA server. An OPC-DA server requires an EMS to be installed and the .NET edge software component.
When you make changes to any configuration properties, make sure you save them!
Configuration: Edge Thing Process
The .NET edge thing software has a local management console to make configuration simpler. Locate the Edge Thing Manager on the start menu or the ThingworxNet.EdgeThingProcess.exe in the installation folder, right click and select Run as administrator.
First, you need to create a new Edge Thing Process. This creates a Windows Service. Within that service, you can create one or more Edge Things, such as an OPC-DA connection or a Microsoft Excel Connection. In this scenario, you cannot independently start and stop the Edge Things, only the Edge Thing Process. However, you can create as many Edge Thing Processes on a single machine as you need.
The Edge Thing Process must be configured to communicate to the local EMS. The EMS can be installed an a separate computer but must be accessible via HTTP. The default configuration assume localhost and HTTP versus HTTPS. If the EMS is running SSL, you should set the microserverIsSecure property to true. The microserverPort setting must match the port defined in the EMS config.lua. The default port is 8000.
In addition, the Edge Thing Process has a Listen On port, which must be different than the port that the EMS is listening on. If you configure more than one Edge Thing Process on a single machine, each one must have a separate and dedicated port.
Configuration: Edge Thing
With the Edge Thing Process selected, you can create a new Edge Thing. The thing will be created within the process. When the process is started or stopped, the thing will also start or stop.
To create an OPC-DA connection, select a Thing Type of OPC DA. On the OPCDA Edge Thing Configuration tab, you must select the opcServerName property. A list of the locally installed OPC Servers should be available to select from. Enable the Thing. If you wish to be able to write to OPC tags, leave the isReadOnly false (otherwise, you can set it to true).
The properties tab defines the OPC tags that you wish to read and/or write from the OPC Server. To browse the OPC-DA server to select specific tags, go to the Tools menu and select Browse Edge Thing. From there, you can select tags to be exposed to the ThingWorx server. For each tag, you must define:
Name (alias name to be exposed to the ThingWorx server)
Source (automatically created when browsing) tag
Base Type (automatically created when browsing) corresponding to native ThingWorx base types
Store true or false. By default, data changes for defined properties are pushed to the server. You can choose to have data change values stored locally in the event that the Edge Thing is disconnected from the ThingWorx server. This is defined for each tag.
Fold Type — this field defines what values are pushed to the server. You define a dead band type for storing values, as follows:
None — push every value change to the server
Deadband — push value changes to the server that exceed the defined Fold Value
Percent Deadband — push only those value changes that are beyond the defined percentage Fold Value
Time — push only those value changes that are outside of a time window (to eliminated chatter noise)
Fold Value
Deadband — This represent absolute value
Percent Deadband — NOT SUPPORTED at this time
Time — Time in seconds
Description — description of the tag exposed at the ThingWorx server.