Jump to content

How to detect a new ladder has been loaded


Recommended Posts

Hi Team

As a rule I try not to preset values at power-up so the PLC will retain it's state after a power fail. This is particularly useful when I'm running timed or timer functions which just pick up where they left off after a power glitch. Sometimes I use SB 2 when I do need to reset stuff after power up.

Now the real question - Is there a way of detecting when a new programme has been downloaded?

I have been trying to use SB75 to detect when a new ladder has been loaded; that's when I definitely want to do a full reset of values to known states.

As my very first action in Main I've tried testing the bit being Set, Negative Transition, Positive Transition and for each case I've SET an MB (which has a power-up reset state).

Nothing seems to move that MB.

So I'm wondering, does SB75 actually go high in first scan and drop at end of scan? Maybe I'm misunderstanding what SB75 is for.

Is there perhaps a better way to know I have a new ladder downloaded to the PLC? 

I possibly could have a current-version MI and a last-version MI and make sure I change the current-version power-up value to check for version change but that's a little mes

Oh also, I'm using a V1210.

 

Many thanks for any guidance coming my way

 

cheers Mal

 

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