Bus bar coloring is used to assign a color to a bus bar or links. New bus bar color groups can be created and each color group can have one or more logic conditions; each logic condition is associated with one color.
Apply the bus bar coloring
- Right-click anywhere on the page and select Show Bus Bar Coloring.
- In the SLD Logic Window dialog, click + to add a new color group or x to remove an existing color group.
- Expand any color group and click + to add IF and ELSE conditions and x to remove them.
- Click … to add another And condition inline. Click And to change or remove the condition.
- To add a value for a condition, click Value Button, select any signal value or widget property value and press ENTER.
- Select any color from the drop-down list.
- Select Color Group and click on any bus bar to apply the coloring.
Remove the bus bar coloring
- Right-click anywhere on the page and select Show Bus Bar Coloring.
- Select any color group and click the bus bar to remove the bus bar coloring.
Bus bar coloring example based on the CBXCBR position value
If the CBXCBR position is open, all the bus bars and links associated with the “Color Group1” group should be displayed in red color. If the CBXCBR position is closed, it should be indicated in green color. Otherwise the color is black.
IF CBXCBR1:1. POSITION== open THEN Line Color is Red ELSE CBXCBR1:1. POSITION== closed THEN Line Color is Green ELSE Line Color is black.
Note: Right-click anywhere on the page and select Highlight Conditional Bus Bar to show bus bars that have the coloring applied.