misou6id
hello can i use a servomotor with openplc? if yes then how?? (im using raspberyy)
Reply 0 0
NWT.Stuff
@misou6id I would start with a functional specification.  If you can describe what your application should do then I can certainly try to help and/or advise.

So some key things to consider 
  • What is the Function I am looking for ? e.g move some window blinds in forward and reverse, running on a timer, button, etc. etc.
  • Define Outputs - run motor, stop motor
  • Define Parameters, speed control ? acceleration ? deceleration ?
  • Inputs e.g. Limit Switches ? Positional Encoder ?
  • User Interface, PC, Phone, None (e.g. automatic cycles)
The quick answer to your question is YES it is possible

HOW will totally depend on what you are trying to achieve 🙂

Hope this Helps, Kevin
Reply 0 0
misou6id
i want to use servomotor to open a door of my elevator and i want to use a speed regulation with pid with diagram ladder and arduino mega so if you can help me with i will be thankfull and thanks for your time 
Reply 0 0
NWT.Stuff

@misou6id. Sure let’s give it a go. Still got plenty of questions.
is it a people elevator ?
is there an existing servomotor on the door ? Part number? Manual ?
speed is PID output but what are the PID Inputs ? e.g. actual speed, speed regulator, ?
Are their switches involved e.g limit switches, speed up, slow down switches ?
Does the Servomotor have an encoder ? Absolute or Incremental ?
Why PID control for this movement ?

Kind Regards,
Kevin







 

Reply 0 0
misou6id
yes you can it is for people or a hoist 
yes there is a servo motor in the door 
for this i dont know what to say about it because i dont know really 
no there is no switches for now but if it is essential i will put them 
nope there is no encoder for the servo motor ... is it this essential to the servo motor? 
because i need a sort of regulation in my project (my univesity insists for this) 
and please im in the last week for this i need this answers as soon us possible thanks 
Reply 0 0
thiagoralves
Friendly advice… look for another project. You won’t be able to do something that complex in a week. You’ll have to write the servomotor interface yourself (in the form of Arduino code at least), as OpenPLC cannot deal with servos directly
Reply 1 0
misou6id
ohh okayy i see.... but i have already my programme done i just need to add a servo motor ... 
Reply 0 0
NWT.Stuff
I agree with @thiagoralves that a week is way too tight. attach your programme and functional specification and I can a least have a quick look if something is possible with a "test" motor.  I can't guarantee anything but will at least have a look and advise. Regards Kevin  
Reply 0 0
misou6id
i dont even know how to programme an analog input like servo motor 
my motor for the door is km3 and km4 (motor dc) but i want to change it for servomotor and if its impossible then its okay 
and i want to ask you a question about the openplc .. do you think that the openplc has a futur in the industry world and in a few years it can replace PLC with fiability
i know i ask so much question because i am new in this domain and i need a help 
Reply 0 0
thiagoralves

I would suggest you to keep what you have and forget about the servomotor. Controlling a large scale servomotor is a project by itself even using more complete commercial solutions. 


About OpenPLC replacing current comercial solution, well that depends really on how the project will evolve and the community around it

Reply 0 0
misou6id
okay got it thanks, also i want to know what are the possible aspects of regulation using the openplc
Reply 0 0
misou6id

also what can you tell me about the results of the openplc on the field i mean in industries did it made its proofs and what can u tell me abt its advantages compared to regular plc i mean i want to be able to respond to the jury when they ask me why should we choose openplc over regular stuff thanks for ur cooperation 

sending u my sincere regards

Reply 0 0
NWT.Stuff
well the regulation capacity depends on the commands supported by Open PLC which you will find are referenced well on the website.  Advanced Functionality can be found by looking at what many people have posted on this forum.

Regarding Industrial Applications I am a personal user so I have no knowledge of anything going this way.  I used to work in Industrial Automation in the Automotive Industry and the selection for a PLC platform would be generally a biding war with e.g.  Rockwell, Siemens & Schneider. The selection would include, PLC, communications modules, io modules, network equipment, Variable Speed Controllers etc. Etc.

What @thiagoralves has achieved with this project is to Open Up PLC control and software to home enthusiasts without having to pay for expensive hardware or software.  I am just a user but I would suggest the “tone” of the project is more educational than commercial.
Reply 0 0
Reply