Jump to content

ejecute 2 times cutter

Recommended Posts

  • MVP 2023

For starters you don't have an IO module defined in the hardware configuration that matches your Input and Output addresses.  I added an IO-DI8-RO8 module to the expansion chain that seems to cover the inputs and outputs you've defined.


I gather from your logic that I37 is the cutter retracted switch and I36 is the cutter extended.  O34 looks like the cutter output.


It's a good idea to use network comments to describe what you're trying to do.


The main problem is you are trying to define a sequence using only bits.  This is a common beginner's mistake and it can drive you mad, as the bits have a habit it turning themselves on and off at unexpected times.  I always use a pointer-based state machine to program sequences.  See my attached program.


Joe T.


Link to comment
Share on other sites

Thanks Joe i will study your code and understand better, yes is true when you burn a IO in midle or begingn of the program, I understand after hard time with some problems after i put all outputs at en of program all became better, thanks if i have some dudes i will ask for your help again....thanks a lote....

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...