Jump to content

Recommended Posts

Good morning,

I have to put an output "high" then wait for 2 seconds and put another output "high". I was looking at IDLE function between the two operations, but I'm not able to work it out.

I create a constant with value 200, because as far as i understand it takes micro seconds, but still once it goes it never waits. I'm pretty sure I'm doing something wrong, my apoligize I'm really newbie in this area.

here below the blocks:


Thanks a lot for any good advice




Link to comment
Share on other sites

31 minutes ago, Cam said:

Idle will stop the whole process for however you set it.  This includes I/O updates, as Alex said your probably better off using timers.

which is fine by me, but it doesn't.

I'll see what I can do using timers, thanks!

Link to comment
Share on other sites

  • MVP 2023

Part of your issue is "Micro" vs "Milli".     Blink really really quickly....damn you missed it.

The other thing is that (and I quote) if this causes a delay greater than 600 milliseconds, the PLC watchdog may be activated.

As Cam and Alex have said, use timers or a count.

Also, your layout of (S) then another (S) needs separating.

cheers, Aus


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