7.7 State and sequence diagrams
7.7.12 Handle single UDID mismatch
This subclause specifies the handling of nodes with UDID mismatch. If the non matching node (e.g. new node) meets the requirements (DVI, assignment of SADR, etc.), no re-configuration of the SCM shall be needed when replacing nodes.
The “SCM handle single UDID mismatch” state diagram is specified by Figure 72.
Handle Single UDID Mismatch
Write 0 to UDID List in SOD
SNMT_Assign_SADR
Verify DVI
Verify Parameters
Verify uniqueness of UDID
Store memorized UDID on SCM
OK / memorize returned UDID
OK
OK
OK
/ handle single UDID mismatch = success
SN missing Wrong or defect SN
False / set module status to
„wrong SADR“
False / set module status to
„invalid“
False / set module status to
„invalid“
False / set module status to
„wrong parameters“
timeout
timeout
timeout
/ handle single UDID mismatch = failed / handle single UDID
mismatch = timeout, set module status to missing
Figure 72 – State diagram SCM handle single UDID mismatch Table 207 specifies the SCM handle single UDID mismatch states.
Table 207 – SCM handle single UDID mismatch state description
State Description Write 0 to UDID list in
SOD
The SCM deletes the “old” stored UDID in the SOD (Object 0xCC01 -- 0xCFFF). 0 is no valid UDID
SNMT_Assign_SADR The SCM writes the configured SADR to the module
Verify DVI The DVI has to be checked to ensure that the new node meets the technical requirements
Verify Parameters The parameters which are stored on the node are cross checked with the parameters stored on the SCM. The node will get new parameters if necessary/possible
Verify uniqueness of the UDID
The responded UDID is checked against the UDID list within the SOD (Object 0xC001-0xCFFF)
State Description Store memorized UDID
on SCM
The new UDID is stored on the SCM to be able to recognize the node at the next start-up
SN missing The SN did not answer one or more telegrams from the SCM. Therefore the SN will be handled like a missing node
Wrong or defect SN The node does not meet the technical requirements specified in the SCM Possible reasons are:
the DVI does not meet the requirements,
it is not possible to change the SADR of the device (this can happen if the SADR is to be set with hardware switches),
the parameters stored on the node are not equal to the parameters stored on the SCM but a download is not possible (this can happen if the SCM does not hold the parameters for a node and only knows the required checksum),
the UDID is not unique within the SDN (this normally should never happen because the UDID is designed to be globally unique).
7.7.12.2 Verify parameters
The parameters (SOD) stored on the SN shall be compared with the parameters stored on the SCM.
It is not necessary to store all parameters for all nodes on the SCM. Alternatively the required parameter checksum shall be stored on the SCM. In this case, the SCM shall verify the correctness of the parameters on the node. If the parameters are not correct (the checksum does not match), the SCM will not be able to re-configure such nodes.
The “SCM verify parameters” state diagram is specified by Figure 73.
Check Parameter Checksum and Parameter Timestamp
Send
SNMT_SN_set_to_PRE_OP
[yes]
[timeout] / set module status to „missing“
Wait for SNMT_SN_in_PRE_OP
Check if parameters are available
[OK]
[ not OK]
[OK]
Download SOD
Module is invalid
/ set module status to
„wrong parameters“
[no]
Assign Additional SADR [timeout] / set module
status to „missing“
[timeout] / set module status to „missing“
[OK]
[OK]
[Failed]
[not OK]
Figure 73 – State diagram SCM verify parameters Table 208 specifies the SCM verify parameters states.
Table 208 – SCM verify parameters state description
State Description Check Parameter Checksum and
Parameter Timestamp The SCM checks if the current parameters for the node are the same which are stored on the SCM
Send SNMT_SN_set_to_PRE_OP Resets the SN
Wait for SNMT_SN_in_PRE_OP Waits for the reply of the reset service
Check if parameters are available If the checksum on the node is different from the checksum on the SCM, the SCM checks if parameters for re-configuration of the node are available Download SOD The SCM reconfigures the node
Module is invalid If the parameters on the node are not equal to the parameters stored on the SCM and reconfiguration of the module is not possible, the module is invalid and may not be set to Operational
Assign additional SADRs The SCM assigns the SADR for the optional TxSPDOs 2 -- 1 023 of the corresponding SN