DirectSOFT FAQs

EDITING .INI File (e.g. adding COM ports for DirectSOFT)? . . . See FAQ0008 & FAQ0204
COMMUNICATION
Problems? . . . See FAQ0013
INSTALLATION Problems? . . . See FAQ0016
PRINTING Problems? . . . See FAQ0018
DOCUMENTATION Problems? . . . See FAQ0040


FAQ0001 (see also DS Data FAQ0002)
06-May-2002
Q: Using both DirectSOFT Programming and DS Data simultaneously, why does my PC lock-up?
A: You are probably using a common link. Instead, create two different links.


FAQ0002
21-May-2002
Q: Can I import rung comments in DirectSOFT?
A: Yes, but only in v4.0. Earlier versions do not support this.


FAQ0003 
21-May-2002
Q: How can I prevent my rung comments from getting corrupted?
A: Upgrade to at least DirectSOFT v3.0c Build 80 (many comment issues were fixed). DirectSOFT v4.0 supports export comments. Therefore exporting comments often would provide you with a safety guard in a text format. Also, DirectSOFT v4.0 provides ability to do backups of project. Also, it is better to work with the project directly on the hard drive and not a server.


FAQ0004
21-May-2002
Q: What causes "Error, invalid path values .DTA"?
A: The .DTA files are for Data View in DirectSOFT. If you copied your project to a different folder, but you didn't copy the .DTA files as well, you will get this error.


FAQ0005 (see also ECOM FAQ0002)
28-May-2002
Q: What causes "Task code error response" with extended E353 error?
A: Error is from PLC and means "timeout in the background communications." Error is due to backplane comm problem (ECOM, DCM, etc.)


FAQ0006
28-May-2002
Q: What causes "Error filter error reading internal op codes importing TISoft to DS" error?
A: This is a bug that was fixed with DirectSOFT v3.0c Build71 + patch.


FAQ0007
29-May-2002
Q: What files are effected by a save?
A: For details, see file DSP save and load chart2.PDF. The following is a summary of the file extensions:

File --> Save Project --> to Disk (Ctrl+S):

In DirectSOFT v5.0 there is an additional file effected:

Write-to-Disk (Ctrl+F12) button:

In DirectSOFT v5.0 there is an additional file effected:


FAQ0008
09-Jul-2008
Q: What things can be setup using the DS500.INI (DS300.INI / DS400.INI) file?
A: The following parameters can be added (or adjusted) in the DS500.INI (DS300.INI / DS400.INI) file.
To see how to pull up the .INI file for editing, refer to DirectSOFT FAQ0204.

PARAMETER NAME HEADING IN FILE SYNTAX NOTES EXAMPLE
COMxEnable [devasync.dll] COMxEnable=y x = COM port number
y = 0 (to disable)
      1 (to enable)
COM5Enable=1
ModemEnable [devasync.dll] ModemEnable=x x = 0 (to disable)
      1 (to enable)
ModemEnable=1
EthernetEnable [devether.dll] EthernetEnable=x x = 0 (to disable)
      1 (to enable)
EthernetEnable=1
Autosense [Comm Server] Autosense=x x = 0 (to disable)
      1 (to enable)
Autosense=0
Dump [devasync.dll] Dump=x x = 0 (to disable)
      1 (to enable)
Dump=1
PROGRAM COLORS(1) [PROGRAM COLORS] x=y x = parameter number
y = color number
9=16711680
UDPPortNumEnable(2) [devether.dll] UDPPortNumEnable=x x = 0 (to disable)
      1 (to enable)
UDPPortNumEnable=1
PROJECT PATH [PATHS] PROJECT PATH=x x = <folder path> PROJECT PATH=c:\MyProjects
LadderPalette(3) [SETUP] LadderPalette=x x = 0 (to turn off)
      1 (to turn on)
LadderPalette=1
UseLargeBtns(4) [SETUP] UseLargeBtns=x x = 0 (use small buttons)
      1 (use large buttons)
UseLargeBtns=1
BACKUP PATH [PATHS] BACKUP PATH=x x = <folder path> BACKUP PATH=c:\MyBackups
RTSxDelay [devasync.dll] RTSxDelay=y x = On (for on-delay)
      Off (for off-delay)
y = <milliseconds>
RTSOnDelay=5
OnTheWeb [DSLaunch] OnTheWeb=x x = 0 (to disable)
x = 1 (to enable)
OnTheWeb=1
INFLOOPTIMEOUT(5) [SETUP] INFLOOPTIMEOUT=x x = 1 to 4294967296 INFLOOPTIMEOUT=65536

NOTES:
(1) - Only use this to fix a problem (e.g. DirectSOFT FAQ0020, FAQ0043). The parameter and color numbers are not defined in a user-friendly manner.
(2) - Became available with DirectSOFT v3.0c Build 54 (01-Sep-2000)
(3) - Became available with DirectSOFT v4.0 Build 18 (09-Dec-2002)
(4) - Only available in DirectSOFT v4.0. Not available in DirectSOFT v5.0.
(5) - Only modify this if you have received the "Infinite Loop Timeout" message. This parameter became available with DirectSOFT v4.0 Build 20 (27-Jun-2003).


FAQ0009
07-Jun-2002
Q: Getting CSMain.exe error when doing a Find for an element in Ladder view.
A: Upgrade to at least v3.0c Build71 +patch or v4.0.


FAQ0010
10-Jun-2002
Q: In DirectSOFT under Add Link get double listings (two COM1's, two COM2's, two Ethernets etc.).
A: One of three things has probably happened:

