TEMPRO-100 Communication Driver

 

 

TEMPRO-100 communication driver is the driver to communicate with freezer controller of Newtems Co.,Ltd, in Korea.

  

1. Read settings

 

<Figure 1> is read setting example of TEMPRO-100 communication driver.

 
 
<Figure 1> Read setting example of TEMPRO-100 communication driver
 

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

Also, you can enter single delay time of each read command( 0 ~ 10000 mSec, Default = 0 ) at Option part.

  

TEMPRO-100 driver read schedule

Read schedule setting parameters are as follows:

1) Station - Group of device, Station number ( 0 ~ 9999 : Decimal number ), front 2 digits are group number, back 2 digits are freezer number.

2) Read Type - Area type to read. Fixed as RD.

3) Read start address - Start address of area to read.

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

5) Read Size - Number of data to read. ( 1 ~ 321 )

 

Read schedule example)

READ,     0,     RD,    0,    0,   50,

 

<Table 1> is partial memory address and contents of TEMPRO-100. Refer to TEMPRO-100 manual about detailed memory address and contents of TEMPRO-100.

Memory Address

Contents

0

Group number

1

Freezer number

2

Baud Rate

3

Data Bits

4

Stop Bits

5

Parity Bits

6

Protocol

7

Response

8 ~ 14

sec, min, hour, week, day, month, year

15

Transmitter

16

Unit

¡¦

¡¦

<Table 1> Partial memory address and contents of TEMPRO-100 

Data which was read by TEMPRO-100 communication driver is stored at WORD/DWORD/FLOAT memory together.

 

If you click the icon   in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.

 
<Figure 2> Example of TEMPRO-100 communication driver's Option dialog box

You can set read schedule by using , , button and listbox of <Figure 2>.

Also, you can set delay time(0 ~ 10000 mSec, Default = 0) of each read command at 'Read Start Sleep' part of <Figure 2>.

 
<Figure 3> Example of TEMPRO-100 communication driver's read schedule Add/Edit dialog box
   When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Writing settings

 

Digital Write

Digital write and analog write have the same setting parameters except output value.

 

Analog Write 

Analog write setting parameters are as follows:

1) PORT : Connected port number. (0 ~ 255, Not COM number)

2) STATION : Station number of TEMPRO-100 device. ( 0 ~ 9999 )

3) ADDRESS : Read/Write command memory address. (Decimal number)  But, RD command is read start/save address.

4) EXTRA 1 : Command to read.

One of WR, MC, MO, RR, RS and RD (Refer to <Table 2>)

5) EXTRA 2 : If Extra 1 is WR, designate the write type and in case of RD, designate the number of read data.

WR : Write type of address to output,

( 1 = %01d,  2 = %02d,  3 = %03d,  4 = %04d,  5 = %05d,  6 = %06d,  41 = %04.1f,  51 = %05.1f,  52 = %05.2f,  62 or Etc = %06.2f )

RD : Number of data to read,

Etc : Don't care.

Command

Contents

WR

Write Data

MC

Mode Change

MO

Manual Operation

RR

Remote Run

RS

Remote Stop

RD

Read Data

<Table 2> Write command and contents of TEMPRO-100

Write example 1)

PORT : 0 , STATION : 0,  ADDRESS : 0001,  EXTRA1 : WR,  EXTRA2 : 2

The setting parameter shown above is analog write example of changing address value of TEMPRO-100 device connected with no.0 port as set value( 0 ~ 99 ).

 

Write example 2)

PORT : 0 , STATION : 0,  ADDRESS : 0100,  EXTRA1 : RD,  EXTRA2 : 20

The setting parameter shown above is analog write example of reading data value among 100 ~ 109 of TEMPRO-100 device connected no.0 port and save it to WORD/DWORD/FLOAT memory from no.100 address.