HysteresisReal (FB) ¶ FUNCTION_BLOCK HysteresisReal Realizes a hysteresis function similiar to Util.HYSTERESIS, but for REAL data. InOut: Scope Name Type Initial Comment Input rIn REAL Input value rHigh REAL Upper limit rLow REAL Lower limit xReset BOOL FALSE Reset Output xOut BOOL TRUE : Input rIn is less than input rLow FALSE : Input rIn is greater than input rHigh
Azure IoT Hub Client ¶ Enums IOT_HUB_CLIENT_ERROR (Enum) Function Blocks HTTPS DeviceTwin GetDeviceTwin (FunctionBlock) UpdateDeviceTwin (FunctionBlock) Message GetMessage (FunctionBlock) SendMessage (FunctionBlock) MQTT AzureMQTTClient (FunctionBlock) DeviceTwin GetMQTTDeviceTwin (FunctionBlock) SubscribeMQTTDeviceTwinDesiredProperties (FunctionBlock) UpdateMQTTDeviceTwin (FunctionBlock) DirectMethods IMethodInvoker (Interface) Invoke (Method) IMethodInvoker2 (Interface) Invoke (Method) SubscribeMQTTMethods (FunctionBlock) SubscribeMQTTMethods2 (FunctionBlock) Message SendMQTTMessage (FunctionBlock) SubscribeMQTTMessage (FunctionBlock) Functions GenerateSasToken (Function) SignMessage (Function) StringTokenizer (Function) GlobalConstants IoTHubClientConstants (GVL) GlobalVariables IoTHubClientGVL (GVL)
Enums ¶ IOT_HUB_CLIENT_ERROR (Enum)
LogBoolChange (FB) ¶ FUNCTION_BLOCK LogBoolChange This function block does log changes of the BOOL input variable with a given message. InOut: Scope Name Type Initial Comment Input xInput BOOL Input to watch for changes sMsg STRING Message to log at change itfDateTimeProvider Util.IDateTimeProvider Globals.g_dtpDateTimeProvider Source for the current date and time information in milliseconds since 1.1.1970 00:00:00.000
IOT_HUB_CLIENT_ERROR (ENUM) ¶ TYPE IOT_HUB_CLIENT_ERROR : {attribute ‘conditionalshow’} {attribute ‘conditionalshow’ := ‘SomeText’} {attribute ‘hide’} Attributes: qualified_only InOut: Name NO_ERROR TIME_OUT WEB_CLIENT_ERROR UNEXPECTED_STATUS
Function Blocks ¶ HTTPS DeviceTwin GetDeviceTwin (FunctionBlock) UpdateDeviceTwin (FunctionBlock) Message GetMessage (FunctionBlock) SendMessage (FunctionBlock) MQTT AzureMQTTClient (FunctionBlock) DeviceTwin GetMQTTDeviceTwin (FunctionBlock) SubscribeMQTTDeviceTwinDesiredProperties (FunctionBlock) UpdateMQTTDeviceTwin (FunctionBlock) DirectMethods IMethodInvoker (Interface) Invoke (Method) IMethodInvoker2 (Interface) Invoke (Method) SubscribeMQTTMethods (FunctionBlock) SubscribeMQTTMethods2 (FunctionBlock) Message SendMQTTMessage (FunctionBlock) SubscribeMQTTMessage (FunctionBlock)
RoomSetpoint (FB) ¶ FUNCTION_BLOCK RoomSetpoint RoomSetpoint provides complex room temperature setpoint computation. RoomSetpoint does compute a room temperature setpoint based on the input setpoints heat / cool a setpoint offset an “effective comfort setpoint” taking an “energy level” (see EnergyLevelSetpoint ) “effective comfort setpoint” ¶ The “effective comfort setpoint” can be used in “energy level” COMFORT to provide another offset to the output setpoints. It is intended to be used to manipulate the output setpoint from high level optimization / control (for example building management system or vizualization) in the sense of single value. You can envision the “effective comfort setpoint” shifting the output setpoints by the difference between (internal) “input center setpoint” (mean value of rSetptHeatIn and rSetptCoolIn) and the value of “effective comfort setpoint” (rSetptComfort). Setpoint outputs - whats the difference ¶ The two outputs rSetpt and rSetptMode provide a handy single value most often used in overview vizualizations. The “center setpoint” rSetpt provides the mean value of rSetptHeat and rSetptCool. The “mode setpoint” rSetptMode provides either rSetptHeat, rSetptCool or rSetpt depending on input eMode: eMode = HEAT -> rSetptMode := rSetptHeat eMode = COOL -> rSetptMode := rSetptCool eMode = INACTIVE -> rSetptMode := rSetpt InOut: Scope Name Type Initial Comment Input eMode HeatCoolOperationMode HeatCoolOperationMode.INACTIVE Operation mode rSetptHeatIn REAL 21.0 Heat setpoint rSetptCoolIn REAL 23.0 Cool setpoint rSetptOffset REAL 0.0 Setpoint offset rSetptComfort REAL 22.0 “effective COMFORT setpoint” xSetptComfort_Used BOOL FALSE “effective COMFORT setpoint” used eLevel EnergyLevel EnergyLevel.UNUSED Energy level Output rSetptHeat REAL Current heat setpoint rSetptCool REAL Current cool setpoint rSetpt REAL Current “center setpoint” rSetptMode REAL Current “mode setpoint”
HTTPS ¶ DeviceTwin GetDeviceTwin (FunctionBlock) UpdateDeviceTwin (FunctionBlock) Message GetMessage (FunctionBlock) SendMessage (FunctionBlock)
inputs ¶ ReadAndProcessSpecificInput (Method)
AXIS_REF_ETC_Omron_G5.ReadAndProcessSpecificInput (METH) ¶ METHOD ReadAndProcessSpecificInput : BOOL InOut: Scope Name Type Return ReadAndProcessSpecificInput BOOL Input pme POINTER TO SMC3_MappingEntry dwValue DWORD