-

ID_TO_ADDRESS

TypeFunction block
DescriptionThe function block is used to convert the unique Profinet address ID into the Profinet address structure ADDR. The block is executed by REQ = TRUE.

The Profinet address ID uniquely addresses a Profinet Application Relation (AR).

If an error occurs during execution of the function block, ERROR is set to TRUE. The STATUS output indicates the error code.
Notes
  • Function blocks 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.
  • The ADDRESS_TO_ID function block can be used to convert the Profinet address structure ADDR into the Profinet ID.
ParametersInputs

REQ

ID

Input/Output

ADDR

Outputs

DONE

BUSY

ERROR

STATUS
Error codes Error codes at the STATUS output