Jump to content
Nassos.NET

HSC resets DW counter after power-cut

Recommended Posts

Hello to everyone,

I have a SM35-J-T20 and a set two HSC as Counters

SM35_J_T20.png.25dbd92209cd6e643e008898e1cbdcd7.png

and i notice that when there is a power-cut the DW values will reset to Zero.

is there a way to avoid this reset?

Thanks in advance,

Nassos

Share this post


Link to post
Share on other sites

At the end of program (at the end of every scan) copy those registers into some other free DWs. Then at startup copy them back, via SB2 contact.

I think there should be a complete example of this method somewhere in this forum, I've seen this topic before.

  • Like 1

Share this post


Link to post
Share on other sites
On 4/16/2019 at 10:11 AM, Nassos.NET said:

Hello to everyone,

I have a SM35-J-T20 and a set two HSC as Counters

SM35_J_T20.png.25dbd92209cd6e643e008898e1cbdcd7.png

and i notice that when there is a power-cut the DW values will reset to Zero.

is there a way to avoid this reset?

Thanks in advance,

Nassos

 

On 4/17/2019 at 9:44 AM, Nassos.NET said:

Thanks isakovic, i implemented your suggestion and worked great.

Thanks again,

Nassos

 

On 4/16/2019 at 2:10 PM, Isakovic said:

At the end of program (at the end of every scan) copy those registers into some other free DWs. Then at startup copy them back, via SB2 contact.

I think there should be a complete example of this method somewhere in this forum, I've seen this topic before.

 

Share this post


Link to post
Share on other sites

@Mirko, are you having a problem we can help you with? This is your second post that just quotes others but has no content. Should I delete those?

Share this post


Link to post
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...