The bottom line is that you have multiple copies of the Devasync.DLL and Devether.DLL files and you only need one. To fix search your hard drive and delete all copies of these two files except the ones in the DirectSOFT4\Bin or DirectSOFT32\Bin folders.


FAQ0011 (see also DS Data FAQ0053)
17-Jun-2002
Q: Trying to get USB adapter to work, getting "Comm Error - Cannot access comm port. The port may not be present or another application might be using it."
A: Make sure that there are not any other devices (like internal modems) using the COM port that the USB adapter driver is trying to use. Also, it is recommended that you upgrade DirectSOFT to at least v4.0 Build 18, or v3.0 Build 80. Or make sure you use a USB that has been approved and tested by Host Engineering for use with DirectSOFT. Also, it is recommended that you:

  1. Install USB device driver first.
  2. Connect the USB device secondly.

 This list is updated as we go:

  1. Finally, your USB adapter may be wanting to use a COM port that you do not have enabled for DirectSOFT. For example, some want to use COM port #5. By default, DirectSOFT does not have this COM port enabled in the .INI file.

    - To pull up the .INI file for editing, see DirectSOFT FAQ0204.
    - To edit the COM resources in the .INI file, see DirectSOFT FAQ0008.

FAQ0012
17-Jun-2002
Q: Using Targus USB converter, WinXP, Toshiba Satellite 2405 S201, getting, "Error connecting to PLC"
A: Host has not tested the Targus USB converter and it is therefore we cannot recommend it. However, upgrading your DirectSOFT to the latest Build is always recommended because Host continuously attempts to improve communications with the wide variety of USB drivers now being sold. (see DirectSOFT FAQ0011 for list of compatible USBs).


FAQ0013 (see also DS Data FAQ0045; similar to ECOM FAQ0024; similar to EZ Ethernet FAQ0005)
18-Jun-2008
Q: Need general help on communications from PC to PLC and establishing a link.
A: First of all, always make sure you are using the latest version of DirectSOFT possible.

Secondly, if you are using an ECOM and have WinXP on your PC with a firewall (particularly with SP2), then you must do one of the following:

     (1)  Turn the firewall off, or
     (2) Create an exception for CSMAIN.EXE application (located in the BIN folder under your DirectSOFT folder), or
     (3) Create an exception for port #0x7070 (28784) for both TCP and UDP protocols, which is the port number that all of our Ethernet devices use for communication.

Thirdly, you can control which communications resources on your PC you want to let DirectSOFT use by entries in the DirectSOFT initialization file (DS500.INI):

COMMUNICATIONS RESOURCES

You must edit DirectSOFT's DS500.INI file to change communication resources.
(To pull up the .INI file for editing, see DirectSOFT FAQ0204)

There are 3 parameters that can be modified regarding communication resources:
     (1) COMxEnable - To edit this resource in the .INI file, see DirectSOFT FAQ0008.
     (2) ModemEnable - To edit this resource in the .INI file, see DirectSOFT FAQ0008.
     (3) EthernetEnable - To edit this resource in the .INI file, see DirectSOFT FAQ0008.

NOTE: In some extremely rare cases with DirectSOFT versions older than v4.0, to totally disable Ethernet resources you not only have to do the above, but also you may need to rename the files Devether.DLL and Protoecm.DLL to Devether.OLD and Protoecm.OLD. Don't forget to rename them back after troubleshooting!

STARTUP

  1. Using the resources enabled in the .INI file, DirectSOFT's CommServer tries to find PLCs.
  2. If it finds some, it creates DirectSOFT links to them.
  3. If it finds none, then it comes up without creating links.
  4. As it attempts to use communication resources on your PC then one of the following happens:
  1. DirectSOFT comes up normally. Yay!
     
  2. "Error connecting to PLC!" or "No response from PLC!"
  1. "Error: cannot access comm port. The port may not be present or another app may be using it"
  1. "Transport protocol error"
This means you are using Ethernet as a link and it timed out and is commonly due to one or more of the following issues:
  1. "PLC is not in terminal mode!..."
  1. "Unable to open Online Program"
  1. "CSMAIN.EXE error" or DirectSOFT locks up or mouse hangs up.
  1. "Error opening connection to Ethernet device"
  1. "Comm error reading program from PLC"
  1. "Knowledge base mismatch"
  1. "Error attempting to access unlocked device"
  1. Goes offline by itself after using the link.
  1. Sometimes gets a PLC password prompt; but the PLC doesn't have a password!
  1. "Comm error unlocking PLC"
  1. "Support for the PLC type specified in the link is not installed"

MODEM LINKS

Modem links must be configured manually. Here is a checklist for getting a modem connection working:

USB-TO-SERIAL

These devices have drivers with them that should make them act like regular COM ports. (See DirectSOFT FAQ0011 for approved USB-to-Serial devices tested by Host Engineering). However there have been a few vendors that don't do this with their drivers. DirectSOFT "thinks" it is talking to a COM port, Ethernet NIC, or modem. It doesn't know a USB-to-serial device.

The order of installation, however, seems to be important:

  1. Install USB device driver first.
  2. Connect the USB device secondly.

AUTOSENSE

Once links have been created for DirectSOFT, it validates these each time you start it. You can stop this from happening by editing the .INI file and changing AutoSense:
- To pull up the .INI file for editing, see DirectSOFT FAQ0204.
- To edit Autosense parameter in the .INI file, see DirectSOFT FAQ0008.

DUMP (for troubleshooting SERIAL and MODEM links)

