Further educating myself...

Well, clearly I have a lot more studying to do :(

Take the relatively simple sequence in the PDF attached, it operates the cutter.

Requirements are that the clamp is on whenever the cutter is moving, the cutter is a linear slide and can cut both ways, when in auto it can stop at either end. It needs to accept a trigger from other procedures and set a "done" flag to indicate it has finished.

It sounded simple, wrote it down, run it through my head, all seemed ok.

In reality, the clamp only stayed on for the outward stroke and it never registered as having finished.

Hope that makes sense?

Maybe some kind soul could show me the error of my ways, maybe I am not thinking scan-cycle or something???


Many thanks
Dave
 
what measurement system you use to determine the length

A rule :)

It does not need one, the jobs are either 75mm, 150mm or 225mm long, no other options. The servo drive accepts step & direction signals from the PLC, I simply used an INT file to hold the various settings and the choice is made by the HMI.

The actual values are meaningless as it is merely the total count of pulses sent, could have worked it mathematically but no point for three values - just use a rule and adjust on the fly until it was correct then store those values in the INT file. The value for 225mm was something like 126,150 so adjusting for accuracy was very easy.
 
Last edited:
Yes, V5 must be on whenever V4 is on or off until the carriage on v4 slide reaches either end. i.e. the clamp V5 must be down any time the cutter/v4 is moving.

V4 is a single solenoid 5/2 valve so energise to go out, release to come home but both times the clamp must come down until it is either out or home.

I thought I had this making sense in my simple state control (pdf) but maybe the scan cycle is messing with my logic and I am not seeing it?
 
I see a few things that confuse me but i just jumped in here at the end:

No finish signal-- cutter state_4 is turned on @ rung 4 and turned off @ rung 5. I don't think it will ever be on at Rung 8.

Next- What triggers start_cut_cycle?
 
I have just had a while and moved the cut sequence inside the full-auto sequence, it was previously serving two purposes hence the need for a trigger and done bit.

It will now take its cue directly from the previous state of the auto-run sequence, doing away with line 0000

The done bit is gone now as it simply passes on to the last stage of the auto-run.

I am hoping this will work but I will concentrate on getting the manual cut cycle to work first, that is merely this sequence without a done flag and simply triggered from the manual cut button input, the whole sequence needs to be one-shot.

Getting the sequence to work seems to be the hard bit, I did away with the flip-flop logic and quite a few other lines of code as the state sequence method seemed to me at least to make it unnecessary.

Basically this code now needs to go clamp - cut - unclamp but with the cutter stopping at either end and the clamp coming down regardless of cutter direction.
 
few issue,

1.) Sensor for detecting incoming web/foil front on V4.

2.) Sensor for detecing web/foil ending front on V5.

attachment not signal reset for latch b13:1/2/3
 

Similar Topics

Hi all, I'm working on a project monitoring DLR rings using explicit messaging - (Citect SCADA ABCLX driver + 1765-L62 v20.19) Just a few...
Replies
3
Views
1,267
I'm looking online in a Project trying to catch a Jam instant. I'm looking at the Logic of this AOI where I found the only instant of a Jam Photo...
Replies
16
Views
5,325
Hello, I am looking for a product to help me better understand logic control systems. I have been working with Allen Bradley PLCs for about 3...
Replies
5
Views
2,477
Hello, I have a question on furthering my education and what you guys think would prepare me for the future in automation. I have a 2yr diploma in...
Replies
11
Views
4,658
hi, my names Ben. Ive recently been thrown into the deep end of plcprogramming at work for large specialised vehicles. i dont know too much...
Replies
3
Views
2,837
Back
Top Bottom