Jump to content

Mirko

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Mirko

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

     

  2. 5 hours ago, CobryWZL said:

    Hi guys,

    I am using a HSC to count pulses of a square wave signal, thats comes to my SAMBA (43 J-T20 ) through I0. Therefore I configured the I0 in HWConfigutatione as HSC and it counts very well.
    Now I want the HSC counter value to reset , if a vertain event happens. For example if i hit a RESET button on the touchscreen, I want the HSC value to reset to 0.
    I tried numeric reset and immidiate Reset HSC but both didnt work so far.

    I think the HSC with Reload is a possibility to use the reload as a reset, but i dont have a fix value when the HSC counter should reset. So this reload ability doesnt work for me neither.

    Do you have any suggestions?

    Thanks!

     

×
×
  • Create New...