SimarGill

MrPLC Member
  • Content count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About SimarGill

  • Rank
    Sparky
  • Birthday 01/10/93

Profile Information

  • Gender Male
  • Country Canada
  • Interests PLC obliviously.

    Studying to be a Electrical Engineer Technologist.

Recent Profile Visitors

913 profile views
  1. Using the CNT function

    Thanks for the tips Pfort. I'll do that but I did use the differentiate up instruction but pretty sure made an error. I will try again today when in lab again. Thanks!
  2. Using the CNT function

    I just tried that method but I am having a issue with the binary increment. Instead going up by 1 it keeps going up as long as the inductive sensor is on. I should mention here that as soon as metal is detected, Inductive sensor is on for at least 7 seconds.
  3. Good evening, Please see the picture attached. The two right sensors are capacitive and photo sensor. I want to replace them into a color sensors or some other type of sensors. What the system does is that the cylinders extend and pick up the a bearing and using the far left sensor (inductive) it separates them in the appropriate location on the left side. So the two right sensors are pretty useless. I want to replace into another type of sensor and utilize the junk section as well. If anyone can give me any links or some information on what sensor would be appropriate that will be great. I will be using Omron CJ2M - CPU31 to program the sensors. Thank you!
  4. Using the CNT function

    Ok I will have to ask my professor if he can order one. Can you give me an example on how I would use CNT function? Let's say I toggle a bit ON and counter adds 1. Something simple like that. If you can attach a picture of that logic that will be great. Thanks!
  5. Using the CNT function

    Yes I am studying. What this topic is actually a small part in a bigger operation im doing. And yes I already made a program but so far I am able to seperate metal and plastic parts but not being able to keep track of them. Its the weekend here and lab is closed. Im going to try that suggestion tomorrow or maybe tuesday when I am in lab again. I will keep you poated. Thanks to all.
  6. Using the CNT function

    Thanks for replies. I found a capactive sensor but with fixed sensitivity that kicks off for aboth metal and plastics parts..I could probably use this in conjection to the inductive sensor?? Such as if both inductive and capactive kick off then add to metal counter or if only capactive kick off then add one to plastic??? Thoughts?
  7. Using the CNT function

    Good evening, I was wondering if any could give me some guidance on how to use a CNT function properly. The PLC I am using is: CJ2M - CPU31 What I have in my process is that an inductive sensor is in default OFF state then if a metal part is detected then it kicks off but when metal part is no longer in view then it is back OFF. Then if a plastic part is in front of inductive sensor then it still remains off. What I want to implement is that any time a metal part is detected (Inductive Sensor is ON) then it should add 1 to the counter and hold that value until the next time a metal part is detected which will make the counter now 2. The same thing should apply if the plastic part is detected (Inductive Sensor is OFF), add 1 to the plastic counter. The problem with this section is that there isn't a indication as to when a plastic part is detected therefore if inductive sensor remains OFF then the plastic counter will keep adding 1 recklessly. If anyone knows a way I could use internal bits or some other trick to this problem. Please reply and I highly appreciate it. Meanwhile, I'm going to look around in the lab if I can find a capacitive sensor lying around which I can mount to detect plastic parts and thus kick off the counter to add 1. Thanks for all the help.
  8. Setting up logic to reset a timer

    Sorry this question may be off topic but is it possible to have a bit turn on by the user and this bit will then FORCE ON another bit in the same rung?
  9. Setting up logic to reset a timer

    Thanks for the replies. I got it work on auto cycle perfectly.
  10. Setting up logic to reset a timer

    Hmm..thank you. I'm in the lab right now trying this out. Thanks!
  11. Good afternoon. I am currently working a process that separates metal/plastic parts by means of infrared sensor. The question I have is more towards the logic side. The PLC information: CJ2M - CPU31 With CJ1W-ID211, OC211 and MAD42 modules. I got it working so that one COMPLETE cycle occurs (Cylinders grab parts then infrared sense parts and then cylinders drop part in respective location). The above all occurs when the user flicks on a switch to the AUTO side. The question is how can I set up a logic which will perform continuous cycles. For example, when cylinder is done dropping the part in respective location it should retract and go back to min position of 0V and re-do the same steps as above. What I tried: I tried to turn on a BIT when one complete cycle occurs and then this bit is at the beginning of the program parallel to the AUTO switch BIT. The problem with this is that the timers don't reset. What I need help with: 2 questions I have: How do I reset timers? and Is there another way to perform continuous cycle then the method I used above? Thank you and please do leave any suggestions you may have. Much appreciated.
  12. Keeping a BIT/Word ON when rung is activated.

    Sir, thank you for that. I got it to work and hold its status now. The only thing that needed to be corrected in that logic was instead of the <(320) function on rung 0 had to be a >(320) function instead. Thank you.
  13. Keeping a BIT/Word ON when rung is activated.

    Thanks. I'll try it out tomorrow morning when I am in lab again. Will keep you updated. Thanks again.
  14. Keeping a BIT/Word ON when rung is activated.

    Sorry, just carefully looked over your reply again and have a question. With that logic, it seems that the rung will be activated no matter what between 3-4V, is that correct?
  15. Keeping a BIT/Word ON when rung is activated.

    Michael, thanks for your reply. Now that I think about it, what I was trying to do was really a bad approach since it cannot be done. I will try your advice out and pretty sure it will work. But will the same approach apply if I want to make the cylinders stop moving at about the 7-8V range? How would I approach that? Thanks again