-

GET_MODULE_DIFF_BLOCK

Type Function block
Description The function block can be used to read out module difference blocks (ModuleDiffBlock) for Profinet devices. A ModuleDiffBlock contains information about the differences between the real hardware configuration and the expected configuration (configuration set by the engineering tool) as well as diagnosis information.

Reading ModuleDiffBlocks is triggered with a rising edge at the REQ input. A rising edge at the NEW output indicates that new ModuleDiffBlocks are available.
Notes Function blocks of this type have to be instantiated. The instance name of the function block has to be declared in the 'Variables' table of the POU where the FB is going to be used. The instance name must be unique within the POU.
Parameters Inputs

REQ

AR_USER_ID

Input/Output

MODULE_DIFF_BLOCK

Outputs

DONE

BUSY

ERROR

STATUS

NEW

MORE_AVAILABLE
MODULE_DIFF_BLOCK contentMODULE_DIFF_BLOCK structure

SUBMODULE structure

Module STATE values

Submodule STATE values
Error codes Error codes at the STATUS output