When you can't figure why things won't work exactly right, you can use this debug function with a little help from Automation Direct, or Host Engineering. This parameter is in the .INI file.
- To pull up the .INI file for editing, see DirectSOFT FAQ0204.
- To edit Dump parameter in the .INI file, see DirectSOFT FAQ0008.

After making this change you should start the debug window logger:

  1. Start --> Programs --> DirectSOFT --> DirectSOFT Program Tools --> DBWin32 Logger
  2. Start DirectSOFT.
  3. DirectSOFT will ask you if you want to enable the debug mode. Answer <YES>.
  4. Now DirectSOFT will dump information into the open debug window.
  5. Save this data into a text file and send to Automation Direct or Host Engineering.

FAQ0014
24-Jun-2002
Q: Mouse scroll wheel doesn't work in DirectSOFT, but works in other applications.
A: The first thing to try is to update to at least DirectSOFT v4.0 Build 24. If that doesn't work then you may need to download the mouse control software for your mouse. For example, download and install Microsoft Intellipoint for Microsoft mice, and Logitech MouseMan software for Logitech mice, etc.


FAQ0015
25-Jun-2002
Q: Using DirectSOFT v3.0c Build 71 + patch; why is there no option to export program to CSV file.
A: This is not supported in v3.0c, must have v4.0.


FAQ0016
12-Jun-2008
Q: Having DirectSOFT installation problems.
A: Primary things to check before consulting the errors listed below:

  1. Consult DirectSOFT FAQ0140 to make sure that Windows operating system you are using supports the version of DirectSOFT you are attempting to install.
  2. If you have to log on to your PC (i.e. WinNT, Win2K, WinXP), make sure you are logged in with Administrator privileges.
  3. A wide variety of problems can be solved on Win95, Win98 and WinME PCs by installing DirectSOFT in Safe Mode.

Below are various installation errors that have been encountered and their solutions.


FAQ0017
22-Oct-2007
Q: Why are there instructions listed in the DirectSOFT Help file that do not show any support for the DL CPUs? (e.g. COS, ACOS, ATAN).
A: Because Koyo (the maker of the DL PLCs) sells a larger PLC with a superset of the instructions listed for the AutomationDirect PLCs and DirectSOFT supports those CPUs as well. But these PLCs are sold to a very specific market in Japan and are not available otherwise.


FAQ0018
28-May-2002
Q: Trying to print from DirectSOFT and having various problems.
A: Various printing issues are listed below:


FAQ0019
28-May-2002
Q: Importing CSV file causes DirectSOFT to crash.
A: We work very hard to keep all reported crashes from happening. If a crash happens with an import, the first thing to do is to upgrade to the latest Build for your version. So far this has fixed every case to date.


FAQ0020
28-May-2002
Q: Pressing the Default button for color options (View, Color Setup) does not restore the colors to their defaults.
A: This is a bug in v3.0c Build71 (or less), v4.0 Build16 (or less). To fix, upgrade to later versions. Temporary workaround is to:

  1. Either set the colors manually back to the defaults in DirectSOFT (View, Color Setup) using the color matrix buttons:

    ATTRIBUTE NAME COLOR (right, down)
    Normal Background 1,1
    Uncompiled Background 2,3
    Unsaved to Disk Background 1,4
    Unsaved to PLC Background 3,2
    Disabled Background 3,3
    Selected Background 2,1
    Status Background 3,1
    Status Foreground 4,1
    Comment 6,4
    Description 6,2
    Wiring Info 4,5
    Nickname 5,1
    Element 6,5
    Token 6,5
     
  2. Or, you must set the colors back manually in the .INI file as shown below.
    - To pull up the .INI file for editing, see DirectSOFT FAQ0204.
    - To edit the PROGRAM COLORS parameter in the .INI file, see DirectSOFT FAQ0008.

    [PROGRAM COLORS]
    0=0
    1=0
    2=0
    3=128
    4=8388736
    5=8421504
    6=8453888
    7=8421376
    8=16512
    9=16711680
    10=16777215
    11=65408
    12=12632256
    13=8454143
    14=16711680
    15=16776960
    16=12582912
    17=16777088
    18=0
    19=0
    20=0
    21=0
    22=0
    23=0
    24=0

FAQ0021
03-Jun-2002
Q: Help file is hard to use.
A: Host is continuing to update and improve the help file, but the manual is always up-to-date.


FAQ0022
15-Nov-2002
Q: Having trouble connecting to Port 1 of DL250. Port 2 works fine.
A: Port 1 is K-seq protocol only. Next, make sure the link properties are 9600 bps, 8 data bits, odd parity. Also don't rule out the possibility that the port on the DL250 could be bad, or that the cable is bad.


FAQ0023
12-Nov-2007
Q: Why are stages shown out of numerical sequence in Stage View?
A: The order is determined by a very complex algorithm and cannot be changed. However, we are considering options for future DirectSOFT releases.


FAQ0024
09-Dec-2002
Q: Need to scroll through the program that advances the screen to the next stage. Currently have to scroll down until it is found.
A: Should use Stage View. This allows one to navigate through Stages easily.


FAQ0025
19-Nov-2007
Q: How can I copy the links from one DirectSOFT installation to another?
A: The links in DirectSOFT are stored in the CommServ.RST file located in the Bin folder located under DirectSOFT. All you have to do is copy this file.


FAQ0026
15-Jan-2003
Q: What is the earliest version of DirectSOFT that supports Exporting Documentation?
A: DirectSOFT Programming v3.0.


