Can't Quite get my head round programing a sequence.
For example I have a Cyclinder.
It has say 3 positons. PX1 PX2 PX3 ( PX is for Proximity)
It has one start button. S1
start poistion is at PX1.
Process is, 1. start down(px1)
Move to middle (px2)
Move to top (px3)
I havent included any solenoid coils just flags.
I'm trying do this without sets and resets, just want to use relays.
This is what I have so far.
s1/ /--------------m2/-/--px2/-/------(m1) ;move to px1
|
|
m1/ /----------- ; Start is pressed m1 holds itself in until
px2 is made.
: Not M2 stops this step from activating
if step 2 is active.
m1/ /----px2/ /------m3/-/--px3/-/------(m2) ;Step 1 is complete ram
| is at px2. Should move to
| px3.
m2/ /---m1/-/---
The first step should finsh step two should start. /-/m3 is to stop the next step from running.
I only want one step to run at a time.
I'm trying write a sequential program where only one sequence Can Ever happen at a time.
I have attached a File which is what I have so far, it does seem to work but I don't think it is right, Format is in gx developer.
Please help. Please note something happened to my attempt at the ladder pleasse refer to the file if poss.
For example I have a Cyclinder.
It has say 3 positons. PX1 PX2 PX3 ( PX is for Proximity)
It has one start button. S1
start poistion is at PX1.
Process is, 1. start down(px1)
Move to middle (px2)
Move to top (px3)
I havent included any solenoid coils just flags.
I'm trying do this without sets and resets, just want to use relays.
This is what I have so far.
s1/ /--------------m2/-/--px2/-/------(m1) ;move to px1
|
|
m1/ /----------- ; Start is pressed m1 holds itself in until
px2 is made.
: Not M2 stops this step from activating
if step 2 is active.
m1/ /----px2/ /------m3/-/--px3/-/------(m2) ;Step 1 is complete ram
| is at px2. Should move to
| px3.
m2/ /---m1/-/---
The first step should finsh step two should start. /-/m3 is to stop the next step from running.
I only want one step to run at a time.
I'm trying write a sequential program where only one sequence Can Ever happen at a time.
I have attached a File which is what I have so far, it does seem to work but I don't think it is right, Format is in gx developer.
Please help. Please note something happened to my attempt at the ladder pleasse refer to the file if poss.