Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Intro to Ladder Logic
  2. Standard Order of Code
    1. Reset all variables
    2. Set necessary variables
    3. Shutter section
    4. Interlocks and latches
    5. Mode changes inhibitedLogic section
    6. Bypasses
    7. Mode selection
      1. In order from the of mode with the least privileges to the mode with most privileges
    8. Interlocks and latches
    9. Bypasses
    10. Lights
    11. Signs
    12. End
  3. Alternating On/Off
    1. For blinking lights, special buzzer patterns, etc.
    2. Example code (for use with EO buttons): 
  4. Signs
    1. PRINT Box
      1. Port: K2
    2. Script example: “_00_00_00_00_00_01Z00_02A0_1B b_1A9_1C1LASER IMMINENT _04”
      1. Start of header
        1. “_00_00_00_00_00
      2. Define sign address
        1. Broadcast to all signs: _01Z00
        2. Message for signs with specific address: _01Z01, _01Z02, _01Z03, etc.
      3. Start of text string
        1. _02A0
      4. Text dynamics
        1. Scrolling: _1B a
        2. Static: _1B b
      5. Text height
        1. _1A#
        2. may be 1-9, with 9 being full height
      6. Text color
        1. Red: _1C1
        2. Green: _1C2
        3. Yellow: _1C3
      7. Write message text
        1. Example: LASER IMMINENT
      8. End string
        1. _04"
    3. Only send print command to sign once
      1. Reset print command immediately after setting
  5. Shutter inconsistent latch fault conditions
    1. Shutter position sensors report IN and OUT
    2. Shutter position sensors report NOT IN and NOT OUT
    3. Shutter sensors report NOT IN when requested to be IN