Recent content by mazeeff

  1. M

    CTS stability

    Interesting. My concern would be the impact of a system coming back up, after a power outage. The PLC comes would come up first, while my router would take quite a bit longer. Once network is restored, and CTS is updated, it would take a positive step function of over 60 million seconds (2 years...
  2. M

    CTS stability

    If the network is not available at power on, what will be the value of CTS? Does it simply initialize to "somewhere in 2010" minus 1/1/2000?
  3. M

    CTS stability

    I have been using the CTS variable to create timers in my PLC code. The manual defines CTS as;   CTS Current total seconds since 1/1/2000 (based on local clock)   It would seem that CTS is based on the PLC using SNTP to define the current time. When the PLC is initially powered up, how long do I...
  4. M

    DST

    Excellent news. The code looks fine, and it would be easy for me to add 10 years of dates in less than 30-40 lines of code. The support you folks give to this product is fantastic!
  5. M

    Variable Non-Blocking Delay

       Good idea. I can make this work. Most of what I store in UROM is less than 100. It would sure be nice to have a user option to turn each UROM variable into a 1x32, 2x16,  or 4x8
  6. M

    Variable Non-Blocking Delay

    The CTS command worked great, but now I need more UROM locations. With each of the four UROM locations being 32 bits, it would be nice to use each one as two 16 bit numbers. Most of what I would store in UROM would be less than 2 to the 16th. Any ideas on how to provide more UROM variables or...
  7. M

    Variable Non-Blocking Delay

      I can live with that!!!
  8. M

    Variable Non-Blocking Delay

      Agreed. I would have to wait until the output times out, and then loop. I like your idea better, and will give it a try. Do I need to worry about CTS hitting its max value, and rolling over to zero? Thanks,
  9. M

    Variable Non-Blocking Delay

    OK. I will program a loop variable controlled by UROM4. Each pass through the loop can output OP2 for 60000 units (1 minute). If UROM4 is 5, I should get 5 minutes of output.
  10. M

    Variable Non-Blocking Delay

    I would like to have a variable non-blocking delay controlled by UROM4. ie.   SET OP2[UROM4] 1   The PLC takes the code without error, but a code refresh shows;   SET OP2 1   If I use;   SET OP2[180000] 1   Everything works fine, and I get the expected three minute delay. The fact that the PLC...
  11. M

    Execution speed

      Good point. With fall DST jumping backward, I have to make sure that when CH changes from 2 AM to 1 AM, my code leaves DST off.
  12. M

    Execution speed

      Both of my manuals (3.2.13 & 3.2.16) state the 1,000 line limit in section 6.
  13. M

    Execution speed

      I will take your advice, and just look for the time to be greater than 2 AM.. My application is not that critical! I was just cleaning up my DST code that was discussed in an earlier thread. It would seem like it is a good idea to stay away from using the CT variable, since it goes down to 1...
  14. M

    Execution speed

    I was planning to use the CT variable to test for 02:00:00, but I am starting to think that the smarter move would be to use CH and CM instead. This would give me up to a minute to catch it, as opposed to 1 second for CT.
  15. M

    Execution speed

    I have a need to trigger a event at a very specific time. I would like to use the CT variable to trigger on a time down to the second. I have read posts where the execution speed was 180 instructions per second, and that a temperature read takes 850ms. I have just under 300 lines of code. Am I...
Back
Top