FAQ0027
16-Jan-2003
Q: When you enable the Dump function in the DS500.INI file, where does it place the dump file?
A: After editing this parameter in the DS500.INI file you must start the Dbwin32.EXE program. Then in that window you can save the dump to any filename you like.
- To pull up the .INI file for editing, see DirectSOFT FAQ0204.
- To edit the Dump parameter in the .INI file, see DirectSOFT FAQ0008.


FAQ0028
17-Jan-2003
Q: Can DirectSOFT program an SA-21 (0.5K-words version of D3-330P)?
A: Yes.


FAQ0029
17-Jan-2003
Q: Saving or opening a project gets an error. "Couldn't open new database. Reopened failed." But can still get program to come up.
A: Check the Projects Path in the DS500.INI file and make sure it is pointing to a folder that you have access to.
- To pull up the .INI file for editing, see DirectSOFT FAQ0204.
- To edit the PROJECT PATH parameter in the .INI file, see DirectSOFT FAQ0008.


FAQ0030
21-Jan-2003
Q: What is the meaning of all the files in a project?
A: See DSP save and load chart2.pdf document.
Summary:

CSV - Comma seperated variable
CWB - Counter I/O configuration
DTA - Data view
DV - DV1000 setup
ERM - Ethernet remote master config
ESD - Element documentation (nickname, wiring info, description)
ESX - Index for element documentation
INF - Project information
LCD - Ladder comment data
LCX - Ladder comment index
LDA - Maps rung comments to rung #'s
LDO - Online only, maps rung comments to rung #'s (temporarily until saved offline to LDA file)
PID - PID documentation
PRJ - Ladder program
PRT - Print layout config
RD - 305 R-memory data
RF - 305 R-memory data editor format
SCD - Stage comments
SCX - Index for stage comments
TLS - PLC parameters, I/O configuration, pause bits
TXT - Text file
VD - V-memory data
VF - V-memory editor format
WSP - DirectSOFT window layout

In DirectSOFT v5.0 there is an additional file in the project:

XML - Docking-pane screen coordinates


FAQ0031
21-Jan-2003
Q: Is the 330S in DirectSOFT the same as a 330P?
A: Yes.


FAQ0032
21-Jan-2003
Q: Can source code of DirectSOFT be obtained?
A: The source code of DirectSOFT is not for sale.


FAQ0033
21-Jan-2003
Q: Does Host customize DirectSOFT for customers?
A: Customizing DirectSOFT is not something Host has the resources to devote to at this time (January 2003).


FAQ0034
24-Jan-2003
Q: Why do the messages in DirectSOFT come up in German?
A: You have Siemens Step7 software installed on your PC. First try renaming the MFC42LOC.DLL file to *.OLD and reboot. If that doesn't work you may have to uninstall both Step7 and DirectSOFT and then just reinstall DirectSOFT.


FAQ0035
10-Sept-2002
Q: Are there any plans to have Ladders view wrap around instead of scrolling?
A: Host Engineering does not have any plans to change the scrolling Ladders to a wrap-around view.


FAQ0036
10-Dec-2007
Q: What version of firmware in the DL-PLC is required for DirectSOFT v5.x IBoxes to function?
A: IBoxes are supported only in DL05, DL06, DL250-1, DL260 & DL450 CPUs:

Direct Logic CPUs CPU
Firmware
05 v5.10 or later
06 v2.10 or later
130  
230  
240  
250  
250-1 v4.60 or later
260 v2.40 or later
TI-325  
330  
330P  
TI-330S  
TI-335  
340  
350  
TI-425  
430  
TI-435  
440  
450 v3.30 or later

FAQ0037 (similar to FAQ0013; see also DS Data FAQ0046)
03-Feb-2003
Q: First time starting DirectSOFT v4.0, crashes and gets CSMain.exe error.
A: The first thing to check is to make sure that IPX protocol is loaded for the NIC that is installed (see DirectSOFT FAQ0183 for installing protocols). Part of this problem was remedied in v4.0 Build 18 so upgrading may very well fix the problem. ReadMe_P.htm file says: "3. CommServer -- Fixed CommServer crash when IPX not installed -- we hope!" However, we know there are still some other issues centered around IPX protocol that we are currently debugging.


FAQ0038
16-Jul-2002
Q: Does DirectSOFT support USB converters that work, not as COM devices, but rather show up as an Ethernet device?
A: No. The type of USBs that DirectSOFT supports are those that show up as COM devices. Ethernet-to-USB will not work because in order to talk to Ethernet, DirectSOFT assumes that you have an ECOM. Thus if you make an Ethernet link, DirectSOFT wants to talk to an ECOM not a serial device. Thus when the Ethernet-to-USB converter converts the Ethernet signals to USB, then the serial device will not understand the ECOM protocol. See DirectSOFT FAQ0011 for compatible USBs.


FAQ0039
04-Feb-2002
Q: Will DirectSOFT export a Ladder file to Tisoft .VPU format?
A: No.


FAQ0040
18-Jun-2008
Q: Having various problems with documentation files (comments, etc.); can this be fixed?
A: There are known problems that can occur when documentation files get corrupted. When corruption has occurred it can cause quite a variety of unpredictable symptoms. Some of the more common:

Corruption can happen over time due to system/software crashes, power loss, etc. To facilitate recovery, Host strongly recommends that you utilize the Backup Project feature (which originated in v4.0) to help minimize any rework. In times past some of these documentation corruptions have caused DirectSOFT to crash. Crashing behavior in all known cases to date have been remedied in later Builds of DirectSOFT. Therefore the first thing to do is to upgrade to the latest version

If the documentation is corrupt, sometimes it can be salvaged. There are 3 file critical to documentation:

