LINSEIS LPD12 Recorder communication driver

 

LINSEIS LPD12 Recorder communication driver is the driver to communicate with recorder of Linseis in Germany.

 

1. Read Settings

 

<Figure 1> is read setting example of LINSEIS LPD12 Recorder communication driver.

<Figure 1>  Read setting example of LINSEIS LPD12 Recorder communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(2) respectively, according to controller.

Baud rate, ... of LINSEIS LPD12 Recorder can set by using front panel button. ( refer to chapter 3 )

 

Note) LINSEIS LPD12 Recorder can communicate only 'Online' status.   (you can set 'Online' by using ¡®ONLINE¡¯ setting button)

 

LINSEIS LPD12 Recorder communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – don't care.

2) Read command – Command = DATA, TIME, DATE. ( refer to <Table 1> )

3) Read start address – don't care.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – fixed to 1.

 

Read schedule example)

READ,     0,  DATA,     0,    0,   1,

READ,     0,  TIME,     0,   20,   1,

 

<Table 1> is read command and contents of LINSEIS LPD12 Recorder communication driver.

Read command Contents Data saving address
DATA Read of measured channel data Start Addr + 0 : 1st channel value
Start Addr + 1 : 2nd channel value
¡¦.
Start Addr + 11 : 12th channel value
TIME read of current time Start Addr + 0  ~ 2 : current hour, minute, second
DATE read of current date(month, day, year) Start Addr + 0  ~ 2 : current month, day, year
¡¦ refer to user manual of Linseis
<Table 1> Read command and contents of LINSEIS LPD12 Recorder communication driver

 

 LINSEIS LPD12 Recorder communication driver store the same data in WORD, DWORD, FLOAT, STRING memory, but the data format are different.

 

2. Writing settings

 You can read, write  LINSEIS LPD12 Recorder by using 'writing settings'. 

 

Digital Write

Digital write and analog write have the same setting parameters except output value(0 or 1).

 

Analog Write 

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care.

3)  ADDRESS          data saving start address for read command.

4)  Extra1                  read, write command = DATA, TIME, DATA, .... ( refer to user manual for more read, write command )

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0100, Extra1:DATA,  Extra2 : 0

The setting parameter shown above is a measured channel data reading example. After reading, the readed data save from 100 WORD, DWORD, FOLAT, STRING memory.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0150, Extra1:CHART=1,0;CHART,  Extra2 : 0

The setting parameter shown above is control example for normal chart = ON, alarm chart = OFF. After reading, the control result save at 150 ~ 151 WORD, DWORD, FOLAT, STRING memory.

 

3. Connectoin of communication cable and setting of baud rate

Connection of communication cable and setting of baud rate are as follows.

 

Connection of RS-232C communication cable

Please connect normal RS-232C communication cable(Cross) to V.24/RS232C CON connector of LINSEIS LPD12 Recorder.

<Figure 2> is appearance of  LINSEIS LPD12 Recorder.

<Figure 2> Appearance of  LINSEIS LPD12 Recorder

 

Setting of baud rate

You can set baud rate, parity bit, data bit, stop bit by using fromt panel button. ( refer to <Figure 2> )

1) Please set 'Off Line' by pressing ¡®ONLINE¡¯ button. ( Off Line : ONLINE LED = OFF )

2)When you select ¡¯MENU SELECT¡¯ button, will be displayed  ¡®SELECT SELECTION¡¦¡¯ at LCD window.

3) Press '4'(SERIAL) button. Then displayed type of ¡®CON(port type) 9600(baud rate) OFF¡¯ at upper LCD window.

4) Press 'Left' ( < ), 'Right' ( > ) button continuously. Then will be blink sequentially ¡®SIO  BAUD HANDS.¡¯ at lower LCD window.

5) Press ¡®INC¡¯, ¡®DEC¡¯ button. Then will be set selected menu. (biink menu )

6) Press confirm the changed baud rate, ... by pressing ¡®ENT¡¯ button.

7)Press  ¡®MENU¡¯  'Up' ( ^ ), 'Down' ( v ) button. Then will be displayed 'SBIT, PARITY, CHAR Rx, Tx' at LCE window.

8) Change setting value such as 4) ~ 6).

9) Please set 'On Line' mode by pressing ¡®ONLINE¡¯ button. ( On Line : ONLINE LED = ON )

10) Communicate with changed baud rate, ....