While attempting to carry out certain operations on a device, you receive an Echelon error telling you that the device is in the wrong state for this operation.
The node was in the wrong state for the attempted operation. To resolve this error, try setting the State property of the nodes AppDevice object to lcaStateCnfgOnline.
Many operations will fail if the device is not in the expected state. For example, an applicationless device cannot be commissioned. If the device is applicationless, load the application image into the device (right-click the device, point to Commissioning, and then click Load on the shortcut menu). If the device is unconfigured, commission it (right-click the device, point to Commissioning, and then click Commission on the shortcut menu). A device in the wrong state is generally indicative of a hardware and/or software problem.
In one case, an I/O module right out of the box failed to commission in the LonMaker drawing. After going through a few replacement modules, the LonMaker drawing was found to be the problem. Creating a new LonMaker drawing took care of the problem.
One possible work around which sometimes works is to delete the I/O module from the LonMaker drawing and then copy and paste another working I/O module that is working.
The device is in the wrong state for this operation. (Subsystem: NS, #86)