412 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
DOMINANT_SET Structure
Input
Parameter
Data Type Description
EnableIn BOOL Enable input. If cleared, the instruction does not execute
and outputs are not updated.
Default is set.
Set BOOL Set input to the instruction.
Default is cleared.
Clear BOOL Reset input to the instruction.
Default is cleared.
Output
Parameter
Data Type Description
EnableOut BOOL Indicates if instruction is enabled.
Out BOOL The output of the instruction.
OutNot BOOL The inverted output of the instruction.
Description
The Set Dominant instruction uses the Set and Reset input parameters to control
latched output parameters Out and OutNot. The Set input has precedence over
the Reset input.
Out will be latched true whenever the Set input parameter is set true. Setting the
Reset parameter to true will set Out to false only if the Set input is false. OutNot
will be set to the opposite state of Out.
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related
faults.
Execution
Condition/State Action Taken
Prescan EnableIn and EnableOut bits are cleared to false.
Tag.EnableIn is false EnableIn and EnableOut bits are cleared to false.
Tag.EnableIn is true EnableIn and EnableOut bits are set to true.
The instruction executes.
Instruction first run Previous Out is set to True.
Instruction first scan N/A
Postscan EnableIn and EnableOut bits are cleared to false