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 - xPlugged- BOOL- ProfinetSubmodule is attached (plugged) to the ProfinetDeviceInstance. - ID- UDINT- CommFB.Constants.INVALID_ID - The ID of the submodule. The ID is valid for a plugged submodule only. - SubmoduleConfig- The current Config (Real IdentData + IOs) - xControllerAccess- BOOL- The submodule is owned by an IO controller. - AR_ID- DWORD- CommFB.Constants.INVALID_ID - ID of owner’s AR. - xData- BOOL- Data exchange of owner’S AR active (IO-Provider / -Consumer State specifies if data is valid). - xStateInformation- BOOL- Field SubmoduleStatus indicates some diagostic information. - SubmoduleState- ProfinetCommon.SubmoduleStatus- Submodule status with detailed information on diagnosis entries or configuration missmatch (with controller AR). 
Methods:
Structure:
