ACTOHOST.HTM

 

 

1.   ACTO RS-232 COMMUNICATION CHANNEL

 

The  ACTO  analyser is a master processor: this  means  that  the interface  functions  are controlled by the  ACTO  analyser  only  when it is in the specific state in the menu tree.Moreover, in the current release ACTO is not sending error  codes to  the  PC because the PC is a slave unit used  only  as  remote terminal and disk unit.

 

The  ACTO  analyser has two modes of working through  the  serial port:

- RS-232 consolle mode

- Host-computer link mode

 

The  RS-232  consolle mode allows to use a PC,  with  the  ACTOPC software,  as a remote terminal of the ACTO. Il allows  to  store and  to read work-list and method files in the PC. In this  case, the RS-232 link is set by default to:

        57600 Baud

        8 Bits

        1 Stop bit

        No parity

 

In  the  host-computer link mode, the communication  between  the ACTO  and  the  host-computer follows  a  binary  frame  protocol described in the following pages. The RS-232 link with the host-computer is set to:

        Baud rate: 300, 600, 1200, 2400, 4800, 9600, 19200, 57600

        8 Bits

        1 Stop bit

        No parity

 

 

The working mode is set in the SERVICE MENU, EDIT PARAMETERS (F5, F1):

 

 

Printer mode (0=int./1=ext.PC/2=ext.loc.):p:                  

Remote consolle enable (0=no, 1=yes)     :c:                  

Baud rate (for host computer only)   :bbbbb:                 

                     

                                                                                               

c:    0 for host-computer mode

      1 for RS-232 consolle mode

 

 

bbbb: selectable baud-rate, only for host-computer mode

      300, 600, 1200, 2400, 4800, 9600, 19200, 57600

 

 

 

 

 

 

 

 

 

 

 

THE RS-232 CABLE

THE 25-M TO 9-F ADAPTOR

ACTO 

Analyser DB25-M

DESCR.

DESCR.

PC

RS-232 DB25-F

PC

RS-232 DB25-M

DESCR.

PC

RS-232 DB9-F 

 

2

3

5

20

7

 

 

TXD

RXD

CTS

DTR

GND

 

RXD

TXD

DTR

CTS

GND

 

3

2

20

5

7

 

3

2

20

5

7

 

RXD

TXD

DTR

CTS

GND

 

2

3

4

8

5

 

 

 

2.   RS-232 HANDSHAKES

 

The ACTO CTS input signal (pin 5) enables ACTO transmission .

The ACTO DTR output signal (pin 20) enables PC transmission.

 

 

 

3.   DEFINED CONSTANTS

 

MAXMET       32   Number of on-line chemistries on ACTO

MAXMET2      64   Total number of chemistries on ACTO (32+32)

NSAMPLES     63   Total number of samples (patients on ACTO)

NPATIENTS   463   Total number of patients on PC files

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DATA STRUCTURES

 

 

4.   SAMPLES STRUCTURE

 

Record length: 512 bytes

 

 

FIELD

 

TYPE

 

LENGTH

bytes

DESCRIPTION

 

Code

PcRecord

Urgency

Tests

Test2

Results

Cognome

Nome

Nascita

Sesso

AddrVia

AddrCap

AddrCitta

AddrProv

Telefono

Descr1

Descr2

Descr3

Spare

 

 

13 char

1 int

1 u.char

8 u.char

8 u.char

64 float

20 char

20 char

3 char

1 char

30 char

6 char

20 char

10 char

12 char

30 char

30 char

30 char

12 char

 

 

13

2

1

8

8

256

20

20

3

1

30

6

20

10

12

30

30

30

12

 

 

Sample ID code/name            

Pointer to PC pat. file record 

Urgency flag (0/NZ)            

64 bit-fields for 32+32 tests  

64 bit-flags for test executed 

64 results of 4-byte IEEE float

Patient Family Name            

First Name             

Date of Birth          

Sex                     

Address                

Post Code              

Town                   

Province/State         

Telephone number       

Description 1 Field    

Description 2 Field    

Description 3 Field    

Spare                          

 

 

              

ACTO patients: array of NSAMPLES  sample records

