|
|
|
TCS Data Logger function stores parameters into a 4Mbit flash eprom for later retrieval,
this is very covenient when you need to monitor Analog parameters, temperature, digital input state,
with date and time stamp.
With the TCS 3.5 DATA LOGGER option, you can decide how often this parameters are stored
(from 1 minutes to 240 minutes intervals).
TCS will store them in permanent memory and you will be able to download them
with a data call or just connecting your PC to the TCS interface.
At 1 hour sampling intervals, thhe Flash Eprom will hold data for more than 150 days.
A typical application is monitoring environmental parameters.
Another application, very useful for wind or solar energy generation, is monitoring the power delivered by a solar PV panel or
a Wind Generator.
Hot to use the data logger:
1- Enable the Flash Memory logger with the Command #LGF10 (10 is the sampling interval,
meaning that data will be stored every 10 minutes, it can be also another value. #LGF00 stops loggiing)
2- At convenient intervals (before the Log memory is full) download sampled data using the #LGFDUMP command
3- Clear data logger issuing the #LGFCLEAR command
When the log memory is 80% full, the TCS board will send a warning message to TEL01.
For more info about using TCS OS commands please check TCS COMMAND LIST ON LINE
Here is the packet data structure as you may download using the #LGFDUMP command:
|
|
Field
|
Example
|
Comment
|
|
Sentence ID
|
$DPTDL
|
Sentence identifier
|
|
Date
|
2003/01/15
|
date in format yyyy/mm/dd
|
|
Time
|
20:35
|
Time in format hh:mm
|
|
TCS ID
|
TCS-LOG-01
|
TCS board identifier (user programmable) 10 characters
|
|
smsc
|
517
|
Counter of SMS that have been sent (4 digits)
|
|
si
|
10
|
Sampling interval. Data will be stored in the flash eprom every 'si' minutes.
Range 1-240 in steps of 1.
|
|
Input Pins
|
11100110
|
Digital level as they appear on the INPUT connector, bit order: 12345678
|
|
Output Pins
|
00011011
|
Digital level as they appear on the OUTPUT connector, bit order: 12345678
|
|
CNP1
|
157
|
Subcounter 1, decimal values, range: 0 - 65535
|
|
CNP2
|
557
|
Subcounter 2, decimal values, range: 0 - 65535
|
|
CNP3
|
7
|
Subcounter 3, decimal values, range: 0 - 65535
|
|
CNP4
|
0
|
Subcounter 4, decimal values, range: 0 - 65535
|
|
CNP5
|
0
|
Subcounter 5, decimal values, range: 0 - 65535
|
|
CNP6
|
0
|
Subcounter 6, decimal values, range: 0 - 65535
|
|
CNP7
|
18
|
Subcounter 7, decimal values, range: 0 - 65535
|
|
CNP8
|
14
|
Subcounter 8, decimal values, range: 0 - 65535
|
|
CNT1
|
14
|
Total counter 1, decimal values, range: 0 - 65535
|
|
CNT2
|
14
|
Total counter 2, decimal values, range: 0 - 65535
|
|
CNT3
|
423
|
Total counter 3, decimal values, range: 0 - 65535
|
|
CNT4
|
0
|
Total counter 4, decimal values, range: 0 - 65535
|
|
CNT5
|
456
|
Total counter 5, decimal values, range: 0 - 65535
|
|
CNT6
|
0
|
Total counter 6, decimal values, range: 0 - 65535
|
|
CNT7
|
1460
|
Total counter 7, decimal values, range: 0 - 65535
|
|
CNT8
|
130
|
Total counter 8, decimal values, range: 0 - 65535
|
|
Temperature
|
15
|
Temperature measured by probe (if installed)
|
|
4-20 ma
|
37
|
Analog input ( 4-20 ma) value. Range 0-255
|
|
powtype
|
E
|
Power supply type: E=external, B=backup battery
|
|
battlev
|
12.5
|
Backup battery voltage level
|
|
checksum
|
*3A
|
this log packet checksum
|
|
|