Echelon IzoT Resource Editos User Manual

Page 39

Advertising
background image

IzoT Resource Editor User's Guide

31

raw values between 0 and 255. By changing the scale, it could be used to represent
values from 50-305, or from 0 to 510 (but contain only even values). The formula for
converting the raw value to the scaled value is shown on the tab. By default, Scale
A
is 1, and Scale B and Scale C are 0, resulting in identical values for the raw value
and scaled value (i.e. Scaled Value = 1 * 10

0

* (Unscaled Value + 0)). You can test

your scaling factors by entering a value into Raw Value Example and observing the
scaled value that appears in Scaling Result. You must create a format for the type
for these limits to appear correctly in network tools such as the OpenLNS CT tool.
See Creating and Modifying a Resource Format for more information.

11. Click OK. The new network variable or configuration property type is added to the

Network Variable Types or Configuration Property Types folder. A default
format is created for the network variable or configuration property type as described
in Creating and Modifying a Resource Format.

Using the OpenLNS CT Browser to Calculate Raw Values

You can use the OpenLNS CT Browser in the OpenLNS CT tool to simplify setting
default, invalid, minimum override, and maximum override configuration property
values in the resource editor (see Step 5 in Creating and Modifying a Network Variable
or Configuration
Property Type)
. The OpenLNS CT Browser calculates the raw
hexadecimal values that you must enter. This value can be difficult to determine
without the OpenLNS CT Browser for configuration property types that use structure,
union, or floating point types. To determine the raw hexadecimal value of a value, follow
these steps:

1. Create the configuration property type using the resource editor as described in

Creating and Modifying a Network Variable or Configuration Property Type.

2. Create a device that uses the configuration property type.

3. Add the device to a OpenLNS CT network drawing.

4. Right-click the device, and then click Browse on the shortcut menu. The OpenLNS

CT Browser appears.

5. Find the configuration property you created. Right-click the configuration property,

and then click Details on the shortcut menu. The OpenLNS CT Browser’s Details
dialog opens.

6. Set the individual values of the fields in the structure, union, or the floating-point

value to the desired default or override value and then click OK to return to the
browser.

7. Right-click the configuration property, and then click Change Format on the

shortcut menu. The OpenLNS CT Browser’s Change Format dialog appears.

8. Select Built-in Data Types from Format Files, then select Raw (Hex) from

Formats Available, and then click OK to return to the browser. If the device you
are browsing is not commissioned, you will get a warning message, which you can
ignore.

9. The value is displayed as a comma separated list of values in the Browser window.

Each value is a two-byte hexadecimal number (the browser removes leading zeroes).

10. Return to the configuration property type in the resource editor and enter the

hexadecimal value for the default or override. Prefix a zero to any single digit values
in the comma-separated list. For example, if the OpenLNS CT Browser shows a
value of “0,5,b,36,c,3,db,” enter “00050b360c03db.”

Advertising