Elevators programming help

mikedog

Member
Join Date
Feb 2006
Location
sacramento
Posts
3
I am doing a school project, We have to make 4-floor elevator logic program. I have some of the program but do I need to put in a JSR or a jump ? in my program.


how to use a SR ? help
 
Last edited:
Whether you need or not you have to decide allone. You are the programmer! :)
Just try to use it and then you can see how it works.

how to use a SR?

The easiest method to see how to use SR(or anything in Step7) is to add SR function to your program(no matter where), to select it and just hit F1 button.
 
I assume you are referring to Rockwell Software product so I will answer this with that in mind. If you put any logic in a ladder file OTHER than Ladder 2 or Main, you will need to use a JSR (Jump to Subroutine) in the main file in order to scan that logic.


If, however, you want to have that ladder scanned without a JSR you are then working with Selectable Timed Interrupts and Digital I/O interrupts. Ignor this for now.

David
 
Mikedog,

I suggest splitting your Elevator program into the following Subroutines:

1 First-Scan Initialization
2 Floor Requests
3 Do Next Request or Wait
4 Close Door Then Move
5 Track Car Movement
6 Stop & Open Door
7 Alarms & Troubleshooting
 

Similar Topics

Right now I am working on a ladder logic for elevators and I'm confused about how will I stop the elevators on floor 2 and 3 without and switches...
Replies
4
Views
1,947
Hi, I have to program an plc for an elevator and I am stucked in a problem. For exemple: whem car go down from 5 to 1 floor and get a comand to...
Replies
6
Views
2,674
hi guys, Can anyone gave me a supplire for elevator control. We have already installed an elevator for 5 storey building. our problem now is...
Replies
2
Views
2,363
I need some advice and useful links for learning about elevators, about plc in elevators automation. Thanks.
Replies
2
Views
2,252
Dear all, I have fx2n plc on my hand but I don't have the programming cable sc-09 and it would not be easy for me to get one. I need the cable...
Replies
3
Views
108
Back
Top Bottom