CheckExpSubmodule
(FB)
FUNCTION_BLOCK CheckExpSubmodule
- InOut:
Scope
Name
Type
Initial
Comment
Input
xEnable
BOOL
TRUE
Enable function
AR_ID
DWORD
CommFB.Constants.INVALID_ID
ID of the Application Relation ( = Connection) that has to be checked.
Index
DINT
0
Index of the expected submodule. Range [0 - ExpectedSubmoduleCount - 1].
Output
xValid
BOOL
The displayed data is valid. This means the specified Index and AR-ID are valid.
ExpectedSubmoduleCount
DINT
Number of expected submodules within the specified Connect- req.
ExpectedSubmodule
Data of the Expected Submodule that is currectly selected by the input Index.
xModuleDiff
BOOL
There is some mismatch in the submodule configuration
ModuleState
16#FFFF
ModuleState that will be returned to the controller.
ARInfo
AR releated information that will be returned to the controller.
IdentInfo
Identification releated infiormaton that will be returned to the controller.