IDL 101
COMMUNICATION
HB_IDL101_E_V222.doc
85
Gantner Instruments Test & Measurement GmbH
Register Type
Content
Range
read
data
logger
3000 ............. ro/rw .............number of records ........................................0 ... 65535
3001 ............. ro/rw .............number of values in a record.........................0 ... 65535
3002 ............. ro/rw .............Date (Day + Month) ..................................... 0 ... 65535
3003 ............. ro/rw .............Date (Year + Hour) ...................................... 0 ... 65535
3004 ............. ro/rw .............Date (M Seconds).............................0 ... 65535
3005 ............. ro/rw .............Date (Reserved) ........................................0 ... 65535
3006 ............. ro/rw .............variable 1 real value high word......................0 ... 65535
3007 ............. ro/rw .............variable 1 real value low word .......................0 ... 65535
3008 ............. ro/rw .............variable 2 real value high word......................0 ... 65535
3009 ............. ro/rw .............variable 2 real value low word .......................0 ... 65535
:
:
:
:
300BC ........... ro/rw .............variable 92 real value high word..........................0 ... 65535
300BD ........... ro/rw .............variable 92 real value low word...........................0 ... 65535
Notice:
The oldest record will be load to the register 3002 to 30BD while reading register 3001. The number of values
depends on the configuration.
Reserved
FD00..FFFF
10.5. Sample Program
The problem definition is: The measured value in channel 2 shall be read from the data logger with the address number
10 The value was configured with a field length of 7 with 2 decimals.
Sample program for transmission without check sum:
(Notation in QBasic, V. 1.0):
OPEN "COM1: 9600,N,8,1,RS"
FOR RANDOM AS #1
, Initialise COM1 interface
REQ$ = "$0AR1"+chr$(13)
, Make telegram
PRINT #1, REQ$
, Send request telegram
RES$ = INPUT$(9,#1)
, Receive response telegram
VALUE$ = MID$(RES$,2,7)
, Get value from response telegram
PRINT "Temperature = ", VALUE$ , Print value on the screen
CLOSE
, Release COM1 interface
END
, Program end
Notice:
In some programming languages the initialization of the serial interface with even parity and 8 data bits will
not be supported. The COM-interface in the PC and the bus interface in the sensor module have to be adjusted and
configured to "(N)o parity".