Installing DirectSoft
- Download the software installer from https://support.automationdirect.com/products/directsoft.html.
- Install the latest version of DirectSoft.
- License Key: QKGD-6L68-Y019-J117
Connecting to the PLC
- Plug HDMI cable into Port 1 (circled) of PLC module.
- USB adapter will be needed to connect to computer.
- PLC must be in terminal mode ("TERM") to transfer changes.
- In the DirectSoft program, go to PLC > Connect...
- If the PLC has never been connected to the computer before, create link.
- Select Link... > Add...
- Select the communications port that the PLC is connected to.
- This may be found in the Device Manager of your computer’s Control Panel
- Select the PLC’s product family.
- Example: DirectLogic205 will be from the DL 0/1/2/4/350 Family
- Select the protocol to use in the communications link.
- SLAC LSS uses K Sequence
- Address: 1
- In the “Select Link…” pop-up window, click on the PLC you are using and press “Select”.
Port Settings
- PLC > Setup > Setup Sec. Comm Port
- Settings
- Port 2
- Non-Seq(ASCII)
- Base Timeout
- Data bits: 8
- Baud rate: 9600
- Stop bits: 1
- Parity: None
- Memory address: V7000
- Write the new settings to the PLC by clicking the icon:
Common Program Rungs
- Intro to Ladder Logic
- Standard Order of Code
- Reset all variables
- Set necessary variables
- Shutter section
- Mode selection
- In order of mode with least privileges to mode with most privileges
- Interlocks and latches
- Bypasses
- Lights
- Signs
- End
- Alternating On/Off
- For blinking lights, special buzzer patterns, etc.
- Example code (for use with EO buttons):
- Signs
- PRINT Box
- Port: K2
- Script example: “_00_00_00_00_00_01Z00_02A0_1B b_1A9_1C1LASER IMMINENT _04”
- Start of header
- “_00_00_00_00_00
- Define sign address
- Broadcast to all signs: _01Z00
- Message for signs with specific address: _01Z01, _01Z02, _01Z03, etc.
- Start of text string
- _02A0
- Text dynamics
- Scrolling: _1B a
- Static: _1B b
- Text height
- _1A#
- may be 1-9, with 9 being full height
- Text color
- Red: _1C1
- Green: _1C2
- Yellow: _1C3
- Write message text
- Example: LASER IMMINENT
- End string
- _04"
- Start of header
- Only send print command to sign once
- Reset print command immediately after setting
- PRINT Box
- Shutter inconsistent latch fault conditions
- Shutter position sensors report IN and OUT
- Shutter position sensors report NOT IN and NOT OUT
- Shutter sensors report NOT IN when requested to be IN