Jump to content

How do I Transition from one sequence to another


Recommended Posts

Posted

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.

 

  • Like 1
Posted

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?

 

Posted

Using Structured text the code has 2 main sequences

which are labeled 

mySeq                    := 6; and

 mySeq                    := 3;

I am trying to add a sequence in between for example 

mySeq                     := 4;

The problem is, it does not recognize it after i rebuild it. Could this be due to a handshaking error between the sequences?
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...