Versions Compared

Key

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

Design and Layout of LSS


PLC Installation

Module Installation

Image previewImage Added

Installing and Connecting Breakout Modules

Power

PLC Programming

Installing DirectSoft

...

  1. 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
  2. Alternating On/Off
    1. For blinking lights, special buzzer patterns, etc.
    2. Example code (for use with EO buttons): 
  3. 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

Touch Panel Installation/Programming

...

  1. Download the C-more software
    1. https://www.automationdirect.com/support/software-downloads?itemcode=C-more%20EA9%20Series
      1. NOTE: some existing LSS still use EA7
    2. License Key: 7UGA-R9M6-3FKY-6TQV
  2. Connect to the PLC

Programming Common Objects

  1. General
    1. Choose objects from Object Library on right-hand side of screen
      1. Or use "Object" drop-down menu at top of screen
    2. Example LSS Touchscreen.pdf
    3. Example LSS Touchscreen.eap
  2. Tag NamesTagnames
    1. Used to link an object with a variable in the DirectSoft code
    2. Add tagnamestag names
      1. Navigate to the toolbar and select the drop-down menu labelled "Database"
      2. Click "TagnamesTag Name Database..."
      3. Click the "Add"
      4. Type desired nickname
      5. icon at the top of the pop-up window
      6. Device Name = DEV001
      7. In the "Tag Name" entry box, type the desired nickname
      8. Tag Data Type = Discrete
      9. Select Memory Type from drop-down menu
        1. C variables are internal
        2. X variables are physical inputs
        3. Y variables are physical outputs
        4. V variables are used for loading bits into
      10. Enter address
        1. Make sure this matches the variable in DirectSoft
      11. Click "Add"
  3. Buttons
    1. Pushbuttons are used to toggle variables between on and off.
    2. Usually linked to an X variable.
    3. Use different background colors to differentiate between a button's on and off states.
  4. Indicators
    1. Indicator lights are used to display variable status.
    2. Usually linked to a Y variable.
  5. Multi-State Text Indicator
    1. Used to display laser mode status and error messages
    2. Choose "Message" tab at top of pop-up window to add message
      1. Click "Add New"
      2. Type message into text box
      3. Choose background color
      4. Bit No. is assigned automatically
        1. May be loaded into V memory space in code
        2. Each bit corresponds to a K value:

          BitK-Value
          01
          12
          24
          38
  6. Screen Selector
    1. Used for menu to toggle between pages
    2. Insert at bottom of new screen


Common Components Installation

...