64
APPENDIX C. REMOTE MODULE COMMAND STRUCTURE
COMMAND
FUNCTION
SYNTAX
RETURN VALUE
0
N/A
1
N/A
2
N/A
3
N/A
4
READ FIRMWARE
VERSION
4
VER#.#
5
N/A
6
N/A
7
N/A
8
N/A
9
N/A
V6
REQUEST 6 READS
V6
####### 0000000 0000000
0000000 0000000 0000000
V6%
SET GAGES SPECTRUM
V6(A –
F)
%%%%%%
V7
TAKE BATTERY
READING
V7
<sp><sp>+#.#
V8
TAKE +5V READING
V8
<sp><sp>+#.#
VT
SENSOR TEMPERATURE
(°C)
VT
(+/-)##.####
Table 7 - Remote Module Command Format
Example 1:
READ FIRMWARE VERSION
Reads the firmware version of the Remote Module:
Command:
4<CR>
Response:
Geokon405 Ver1.0 0320
Example 2:
REQUEST 6 READS:
Get sensor readings for up to six Vibrating Wire “cells”
(“0000000” returned for unconnected gages):
Command:
V6<CR>
Response:
0200000 0000000 0000000 0000000 0000000 0000000
Notes:
•
The above response shows that there is one gage (of six) connected
•
Raw gage values are in units of nanoseconds
•
Frequency (F, in Hz) = 1 / T (sec); F = 1 / 0.0002 = 5000 Hz
•
Digits = F2/1000 = (5000)2/1000 = 25000