Additional router smartshape user cells, Setting user functional block scopes and types, Adding a bitmap to a device master smartshape – Echelon OpenLNS Commissioning Tool User Manual

Page 331

Advertising
background image

OpenLNS CT User’s Guide

315

Additional Router SmartShape User Cells

You can include the following additional user cells in a router SmartShape. Not every router has all of
these cells, but you can add them by right-clicking an existing user-defined cell and selecting Insert
Row
.

Class

Specifies the type of router. Valid values are as follows:

0 Configured router
1 Learning router
2 Repeater
3 Bridge
4 Permanent Repeater
5 Permanent Bridge

The default and recommended value is 0 for a configured router.

The router SmartShape supports the following fields defined for device SmartShapes: Auth, Priority,
PingInterval, InstallMethod, BitmapFile, ChanTypeList, Locn, NewPropCap, NewAdvPropCap,
EditPropCap, EditAdvPropCap, and InitOnline. In addition, the router SmartShape has the
following fields you can use to specify defaults for Side B of the router.

PriorityB

A value of 1 indicates that priority will be enabled on the B-side for
SmartShapes created from this master SmartShape.

ChanTypeListB

A semicolon-separated list of valid channel type IDs for the device
as described in the ChanTypeList device user cell.

Setting User Functional Block Scopes and Types

All functional blocks have scope selectors, which specify the context in which the network variables
and configuration properties are interpreted. The scope selector provides a reference to a resource file
set that defines data types and display formats. Scope selector 0 is a reference to the L

ON

M

ARK

standard resource file set. If you are developing devices with user-defined functional profiles, network
variables, or configuration properties, OpenLNS CT automatically sets the scope of the functional
blocks as long as it can find an appropriate scope 3, 4, 5, or 6 resource file set. If this fails for any
reason, you can set new scope selectors for the functional blocks that failed.

You can change a scope selector by creating a custom device master SmartShape or by creating a
device plug-in that sets your scope selectors. To set the scope selector using a custom device master
SmartShape, create a master SmartShape for your device, and then create and set an FbModes user
cell that sets the scope for each functional block as described in Additional Device User Cells.

Adding a Bitmap to a Device Master SmartShape

You can change the appearance of a device master SmartShape by adding any bitmap to the
SmartShape and then optionally changing its name. When you add a bitmap, you can leave part of the
original form of the SmartShape open so that an OpenLNS CT user can see the fill style that OpenLNS
CT uses to represent the device state.

To add a bitmap to a master device SmartShape, follow these steps:

1. Open a new (non-OpenLNS CT) drawing in Visio.

2. Open the OpenLNS CT Basic Shapes stencil. To do this, on the Shapes window, point to More

Shapes, and then click LONBASIC.

3. Drag the generic Device SmartShape (

) to the drawing.

4. Open the Edit menu and then click Open Device. The Group window opens for the device.

Advertising