Hello,
I'm working on a project where I have two encoders (which I'm reading through counters).
What happens at the line is that an inspector is checking for marks on a metal sheet that is unwinding.
When the inspector sees a mark, he presses the button for as long as the mark is.
What I need to do is to actuate a pneumatic cilinder a few meters ahead, and the cilinder should stay expanded (it has a marker at the end) for as long as the button was pressed.
A couple of meters ahead, the PLC should trigger an output letting the system know that the mark has reached the end of the line.
The "meters ahead" issue I solved with the 2 encoders I'm using.
I can "read" how many time the button was pressed using another counter, that counts when the encoder sends a signal and when the button is pressed.
The main issue I have is that I can have more marks (as many as 20 or 30) before the first mark reaches the end of the line, so I have to use a memory to keep track of the time (or counts) each mark was pressed and when it was pressed.
I'm using a compac PLC from Schneider (a Twido) and I can only use some PLC features and I can't figure out how to keep a record of the marks, can anyone help me here, the PLC I'm using is very basic and doesn't have a lot of functions.
Thanks and regards.
Juan
I'm working on a project where I have two encoders (which I'm reading through counters).
What happens at the line is that an inspector is checking for marks on a metal sheet that is unwinding.
When the inspector sees a mark, he presses the button for as long as the mark is.
What I need to do is to actuate a pneumatic cilinder a few meters ahead, and the cilinder should stay expanded (it has a marker at the end) for as long as the button was pressed.
A couple of meters ahead, the PLC should trigger an output letting the system know that the mark has reached the end of the line.
The "meters ahead" issue I solved with the 2 encoders I'm using.
I can "read" how many time the button was pressed using another counter, that counts when the encoder sends a signal and when the button is pressed.
The main issue I have is that I can have more marks (as many as 20 or 30) before the first mark reaches the end of the line, so I have to use a memory to keep track of the time (or counts) each mark was pressed and when it was pressed.
I'm using a compac PLC from Schneider (a Twido) and I can only use some PLC features and I can't figure out how to keep a record of the marks, can anyone help me here, the PLC I'm using is very basic and doesn't have a lot of functions.
Thanks and regards.
Juan