Bit 000007 (Customer) asked a question.

Possible way to count past 32767 on C2-03 CPU-2 using CNT?

This is being used for counting parts. Parts can be counted up to 100,000 by the end of a shift.

For example I have a CT1, with a copy instruction that has a CTD1 and a DS1. DS1 is assigned to the HMI so the counts can be displayed. Once that 32767 hits, the counter freezes and press kicks out of run. I need to retain these counts past 32767 if possible? Any help would be appreciated


  • Todd Dice (Customer)

    Use a math instruction to a DD address.untitled1

  • LRJ (Customer)

    Your issue isn't with the CTD value. They are already signed Int32. The issue is with the DS address, as they are only signed Int16. You could either leave the COPY instruction out and reference the CTD address directly from the HMI or COPY to a DD address and reference that instead.CTD1_I2

    • Bit 000007 (Customer)

      Thank you for the reply, I’m currently using a c-more ea9 and there is no option to reference the CTD or the DD address for the counter which is really weird. It only has an option for DS and a couple more

      • Durallymax (Customer)

        Give your addresses nicknames, export nicknames and import those into C-More, they will also show up.

      • Bit 000007 (Customer)

        It all worked out, thank you both very much for the support.

  • LRJ (Customer)

    When creating the tag in Cmore, set the tag data type to Signed Int 32. Both CTD and DD should be available after that.