ProfinetSubmodule (FB)¶
FUNCTION_BLOCK ProfinetSubmodule
An instance of this function block represents a Profinet submodule. In initial state, the ProfinetSubmodule is not attached (plugged) to the device, it has to be assigned first (ConfigureDevice() or ReconfigureModules() method).
- InOut:
Scope
Name
Type
Initial
Comment
Output
xPluggedBOOLProfinetSubmodule is attached (plugged) to the ProfinetDeviceInstance.
IDUDINTCommFB.Constants.INVALID_ID
The ID of the submodule. The ID is valid for a plugged submodule only.
SubmoduleConfigThe current Config (Real IdentData + IOs)
xControllerAccessBOOLThe submodule is owned by an IO controller.
AR_IDDWORDCommFB.Constants.INVALID_ID
ID of owner’s AR.
xDataBOOLData exchange of owner’S AR active (IO-Provider / -Consumer State specifies if data is valid).
xStateInformationBOOLField SubmoduleStatus indicates some diagostic information.
SubmoduleStateProfinetCommon.SubmoduleStatusSubmodule status with detailed information on diagnosis entries or configuration missmatch (with controller AR).
Methods:
Structure: