CheckExpSubmodule (FB)
FUNCTION_BLOCK CheckExpSubmodule
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnableBOOLTRUE
Enable function
AR_IDDWORDCommFB.Constants.INVALID_ID
ID of the Application Relation ( = Connection) that has to be checked.
IndexDINT0
Index of the expected submodule. Range [0 - ExpectedSubmoduleCount - 1].
Output
xValidBOOLThe displayed data is valid. This means the specified Index and AR-ID are valid.
ExpectedSubmoduleCountDINTNumber of expected submodules within the specified Connect- req.
ExpectedSubmoduleData of the Expected Submodule that is currectly selected by the input Index.
xModuleDiffBOOLThere is some mismatch in the submodule configuration
ModuleState16#FFFF
ModuleState that will be returned to the controller.
ARInfoAR releated information that will be returned to the controller.
IdentInfoIdentification releated infiormaton that will be returned to the controller.