Can I have some help?

So far it does not appear that N7:0 does anything important, so your program probalby will run great with or without N7:0 being set to 0 or anything else. To verify that, do a search and FIND ALL cases of N7:0, and see if the value in N7:0 is used for anything (other than maybe a test of the I/O during the initial program set-up).
 
Looking at how N7:0 is used, it is an important part of the program, and is being used as a Step Relay, with defined Steps form 0 to 999. The used Steps that I saw were: 0, 2, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 50, 999.

A helpful thing would be to write a description for each of these steps and include it on one of more rung comments. Then you would be able to figure out if the various MOVES to N7:0 are correct, or have been changed over the years so that some are incorrect.

I AssUMe that N7:0 = 0 is the IDLE or not-running state.
999 = LAST STEP maybe, or error, or alarm ?
50 = ?
 
Last edited:
I haven't looked at the whole program yet, but based on what I have seen, you should be able to simply ignore the first 2 rungs, since they appear to be disabled.

šŸ»

-Eric

The first two rungs appear to be *monitor* rungs.
I have seen this approach used where the hardware is NOT in front of you and/or the software does not provide an easy way to view all physical I/O in table form.
Also, I have known a few programmers to do this as a matter of 'style.'
 
Thanks Eric,
Can I removed the first instruction I:0/0 XIO? Some thing is not right because no body has access to this PLC program, in fact, this is the first time I connect to it. It's been like that for many years, or unless something changed after the power drop I had. Could that be possible?

Thanks.

hello everyone :unsure:
in my opinion move I:0/0 XIC because E-stop it normally close contact and, may you have to change on LAD3 REG 000 from XIC I:0.0/0 to XIO I:0.0/0
 
Last edited:
So far it does not appear that N7:0 does anything important, so your program probalby will run great with or without N7:0 being set to 0 or anything else. To verify that, do a search and FIND ALL cases of N7:0, and see if the value in N7:0 is used for anything (other than maybe a test of the I/O during the initial program set-up).

i think dose mater N7:0 it always true because E-Stop on Lad 2 Reg 0005 it most the time true when the machine up and running
if you go to N7:0 data table N7:0 it always 0 doesn't matter if you try force it from different sources stay 0
 
Last edited:
The first two rungs appear to be *monitor* rungs.
I have seen this approach used where the hardware is NOT in front of you and/or the software does not provide an easy way to view all physical I/O in table form.
Also, I have known a few programmers to do this as a matter of 'style.'
I agree 100%. Notice how the I/O is sequential. I should have picked up on that since I used to do something very similar to monitor my bit driven sequential logic, back in the days when an HMI was a 'luxury'.

A bit odd to precede it with disabling logic, and end with a move, but whatever.

šŸ»

-Eric
 
I would not change anything in the program untill you understand it fully. I have never seen a program that has been running just up and change by its self. The first two rungs are used to monitor the sequinceing of the machine. Find were the sequince stops and you will find your fault.
 
I think does mater. N7:0 it always true because [of] E-Stop on Lad 2 Reg 0005. It most the time true when the machine up and running
Yes, I changed my mind after Jose finally posted the rest of the program. I think that N7:0 is being used as a Step relay to track the status of the process. See my Post #20 here:

http://www.plctalk.net/qanda/showthread.php?t=79407&page=2
 
Last edited:
Thanks Eric,
Can I removed the first instruction I:0/0 XIO? Some thing is not right because no body has access to this PLC program, in fact, this is the first time I connect to it. It's been like that for many years, or unless something changed after the power drop I had. Could that be possible?

Thanks.

Has the machine constantly had power on it, like 24-7? The only thing I'm thinking is maybe there's an EEPROM chip inside and it's set to load that program on power-up, someone troubleshot the machine long ago, but didn't save their changes to the chip. That's really the only scenario I can imagine of the program actually changing. Otherwise programs don't just change themselves. That said, if there is an EEPROM or some type of memory card on this processor, make sure you save to it when you get the machine working.
 
Last edited:

Similar Topics

Hello, I am working with cimplicity workbench, I have made changes to the current project from this machine I am using in the past. However when...
Replies
0
Views
13
Hello, doing switch from FBD to ST. First task is converting my old work. How do you sum variables? For example, Interlock1, interlocl2 and...
Replies
5
Views
128
Hi guys, I need help with position control using a Veichi AC Servo Drive model SD600A1-T2-2R2. How do I know how many pulses for it to rotary 1...
Replies
1
Views
46
Hi friends, i need a help to know the procedure and steps to connect Lenze i700 to PC for parameterize. i tried with lenze easy-starter using LAN...
Replies
0
Views
46
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
11
Views
373
Back
Top Bottom