PLC Configuration
Small changes can be made in the PLC logic to increase the efficiency of your employees and reduce the likelihood of a bug occurring in Mythric
Written By Daniel Gleaves
Last updated 12 months ago
Can’t close mag-locks without unsolving the puzzle:
You will want your mag-locks set up like this:

Explanation:
First Line Santa PTE (Normally Open Contact) - the input connected to a puzzle/keypad/button in the room; requires physical action to activate Santa Mag Status (Timed Coil) - the digital representation of the puzzle/keypad/button; using a timed coil will release the mag-lock, then re-energize after the allotted time, allowing the container or door to be closed again. This is connected to Mythric with the address in the tag database minus 1. (IE, PLC address is 200, Mythric address will be 199)
Second Line Santa Mag Status (Normally Closed Contact) - the digital representation of the puzzle/keypad/button; setting this as normally closed will make Santa Mag active until Santa Mag Status is no longer closed
Santa Mag (Out Coil) - the output connected to the mag-lock
WHY?
Since the output is timed, it releases the mag-lock temporarily to allow it to open and re-energizes. This allows your employees to waltz into the room, place any items back, and secure the mag-lock without needing the undo the puzzle first or reset the story in Mythric.
Events Not Running, Needing to Reset Game Multiple Times, Seeing 0-second End Summaries:
Due to delay in communications from Mythric and your PLC, some events may or may not run even though all conditions are met. If the exit box is not set to be a timed coil, it will stay set forever and always once the exit code has been put in. When Mythric goes to reset, it will reset the story state, see that the exit box is on, win the game again, then reset the exit box device.
The solution is timed coils in the PLC and recurring events in Mythric. We love timed coils and recurring events. This will ensure the device itself doesn’t stay active, and even if it did, Mythric will still allow the game events to function properly. The only reason to use Single events is if there is a prop that might activate the event multiple times (e.g. RFID that triggers video getting left on RFID reader).

Explanation:
Input_Exitbox_Keypad (Normally Open Contact) - the input connected to the keypad in the room; requires physical action to activate Exit Keypad Status (Timed Coil) - the digital representation of the keypad; This is connected to Mythric with the address in the tag database minus 1. (IE, PLC address is 200, Mythric address will be 199)
WHY?
Using a timed coil can prevent Mythric from immediately “winning“ a game after clicking reset. Since we have Exit Keypad Status On (1) for one second, Mythric can only read it one time per time the keypad is activated.
