help programming==> controlling motor "rolling shutter" with only 1 push button

Most likly the shutter has limit switches. You should look at how those are wired. If they are not wired directly into the motor circuit, then you should wire those switches to PLC inputs so that you do not burn out the motor if someone fails to hit the STOP button.

limit switch is built in! so i guess don't need them in your example then?
will test later tonight ..thanks you guys
 
Code:
CASE nStep OF
0: IF (rPushbutton) THEN nStep:=1 END_IF; (*do nothing here*)
1: IF (rPushbutton) THEN nStep:=2 END_IF; (*motor up*)
2: IF (rPushbutton) THEN nStep:=3 END_IF; (*do nothing*)
3: IF (rPushbutton) THEN nStep:=0 END_IF; (*motor down*)
END_CASE;

actually i would replace do nothing here, with stop motor here it could be going up or down at that moment.
 
limit switch is built in! so i guess don't need them in your example then?

you should check if they stop the motor or not.

most automated door control like this shutter is have electronic board pre-wired with switches. if this is the case then they also have an impulse step-by-step control that could be set with dip-switch.

also, it is good to have some obstacle protection like force limit switch or photocells on shutters travel line.
 

Similar Topics

Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
21
Views
358
this a program to send data to barcode printer I want to integrate a new printer in a new machine and i wanted to adapt the old prgram on it but I...
Replies
4
Views
166
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
60
Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
26
Views
542
please help me . I have to make this ladder diagram and I can’t figure it out :(
Replies
12
Views
370
Back
Top Bottom