Automation Direct Directsoft 5 User Manual

Directsoft 5 user manual
AutomationDirect | Direct Sales in US and Canada | 1-800-633-0405

View and Download Automationdirect.com DL06 user manual online. Start Reset Drum Complete Direct SOFT 5 Display 6-13 DL06 Micro PLC User Manual, 3rd Edition, Rev. Page 42: Event Drum (edrum) This process stops when the last step is complete, or when the Reset input is energized. Refer to the DirectSOFT programming user.

Example Programs


We supply these programs as examples of how to apply the various instructions in our PLC’s. Please try to use these examples in their original form before modifying them for your particular application. We have had many calls claiming that the examples don't work and found that a mistake had been made when the example was re-entered by hand. The examples posted here have been run on equipment in our lab. If you are having difficulty with one of the examples check the following:

  • Have changes been made and are they correct?
  • Look at the title page for any special instructions.
  • Is the example the only thing executing in the CPU and has the CPU gone from PROGRAM mode to RUN mode to allow the first scan logic to run?
  • Does the CPU type and I/O match the example?

If you still have problems give us a call.

Thank you - The AutomationDirect Technical Support Team

THE INFORMATION PROVIDED IN AUTOMATIONDIRECT TECHNOTES IS PROVIDED 'AS IS' WITHOUT A GUARANTEE OF ANY KIND. These documents are provided by our technical support department to assist others. We do not guarantee that the data is suitable for your particular application, nor do we assume any responsibility for them in your application.

Directory:

Please note: additional sample programs for C-more Operator Interface panels can be found at the c-more.automationdirect.com site.

Instructions: The program you will download depends on which CPU you have. Find your CPU in the colored columns on the right, and click the WinZIP icon to download the right example program. The absence of an icon for a given CPU means that the example is not applicable for or will not work with that CPU.

General Examples

05

06

105

205

305

350

405

CLICK

P3000

Do-
more

Simple program that adjusts the PLC clock to account for Daylight Saving Time. Can be used in DL250, 350, 450 and DL05 if the optional memory cartridge is installed.
EP-MISC-002This file shows how the square root of a value between 1 and 9999 could be calculated. The resulting value has 2 implied decimal points. The square root is determined by using an iterative approximation, and therefore this algorithm requires a long time to execute.
EP-MISC-004This example shows how to convert the current value of a timer or counter so that it appears to count down instead of up. This is useful for displays on an operator interface or for relational contacts to trigger an action at a low limit.
EP-MISC-005This project uses two buttons pushed together for three seconds to latch an output.
EP-MISC-006This is a simple example of how to use pointers.
EP-MISC-007This program utilizes a pointer routine to store the accumulated time of T0 into successive double word V-memory locations beginning at V2000. Each time C0 changes from OFF to ON the accumulated time is loaded into the current memory location pointed to then the pointer location is incremented by 2 for a double word. This program is coded for the D2-250 Using Pointers it shows how to increment and move through a series of registers.
EP-MISC-008 This project will create a table of values generated by measuring the times an input is energized.
EP-MISC-009This program shows how to implement a push-down stack in ladder using the MOV instruction.
EP-MISC-010DL450 PLC Only. This program calculates the Standard Deviation on a Table of 10 BCD Double Words. See readme.txt inside the ZIP file for more details
EP-MISC-011Calibrating analog I/O with a non-zero starting point
EP-MISC-012Off-Delay Timer
EP-MISC-013Adding two tables using consecutive V-Memory locations with pointers
EP-MISC-014How to create a FIFO (First In First Out) Stack
EP-MISC-017Creating a Non-linear function with look-up table
EP-MISC-018This example provides a 24-hr clock value for use in Time-of-day operations.
EP-MISC-019Program showing various functions using ladder vs Iboxes
EP-MISC-021PLC controlled motor latching program
EP-MISC-022 Analog scaling and negative number math
EP-MISC-023 Do-more introduction example
EP-MISC-024 How to create a FIFO (First In First Out) Stack in Do-More
EP-MISC-026Change Do-More IP address data into addresses displayable in C-more
EP-MISC-027Executing logic based on time of day in Do-More
EP-MISC-028Changing daylight savings flag in Do-More
EP-MISC-029Convert timer accumulator to hours/minutes/seconds countdown

Directsoft 5 Tutorial

Communications

05

06

105

205

305

350

405

CLICK

P2

P3

Do-
more

