JKFlipFlop
Applicable to library's version 1.0
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.
![](../../__attachments/222008596/18%20JKFlipFlop.png?inst-v=68924f0d-9756-460f-aa37-f9c17cd13917)
![](../../__attachments/222008596/18a%20JKFlipFlop.png?inst-v=68924f0d-9756-460f-aa37-f9c17cd13917)
![](../../__attachments/222008596/18b%20JKFlipFlop.png?inst-v=68924f0d-9756-460f-aa37-f9c17cd13917)
![](../../__attachments/222008596/18c%20JKFlipFlop.png?inst-v=68924f0d-9756-460f-aa37-f9c17cd13917)
Slots
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.