
adccommunitymod (AutomationDirect) asked a question.
Created Date: October 17,2012
Created By: dangercraft
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hello everyone, I have a project where I think I can use the CMore micro interfaces, but I am a little confused about somethings: I want to use a Click plc to control a AD VFD powering a small pump with a displacement meter with pulse output closing the loop. Using the HMI, I would like to be able to input the quantity I want to pump, the HMI then writes to the PLC and the PLC, via a PID loop (or a simple feed back loop) should be able to start the pump and then at the end decelerate the pump as it closes in on the required value from the meter. All the while the HMI is displaying how much has been pumped. I 've implemented this kind of thing about a hundred times with various micro-controllers, but I am curious if I am going to have a problem implementing this loop and the interface using the Click PLC and the C-More Micro (I don't have much experience with PLC's or using ladder logic.) Thanks! Frank
Created Date: October 17,2012
Created by: bcarlton
The Click does not have a built in PID control but your application should be simple enough to not need it.
It does have (on DC input models) interrupt capability on the first few inputs to provider for higher speed counting of the pulses if needed.
Analog I/O models are available for the, I presume, output control.
Created Date: October 18,2012
Created by: dangercraft
Thanks!
Thats along the lines of what I was thinking I was going to have to do. I would then just do the decelaration of the pump as a hard set pattern. For instance I could start decelerating when I am within a half gallon of the target so that I am at zero speed by the time we reach the target value. I could have the HMI poll the counter register at the PLC say 30 times per second and update the readout on the screen. Does this about right?
Another thing I would like to be able to add to this process is the ability to require that the operator swipe a magnetic card, contact button, rfid tag etc, before he is allowed to dispense any products. This way I can keep track of who is using what products, how much and when. I can make a module that could read the identification device and output a positive identification string to the PLC or the Cmore, but I am unsure how I could make the CMore check the module before it allows access to the screens, or better yet, activate the screens only upon reciept of the identification string from the module. Do you think this is within what can be done with the Cmore or Cmore micro? I guess what has me confused is not knowing what the gui programming application is capable of, it would be nice if one had the option of an assembler or compiler for programming on the wire, so to speak.
Thanks again!
Frank
Created Date: October 21,2012
Created by: Tinker
Thanks!
`
Another thing I would like to be able to add to this process is the ability to require that the operator swipe a magnetic card, contact button, rfid tag etc, before he is allowed to dispense any products. This way I can keep track of who is using what products, how much and when. I can make a module that could read the identification device and output a positive identification string to the PLC or the Cmore, but I am unsure how I could make the CMore check the module before it allows access to the screens, or better yet, activate the screens only upon reciept of the identification string from the module. Do you think this is within what can be done with the Cmore or Cmore micro? I guess what has me confused is not knowing what the gui programming application is capable of, it would be nice if one had the option of an assembler or compiler for programming on the wire, so to speak.
Thanks again!
Frank
"not knowing what the gui programming application is capable of "
It is pretty much "what you see is what you get " if you don't see it the C-More probably doesn't do it. While the C-Mores cost considerably more than a seemingly comparable consumer device (i.e. GPS, Tablet computer etc) they are relatively cheap in the industrial HMI field and you do pretty much get what you pay for.
I think you'll have to do (and be better off doing) the sort of stuff you want to do in the PLC, the PLC can can control the screen changes of the C-More. While the CLICK has modest text handling capabilities, it can do string compares , or if your ID information is numeric then compares are even easier. One complication will be "keep track ", as far as I can tell TX registers can not be "retentative " so you'll probably want to convert the operator ID to a numeric value (if it isn't already) The click does have a fair number of data registers available, so it could work reasonably well for this. The CLICK's pointer abilities are somewhat limited so it could be a bit more difficult that it need to be, but still it should be possible. (the help file says "at this time pointers can only be used with single copy ". That "at this time " suggests they have some plans to extend the pointer capability, but it has been the way it is for a couple of years now so I'm not holding my breath.
While the "events " on a full C-More has some capabilities, I don't think it will be enough for what you are trying to do. The "micro " is even more limited. I think it is very unlikely Automation Direct will provide any programing API other than the standard software.
Created Date: October 17,2012
Created by: dangercraft
Hello everyone,
I have a project where I think I can use the CMore micro interfaces, but I am a little confused about somethings:
I want to use a Click plc to control a AD VFD powering a small pump with a displacement meter with pulse output closing the loop. Using the HMI, I would like to be able to input the quantity I want to pump, the HMI then writes to the PLC and the PLC, via a PID loop (or a simple feed back loop) should be able to start the pump and then at the end decelerate the pump as it closes in on the required value from the meter. All the while the HMI is displaying how much has been pumped. I 've implemented this kind of thing about a hundred times with various micro-controllers, but I am curious if I am going to have a problem implementing this loop and the interface using the Click PLC and the C-More Micro (I don't have much experience with PLC's or using ladder logic.)
Thanks!
Frank