HA_CS31_CONTROL_VISU_PH - VisualizationΒΆ
Visualization element HA_CS31_CONTROL_VISU_PH can be used to show the actual values of all inputs and outputs of the instance of the HA_CS31_CONTROL function block. The visualization could also be used to control the function block by those inputs which are not connected inside the program.
The following pictures demonstrate visualization in the offline and online mode.
Faceplate HA_CS31_CONTROL_VISU_PH offline mode
Faceplate HA_CS31_CONTROL_VISU_PH online mode
Colors
The color of the variables has the following meaning:
- White: Actual FALSE and should be FALSE in normal operation.
- Green: Actual TRUE and should be TRUE in normal operation.
- Yellow: Actual FALSE but should be TRUE in normal operation.
- Red: Actual TRUE but should be FALSE in normal operation
Visualization Parameters
Variable | Access | Way of Access | Description *) |
---|---|---|---|
EN | R | To enable the Function Block with value TRUE. | |
ETH_SLOT | R | Slot number for UDP data exchange. | |
IP_ADR_CPU_A | R | IP address of CPU A. | |
IP_ADR_CPU_B | R | IP address of CPU B. | |
ACK_CHG_OVER | R/W | Toggle | Acknowledgement for switch over. |
MANUAL_CHG_OVER | R/W | Toggle | Manual change over |
DONE | R | Execution finished when output DONE=TRUE. | |
ERR | R | Error occurred during execution when output ERR=TRUE. | |
ERNO | R | Error code. |
*) all elements refer to the function block instance replaced for the placeholder $FB$.
All inputs of the HA_CS31_DATA_SYNC function block which are not connected to a variable (left open) can be written from this visualization faceplate. So the function block can be controlled from the visualization as long as the inputs are left open. The color of the background can be changed by writing a value to the global variable dwAcsVisuBackgroundColor. The color of the title can be changed by writing a value to the global variable dwAcsVisuTitleColor.
All inputs of the HA_CS31_ DIAG_EXTD_VIA_CM574-RS function block which are not connected to a variable (left open) can be written from this visualization faceplate. So the function block can be controlled from the visualization as long as the inputs are left open. The color of the background can be changed by writing a value to the global variable dwAcsVisuBackgroundColor. The color of the title can be changed by writing a value to the global variable dwAcsVisuTitleColor.