Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V3.5.0.1
-
Fix Version/s: V3.5.0.2, V3.5.1.0 (open)
-
Component/s: None
-
Labels:None
-
Account:SPC Sercos Slave (SPCSERCOSSL)
Description
If VarCfg is configured and the startup Flag
slaveFlags = SIII_SL_AP_SET_CONFIGURATION_SLAVE_FLAGS_HANDLE_CONNCTRL is set, the stack will answer the ChannelInit with Failure TLR_E_SERCOSIII_SL_IDN_NO_IDN (0xc0851001). This is caused, because the stack want to register for the IDN S-0-1050.0.8 and S-0-1050.1.8.
The IDNs just get created if Flag SIII_SL_AP_SET_CONFIGURATION_SLAVE_FLAGS_SETUP_DEFAULT_OD is set. This flag may not be set if VarCfg is set.
Fix: Do not try to register for for the IDNs S-0-1050.x.8 in case of SIII_SL_AP_SET_CONFIGURATION_SLAVE_FLAGS_HANDLE_CONNCTRL and VarCfg.