ESX - This file is the database Index for the Element Documentation.
LCX - This file is the database Index for the Ladder Comments.
SCX - This file is the database Index for the Stage Comments.

If these files don't exist, don't worry, DirectSOFT will create them, building backward from the documentation files themselves:

ESD - This file is the database for Element Documentation.
LCD - This file is the database for Ladder Comments.
LDA - Maps Ladder Comments to Rung Numbers.
SCD - This file is the database for Stage Comments.

First, backup the project (if possible). Or print out the documentation. In DirectSOFT v4.0 there is a new Backup feature that allows you to create backups of your projects that are time stamped.

ELEMENT DOCUMENTATION ERRORS

  1. Try Deleting the ESX file.
  2. Open DirectSOFT and pull up the project.
  3. Export the Documentation to TXT or CSV file.
  4. Edit the TXT or CSV file and correct any mistakes.
  5. Save the TXT or CSV file.
  6. Import the documentation from the new TXT or CSV file, choosing the “Delete Existing” option.
  7. Save the new project.

NOTE: If this doesn't work, you may have to repeat it, deleting not only the ESX file again, but also deleting the ESD file between Step 3 and Step 4 as well.

LADDERS COMMENT ERRORS

NOTE: If Ladders Comments are corrupted in DirectSOFT v3.0 there is no solution! To prevent the loss of Ladders Documentation in DirectSOFT v3.0 you should print it out often.

  1. Delete the LCX file.
  2. Open DirectSOFT and pull up the project.
  3. Export the Program to TXT or CSV file, choosing the “All” option.
  4. Edit the TXT or CSV file and correct any mistakes.
  5. Save the TXT or CSV file.
  6. Import the Program from the new TXT or CSV file, choosing the “Delete Existing” option.
  7. Save the new project. 

NOTE: If this doesn't work, you may have to repeat it, deleting not just the LCX file again, but also deleting the LDA, LCD and LDO files between Step 3 and Step 4 as well.

STAGE COMMENT ERRORS

NOTE: If Stage Comments are corrupted in DirectSOFT v3.0 there is no solution! To prevent the loss of Ladders Documentation in DirectSOFT v3.0 you should print it out often.

  1. Delete the SCX file.
  2. Open DirectSOFT and pull up the project.
  3. Export the Program to TXT or CSV file, choosing the “All” option.
  4. Edit the TXT or CSV file and correct any mistakes.
  5. Save the TXT or CSV file.
  6. Import the Program from the new TXT or CSV file, choosing the “Delete Existing” option.
  7. Save the new project. 

NOTE: If this doesn't work, you may have to repeat it, deleting not only the SCX file again, but also the SCD file between Step 3 and Step 4 as well.


FAQ0041 (see also ECOM FAQ0010)
04-Feb-2003
Q: Is it possible to run 2 NICs on 1 PC to 2 separate ECOMs?
A: Yes. But the only way Host has seen this work is if one NIC has IPX-only protocol loaded (and not TCP/IP), and the other NIC has TCP/IP-only protocol loaded (and not IPX). DirectSOFT has no other way to choose between which NIC to use. see DirectSOFT FAQ0183 for installing protocols.


FAQ0042
07-Jul-2002
Q: Used the "Save As..." function and lost documentation!
A: This was a known bug. If you used "Save As..." and then used the same filename for the project documentation would inadvertently get deleted! This was fixed in DirectSOFT v3.0 Build 62. However, the newer Build 71 and Build 71 patch reintroduced the bug because the code (contained in prgrm30.dll) that gets replaced is actually old Build 59 code (3.0.059). Problem completely eradicated in v3.0c Build 80 and any version of v4.0.


FAQ0043
19-Jun-2002
Q: Is there a color setup for monochrome monitors?
A: Monochrome color selection button (View --> Color options...) has been added to v4.0 Build 18. For earlier versions you: 

  1. Either set the colors manually in DirectSOFT (View, Color Setup) using the color matrix buttons:

    ATTRIBUTE NAME COLOR (right, down)
    Normal Background 1,1
    Uncompiled Background 3,3
    Unsaved to Disk Background 3,3
    Unsaved to PLC Background 3,3
    Disabled Background 3,3
    Selected Background 4,5
    Status Background 6,5
    Status Foreground 1,1
    Comment 6,5
    Description 6,5
    Wiring Info 6,5
    Nickname 6,5
    Element 6,5
    Token 6,5

  2. Or, set the colors manually in the .INI file as shown below.
    - To pull up the .INI file for editing, see DirectSOFT FAQ0204.
    - To edit the PROGRAM COLORS parameter in the .INI file, see DirectSOFT FAQ0008.

    [PROGRAM COLORS]
    0=0
    1=0
    2=0
    3=0
    4=0
    5=0
    6=8453888
    7=0
    8=16512
    9=16711680
    10=16777215
    11=12632256
    12=12632256
    13=12632256
    14=8421504
    15=0
    16=16777215
    17=12632256
    18=0
    19=0
    20=0
    21=0
    22=0
    23=0
    24=0

FAQ0044
04-Feb-2003
Q: Using DirectSOFT v2.0 Build 23, trying to communicate to DL250, get "Unknown PLC type" and then "Attempted access of unlocked device."
A: Support was added for the DL250 to DirectSOFT v2.1. Since this is no longer available, you should upgrade all the way to at least v2.4a. It's free and can be downloaded from Host website. See DirectSOFT FAQ0059 for a table showing which versions of DirectSOFT support which DL CPU.


