Go to Setting the Initial State for further instructions.
Setting the Initial State: Devices and Routers
When the LonMaker tool is attached and OnNet, the Device State or Router State window appears when you take any of the following actions:
• Commission, replace, or load devices
• Commission or replace routers
These windows allow you to select the initial state of the device or router and the source of the configuration values for the devices after they are commissioned.
Device Initial State Window
The Device State window (shown below) appears after the Load Application Image process is completed.
1. Specify the initial state of the device and the source of the configuration property values based
on the following information:
State Sets the initial state of the device.
Default For uncommissioned devices, uses the default state that you selected for new devices in the LonMaker Options tab on the Network Properties window.
For commissioned devices, Default uses the state of the device prior to the current operation.
When replacing devices and routers and the default option is selected, the state is applied as follows:
• If the device is currently configured and available, its current state is used.
• If the device is not configured or not available and the device master shape defines a default shape, the state of the shape is used.
• If the device is not configured or not available, the default new device state is used. This default is specified in the Device options of the LonMaker Options tab in Network Properties. Offline Sets the device offline so that its application is not running. This
option is typically used to bring up devices in an orderly fashion during commissioning. Resetting a device when in the Offline
state puts the device into the Online state.
Online Runs the device’s application once commissioned. Resetting a device when in the Offline state puts the device into the Online state.
Disable Keeps the device’s application from running even if the device is reset. To be disabled, a device must contain a Node Object functional block. If Disable is selected and the device does not contain a Node Object, the device is put into the Offline state. Source of
Configuration Property Values
Specifies the source of initial values for the devices configuration properties.
Current Values
in Database Selects the configuration properties currently set for the device in the LNS network database. This option is disabled when you are creating a new device.
Default Values Selects the default configuration properties stored in the device template. This option requires a device template based on a version 4 or higher device interface file with default values specified. See the LONMARK Device Interface File Developer’s Guide in the LNS Utilities and LONMARK Reference help for details.
Current Values in Device
Selects the configuration properties already set in the physical device and uploads them to the LNS network database. The Replace Device Wizard offers the following three options for the source of configuration property values:
Old Device Values
Uses the same configuration properties settings as the old device as defined in the LNS network database. This option ensures that the new device has the same configuration as the old device.
Default Values Uses the default configuration properties stores in the device template of the replacement device. This option discards the old device configuration and sets the configuration to the initial default values as defined in the device template.
New Device
Values Uses the configuration properties already set in the replacement physical device and uploads them to the LNS network database. This device also discards the old device configuration and does not change the configuration of the new device. This option is typically used with devices that are configured by the manufacturer.
2. Click Next to continue. Your next step is one of the following two options:
If your selection included routers, the Router State window appears. Continue and make your selections.
If your selection did not include routers, the Installing Devices and Routers step is next. The Specify Identification Method window appears. Go to Installing Devices and Routers.
Router Initial State Window
The Router Initial State window (shown below) appears if the objects you selected for commissioning included routers. You may have completed the Load Application Image and
Device Initial State processes or you may have selected routers to be commissioned directly by selecting one or more, right-clicking one and then clicking Commission on the shortcut menu. You can manually commission a router at any time, or you can select the Commission Device option when you define the router. The LonMaker tool does not use a LonMaker credit when you commission a router.
If you commission a router when the LonMaker tool is OffNet or not attached to the network, the router will only have its Neuron IDs assigned. You must recommission the router when you put it OnNet, but you do not have to re-enter the Neuron ID manually or press the service pin.
Note: The defaults for this page and whether it is displayed can be set from the Network Properties/LonMaker Options window.
1. Select the initial state of the router application on the Router Initial State window (shown below).
This window allows you to specify the state of the router application after it is commissioned. When the Default option is selected, the state is applied as follows:
If the device is currently configured and may be communicated with, its current state is used. If the device is not configured or cannot be communicated with and the device master shape defines a default state, the shape’s state is used.
If the device is not configured or cannot be communicated with, the default new router state is used. This default is specified in the Device option of LonMaker Options in Network Properties.
Only an Online router will forward packets between its two channels. You can change the application state after commissioning by managing the router.
Caution You must place routers online if any devices on the far side of the routers (from the LNS
Server) are to be commissioned in the same operation.
2. Click Next to continue. The Specify Identification Method window appears. See Installing Devices and Routers.