Knowledge Base

W = <OBCA count>

Read the OBCA count as a floating point number in W, and in frequency modes reset the reading available indicator.

In frequency modes the reading returned will be the counts accumulated in the most recent timebase period. If a count is not read out before a new count becomes available, it will be lost forever.

In totalizing mode this instruction returns the counts accumulated since the counter was last cleared with an OBCA_fRdClr or an OBCA_Clr.

Note: This instruction modifies UV

Dialect exclusions: Not available in dialects before 9. Also, not available on SPLat controllers that do not have OBCA support (please check the documentation for your specific board and Firmware version).

If you are using the MMi200 please click here for information on a restriction on using this instruction.

Note: At time of writing there is no simulation of the OBCA in SPLat/PC