Download Point Manager Manual

Transcript
‘HR’ – Read a Historical Log Record
Command Options
Command/Response Syntax
Parameters
H<A|F|L|N|P|R>
A – request same record again
F – request first record in the Historical Log
L – request last record in the Historical Log
N – request next record in the Historical Log
P – request previous record in the Historical Log
R – request record later than the passed time
Command:
HA
Response:
HA, rec time stamp<rindex>,sensor data1..sensor datan
Command:
HF
Response:
HF, rec time stamp<rindex>,sensor data1..sensor datan
Command:
HL
Response:
HL, rec time stamp<rindex>,sensor data1..sensor datan
Command:
HN
Response:
HN, rec time stamp<rindex>,sensor data1..sensor datan
Command:
HP
Response:
HP, rec time stamp<rindex>,sensor data1..sensor datan
Command:
HRctime stamp<cindex>[sensor index|sensor range]
Response:
HR, ctime stamp<cindex>[sensor index|sensor range][,rec time
stamp<rindex>,sensor data1..sensor datan]
Where:
sensor index – return one sensor’s information based on the sensor row at
the given time stamp. (optional)
sensor range – returns the sensors’ information based on the sensor range at
the given time stamp. (1 to 10) (optional)
ctime stamp – Point Manager reads the first record whose time stamp/index
is greater than the time stamp/index. (mmmddyyhhnnss)
cindex – two digit ASCII Hexidecimal number (“00” to “FF”) starting at 01.
Used to access multiple records that have the same time stamp.
rec time stamp – time stamp of the returned record
rindex – two digit ASCII Hexidecimal number (“00” to “FF”) starting at 01.
Used to access multiple records that have the same time stamp.
sensor data1..sensor datan – logged data for that record. All the sensors are
logged that are listed in the sensor table. Each sensor’s data is comma
delimited. Each I/O point for a sensor is delimited by a ‘|’.
n – number of sensors in the sensor table at the time when the record was
logged or that was specified with the sensor index or sensor range
parameters.
Login Level
Point Manager Manual
Login Level:
HR – Data
Commands • 141