AutomationPortalConnector

AutomationPortalConnector (FB)

FUNCTION_BLOCK AutomationPortalConnector

Short description

Connects the controller to the HVAC Automation Portal. More info at www.hvac-automation.com. Enables the transfer of variables via the CODESYS symbol configuration. In the portal, these can then be recorded and evaluated. In addition, alarms can be forwarded, access to the CODESYS visu can be made, and access to the device directory can be made. 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. Generated project ID to the input diProjectId append. Set xEn to TRUE.

  2. Password at the input sPassword assign.

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

  4. Download the application to the controller.

  5. In the HVAC Automation Portal, the controller now appears orange; the password you created yourself must be entered here. Done.

Transfer visualization:

To transfer the visualization, you must enter the visualization to be transferred at the input sLocalVisuUrl If you want to transfer the local CODESYS visualization, 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 HVAC Automation Portal can be used to access the device's folder structure, e.g. to back up files remotely. To do this, at the input sBrowsePath either ‘/’ for the complete 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