FP93 Flow Processor communication driver

 

FP93 Flow Processor communication driver is the driver to communicate with GENIUS PM  FP-93 Flow Processor of EMCO(Engineering Measurements Company) in U.S.A.

 

1. Read settings

 

<Figure 1> is read setting example of  FP93 Flow Processor communication driver. 

<Figure 1>  Read setting example of  FP93 Flow Processor communication driver

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

Baud rate(300, 600, 1200, 2400,4800, 9600, 19200 ¡¦ ), parity bit(0, 1, 2), stop bit(1, 2), etc of FP-93 controller can set by using 'setting button' of Flow Processor.

 

Note) RS-232C cable of FP-93 controller have to connect Full serial cable(Tx, Rx, RTS, DTR, CTS, .. connector needed).

 

FP93 Flow Processor communication driver read schedule

Read schedule setting parameters are as follows:

1) STATION – Station(unit) number = 0 ~ 65535.

2) Read Command – Command = DATA, CONFIG. ( Refer to <Table 1> )

3) Read Start Address – Read data register address = 1 ~ 94.  ( Refer to <Table 1> )

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – read word size = fixed to 1.

 

Read schedule example)

FLOAT,     1,    DATA,     1,    0,   1,

FLOAT,     1,    DATA,     2,    1,   1,

FLOAT,     1,    DATA,    20,   2,   1,

FLOAT,     1,    DATA,    35,   3,   1,

FLOAT,     1,    DATA,    36,   4,   1,

FLOAT,     1,    DATA,    37,   5,   1,

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

 

 

Note) When the contents of Data register number is String type( Refer to <Table 1> ), communication driver save to String memory the readed data.

 

 <Table 1> is data type and contents for each register number of FP-93 controller.

 

Register number Data Type Contents Remarks
1 ~ 2 Float RTD #1 ~ #2 resistance Ohm
3 ~ 6 Analog Input #1 ~ #4 current mA
7 requency HZ
8 Long Flow direction 1 = forward, 0 = reverse
10 ~ 13 Float #1 temperature,  #1 average temperature,
#1 maximum temperature,  #1 maximum temperature
 
14 ~ 17 #2 temperature,  #2 average temperature,
#2 maximum temperature,  #2 maximum temperature
 
