HA_CS31_DIAG_VIA_CM574_VISU_PH - VisualizationΒΆ
Description
Visualization element HA_CS31_DIAG_VIA_CM574_VISU_PH can be used to show the actual values of all inputs and outputs of the instance of the HA_CS31_DIAG_VIA_CM574 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 describe visualization in the offline and online mode:
HA_CS31_DIAG_VIA_CM574_VISU_PH_offline
HA_CS31_DIAG_VIA_CM574-RS_VISU_PH_online
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 | Description *) |
---|---|---|
EN | R | To enable the function block with value TRUE. |
SLOT | R | Slot number of the CS31 master. |
COM | R | COM port number of the CS31 master. |
DONE | R | Execution finished when output DONE=TRUE. |
ERR | R | Error occurred during execution when output ERR=TRUE. |
ERNO | R | Error code. |
NUM_SLV_CFG | R | Number of configured CI590-CS31-HA slave modules on COM. |
NUM_SLV_ACT | R | Number of CI590-CS31-HA slave modules active on CS31 Bus. |
ACTIVE_SLV | R | Each bit of the DWORD indicates the active slave modules CI590-CS31-HA. |
ERR_MIX_WIRING | R | Error bit indicating mix wiring between Bus 1 and Bus 2. |
*) all elements refer to the function block instance replaced for the placeholder $FB$.
All inputs of the HA_CS31_ DIAG_VIA_CM574 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. Background color can be changed by writing a value to the global variable dwAcsVisuBackgroundColor. Title color can be changed by writing a value to the global variable dwAcsVisuTitleColor.