JKFlipFlop
Applicable to OS V1.0-1.4
The JKFlipFlop component toggles the Out slot value, executing a mechanism based on three input values: Set, Clock, and Reset. The Out slot value is determined according to the following table:
Set | Reset | Clock | Out |
---|---|---|---|
False | False | (no action) | No change |
True | True | Toggles between true and false | Toggles between true and false at every falling edge of the Clock value |
True | False | (no action) | True |
False | True | (no action) | False |
Note: Apart from the state where Set and Rest slots are set to true, the JKFlipFlop component behaves in the same way as the RSLatch component.
The JKFlipFlop component has the following slots:
Status: indicates the current status of the component (OK, Fault);
Out: the output value based on the input slots values of Set, Clock, and Reset slots;
N Out: the value always opposite to the Out slot value;
Set: the input value transferred to the Out slot in accordance with the component's mechanism;
Clock: the value synchronizing the component's mechanism if the Set and Reset slots are set to true;
Reset: the input value, resetting the value latched in the Out slot.