Versions Compared

Key

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

...

  1. PLC > Setup > Setup Sec. Comm Port
  2. Settings
    1. Port 2
    2. Non-Seq(ASCII)
    3. Base Timeout
    4. Data bits: 8
    5. Baud rate: 9600
    6. Stop bits: 1
    7. Parity: None
    8. Memory address: V7000
  3. Write the new settings to the PLC by clicking the icon: 

Common Program Rungs

  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 inhibited
    6. Logic section
      1. Bypasses
      2. Mode selection
        1. In order from the mode with the least privileges to the mode with most privileges
      3. Lights
      4. Signs
    7. 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