logic_sequence
logic_sequence is a point entity available
with any version of Mapbase.Coordinates a sequence out of up to 16 preset values. If the input value matches the sequence’s current case value, an output is fired and (by default) the sequence increments to the next case.
This is intended for things like passwords in keypads, which usually demand a specific combination of numbers.
KeyValues
- Initial Case (InitialCase) <integer>
Which case to start on, meaning inputs will initially compare with this case. Uses the case's index. (e.g. 4 for Case 04)
Which case to start on, meaning inputs will initially compare with this case. Uses the case's index. (e.g. 4 for Case 04)
- Start Disabled (StartDisabled) <choices>
If this entity is disabled, it will not accept any case tests. It will still accept other inputs, like SetSequenceIndex.
If this entity is disabled, it will not accept any case tests. It will still accept other inputs, like SetSequenceIndex.
- Case 01 (Case01) <string>
If the sequence's current case is 01, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 01, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 02 (Case02) <string>
If the sequence's current case is 02, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 02, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 03 (Case03) <string>
If the sequence's current case is 03, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 03, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 04 (Case04) <string>
If the sequence's current case is 04, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 04, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 05 (Case05) <string>
If the sequence's current case is 05, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 05, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 06 (Case06) <string>
If the sequence's current case is 06, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 06, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 07 (Case07) <string>
If the sequence's current case is 07, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 07, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 08 (Case08) <string>
If the sequence's current case is 08, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 08, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 09 (Case09) <string>
If the sequence's current case is 09, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 09, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 10 (Case10) <string>
If the sequence's current case is 10, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 10, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 11 (Case11) <string>
If the sequence's current case is 11, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 11, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 12 (Case12) <string>
If the sequence's current case is 12, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 12, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 13 (Case13) <string>
If the sequence's current case is 13, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 13, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 14 (Case14) <string>
If the sequence's current case is 14, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 14, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 15 (Case15) <string>
If the sequence's current case is 15, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 15, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Case 16 (Case16) <string>
If the sequence's current case is 16, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
If the sequence's current case is 16, fires OnCasePass or OnCaseFail based on whether this value matches the InValue parameter. This keyvalue supports matchers (<, >, !=, etc.).
- Suppress auto increment (DontIncrementOnPass) <choices>
Prevents automatically incrementing the sequence each time a case passes.
Prevents automatically incrementing the sequence each time a case passes.
Inputs
- Enable
<void>
Enables this entity.
Enables this entity.
- Disable
<void>
Disables this entity.
Disables this entity.
- Toggle
<void>
Toggles whether this entity is disabled.
Toggles whether this entity is disabled.
- InValue
<string>
Tests the input value against the current case.
Tests the input value against the current case.
- SetCurrentCase
<integer>
Sets the sequence's current case. This will fire OutCurCase.
Sets the sequence's current case. This will fire OutCurCase.
- SetCurrentCaseNoFire
<integer>
Sets the sequence's current case without firing OutCurCase.
Sets the sequence's current case without firing OutCurCase.
- IncrementSequence
<integer>
Increments the current case by the specified number. (1 if blank)
Increments the current case by the specified number. (1 if blank)
- ResetSequence
<void>
Resets the sequence to Case 01.
Resets the sequence to Case 01.
Outputs
- OutCurCase
<integer>
Fires each time the sequence's current case value changes, e.g. when it's incremented by a passing case.
Fires each time the sequence's current case value changes, e.g. when it's incremented by a passing case.
- OnCasePass
<string>
Fires when a case is matched, passing the input value.
Fires when a case is matched, passing the input value.
- OnCaseFail
<string>
Fires when a case fails, passing the input value.
Fires when a case fails, passing the input value.
- OnSequenceComplete
<string>
Fires when the last case is matched and sequence is complete.
Fires when the last case is matched and sequence is complete.
