they communicate properly with existing devices after you have restored and recommissioned your network.
You can also initiate recommissioning by selecting Resynchronize from the LonMaker menu.
Resynchronizing the Drawing, Database, and
Network
A computer failure or modification of the LNS network database by applications other than the LonMaker tool can cause a LonMaker drawing to be out of synchronization with the associated LNS network database. For this reason, you can resynchronize the drawing to the database. Additionally, the resynchronization command provides a convenient method for resynchronizing physical devices with the LNS network database—for example, to recommission all devices on the network.
Both types of resynchronization always use the information in the LNS network database to resolve any inconsistencies. For example, if the database contains devices that are not in the drawing, the devices are added to the drawing during drawing resynchronization.
Note: If you have an LNS network database but not a LonMaker drawing file, you can create a drawing from the database. Open the Design Manager, select the database name, and select None for the drawing name. Click Create Drawing. For more information, see Creating a Drawing from an LNS Database in Chapter 2, Getting Started.
To resynchronize the drawing or network, complete these steps:
1. Back up the LonMaker network to allow you to recover from a resynchronization error. 2. Open the LonMaker menu and select Resynchronize. The Synchronize LonMaker for
3. Choose any combination of the following options:
Sync drawing to database Modifies the drawing to be consistent with the LNS network database.
Sync network to database The physical devices will be configured and commissioned to be consistent with the LNS network database.
Sync monitor sets between
drawing and database Updates the monitor sets to be consistent with the LonMaker drawing. If the type or format of monitored points has changed, this will update the value displayed when the point is monitored using the LonMaker tool. See the Glossary for a definition of monitor sets.
Update shapes to current LonMaker version
If the LonMaker drawing was originally created with an earlier version of the LonMaker tool, the shapes will be updated to reflect the current release of the LonMaker tool. Once you have chosen the type of resynchronization you wish to perform, click Next. The following window opens:
4. This window allows you to determine the scope of the resynchronization. If you know the
drawing or network is only out of synchronization for one subsystem in a system that contains several subsystems, you may choose to resynchronize only that subsystem to save time. If you aren’t sure what has become unsynchronized, resynchronize the entire drawing.
If the LonMaker network you are resynchronizing contains multiple drawings (see Creating a Subsystem), setting Only Synchronize the Current Drawing prevents the LonMaker tool from attempting to resynchronize any drawing files but the current one. If you are unsure which drawing files may be out of sync, clear this option.
Click Next.
Select the state of the devices after the resynchronization is complete.
Set Commission all Devices with Defined Neuron IDs if you entered Neuron IDs and want all those devices commissioned. If clear, only devices that were previously commissioned are recommissioned now.
If you select Preserve Current State and Commission all Devices with Defined Neuron IDs, the state of devices that have not been previously commissioned is based on the setting in the Network Properties>LonMaker Options>Device Options>New Device State dialog. 6. If you set Update Shapes to Current LonMaker Version, the following window appears.
Choose any combination of the following options:
Shapes All shapes that have newer versions available than the ones currently in the drawing will be listed. Select the shapes to update.
Items Set Menu to update the shortcut menus for the selected shapes. Set Appearance to have the appearance of the shapes updated.
Choose any combination of the following options:
Create Shapes for all
connected NV/MTs Causes shapes to be created in the LonMaker drawing for all connected network variables or message tags. Use reference shapes
for all connections Causes all new connection shapes to be represented with reference shapes. Automatically drop
device, FB, and subsystem shapes
Causes shapes to be automatically placed within the drawing for all devices, functional blocks, and subsystems. Clear this checkbox to be prompted for each device, functional block, or subsystem shape.
Subsystem to Visio
Document Assignment The following options only apply if a subsystem is found in the LNS network database that was not created by the new LonMaker tool.
Single Visio document
for all subsystems Places all new subsystems in a single Visio document. Use this option for small networks with few subsystems and less than 200 devices.
Prompt for subsystem document assignment
Prompts you to specify the Visio document to which the new subsystems should be assigned.
Separate document for each subsystem hierarchy below root
Places each new subsystem hierarchy below the top-level subsystem in a new Visio document. Use this option for large (greater than 200 devices) or complex networks.
Custom Displays a dialog that allows you to assign each new
subsystem in the network to a Visio drawing file. The dialog allows you to create new drawing files and assign subsystems to the drawing files.
8. Click Next. If the Custom subsystem assignment checkbox is selected, a window appears that allows you to customize the drawing document assignment of subsystems found by the database resynchronization process.
Subsystems are listed in the left pane, while the Visio drawing documents are listed in the right pane. To assign a subsystem, select the subsystem name, select the desired drawing file, and then click Assign Document. To add additional drawing files, click Add
Document.
9. If both Sync Drawing to Database and Automatically Drop Device, FB, and Subsystem Shapes are set, the following window appears:
Specify the stencils that you want to be scanned for master shapes. When objects are found within the database that are not already represented in the drawing, the LonMaker tool scans the listed stencils and automatically adds the appropriate shape to the drawing. If the particular master shape for an object is not found, an appropriate generic shape (a LONWORKS Device shape, for example) will be used.
To add additional stencils, click Add Stencil. To remove a stencil, select the desired stencil, then click Remove.
10. Click Finish to begin resynchronization. The following dialog appears, allowing you to monitor the progress of the resynchronization:
11. If the drawing is being resynchronized to match the database, and Automatically Drop was cleared, the following dialog appears for each object in the database that is not represented in the drawing:
Click OK. The Missing Shape dialog closes and you are returned to the LonMaker drawing. 12. Drag a single shape from a LonMaker stencil to the LonMaker drawing that you want to use
for the missing shape. The LonMaker tool will assign the shape to the specified object in the LNS network database. To redisplay the Missing Shape dialog, reselect Resynchronize from the LonMaker menu.
13. Repeat steps 10 and 11 for each new shape. Once all new shapes have been added and the connections have been updated, synchronization will be complete.