Pc   patients: array of NPATIENTS sample records

 

 

ACTO.PT2 Patients file: NPATIENTS records of 512 = 237056 bytes

 

 

Initialization value of results: -99999999999.999 = null result

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5.   METHODS STRUCTURE

 

 

 

Pos

 

FIELD

TYPE

 

LENGTH

bytes

DESCRIPTION

 

 

0

2

4

6

8

9

10

11

12

----

13

14

15

16

17

19

21

23

24

25

29

33

37

41

45

49

53

57

61

65

80

83

85

87

88

92

96

128

 

 

Type

Filters

IncTime

IncTime2

StabTime

MeasTime

NStd

NCtls

Flags

--------

ReagPos

NWash

StdPos

CtlPos

SampVol

ReagVol

Reag2Vol

DilFlag

Unit

Factor

ValStd

BlankMin

BlankMax

MinVal

MaxVal

LinVal

Spare

Dilution

DepLimit

Name

Code

IncTime3

Reag3Vol

CalcMode

MinCtl1

MaxCtl1

Curve Std

Curve OD

 

 

u.int

u.int

int

int

byte

byte

byte

byte

byte

-----

byte

byte

byte

byte

int

int

int

byte

byte

float

float

float

float

float

float

float

-----

float

float

char

char

int

int

byte

float

float

float

float

 

 

2

2

2

2

1

1

1

1

1

----

1

1

1

1

2

2

2

1

1

4

4

4

4

4

4

4

4

4

4

15

3

2

2

1

4

4

32

32

 

 

Method Type                        

Method Filters                     

Incubation Time                    

Reagent 2 Incubation Time          

Stabilization Time                 

Measure Time                       

N. of Standards                     

N. of Controls                     

bit0: Blanks used in calc.         

bit1: Factors automat.stored       

Reagent Position                   

N. of Washes                       

Position of Standard               

Position of Control                

Sample Volume                      

Reagent Volume                     

Reagent 2 Volume                   

Predilution 0=no/1=dil/2=dil+recalc                                      

Unit                               

Factor                              

Value of the Standard              

Minimum value of the Blank         

Maximum value of the Blank         

Min. Test Limit Value              

Max. Test Limit Value              

Linearity Value

------------------------------------                   

  Dilution Rate

Substrate Depletion Limit          

Method Name                        

Method Code                        

Reagent 3 incubation time          

Reagent 3 volume                   

1=lin.regr/2=polilinear/3=cubic spl.

Not used                           

Not used                           

8 floats Curve Standard Value      

8 floats Curve Optical Density     

 

 

Total

 

160

 

 

 

Array of MAXMET2 method elements. Record length: 160 bytes

 

For field description, see METHOD FIELDS page M-4

 

 

 

 

 

6.   PROFILES

 

Array of 4 char: every profile is defined by 32 bit-fields

Profiles[16][4]

 

 

 

7.   METHODS FILE

 

- Methods     64 x 160 =  10240 bytes

- Profiles    16 x  4  =     64 bytes

- File length             10304 bytes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

COMMANDS TO PC

 

8.   BASIC COMMANDS TO PC

 

 

BASIC COMMANDS TO PC

 

DURING

EXEC.

 

USED BY MACRO COMMAND

 

 

SEND A METHOD

SEND PROFILES

WRITE METHODS REQUEST

 

RECEIVE A METHOD

RECEIVE PROFILES

READ METHODS REQUEST

 

READ WORKLIST REQUEST

RECEIVE MODE

RECEIVE A PATIENT

 

SEND A PATIENT

 

SEND MODE

SEND A RESULT

WRITE A PATIENT REQUEST

READ A PATIENT REQUEST

 

SEND KINETIC BUFFER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

YES

 

 

 

YES

 

 

SEND METHODS             

SEND METHODS              

SEND METHODS             

 

LOAD METHODS             

LOAD METHODS             

LOAD METHODS             

 

LOAD WORK-LIST           

LOAD WORK-LIST           

LOAD WORK-LIST           

 

SEND ACTO-CREATED PATIENTS

 

SEND RESULTS              

SEND RESULTS             

SEND RESULTS            

SEND RESULTS             

 

NO