Breadcrumbs

NVNetMultiState

The NVNetMultiState is a component that stores the output value in the non-volatile EEPROM memory of the device. After rebooting the device or power failure, the component’s value is restored from this particular memory. The NVNetMultiState component occupies a single memory cell of the multistate type.

The component has to be placed under the SlaveNetwork component.

Note: The method of calculating memory cells for NV components is described in the Plat service section.

The NVNetMultiState component is also used to integrate multistate variables from various sources. It is done using the "reverse following the link" function. The Out slot is connected to the In slots of various protocols, for example, BACnet or Modbus variables. After changing a value in one of the components, the device performs the Set action on the NVNet component to synchronize the values ​​in all connected components. This option is enabled only if the Link Set slot is set to true.

96 NVNetMultiState.png
NVNetMultiState component

The NVNetMultistate component has the following slots:

  • Status: shows the status of the component (OK, Fault);

  • FaultCause: informs about a cause of the component’s Fault status:

    • None: component’s status is OK,

    • BadParent: component is located under wrong parent component,

    • DuplicatedObjectID

    • ExceededNumberOfPoints

    • ValueOutOfRange: the value from the In slot exceeds the range of defined states;

  • MultiStateValueID: allows to set the BACnet ID for the point;

Note: NVNetMultistate shares the address scope with the NVNetNumeric component, therefore, it is impossible to add both of these components with the same ID.

  • ModbusRegister: displays the number of the Modbus register;

Note: Modbus Register = 100 + MultiStateValueID

  • LinkSet: allows to activate the "reverse following the link" function - invokes the Set action in the component linked to the In slot;

  • Out: shows value from the In slot if the component’s status is not fault;

  • OutValue: allows to assign text to the value from the Out slot;

  • In: the inputs slot;

  • User: the user value slot (set by the Set action);

  • Default: the default value slot (set by the global command from the plat action);

  • DefaultTrigger: copies values from the Default slot to the Out slot on the rising edge;

  • EnumVal1-EnumVal8: allow to set string values which will be shown on the output depending on the input value.

Note: String values must be defined in order, without spaces, to be compatible with BACnet standard. The maximum length of each text is 32 signs.