Example of how to configure port 2's communication parameters.
EP-COM-002This program shows how communication errors can be detected when using the RX and WX instructions.
EP-COM-003Networking multiple GS drives with the standard instruction set in the DL05 and D2-250
EP-COM-004Networking multiple GS drives with the new Modbus instruction set in the DL06 and D2-260
EP-COM-005Master project:
This project contains simple logic for reading the inputs from an DL05 / 06 slave and placing their status in C0-C17 in the master. It also writes C20-C37 to the outputs on the slave.
Slave project:
This project can be used in conjunction with the master project to setup the slave to turn off its outputs if the master PLC stops communicating with it.
EP-COM-006An example program for the D2-250 CPU and the ERM to communicate with an HA-EDRV2 and a SJ100 Hitachi drive
EP-COM-008 Ladder example for receiving ASCII input. Typical application would be a bar code scanner or weight scale that sends data to the PLC and does not require any communication from the PLC
EP-COM-009Ladder example for sending commands to an SCL stepper drive from port 2 of a D2-260
EP-COM-010Ladder example for sending commands to an SCL stepper drive from port 2 of a CLICK PLC
EP-COM-011How to print without leading zeroes (D2-250, D2-250-1)
EP-COM-012 ASCII Receive and Send example
EP-COM-013 ASCII String Creation with checksum
EP-COM-014Ladder example for sending commands to an SCL stepper drive from the Do-more PLC serial port
EP-COM-015 Do-more to Viewmarq date/time write example
EP-COM-016 Program to send a message once a minute and embedded variable every second from D0-05 to Viewmarq panel
EP-COM-017 Program to send a large message once a minute and embedded variable every second from D0-05 to Viewmarq panel
EP-COM-018Set up of IP address using V memory locations in Do-more
EP-COM-020 RS-485 example for P3000
EP-COM-021 D2-260 to Protos-X communications example with watchdog
EP-COM-022 P3000 to Protos-X communications example with watchdog
EP-COM-023 Do-More to Protos-X communications example with watchdog
EP-COM-024 CLICK to Protos-X communications example with watchdog
EP-COM-025DoMore to SR55 communications example
EP-COM-026DirectLogic to SR55 communications example
EP-COM-027CLICK to SR55 communications example
EP-COM-028Ladder example for sending commands to an SCL stepper drive from RS232 port 1 of a Productivity Series PLC
Counters

05

06

105

205

305

350

405

CLICK

P3000

Do-
more

Example of how to calculate RPM for a device connected to the High Speed Counter inputs on the 105 CPU.
EP-CT-002This app shows how to combine Straight Velocity and Accel/Decel profiles in mode 30.
EP-CT-003This file that contains two projects for 105 mode 30 pulse output; one for trapezoidal profile and one for registration. These projects are enhancements of the examples show in the manual on pages 3-31 and 3-34 in that they provide logic for using a momentary start pushbutton instead of a maintained button.
EP-CT-004CTRIO programming examples for Pulse Output functions
EP-CT-005Making both quadrature counting channels of a CTRIO retentive on power cycle
EP-CT-006Example program for making 2 CTRIO modules in an 06 retentive on power cycle
EP-CT-007Example program for counting/rate using interrupt input on DC input Click PLC
EP-CT-008Example program for making a single CTRIO channel retentive on power cycle
Operator Interface

05

06

105

205

305

350

405

CLICK

P3000

Do-
more

EP-OP-001Example of how to detect that the Optimation panel is no longer communicating from within the CPU.
EP-OP-002This app note shows how the date & time can be changed using the OP-1510 panel. It only works in the 250, 350, 440 & 450 CPU with the date & time instructions.
EP-EZ-001This example has an EZ Touch project and a DirectSoft32 Ladder program that shows how to set the PLC Clock for the (250,350,440,450 and 05(with optional D0-01MC module installed)) using the DATE and TIME instructions.
EP-EZ-002These two files are an example for the EZ-TEXT panels and DL205 PLC family that gives several demonstrations of how to use the panel for viewing and changing messages and data, for emergency messages controlled by the PLC, and how to configure the options on the TEXT panel.
EP-EA-001Changing CMore and CMore Micro Screens From the PLC and Panel (see related Tech Note)
EP-EA-004Program to detect when an operator interface or other master device changes a register value in a PLC
EP-EA-005 Email setup project for C-more - Load and simulate to see what needs to be done to make email work
Software
Point of View: Recipe example project
Download Example Program
Point of View: Basic template for starting projects
Download Example Program
Point of View: Example project showing basic examples of objects
Download Example Program
Point of View: Example showing use of class for multiple similar devices
Download Example Program
Point of View: Example project to test connections to CLICK PLC via Ethernet
Download Example Program
Point of View: Example project to test connections to Do-more PLC via Ethernet
Download Example Program

Restricted Downloads

In order to give our customers quicker access to software that must be purchased we have set up some protected file areas. In order to retrieve files from these areas you will have to have a USERID and a PASSWORD. You can get these from the Technical Support staff at Automationdirect.com (call 1-770-844-4200). You will be asked for confirmation that you have purchased the software so you might want to have the invoice number handy when you call.

The following links will help you get to the files:

DirectSOFT v4.0 (current release - Build 25)

DirectSOFT v3.0c (current release - Build 80)

DirectSOFT (v2.x) Packages (old release)

LookoutDirect

  • LookoutDirect
    • Version 4.51.19 Build 25 - Use with Directsoft V4 or earlier
    • Version 4.51.19 Build 25 - Use with Directsoft V5 or later
  • DirectLOGIC PLUS
    • Version 4.51.19 with v4.0 Comm Server - Build 25 - Use with Directsoft V4 or earlier
    • Version 4.51.19 with v5.3 Comm Server - Build 105 - Use with Directsoft V5 or later

DataWorx

Directsoft 5 Manual

  • DataWorx PLC Version 2.1 Build 75
  • DataWorx WinPLC Version 1.2 Build 1013

DataWorxP3K

  • DataWorxP3K Version v3.0 Build 48

DataLYNX

  • DataLYNX Version 1.3 Build 1021

DataNet OPC

  • DataNet OPC Web-based Data Monitoring Software Version 2.1 Build 36

KEPDirect Servers

  • KEPDirect Servers (v4.300.449.0)

DDE Server

DSData Server(current release - v 4.0 Build 25)

Directsoft 32 manual pdf

Directsoft 5 Programming Manual

Point of View Software(current release - v8.0 SP2 P1)

ScreenCreator

Optimation Editor

EZTouch Software

Directsoft 32 Manual Pdf

  • See revision history for EZTouch software and panel firmware ( PDF document)

EZText Software