MASTER_FOR_SERVEROBJECTS_POU

MASTER_FOR_SERVEROBJECTS_POU (FB)

FUNCTION_BLOCK MASTER_FOR_SERVEROBJECTS_POU IMPLEMENTS IMasterForServerObjectsPOU

InOut:

Scope
Name
Type
Initial
Comment

Input

refBACnet2_Server

REFERENCE TO BACnet.BACnetServer

0

Reference to the BACnet object of type 'BACnet2_Server' in the device tree

Output

dwNumberOfBACnetServerObjects

DWORD

Total - number of BACnet server objects (device tree and/or POU)

Output

dwNumberOfBACnetServerObjectsPOU_Registered

DWORD

Number of registered BACnet server objects (POU)

Output

dwNumberOfBACnetServerObjectsPOU_Placed

DWORD

Number of placed BACnet server objects (POU)

Output

dwIndexTriggeringUpdateActual

DWORD

Running index for selecting a placed FB to update the structure variable 'stProperties'

Output

eStringType

BACnet.CmpBACnet.IEC_BACNET_STRING_TYPE

String type for all strings of the BACnet server and its objects (type: DINT)

Output

itfMasterConnector

IMasterForServerObjectsPOU

THIS^

Interface - output for connecting slave function blocks

Input Const

xEnUpdateIndexTriggering

BOOL

TRUE

Enable / disable automatic updating of the index 'gvlBACnet2.dwIndexTriggeringUpdateActual' TRUE: Automatic update enabled (gvlBACnet2.dwIndexTriggeringUpdateActual changes each cycle between 1 and gvlBACnet2.dwNumberOfBACnetServerObjectsPOU_Placed) FALSE: Automatic update disabled (gvlBACnet2.dwIndexTriggeringUpdateActual = 0 constant)

Input Const

tTimeUpdateObjectList

TIME

TIME#0ms

Time duration for updating the object list

Methods:

DecNumberOfBACnetServerObjectsPOU_Registered

FB_Exit

IncNumberOfBACnetServerObjectsPOU_Placed

IncNumberOfBACnetServerObjectsPOU_Registered

ShowObjectList

UpdateIndexTriggeringUpdateActual

Structure:

  • DecNumberOfBACnetServerObjectsPOU_Registered (Method)

  • FB_Exit (Method)

  • IncNumberOfBACnetServerObjectsPOU_Placed (Method)

  • IncNumberOfBACnetServerObjectsPOU_Registered (Method)

  • ShowObjectList (Method)

  • UpdateIndexTriggeringUpdateActual (Method)

Last updated