DCP_Get (FB)
FUNCTION_BLOCK DCP_Get
The DCP Get service is used to read one or more attributes from a profinet device.
The attribute to be read are specified in input parameter Options.
- InOut:
Scope
Name
Type
Comment
Input
xExecuteBOOLRising edge: Start Operation DCP-Get
ControllerIDBYTEThe ID of the Controller/Supervisor
MACARRAY [0..5] OF BYTE
The MAC address of the target Profinet device
OptionsSpecify DCP Options that shall be read.
Output
xDoneBOOLAction successfully completed
xBusyBOOLFunction block active
xErrorBOOLTRUE: error occurred, function block aborts actionErrorCodeService failed, or at least one of the requested options is not valid
DataThe received data