Interesting, which modules don’t allow counting? I would think that is a brain level feature and should work on all digital inputs, at least up to the 16 point modules***.
Since aPAC can see a count - have you tried reading the count directly from the memory map in PAC Control?
The memory map address of the counter data for a module and point can be found by:
0xFFFFF080000 + (0x100 * Module) + (0x40 * Point) + 0x10
So for the point you have on your screenshot the address should be: 0xFFFFF0804D0
You can then call ReadNumFromIoUnitMemMap:
ReadNumFromIoUnitMemMap(MYIOUNIT, 0xFFFFF0804D0, MYINTVAR);
***All of the above is for standard digital modules - HDD modules are different.