CheckConfigSRDO
(FUN)
FUNCTION CheckConfigSRDO : BOOL
Function does consistency checks of a IOConfig SRDO structure.
Returns FALSE if an inconsistency is detected and TRUE, if the data is consistent.
The following errors are checked:
eDirection > 2
dwCOBID1 is even
dwCOBID2 is odd
SCT is not set
SRVT is not set
RefreshTime is not set
SRDO length is 0
SRDO is larger than 8
- InOut:
Scope
Name
Type
Comment
Return
CheckConfigSRDO
BOOL
Inout
ConfigSRDO
CST.CONFIG_SRDO
IoConfig SRDO which should be checked