News:

  • August 31, 2026, 01:10:00 AM

Login with username, password and session length

Author Topic: Hidden Characters DirectSoft 5.3 Files Causing DirectLogic205 CPU 240 Gliches..?  (Read 9331 times)

samuelgmaurer

  • Newbie
  • *
  • Posts: 8
I have been working on a PLC program for several months and it seems that no matter how much I fix it, it continues to jump ahead many stages in the PLC from the motion controller response.  I began cutting out all of the bells and whistles and focused on just the inner most functionality and it still seems to do the impossible.  I know it is a handshaking issue, but I have several machines out on the floor that run with this same program without any problem for the last fifteen years.  They have older motor controllers with less functionality, but no jump ahead problems.  I use the data ready(y/n), process complete (y/n)bits to control the Tick Tock, of the handshaking.  Any ideas or suggestions. I am planning on re-entering all of the ladder logic, comments, etc. into a blank project and see what that will do.  Is there anything like Windows Notepad for striping out the formatting bits in a document, that I can put the ladder logic files into and it would flatten the files, so that no extraneous hidden bits are set.
« Last Edit: November 08, 2013, 10:28:13 AM by samuelgmaurer »
“All truths are easy to understand once They are discovered;
the point is to discover them” - Galileo

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
I've been programming the DL line since the mid 90's and I've never hear of strange 'Hidden Characters' messing things up, let alone solving things by 'flattening' the files. Any problems I've had I have always found, to my chagrin, are because I put them there. If things are 'jumping ahead' then it's because of lack of understanding of the system or programming.

Perhaps if you post your program (zip all the files together then post the zip file) and note where you have problems then maybe we can help.

Or else you can print out the program, stack the pages on the floor, then place a large weight on them. Be sure to send a picture of the 'flattened' program.
An output is a PLC's way of getting its inputs to change.

samuelgmaurer

  • Newbie
  • *
  • Posts: 8
Good to know, thank you for your insight, Sir.
“All truths are easy to understand once They are discovered;
the point is to discover them” - Galileo