You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Design and Layout of LSS


PLC Installation


PLC Programming

Installing DirectSoft

  1. Download the software installer from https://support.automationdirect.com/products/directsoft.html.
  2. Install the latest version of DirectSoft.
    1. License Key: QKGD-6L68-Y019-J117

Connecting to the PLC

  1. In the DirectSoft program, navigate to the toolbar and click the dropdown menu labelled “PLC”.
  2. Select "Connect...".
  3. If the PLC has never been connected to the computer before, create link.
    1. In the “Select Link…” pop-up window, click “Add…”.
    2. Select the communications port that the PLC is connected to.
      1. This may be found in the Device Manager of your computer’s Control Panel
    3. Select the PLC’s product family.
      1. Example: DirectLogic205 will be from the DL 0/1/2/4/350 Family
    4. Select the protocol to use in the communications link.
      1. SLAC LSS uses K Sequence
      2. Address: 1
  4. In the “Select Link…” pop-up window, click on the PLC you are using and press “Select”.

Port Settings

  1. Navigation
    1. Navigate to the toolbar and click the dropdown menu labelled "PLC".
    2. Roll-over "Setup" and select "Setup Sec. Comm Port..." from the dropdown menu.
  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. 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"

Touch Panel Installation/Programming

Installing the Touch Panel

  1. Mounting and Connecting to Power
    1. The C-more touch panel order with come with the touch screen, mounting clips, and a terminal block.
    2. Use the mounting clips (pictured below) to secure the panel, from the inside, to LSS box door.    
    3. Secure terminal block to back of panel.
    4. Connect one black wire (GND) from the ground terminal to grounded contact on rack.
      1. Ground terminal is second from the bottom and will be labelled with the ground symbol.
    5. Connect one blue wire (power) from the negative terminal to 24V contact on rack.
      1. Negative terminal is third from the bottom and will be labelled with a minus sign.
  2. Connecting to the PLC
    1. Connect HDMI cable from 15-pin port on back of panel to Data Communications Module port.
      1. Data Communications Module with HDMI cable connected: 
  3. Connecting to Computer
    1. To upload new code, connect USB Cable from port on back of panel to port on computer.

Installing C-more

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


Programming Common Objects

  1. Tagnames
    1. Used to link an object with a variable in the DirectSoft code
    2. Add tagnames
      1. Navigate to the toolbar and select the drop-down menu labelled "Database"
      2. Click "Tagnames"
      3. Click "Add"
      4. Type desired nickname
  2. Buttons
    1. Pushbuttons are used to toggle variables between on and off.
    2. Use different background colors to differentiate between a button's on and off states.


Common Components Installation


Entry Box Installation


Shutter Installation

  • No labels