FB_BACnet_RemoteLoop_EX
Application
The function block FB_BACnet_RemoteLoop_EX can be used for reading access to a BACnet object of type Loop.
VAR_OUPUT
bReady : BOOL;
fControlledValue : REAL;
fPresentValue : REAL;
bOverridden : BOOL;
bOutOfService : BOOL;
bFault : BOOL;
bInAlarm : BOOL;
bOpenLoop : BOOL; (*siehe Beschreibung*)
bOtherFault : BOOL; (*siehe Beschreibung*)
eEventState : E_BACNETEVENTSTATE; (*siehe Beschreibung*)
tObjectID : T_BACnet_ObjectIdentifier:=16#FFFFFFFF; (*siehe Beschreibung*)
bError : BOOL;
nErrorId : UINT;
bReady: notification of general readiness. If this output is set, the other status outputs are valid (PresentValue, Overridden ...). If the output is FALSE, the corresponding function block FB_BACnet_Device does not report "Operational", or the function block instance was not linked correctly in the TwinCAT System Manager.
fControlledValue: feedback of the current process parameter (X, actual value).
fPresentValue: feedback of the current control output (X, control value). Attention: Present_Value and Controlled_Variable_Value can easily lead to confusion (see also BACnet specification DIN EN ISO 16484-5 for BACnet object Loop and properties Present_Value, Controlled_Variable_Value and Controlled_Variable_Reference).
fPropBand: feedback of the current control output in percent (-100%...+100%) in relation to the minimum and maximum control output (properties Minimum_Output and Maximum_Output).
bOverridden, bOutOfService, bFault, bInAlarm: see BACnet specification DIN EN ISO 16484-5 for BACnet object Loop and property Status_Flags.
bOpenLoop, bCommFailure, bOtherFault: see BACnet specification DIN EN ISO 16484-5 for BACnet object Loop and property Reliability.
eEventState: see BACnet specification DIN EN ISO 16484-5 for BACnet object Loop and property Event_State.
tObjectID: object ID of the BACnet object Object type and object instance.
bError: an error is pending.
nErrorId: see global constants BACnet_Globals.
VAR_IN_OUT
RemoteDevice : FB_BACnet_RemoteDevice;
RemoteDevice: Specification of the instance of the corresponding remote BACnet server block (client). A BACnet adapter can be used for several BACnet clients. See FB_BACnet_Adapter and FB_BACnet_RemoteDevice for further information.