Help!!!

atifplus

Member
Join Date
May 2007
Location
Surrey
Posts
121
I have about 50+ pages of ladder logic and i am trying to understand what is going on. Any tips how I should translate it into some sort of flowchat.

I dont wanan post it here and get people help because than i wont learn .. but i just need some suggestions ..


Tough part the operation is unclear as lots of changes has been done to the old logic with no documentation :( + comments on the tags are not there anymore.

All i could think of tracking Inputs and outputs related in the operation then organize them in some sort of sequence :( ..


any tips would be helpful

thanks
 
Do you know anything about the machine the program is controlling? People tend to write the ladder logic in the same order as the product passes through the machine. If the program follows that model, then the logic controlling the infeed will be earlier in the program than the logic controlling the discharge.

Figure out which addresses represent physical inputs and outputs and which addresses are internals.

Internals that are used repeatedly on many rungs probably represent global permissives while internals used on one or only a few rungs probably represent conditions specific to a single output or sequence step.
 
it is kind of strange maybe i am not use to this programming style

The output status is stored in internal coil then there and bunch of conditions bla bla

then there are those push buttons and other controls at the very end that activate those outputs ..

:( i like inputs first then condtion then output .. wonder why they do that this way..

& yeap i am going to talk to operator about how he operates those machines then i wil track down the inputs maybe that would be faster then i will chekc with the logic + ( I will figured out how well operators knows) maybe that is the way to go
 
Do you have an electrical drawing? Or some other way to identify the inputs and outputs. Start by documenting the inputs and outputs before making any atttempt to understand the internal bits and timers ectera.

Did you say just modifications were not documented (labled, descriptions, comments) or that nothing at all was documented in the program?

Another usefull tool is to be online and monitor things while system is in operation.

If somethings are documented in program (or on electrical drawings) and then you talk to operators: be prepaired for the operators (or any/everyone else) to call the devices by different names than what was on the documentation.

About the output status (as you called it) and then the other logic before making actaull output - - maybe that is all related to the auto mode logic and the hand mode button/switches. Just a quess. Again, start by documenting/labling/commenting the inputs and the outputs before trying to understand any of it.
 
Last edited:
Thanks guys

Seems like it is not going to be easy there is some hardwire stuff linked to PLC though relays. Must find those electrical drawings.

Wish me luck
 
The output status is stored in internal coil then there and bunch of conditions bla bla

then there are those push buttons and other controls at the very end that activate those outputs ..
That is quite common.

Get the drawings and tehn type in the tags for the inputs and outputs. That is a good place to start.
 
atifplus said:
Tough part the operation is unclear as lots of changes has been done to the old logic with no documentation
If you were an integrator, this is when you would start swearing. But because I think you are a inhouse programmer/end user, this is when you get to "look over someone's shoulder". This can be a great opportunity to see how someone else would solve a problem. It is also a yard stick to measure yourself against someone else. When you are done figureing this machine you will be in a good position to make changes or improvements.
atifplus said:
wonder why they do that this way..
Ahhh! Grasshopper! When you know the answer to this question you are well on your way.
 
After you have all the I/O filled in, the next step would be to look for any 'special purpose' bits unique to the processor. Things like 'always on' or 'always off' bits, clock bits, etc., etc...

Good luck!

🍻

-Eric
 

Similar Topics

HI everyone, i am new to Siemens plc programming and i am in need of some help. yesterday we had an S7-1200 CPU 1214C fail to turn on an output to...
Replies
7
Views
178
I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
107
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
475
this a program to send data to barcode printer I want to integrate a new printer in a new machine and i wanted to adapt the old prgram on it but I...
Replies
4
Views
178
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
70
Back
Top Bottom