PBL input gates
Use the
Advanced - Input gates
tabs of the PBL Properties
dialog box to configure the input gates for Process Boolean Logic (PBL) instructions. The eight input gates are split into two groups, with gates 1 through 4 on the first tab and gates 5 through 8 on the second tab.Configure Input gates for Process Boolean Logic (PBL) instructions
- On the instruction in the routine, perform one of these actions:
- On the Ladder or FBD instruction, select .
- In the Structured Text editor, right-click the tag name and selectConfigure <tag name>.
- Under theAdvancedtab, selectInput gate 1 - 4orInput gate 5 - 8.
- Select aGate typeto set the function for the gate:
- Gate not used. Disables the gate.
- AND.The gate output is true if all of the enabled gate inputs (after configured inversions) are true.
- OR. The gate output is true if any of the enabled gate inputs (after configured inversions) are true.
- XOR.The gate output is true if an odd number of the enabled gate inputs (after configured inversions) are true.
- M out of N (majority gate).The gate’s output is set true if a majority of its inputs (after configured inversions) are true (2 out of 2, 2 out of 3, or 3 out of 4). Enable at least two inputs.
- Set-Reset (latch). The gate's output is set true if one of its Set inputs is true. The output clears to false if one of its Reset inputs is true. SeeRules for Set-reset gates in Process Boolean Logic (PBL) instructionsfor more information.
- Select (Switch gate). If input 3 is false, the state of input 1 is passed to the gate output. If input 3 is true, the state of input 2 is passed to the gate output. A Select gate must have input 3 enabled and either or both of inputs 1 and 2 enabled.
- To enable an input, select theUsecheckbox.
- On theInput selectmenu, select the source for the input. An input's source can be any of the 8 instruction inputs or the output of an earlier gate. For example, the outputs of Gates 1 and 2 can be selected as inputs to Gate 3, but not the outputs of Gates 3 through 8.
- To invert the source value, select theInvertcheckbox.
- When online with the controller, monitor theDevice stateandDevice issuesindicators at the bottom left of the dialog box:
- Device state. Displays the current device state depending on the value of the Out_Live parameter. Use theHMItab to enter text in theText to display when output equals 0andText to display when output equals 1boxes.
- Device issues. Displays fault conditions:None, orConfiguration error.
- SelectApply.
Provide Feedback