Jump to content

Recommended Posts

I am upgrading an old S7-200 plc to a Unitronics V130-33-TA24. In the old MicroWIN code they used contacts of a built-in half-second timer SM0.5. What would be the simplest way to recreate this in Visilogic? Would it require using 2 timers? I am attaching what I came up with and it works fine, but maybe there is a simpler way. Thanks.

half second timer clock.png

Link to comment
Share on other sites

  • MVP 2023

That particular time is built in to Visilogic.  Use a contact referencing SB3.  It is on for .5 second and off for .5 second.

Otherwise, you do need two timers.  Here is a 1 second on / 1 second off example:

squarewave timers.jpg

 

Timers automatically reset when you remove power from them.

Note that proper programming form is to use the timer bit in a separate network from the timer coil.  The reason for this is Visilogic doesn't always compile the network they way you think it does.

Joe T.

 

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.

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