User's Manual
UM-003-A OPS243-A User Manual  14  OmniPreSense Corporation 
Simple Counter – counts objects which meet the speed/range and signal magnitude filtering settings.  The 
counter will count the number of objects over time which meet the filtering settings for speed/range and 
signal magnitude. The count is not reported but can be queried with the N? command. The count can be 
reset with the N! command. A count is triggered if 2 or more consecutive reports meet the threshold 
limits.  Once detected, the object is set to be counted until 4 reports missing the threshold limits are seen. 
The value to start a count (default 2) can be set with the N>n command.  The value to end a count (default 
4) can be set with the N<n command. To start a new count, clear the running count with the N! command. 
Command 
Name 
R/W 
Value 
N? 
Query Count 
Read 
Reports number of objects counted. 
{"DetectedObjectCount":3} 
N! 
Reset Count 
Write 
Resets the number of objects in counter. 
{"DetectedObjectCount":0} 
N>n 
Count Start Threshold 
Write 
{"MotionSignal":"Status", "CountToPass":2, 
"CountToFail":4} 
N<n 
Count End Threshold 
Write 
{"MotionSignal":"Status", "CountToPass":2, 
"CountToFail":3} 
Clock – set to control the reporting of the time.  The time is measured in seconds/milliseconds from power 
on of the module.  Use the OT command to report the time in seconds and milliseconds.  When the module 
is put in low power state (PI), the clock will continue counting.  If you wish for the module to provide “the 
real time”, then set it to “the Unix Epoch time” (see wikipedia.org/wiki/Unix_time). 
Command 
Name 
R/W 
Value 
C? 
Query Time 
Read 
Ex. {“Clock”:”50”} reports 50 seconds since 
power on. 
C=n 
Set Time 
Write 
Reset the clock start time. For example, n = 10 
will start the clock at 10 seconds and then 
continue counting. 










