Raalen

How do I Transition from one sequence to another

6 posts in this topic

I am new to PLC programming and I am trying to figure out how to go from one sequence to another using Structured Text with GX works 2.

 

Share this post


Link to post
Share on other sites

What do you mean ??? it's running top to bottom. 
Do you mean you have created multiple programs ?

 

2 people like this

Share this post


Link to post
Share on other sites

yes I am working on code that I didn't create and I am trying to add a new sequence(program) to the already existing programs

Share this post


Link to post
Share on other sites

you still did not describe problem. what is preventing you from doing that?

each block of instructions is executed top to bottom (begin to end).

sequences are just connecting end of one block with begin of next one.

 

1 person likes this

Share this post


Link to post
Share on other sites

Ok so the code is using  EnableRel.DC[myDC] to go from one sequence to the other with RequestRel.DC[myDC] := FALSE   then later in the code when it is being used  := TRUE

so essentially what I am asking is what does the Enable and Request do in the code?

 

Share this post


Link to post
Share on other sites

no clue.... whatever original programmer intended them to do.

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now