FAQ0045
20-Dec-2007
Q: In the DL06, when Aliases are turned ON, why does the RX/WX instruction show V1200 as CTA200, but the LD instruction doesn't?
A: This has to do with the fundamental function of the addressing parameter of RX/WX instruction versus the LD instruction. The RX/WX parameter is the remote PLC's address, whereas the parameter of the LD instruction is the local PLC's address. Thus, with Aliases turned ON we chose to use the Aliases of the "biggest" DL-PLC that Automation Direct sells (DL450) for the naming of the RX/WX parameter. Examples:

In DL06 with Alias turned OFF:
     LD     V1200          ; No Alias names are displayed for any instruction.
     RX     V1200          ; No Alias names are displayed for any instruction.

In DL06 with Alias turned ON:
     LD     V1200          ; Not displayed as CTA200 because in DL06 counters only go to CTA177.
     RX     CTA200       ; The Alias for DL450's V1200 is used. DL450's counters go up to CTA377.

If, however, you use a smaller V-memory location in the DL06 we get:

In DL06 with Alias turned OFF:
     LD     V1177          ; No Alias names are displayed for any instruction.
     RX     V1177          ; No Alias names are displayed for any instruction.

In DL06 with Alias turned ON:
     LD     CTA177       ; V1177 = CTA177 in DL06.
     RX     CTA177       ; V1177 = CTA177 in DL450 as well.

To turn Aliasing ON or OFF:
     (1)  From DirectSOFT menu:  View --> Options...
     (2)  Select the Global tab.
     (3)  Check or Uncheck "Display Aliases".
     (4)  Press <OK>.


FAQ0046
04-Feb-2003
Q: Can you create an Ethernet link offline?
A: Yes.

For DS Launch:

  1. Right-click on Comm Links.
  2. Select "Add link..."
  3. When the Link Wizard comes up, press the <Link Editor...> button.

If inside DirectSOFT:

  1. Choose PLC --> Connect.
  2. Press the <Add...> button.
  3. When the Link Wizard comes up, press the <Link Editor...> button.

FAQ0047
04-Jan-2008
Q: When configuring a serial link using DirectSOFT, what does the "Radio Link" selection on the Port tab do?
A: This was added in DirectSOFT v4 Build 23 (25-May-2004) so that DirectSOFT could assert the DTR line for the CR-HN series radio modems Automation Direct sells.


FAQ0048 (see also ECOM FAQ0042; DL Plus FAQ0009; DNLoader FAQ0010; DSData FAQ0005; EZ Ethernet FAQ0008; HA-TADP FAQ0002; Lookout Direct FAQ0014; NetEdit FAQ0005; SDK FAQ0020)
31-Jan-2008
Q: Why doesn't the ECOM use subnet mask or gateway address like the ECOM100?
A: Since the ECOM doesn't do "master"-type communications, it doesn't use the subnet mask or gateway address. Whatever talks to the ECOM will be using IPX or UDP/IP, and the ECOM simply swaps the destination and source addresses in the telegram and responds in this way, not "caring" about the subnet or gateway. However, the ECOM100 acts more like a conventional TCP/IP device. The ECOM100 has the capability to be a master and has a full-blown TCP stack inside. Thus, if it is to transmit to an IP address not on its subnet, it will, of course, transmit to its configured gateway address instead.


FAQ0049
09-Feb-2003
Q: How do I upgrade to the latest version of DirectSOFT?
A: If you have DirectSOFT v4.0, or earlier versions, then you will have to order the upgrade from Automation Direct:

Automation Direct
3505 Hutchinson Road
Cumming, GA 30040
800-633-0405
http://www.automationdirect.com

If you already have DirectSOFT v5, then you can download maintenance upgrades by:

  1. Go to http://www.hosteng.com
  2. In the left column, under “Products” click “Software.” 
  3. Click on “DirectSOFT” 
  4. On the menu at the top, click on “Service Pack.”  

FAQ0050
19-Nov-2002
Q: Can I copy contacts from one rung to another?
A: This feature is not in the current versions of DirectSOFT (v3.0 Build 80; v4.0 Build 18) and there are no plans to add this to these versions. However, this feature will be included in v5.0 of DirectSOFT (no date as to release). Also, to get around this issue now, it is possible to Export the Program to a text file, then use the copy and paste of your favorite text editor to copy contacts from rung to rung. Then use the Import Program to get them back into DirectSOFT project.


FAQ0051
28-Aug-2002
Q: It would be nice to have the optional lines already added to the DS400.INI (or DS300.INI, DS500.INI) file, yet commented out, so one doesn't have to try to remember what to type in, or what heading to put them under, especially since these are not always documented.
A: Added the following to DS400.INI (& DS500.INI) file in DirectSOFT v4.0 Build 18 (to activate them, you simply remove the ";"):

[Comm Server]
;AutoSense=0 (To turn OFF autosensing of Comm Links during Comm Server startup.)

[devasync.dll]
;Dump=1 (To enable a dump of Serial Port debugging information.)

[devether.dll]
;UDPPortNumEnable=1 (To enable display of the UDP Port Number.)

- To pull up the .INI file for editing, see DirectSOFT FAQ0204.
- To edit the above parameters in the .INI file, see DirectSOFT FAQ0008.


FAQ0052
10-Dec-2002
Q: Can I open the same project with two instances of DirectSOFT on two different PCs?
A: No. If you do, then unpredictable results can happen. (e.g. comment files can be corrupted!). DirectSOFT doesn't comprehend other instances of itself wanting to use the same project file. It is only one client per project at a time. However, we are considering putting a mult-client feature in v5.0.


