Jump to content

Multiple logic threads within a single ladder rung


Recommended Posts

  • MVP 2023

I have the unfortunate task of re-creating and updating a project written by someone else some time ago and all I have is a printout of the ladder logic. The problem with this is that the original programmer did not seem to understand that you should not have two or more separate logic threads within a single ladder rung (i.e. multiple unconnected terminations on both the left and right sides of the ladder). I haven't ever done this and I'm wondering if VisiLogic compiles the program correctly when this mistake is made. In other words, I am separating out the logic properly - should I expect the compiled program to operate exactly the same?

Link to comment
Share on other sites

  • MVP 2023

Oh, I'm definitely breaking them out. The question is: will the PLC logically function differently after the multiple threads are broken out? I'm re-creating something that originally worked and all I have is a printout of the ladder.

 

This is for a V120, by the way. I'm not sure when the code was written, but the date of the printout is 2004.

Link to comment
Share on other sites

  • MVP 2023

Hi Flex,

 

I have 2 observations/suggestions.

 

1).  Is the printout an actual copy of the program that supposedly worked?  Or could it be something printed during development, that someone else has been told is a "copy of the program"?  ie are you sure that the print is the exact code that was in the controller that worked?  It all sounds a bit sus to me.

 

2).  Why reinvent the wheel?  It might be a good starting point to do things exactly as written and see how/if it runs.  I'm sure you can get copies of older versions of programs and O/S's by asking nicely here.  Write it as printed, put it all in and see how it goes.  If it works then you are one step ahead.  If it doesn't then you are a bit back to point 1), but at least you have a much better idea.  No point working on something if your baseline is totally incorrect.

 

Cheers,

Aus

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...