Author Topic: FMD Processor  (Read 11015 times)

mace123s

  • Newbie
  • *
  • Posts: 8
  • I'm a llama!
    • View Profile
FMD Processor
« on: December 07, 2015, 09:44:24 AM »
Is there any way to capture the current count of the HSC1  counter?
In the online view it shows the current count but i cant seem to find a way to put this into
a DM Register.  

garysdickinson

  • Hero Member
  • Posts: 502
  • Old PLC Coder
    • View Profile
Re:FMD Processor
« Reply #1 on: December 07, 2015, 01:40:19 PM »
Yes.  You write a program in TBASIC to access the High speed counters:

DM32[1] = HSCPV[1]
HSCPV[1] = 0