FAQ0053
12-Feb-2003
Q: Does DirectSOFT have problems opening up projects that are read-only?
A: Yes. DirectSOFT needs to open up the files as read/write.


FAQ0054
13-Dec-2002
Q: There is no information in the v4.0 Build 16 help file regarding the setup of the second comm port of the DL06 or the DL260.
A: This was added to Build 18. Read_Me.htm file says, "29. Setup Secondary Comm Port Dialogs now show correct Help files based on PLC type."


FAQ0055
12-Feb-2003
Q: How can I change the default project folder that DirectSOFT uses?
A: You must edit the PATH parameter in DirectSOFT's DS500.INI file. After changing this parameter, then when you use "Save" or "Save As..." or "Open," etc., this will be the default folder.

- To pull up the .INI file for editing, see DirectSOFT FAQ0204.
- To edit the PATH parameter in the .INI file, see DirectSOFT FAQ0008.


FAQ0056
18-Feb-2003
Q: If customer has an OEM-created DirectSOFT v2.0, can he update to v2.4 from website?
A: Yes.


FAQ0057
18-Feb-2003
Q: When trying to download and make diskettes for DirectSOFT v2.4a from website, get "Not enough space on disk."
A: You must first download the file on the website to your hard drive, then execute it (double-click), then choose "Make disks" from menu.


FAQ0058
19-Feb-2003
Q: What is the difference between the Demo version of DirectSOFT and the regular version?
A: Depending on which version of DirectSOFT demo you are talking about:

