Nirtec Studio Forum

General Category => EasyPLC v.5 => Topic started by: Mario on October 21, 2013, 12:13:38 PM

Title: Help with CMP
Post by: Mario on October 21, 2013, 12:13:38 PM
How can I ensure that fotocell1 detects only workpart1, fotocell2 detects only workpart2, etc...
I have try that with a comparator that never comes true. I have copied the network from "Distribution Boxes" where the fotocell detects the right workpart.
What's the working method to abtain it?
Title: Re: Help with CMP
Post by: EasyPLC_Master on October 21, 2013, 01:26:48 PM
I do not understand very well your question!. :-[
Photocells, like real world, always detect all parts that close the light in the photocells field.
Then is not possible that a photocell only detects one determinated type of workpart.
I think you're making a mistake with the scanner, the plc must read the scanner value, in order to know what kind of part is exiting, then the plc program will activate the correct cylinder when the photocell detects a part in their field.
Title: Re: Help with CMP
Post by: Mario on October 21, 2013, 04:47:11 PM
I have opened the example "Distribution Boxes Advanced" in the machines simulator editor and I don't see a scanner?
How is this realized in this example?
Title: Re: Help with CMP
Post by: EasyPLC_Master on October 21, 2013, 05:29:52 PM
In the following image I mark you where is the scanner!

[attachment deleted by admin]
Title: Re: Help with CMP
Post by: Mario on October 21, 2013, 05:38:27 PM
Thanks!!!
Title: Fotocell
Post by: Mario on October 29, 2013, 09:38:40 PM
Could it be that a fotocell can not detect an object like an elevator?
Title: Re: Help with CMP
Post by: EasyPLC_Master on October 30, 2013, 09:11:11 AM
Yes, it is!
The inductive switchs and photocells detects only Workparts and Dynamic Elements.
Take note that the elevator have their own detectors, and inform to plc inputs the up and down positions (see in the elevator properties).
Title: Re: Help with CMP
Post by: Mario on October 30, 2013, 10:07:00 AM

The elevator has indeed two detectors (up en down).
I have an installation where 3 parts have to be sorted, whereby 3 positions are necessary to lead the right part on the right conveyor.
That's why I thought to detect the central position with a fotocell.
Title: Re: Help with CMP
Post by: EasyPLC_Master on October 30, 2013, 10:52:09 AM
OK!
Then place the fotocell to detect the WorkPart that is moving the elevator, in this way you can control where the elevator is.
Take care about the speed of the eleveator (if is too fast can not be detected!).
Title: Re: Help with CMP
Post by: Mario on October 30, 2013, 11:26:58 AM
Thanks!! I have thought an that!
Since the parts differ in height, it becomes difficult to position the elevator in front of the relevant conveyor.
After changing the ladder diagram in combination with the right part detection is it successfull!!