Issued by Approved by
GSS-DW Daniel Wexell GSS
Date Issue
Information/Information2018-05-02 2
Reg. No. Page
GSS-ServiceMessage-0011 1(5)
To Copy
To whom it may concern, available via SRT RepWeb. Dept. GS
SERVICE MESSAGE FROM SAABROSEMOUNT TANK GAUGING
CONFIGURATION OF CIU IN TANKMASTER
Issued by: Daniel Wexell
Date: 2 May 2018
1. CONFIGURATION OF ENRAF CIU IN TANKMASTER
This is a description of how to configure TankMaster when connecting it to an ENRAF CIU,
Communications Interface Unit.
The information here is as it was configured at Customer system and should be applicable in most
parts for other similar installations, see Service Report 00-0004 / GSS AH
When setting up some parameters (Baudrate, CIU&Gauge address, type of gauge), the easiest way
to find this information is to get it from the ENRAF OPI, called ENTIS+.
If the manual for ENTIS+ is available at sight it will be of help.
The Tables (1-3) are a copy of what found in the ENTIS+ and they contain all information what is
needed to configure TankMaster.
2. PROTOCOL SETUP
First thing is to set up the Communication parameters for the Enraf GPU protocol in Tank Master,
see Picture 1. What Baudrate to be used here can be found in Table 1. Reply Timeout=400 ms is a
default value that we have and can be changed if necessary(ENTIS+ has a shorter Timeout).
Picture 1, Enraf GPU Master Protocol Configuration.
Address Telephone Email
Box 13045 Int. +46 31 3370 000
[email protected] Saab Rosemount Tank Radar AB SE-402 51 GÖTEBORG Telefax Website
Tank Gauging SWEDEN Int. +46 31 253 022 www.saabrosemount.com
Stored at: I:\GSS\Technical Docs\TankMaster\Config of CIU in TM.doc
Issued by Approved by
GSS-DW Daniel Wexell GSS
Date Issue
Information/Information2018-05-02 2
Reg. No. Page
GSS-ServiceMessage-0011 2(5)
3. INSTALL CIU IN WINSETUP
Next step is to install the CIU(Devices: Install New..). Select Device Type(CIU), enter the Tag No
and Address(See Table 2).
Activate/Deactivate appropriate Channels (=check in the box for Level and/or Temp), note that
Channel No start at 1(one), see Picture 2.
Picture 2, Channel Configuration in CIU.
4. SETTING UP COMMUNICATION INI-FILE
Now you must manually edit the INI-file called ( and only that!) EGPUDEV.INI, it must be in the
\..\Server\Data\ directory.
Note:
This ini-file is not included in the normal TankMaster installation, it must be added manually. The
default file can be found on the TM CD in Misc folder.
Below is a short description of the contents in this file. See File EGPUDEV.INI in Chpt. 5 Tables.
[Devices]
"Device_0=1.0.CIU", where:
1 = Number of Protocol channel(EFMASTER 1, see Picture 1),
0 = CIU address (see Table 2)
CIU = Tag name.
If no CIU se Chapter 5, TM directly to Field Device
Address Telephone Email
Box 13045 Int. +46 31 3370 000
[email protected] Saab Rosemount Tank Radar AB SE-402 51 GÖTEBORG Telefax Website
Tank Gauging SWEDEN Int. +46 31 253 022 www.saabrosemount.com
Stored at: I:\GSS\Technical Docs\TankMaster\Config of CIU in TM.doc
Issued by Approved by
GSS-DW Daniel Wexell GSS
Date Issue
Information/Information2018-05-02 2
Reg. No. Page
GSS-ServiceMessage-0011 3(5)
In [1.0.CIU]:
"DEVICE=UR:10000;TOI:R;TOR0:X;", this string is sent every 10s (in this case) just to
check that CIU is still alive:
UR = Update Rate: 10000ms(=10 s)
TOI:R = TypeOf Instrument: R=CIU GPU-Protocol Version
TOR0:X = TypeOf Request: X=identity(send identity record)
"CH0=ADDR:04;UR:3000;TOI:B;TOR0:D;TOR1:X;"
The data that is requested is specified in this string, note that the name of this first string is CH0
which corresponds to Channel No 1 in CIU Channel Configuration window, see Picture 2. The
other commands mean the following:
CH0 = Channel No 1
ADDR:04 = Address for Gauge on Tank FA-01
UR:3000 = Update Rate is 3s
TOI:B = TypeOf Instrument: B=means "811 Gauge with GPU Protocol and devices with
Gauge Type = B", 854(Servo) is such a Gauge, see Table 3. (TR REX can emulate a
type B or C gauge)
TOR0:D = TypeOf Request 1:D ='Request for Level and Temp', this can also be B(='Request for
Level') or C(='Request for Temp') but 'LevelRate' is not supported in GPU protocol
(from what I've heard).
TOR1:X = TypeOf Request 2:X = identity(send identity record)
If you compare the EGPUDEV.INI with Table 3 you can see that I have sorted the INI-file by
having the Tank names in ascending order.
5. TM DIRECTLY TO FIELD DEVICE
If using a EBM to communicate directly to Field device without CIU.
Configure it as a CIU with address -1 in both WinSetup and EGPUDEV.INI
In WinSetup you have to type it in, not possible to get minus value during scrolling.
[Devices]
"Device_0=1.-1.CIU"
Address Telephone Email
Box 13045 Int. +46 31 3370 000
[email protected] Saab Rosemount Tank Radar AB SE-402 51 GÖTEBORG Telefax Website
Tank Gauging SWEDEN Int. +46 31 253 022 www.saabrosemount.com
Stored at: I:\GSS\Technical Docs\TankMaster\Config of CIU in TM.doc
Issued by Approved by
GSS-DW Daniel Wexell GSS
Date Issue
Information/Information2018-05-02 2
Reg. No. Page
GSS-ServiceMessage-0011 4(5)
6. TABLES
File EGPUDEV.INI
Table showing configuration of Serial ports in ENTIS+.
Port Management
Run-Time Computer Selection
Type: Non-MCA architechture
Port Status Address Irq Function Baud Duplex Time- CIUs STC Comment
out
1 In use 03F8 4 Network 1200 Full n/a n/a
2 In use 02F8 3 CIU 1200 Full 150 1 Conn. to CIU
3 In use 02E8 5 CIU 1200 Full 200 1 Conn. to OPI/2
4 Unav. 0348 7 Unassign 1200 Full 0 0 Do not exist
Table 1, Port Management - Serial port information.
Address Telephone Email
Box 13045 Int. +46 31 3370 000
[email protected] Saab Rosemount Tank Radar AB SE-402 51 GÖTEBORG Telefax Website
Tank Gauging SWEDEN Int. +46 31 253 022 www.saabrosemount.com
Stored at: I:\GSS\Technical Docs\TankMaster\Config of CIU in TM.doc
Issued by Approved by
GSS-DW Daniel Wexell GSS
Date Issue
Information/Information2018-05-02 2
Reg. No. Page
GSS-ServiceMessage-0011 5(5)
This table is showing the CIUs connected to the System and their addresses.
CIU Table
Id Port Address Host Access Instruments STC Comment
C0001 2 0 No 18 Enraf Gauges
C0002 3 1 No 1 TRL/2
Table 2, CIU Table - Info about CIU Address and which serial port it is connected to.
All Gauges with Tank names address, driver(type of Gauge), internal Id.
Note the address, the first digit is actually the CIU address and two last ones is the address in the
Gauge.
Gauge Table
Id Tank CIU Driver Port Address Description STC Comment
G0001 FA-23 C0001 G854 2 001
G0002 FA-23 C0001 G865 2 010 Not Installed!
G0003 FA-22 C0001 G854 2 002 FA-22
G0005 FA-21 C0001 G854 2 003
G0007 FA-01 C0001 G854 2 004
G0009 FA-201 C0001 G854 2 060
G0011 FA-202 C0001 G854 2 061
G0013 FA-203 C0001 G854 2 062
G0015 FA-204 C0001 G854 2 063
G0017 FA-206 C0001 G854 2 064
G0019 FA-207 C0001 G854 2 065
G0021 FA-208 C0001 G854 2 066
G0023 FA-301 C0001 G854 2 030
G0025 FA-302 C0001 G854 2 031
G0027 FA-303 C0001 G854 2 032
G0029 FA-304 C0001 G854 2 033
G0031 FA-02 C0001 G854 2 005
G0033 FA-03 C0001 G854 2 007
G0035 FA-04 C0002 G854 3 108 TRL/2(2930)
comes from
OPI/2
Table 3, Gauge Table - Info about Gauge address, Tank names, Driver('Gauge Type').
Address Telephone Email
Box 13045 Int. +46 31 3370 000
[email protected] Saab Rosemount Tank Radar AB SE-402 51 GÖTEBORG Telefax Website
Tank Gauging SWEDEN Int. +46 31 253 022 www.saabrosemount.com
Stored at: I:\GSS\Technical Docs\TankMaster\Config of CIU in TM.doc