The DirectSOFT v3.x and v4.x DEMO version:

  1. Can view any size Ladder program.
  2. Can Save Online / Monitor Status on a 10 Ladder-word program (maximum) in the PLC.
  3. Can Monitor Status on a maximum of 4 items in Data View.
  4. Can have 4 Data Views maximum.
  5. Can have only 1 Comm Link active at a time.
  6. Can have only 1 Ladder (Stage, Mnemonic, XRef/Usage) View open at a time.
  7. Cannot Save to Disk.
  8. Displays a "Nag Dialog" encouraging customers to purchase the full version.
  9. Cannot use the DRUM instruction that is available in some CPUs (because of the 10-word maximum of #1 above).

The DirectSOFT5 DEMO version (called DS100):

  1. Cannot view any Ladder logic Online or open a Project with Ladder logic larger than 100 Ladder-words.
  2. Can Save Online / Monitor Status on a 100 Ladder-word program (maximum) in the PLC.
  3. If you create a Ladder logic program larger than 100 words, it will allow you to save it to disk, but you cannot re-open this project (see #1 above).

FAQ0059
20-Feb-2003
Q: Trying to load a project but getting "DirectSOFT recognizes the document <filename> but features or support level is not installed."
A: This error usually means one of the following two things:

Direct Logic CPUs DirectSOFT Version
v1.12i v2.0 v2.1 v2.2 v2.3 v2.3a v2.4 v2.4a v3.0 v4.0 v5.0 v5.1 v5.2
05             X X X X X X X
06                   X X X X
130   X X X X X X X X X X X X
230 X X X X X X X X X X X X X
240 X X X X X X X X X X X X X
250     X X X X X X X X X X X
250-1     (1) (1) (1) (1) (1) (1) (1) X X X X
260                   X X X X
TI-325 X X X X X X X X X X X X X
330 X X X X X X X X X X X X X
330P X X X X X X X X X X X X X
TI-330S X X X X X X X X X X X X X
TI-335 X X X X X X X X X X X X X
340 X X X X X X X X X X X X X
350       X X X X X X X X X X
TI-425 X X X X X X X X X X X X X
430 X X X X X X X X X X X X X
TI-435 X X X X X X X X X X X X X
440 X X X X X X X X X X X X X
450   X X X X X X X X X X X X

(1)  Partially compatible. The restriction is that the 250-1 local expansion I/O cannot be seen in DirectSOFT.


FAQ0060
04-Mar-2003
Q: Can I use the RTS/CTS Flow Control setting in the Link Wizard to talk from DirectSOFT to DL PLC?
A: No. The reason is that the PLC port does not listen to its CTS line for incoming data. It only uses the Flow Control RTS/CTS lines when it wants to send data. So, if you choose RTS/CTS Flow Control in DirectSOFT, then when DirectSOFT wants to talk to the PLC, it will set the RTS line, which, if wired correctly, would tell the PLC it wants to send data. However, because the PLC is not listening to that line, it would never send DirectSOFT the CTS, so DirectSOFT would time out.

This begs the question, "Why is the Flow Control option selectable in DirectSOFT?" The answer is that if you used a Serial Link to say, COM1, and had an external modem, for example, the modem would be listening to the RTS line and would respond properly. But the PLC port does not function in this manner.

This also begs the question, "Why is Flow Control configurable on the PLC Port?" The answer is that it was specifically designed for sending data to the F2-UNICON and FA-ISONET devices.


FAQ0061
28-Feb-2003
Q: While a Ladders program is pulled up, can I switch to a different CPU?
A: Yes. Use PLC --> Disconnect; move the communication cable (if necessary); then use PLC --> Connect. However, keep in mind that a program has a CPU type associated with it. This is very necessary for programming due to the different ranges of the PLCs as well as their different functions. (You can display what CPU type is associated with the program by using File --> Properties). For example, there are many more functions available for a DL06 than there are for a DL240.


FAQ0062
06-Mar-2003
Q: After making a link to TI335 using an Automation Direct DCU, it is seen as a "stage CPU" and repeatedly gets "Knowledge base mismatch - cannot connect" error.
A: This is a known problem with a TI335. Here are some things to try:


FAQ0063 (see also ECOM FAQ0013)
06-Mar-2003
Q: Connecting to DL PLC with ECOM and getting "????" as the CPU type; or just getting communications errors.
A: Check the following:


FAQ0064
04-Feb-2008
Q: How can I disable/enable the "DirectSOFT on the Web" feature in DSLaunch?
A:  By default, the "DirectSOFT on the Web" feature is enabled in DSLaunch.


FAQ0065 (similar to DS Data FAQ0009; see also DS Data FAQ0034; ECOM FAQ0014)
07-Mar-2003
Q: How can I speed up the data throughput of my ECOM?
A: Consider the following:

  1. Give the ECOM an isolated network if possible, as network traffic can effect data through-put.
  2. ECOMs do at least 1 comm cycle of approximately 128 bytes per PLC scan, but in faster CPUs (e.g. DL260, DL05, DL06) it can do as many as 3. So using a faster PLC CPU will help. 
  3. Since the ECOM comm cycle is PLC scan dependent, then anything you can do to make the PLC scan faster will help. 
  4. Make sure no other applications or devices are talking to the same PLC via the same ECOM or serial port (e.g. like having DirectSOFT doing status while DS Data is running, or PLC doing/responding to RX/WX from other PLC). There is only so much bandwidth between the serial port/ECOM and the CPU itself.

FAQ0066 (see also ECOM FAQ0016; DS Data FAQ0089)
20-Mar-2008
Q: How can I make a link with DirectSOFT (or DS Data) to a single ECOM/ECOM100 or multiple ECOMs/ECOM100s over the Internet?
A: There are a number of ways to accomplish this due to the versatile ways in which Internet connectivity is established.

Method #1 (Direct Connect): Requires the remote ECOM/ECOM100(s) to have a registered Internet IP address.
Method #2 (Indirect Connect): Requires access to the remote gateway/router which must be configured to translate TCP port #s.
Method #3 (ISP VPN): Requires the ISP (Internet Service Provider) set up a VPN (Virtual Private Network).
Method #4 (VPN Software): Requires the use of some form of VPN software (e.g. PC Anywhere, LogMeIn, etc.).

NOTE: Host Engineering, Inc has a single ECOM on the Internet that you can practice with. Its IP Address is 12.69.41.166.

Method #1 (Direct Connect)

Multiple ECOM/ECOM100 Instructions: In this method if connecting to multiple ECOM/ECOM100s, it is assumed that each ECOM/ECOM100 has its own registered Internet IP address and therefore to connect to each of them only requires that you make separate links to each one.

DirectSOFT Link Configuration to connect to PLC1:
     1.  Build link in DirectSOFT.
          a.  On PLC tab select:
                    PLC Family - Direct LOGIC 205 Series
                    PLC Type - 250

          b.  On the Port tab select:
                    Devices - Ethernet
                    Transport - Winsock
                    Transport Protocol - UDP/IP
                    Node Address - IP Address 12.69.41.166 (Registered Internet IP Address of Host's ECOM)
                    Advanced Settings - Timeout (Increase?)
 

               NOTE: To determine how much the "Timeout" setting should be increased:
                               1.  Go to the DOS Command Prompt (Start --> Programs --> Accessories --> Command Prompt)
                               2.  Type in:    ping 12.69.41.166
                               3.  Make note of the "Maximum" time as listed and increase this number by at least 50%.
                               4.  Enter this number as the "Timeout" setting.

                    UDP Port Number (if it is displayed) - 28,784 (this is the default; must always be this number)

          c.  On the Protocol tab select:
                    Protocols - ECOM

          d.  Click <Auto>. Should beep for success.

          e.  Enter a name for the link and click <Accept>.

 

Method #2 (Indirect Connect)

Multiple ECOM/ECOM100 Instructions: In this method if connecting to multiple ECOM/ECOM100s, they are assumed to be located behind the gateway/router on an internal network with internal IP addresses assigned to them. Therefore, the DirectSOFT (or DS Data) links to each of them must use the same IP address of the gateway/router (because from the Internet, that is all it can see). Thus, the only way to differentiate between the multiple ECOM/ECOM100s on the other side of the gateway is by DirectSOFT (or DS Data) using different TCP port #s for each. In order to accomplish this 2 things must be done: (1) DirectSOFT (or DS Data) must have this feature turned ON by editing the .INI file, and (2) the remote gateway/router must be configured to translate the TCP port #s to different IP addresses behind its firewall.

DirectSOFT Link Configuration to connect to PLC4:
     1.  Edit .INI file and set UDPPortNumEnable=1
          - To pull up the .INI file for editing, see DirectSOFT FAQ0204.
          - To edit the UDPPortNumEnable parameter in the .INI file, see DirectSOFT FAQ0008.

     2.  Build link in DirectSOFT.
          a.  On PLC tab select:
                    PLC Family - Direct LOGIC 205 Series
                    PLC Type - 250

          b.  On the Port tab select:
                    Devices - Ethernet
                    Transport - Winsock
                    Transport Protocol - UDP/IP
                    Node Address - IP Address 12.69.41.166 (Registered Internet IP Address of Gateway/Router)
                    Advanced Settings - Timeout (Increase?)
 

               NOTE: To determine how much the "Timeout" setting should be increased:
                               1.  Go to the DOS Command Prompt (Start --> Programs --> Accessories --> Command Prompt
                               2.  Type in:    ping 12.69.41.166
                               3.  Make note of the "Maximum" time as listed and increase this number by at least 50%.
                               4.  Enter this number as the "Timeout" setting.

                    UDP Port Number -