SR_MachineAdvisorLink
The program implements the program code to control the communication to the EcoStruxure Machine Advisor.
The program code has been split into single logical functions. The single program parts are processed in subroutines, referred to as actions.
The actions called from the program are listed in the following table:
Name of the subroutine (action) |
Description |
---|---|
|
In this logic, the input variables, mainly coming from the visualization, are verified and assigned to local variables for further processing. |
|
This logic implements the configuration, the method calls, and the status monitoring of the communication function block which is an instance of the FB_ESMAClientMonitoringApi. |
|
In this logic, the local variables are converted into the required format and then assigned to the associated output variables. The output variables are linked to the visualization. |
|
This logic implements the configuration of the communication client. |
SR_VisControl
The program SR_VisControl
implements additional program code to control the displayed information on the visualization in the Logic Builder within the EcoStruxure Machine Expert software. Furthermore, it implements the logic for manually setting the RTC of the controller.
SR_SimulatedMachineData
The program SR_SimulatedMachineData
implements the simulation of process values and the reading of the data by the instances of the FB_ESMADataAcquisition function blocks.
SR_FirewallConfig
The program implements the dynamic configuration of the controller firewall. The firewall must be configured to open the TCP port for the web visualization. The firewall configuration is performed once after a warmstart of the application. When using the application example, verify whether the implemented firewall configuration meets your application needs.