18 Differential temperature (#1 temperature-#2 temperature or superheat)  
19 String Unit of temperature deg F, deg R, deg C, deg K
20 ~ 23 Float Pressure, average pressure, minimun pressure, maximum pressure  
24 String Unit of pressure psi, atm, bars, kg cm^2, mmHg
25 Float Density  
26 String Unit of density lb/fp^3, g/cc, kg/m^3
27 Float Specific volume  
30 ~ 33 Volume flow, average volume flow, minimum volume flow, maximum volume flow  
34 Temperature compensated volume flow  
35 Average temperature compensated volume flow  
36 Minimum temperature compensated volume flow  
37 Maximum temperature compensated volume flow  
38 String Unit os compensated volume flow ft^3, gal, bbl, cc, l, m^3/s, /m, /h, /d
40 ~ 43 Float Mass flow,  average mass flow, minimum mass flow, maximum mass flow  
44 String Unit of mass flow lb, ton, g, kg, mt/s, /m, /h, /d
45 ~ 48 Float Energy Flow, average energy flow, minimum energy flow, maximum energy flow  
49 String Unit of energy flow Btu, kJ, cal, Kcal, Mcal, /s, /m, /h, /d, ton, kW, MW, GW
50 Float Calculation interval Second
51 Current of analog output mA
52 ~ 53 Long Non-resettable totalizer #1 (forward), resettable totalizer #1 (forward),  
54 ~ 55 Non-resettable totalizer #2 (reverse), resettable totalizer #2 (reverse),  
56   Totalizer #1 assignment Refer t <Table 2>
57 Float Totalizer #1 scale factor  
58 Long Totalizer #2 assignment  
59 Float Totalizer #2 scale Factor  
60 Raw velocity  
61 Profile factor  
62 Obscuration factor  
63 Line velocity  
64 Viscosity  
65 Reynolds number  
66 Compressibility gactor  
67 Super compressibility gactor  
68 ~ 69 Enthalpy, rnthalpy(temperature #2)  
70 Long Current time Second : since 80/1/1 00
71 Time changed flag set  
72 Time statistical values last cleared  
73 Time totalizers last cleared  
74 Time of power failure  
75 Time of relay output rate alarm  
76 Time of analog output rate alarm  
77 Time of flow input out of range alarm  
78 Time of temperature input out of range alarm  
79 Time of temperature input #2 out of range alarm  
80 Time of press input out of range alarm  
81 Time of A/D converter overrange alarm  
82 Time of battery fault  
83 ~ 85 Time of EEPROM/ROM/RAM checksum fault  
90 Hex Fault flags Refer to <Table 3>
91 Previous fault flags (clear faults and changed flag)  
92 Long Clear Ssatistical values (always 0)  
93 Previous value of forward totalizer (clear resettable totalizers)  
94 String Unit information block Refer to <Table 4>
<Table 1> Data type and contents for each register number of FP-93 controller

 

Value

Meaning

0

None

1

volume flow

2

compensated volume flow

3

mass flow

4

energy flow

<Table 2> Readed value and meaning of Totalizer #1 Assignment (Register number = 56)

 

Bit position

Meaning

0

Changed Flag is Set

1

Communications Fault(parity, overrun, noise)

2

Power Failure

3

Relay Output > 10 Pulse/Second

4

Analog Output Out of Range

5

Flow Input Out of Range

6

Temperature Input #1 Out of Range

7

Temperature Input #2 Out of Range

8

Pressure Input Out of Range

9

A/D Converter Overrange

10

ROM Battery Fault

11

EEPROM Checksum Fault

12

ROM Checksum Fault

13

RAM Read/Write Fault

14

Unused (always 0)

15

Substitute Inputs

<Table 3> Meaning of each bit for Fault Flags (Register number = 90)

 

Data type

Contents

mmmmm-pppp-vv.vv-nnn

mmmmm : Model Number

pppp : Program Code (1 ~ 4 Digits)

vv.vv : Version Number

nnn : Byte count of Data Structure(include CRC)

<Table 4> Contents according to data type of Unit Information Block (Register number = 94)

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

<Figure 2> Example of  FP93 Flow Processor communication driver¡¯s Option dialogue box

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

Also you can set CRC type of FP93 Flow Processor protocol at the part of ¡®CRC :¡¯ shown in <Figure 2>.

<Figure 3> Example of  FP93 Flow Processor communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Write settings

You can read register data by using write 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             Station(unit) number = 0 ~ 65535.

3)  ADDRESS           Read data register address = 1 ~ 94.  ( Refer to <Table 1> )

4) Extra1                    Read command = DATA, CONFIG. ( Refer to <Table 1> )

5) Extra2                     Readed data saving start address.

 

Note) Readed data from Analog/Digita write save mached memory to Float dat = Float memory,  Long data = Dword memory,  Hex, String data = Word, String memory.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0001, Extra1: DATA,  Extra2 : 100

The setting parameter shown above is read example of RTD #1 resistance. After read, the readed data save at 100 Float memory.

 

Write example 2)

PORT:0,  station:1, ADDRESS:0090, Extra1: DATA,  Extra2 : 50

The setting parameter shown above is read example of Fault flags. After read, the readed data save at 50 Word memory.

 

3. connection of communication cable and main power

Connection of communication cable and main power are as follows.

 

Connection of communication cable

Please connect normal full RS-232C communication cable to RS-232C 9 pin socket of FP93 controller.

<Figure 4> is connection diagram for RS-232C full 9 pin - 9 pin communication cable.

<Figure 4> Connection diagram for RS-232C full 9 pin - 9 pin communication cable

  * Note) FP-93 Flow Processor controller can communicate Multi-Drop by using RS-232C cable.

When a communication error occurs, you can fix as follow method.

1. Connect diode to RS-232C communication cable in order to prevent overcurrent.

2. Please use RS-422 or RS-485 converter at both end of each RS-232 communication line.

3. Please use 'Line Duplex' at Communication Server(the setting parameter set same value, Communication Timeout = 1).  – don't recommended.

 

Setting of station(Unit) number and baud rate

You can set station number and baud rate, ... by using button of front panel. 

 

Setting method :

press 'program' button -> input password -> press 'program' button -> press 'program' button -> Column 10 (system) -> Select(Clear) -> enter station number, select baud rate, .... -> Select(Clear) ->press 'program' button -> press 'program' button.

<Figure 5> is appearence of FP-93 controller.

<Figure 5> Appearence of FP-93 controller

 

Connection of main power

Please connect 10.5 ~ 36 V DC main power to power socket or +, - connector of FP 93 controller such as <Figure 6>.

<Figure 6> is connection example of main power and communication cable to FP-93 controller. 

<Figure 6> Connection example of main power and communication cable to FP-93 controller