AutomationPortalConnector

AutomationPortalConnector (FB)

FUNCTION_BLOCK AutomationPortalConnector

Short description

Connects the controller to the HVAC Automation Portal. More information at www.hvac-automation.com. Allows transferring variables via the CODESYS symbol configuration. In the portal these can then be logged and analyzed. Alarms can also be forwarded, the CODESYS visualization can be accessed and the device directory can be accessed. For the powerIO IoT Gateway and PLC controller H1.M100 a VPN connection can be established directly via the portal.

Representation

Function description

To connect, please go through the following steps:

Transfer variables:

  1. Attach the generated Project ID to the input diProjectId . Set xEn to TRUE.

  2. Set a password at the input sPassword .

  3. Right-click on “Application” and create “Symbol Configuration”. There check the variables that should be transferred to the portal.

  4. Download the application to the controller.

  5. In the HVAC Automation Portal the controller will now appear orange; the password you created must be entered here. Done.

Transfer visualization:

To transfer the visualization you must enter at the input sLocalVisuUrl the visualization to be transferred. If the local CODESYS visualization should be transferred, it is sufficient to enter ‘http://127.0.0.1arrow-up-right’ or ‘http://127.0.0.1:8080/webvisu.htmarrow-up-right’. In the HVAC Automation Portal the visualization can then be placed and used like a variable.

Transfer device directory:

The folder structure of the device can be accessed via the HVAC Automation Portal in order to, for example, back up files remotely. For this, at the input sBrowsePath either ‘/’ for the entire root directory or ‘./’ for the CODESYS PLC directory must be entered.

InOut:

Scope
Name
Type
Initial

Input

xEn

BOOL

TRUE

Input

diProjectId

DINT

-1

Input

sPassword

STRING

Input

sStorageDirectory

STRING

Input

tLiveValueInterval

TIME

TIME#1s0ms

Input

sLocalVisuUrl

STRING(200)

Input

sBrowsePath

STRING

Output

sStatus

STRING(255)

Output

xError

BOOL

Output

xConnected

BOOL

Last updated