FM Analysis > P275 FM Analyzer

Accessing alarm bits through COM port?

(1/2) > >>

chuck-wright:
Hi All,

I would like to read the states of the alarm bits through the COM port, but do not see a way to do this.

Is it possible?

Thanks,
Chuck Wright
KLDK-LP
DIxon, NM USA

Jan:
That's a good question. The alarm outputs are accessible for example using the command


--- Code: ---49C,001?h
--- End code ---

The value returned is HEX coded byte. It's a sum of following values:

0x80 - Alarm pin 2 active
0x40 - Alarm pin 3 active
0x20 - Alarm pin 4 active
0x10 - Alarm pin 5 active

The lower portion of the byte must be ignored.

So for example if you read 50, it means that pins 3 and 5 are high.

This information is currently valid for the P275 only.

chuck-wright:
Thank you!

I am actually currently using the P175, so suppose I will implement the alarms in software, using other values I can read from the serial interface.

- C

Jan:
In the P175 the solution may be similar, the value is accessible at address 4C6.

chuck-wright:
I'll give it a try, let you know.
Thanks!
- C

Navigation

[0] Message Index

[#] Next page

Reply

Go to full version