ID_TO_ADDR (FB)

 

FUNCTION_BLOCK ID_TO_ADDR

The function block ID_TO_ADDR converts the handle used for the Communication Function Blocks to the physical identification of a slot of a PROFIBUS DP-slave or subslot of a PROFINET IO Device.

Code-Example: see RALARM

InOut:

Scope

Name

Type

Initial

Comment

Input

EN

BOOL

TRUE

Enable

ID

DWORD

Slot or subslot handle

Output

ENO

BOOL

Flag

STATUS

DWORD

Last detected status

Inout

ADDR

ADDR_TYPE

Physical address information