Beruflich Dokumente
Kultur Dokumente
September 2005
Part no.: 4416.525_Rev3
Enraf BV
PO Box 812
2600 AV Delft
Netherlands
Reproduction in any form without the prior consent of Enraf BV is not allowed.
This instruction manual is for information only. The contents, descriptions and specifications are
subject to change without notice. Enraf BV accepts no responsibility for any errors that may appear
in this instruction manual.
The warranty terms and conditions for Enraf products applicable in the country of purchase are
available from your supplier. Please retain them with your proof of purchase.
Page 2
Preface
Preface
This manual has been written for the technicians involved with the
communication with the Enraf series 880 CIU Prime via ModbusTM.
Additional information
Please do not hesitate to contact Enraf or its representative if you
require additional information.
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Safety aspects of the CIU Prime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Personal safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Safety conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Read data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Write data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CIU data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Gauge commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Statuses of data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Validity byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Status byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Appendix A Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Appendix B Article and part numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix C Related documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Page 4
Introduction
Introduction
The configuration of the new tank inventory system consists of
modular parts:
• Entis Pro
• CIU Plus
• CIU Prime
• field instrumentation
Entis Pro This system displays calculated data from the CIU Plus. It is a
Windows®NT based program, displaying data in windows, boxes,
tables, graphs, etc.
CIU Plus This unit calculates volume and mass. It requests input data from the
CIU Prime and calculates all other data. It presents data to higher
layered systems like Entis Pro, SCADA, DCS, ENSITE, etc.
CIU Prime This unit is an interface between the field instrumentation (e.g. 854
ATG, 873 SmartRadar, etc.) and inventory systems (CIU Plus, PLC,
ENSITE, etc.).
Host ports Two fixed RS-232C/RS485 host ports interface to a CIU Plus, PLC,
ENSITE, etc.
Field ports Up to four field ports can be installed to interface the Enraf field bus (BPM Bi-
Phase Mark). By changing one or more field ports by an RS-232C/RS485 field
port, the CIU Prime can interface the 858 CIU (Communications Interface Unit).
Automatic polling After configuration, the CIU Prime automatically performs the polling of
the connected gauges and stores the information in a database. For a
description of the configuration and programming, refer to the
instruction manual Ensite Pro.
Field instrumentation
The instruments in the field collect data such as level, temperature,
density and/or pressure. The instruments are based on several
principles: mechanical, servo, radar, hydrostatic and capacitive or a
combination. The instruments measure the data and transmit it upon
request of higher layered systems.
Page 6
Safety
Safety
Safety aspects of the CIU Prime
The protection class for the CIU Prime housing is IP30 (NEMA 1),
which means that the CIU Prime can only be installed indoor in an
explosion safe area or in a protective cabinet.
The field ports of the CIU Prime are galvanically separated. The host
ports of the CIU Prime do not have galvanic separation.
Personal safety
The technician must have basic technical skills to be able to safely
operate the equipment and work in accoradance with the (local)
requirements for electrical equipment.
Never start working before the work permit is signed by all parties.
Safety conventions
‘Cautions’ and ‘Notes’ have been used throughout this manual to
bring special matters to the immediate attention of the reader.
Page 8
Description and operation
Front panel The front panel holds leds, indicating power and communication:
e t t t t t t
aliv mi smi mi smi smi smi
ns n ns n n n
1 tra 2 tra 1 tra 2 tra 3 tra 4 tra
rt rt rt rt rt rt
po t po po po po po
st s ld ield ield ield
ho ho fie f f f
Rear connectors The CIU Prime is delivered with two fixed host ports at slots 2 and 3.
The lay-out of the other slots is as follows:
mains slot slot slot slot slot slot slot slot slot
block 9 8 7 6 5 4 3 2 1
Slot Description
1 not used
2 host ports (fixed)
3
4 not used
5 Up to four field ports can be installed. These ports can be:
6 - Enraf field bus (IP-BPM)
7 - RS-232C / RS-485 with 858 CIU communication (IP-
8 RS232/485)
Slot Description
9 Used when key switches are to be installed:
Do not re-adjust any setting inside, this will negatively influence the
operation of the CIU Prime.
Operation
The CIU Prime interfaces between the field instrumentation (e.g. 854
ATG, 873 SmartRadar, etc.) and inventory systems (CIU Plus, PLC,
etc.).
Page 10
Commissioning
Commissioning
The CIU Prime is a user-configurable multi-processor unit and can be
totally programmed at site, or remotely, without opening the CIU
Prime.
Select tools - Use ‘Ensite’ to collect the data from the field instruments
- Use ‘Ensite Pro’ to configure the CIU Prime
Program configuration - Ensite Pro: configure data inputs (use log files from Ensite)
- Ensite Pro: configure tanks
- Ensite Pro: configure CIU Primes
- Ensite Pro: link data inputs, tanks and CIU Primes
Read data
Data can be read from the CIU Prime via holding- or input-registers.
Statusses can be read via discrete inputs, holding- or input-registers.
Data can be read via holding registers and input registers.
See manual ´Instruction manual ModbusTM Protocol´ chapter Enraf
implementation.
General Entities Some general CIU Prime enties are available to the user via modbus
registers. These entities are available on fixed modbus addresses.
Name ID Comment(s)
Year (real-time clock) 521 Time (YYYY)
Month (real-time clock) 522 Time (MM)
Day of month (real-time clock) 523 Time (dd)
Hour (real-time clock) 524 Time (h)
Minute (real-time clock) 525 Time (min)
Seconds (real-time clock) 526 Time (s)
DayLightSaving (real-time clock) 527 0 = off; 1 = on
Available tank entities The CIU Prime is delivered with a pre-programmed Tank Record
lay-out (list of tank entities) for communication with a CIU Plus. The
lay-out for communication with the CIU Plus is fixed, however it is
possible to alter the lay-out to fit other requirements.
A selection can be made which data must be presented in the user
defined tankdata area. This because of the lot of information which can
be retrieved.
One tank data reply packet is selected which is used for all tanks
available to the modbus host.
The sequence how the tanks are organized in the user defined
modbus map is programmable.
Page 12
Read data
There are two methods possible to organize the user defined modbus
memory map:
1. Tank oriented.
Data in the modbus memory map is grouped per tank.
Start address of memory map is programmable. Default start address
is 0000.
The startaddress-interval between the tankrecords is programmable.
2. Data oriented.
Data in the modbus memory map is grouped per selected entity.
Start address of memory map is programmable. Default start address
is 0000.
Name ID Dimension
TankName 1 Text
TankStatus 2 Bit coded
MovingStatus 3 Index
TankType 4 Bit coded
GaugeType 5 Nodim
GaugeStatus 6 Index
GaugeCommands 7 Bit coded
TempElementType 8 Index
HotStandbyStatus 9 Bit coded
CommStatus 10 Bit coded
CIUPrimeAddress 11
GaugeLevelAlarms 36 Bit coded
ExternalContacts 37 Bit coded
DisplacerPosition 38 Level
DisplacerPositionStatus 39 Status
ProductLevel 40 Level
ProductLevelStatus 41 Status
WaterLevel 42 Level
WaterLevelStatus 43 Status
ProductTemp 44 Temperature
ProductTempStatus 45 Status
VapRoomTemp 46 Temperature
VapRoomTempStatus 47 Status
VapRoomPress 48 Pressure
VapRoomPressStatus 49 Status
Name ID Dimension
DObs 50 Density
DObsStatus 51 Status
ForegroundTimeStamp 52 Absolute time
BackgroundTimeStamp 53 Absolute time
VerificationSignature 77 Nodim
ConfigurationStatus 78 Bit coded
AutomaticMeasurableValues 80 Bit coded
HydroMeterCorr 88 Nodim
TObsDipped 89 Temperature
TankConfigurationCRC 94 Nodim
CIUPrimeGeneralConfigurationCRC 95 Nodim
AmbientTemperature 103 Temperature
AmbientTemperatureStatus 104 Status
CIUPrimeTankID 106 Nodim
TObsDippedStatus 111 Status
DObsDipped 112 Density
DObsDippedStatus 113 Status
WaterDipped 114 Level
WaterDippedStatus 115 Status
DObsHIMS 116 Density
DObsHIMSStatus 117 Status
TObs 118 Temperature
TObsStatus 119 Status
WaterMeasured 120 Level
WaterMeasuredStatus 121 Status
HydroMeterCorrStatus 154 Status
Page 14
Write data
Write data
Please refer to the ’Instruction manual ModbusTM Protocol’ chapter
Enraf implementation
CIU data
The internal date and time can be overwritten by writing holding
registers.
Gauge commands
Gauge commands can be issued with the ‘Force single coil’ command.
Dimensions
The CIU Prime has a specified set of dimensions. The dimension set
has to be the same for the whole combination of CIU Prime, CIU Plus
and Entis Pro. The used dimension sign and scaling factor are set-up
parameters and will be entered using Ensite Pro.
Page 16
Dimensions
Statuses of data
Each measured and each calculated entity in the CIU Prime contains a
16 bits status register.
High byte The high byte, the validity byte, is used to indicate if the data of this
entity is available (valid) and, if not, to indicate why the data is not
available (invalid).
Low byte The low byte is used to indicate the status of the data.
Validity byte
The data validity byte is a hexadecimal number.
If the validity byte is >=80HEX , the related data is invalid. If the data of
an entity is invalid, all derived data shows the same code in its data
validity byte and the status indicates how the data field should be
displayed (‘FFFF’, blanks, etc.).
If the validity byte is <80HEX , the related data is valid. Then additional
information is given.
.
.
.
Status byte
The data status byte is bit coded. The meaning of the bits depends on
the validity byte (<80HEX or >=80HEX)
The data status basically exists of two parts which should be displayed
in tabular data in two separate columns:
- bit 7, which indicates whether the data is calibrated or not
- bit 6...0, which (in decreasing priority) tell something about the
physical status of the data.
Page 18
Modbus number representation
Page 20
Modbus number representation
Page 22
Maintenance / trouble shooting
Cleaning of the housing of the CIU Prime should be done with a moist
cloth only.
The ´Alive´ LED (green LED under the red power LED) gives an
indication if the CIU Prime is in healthy condition.
In case healthy the LED will flash about every 0.75 second).
Note that the healthy flash rhythm is different from the flash rhythm of
the Alive LED on the CIU Plus.
Appendix A Glossary
A
AmbientTemperature ID#103; Value of the tank’s ambient temperature.
AmbientTemperatureStat ID#104; Status of ID#103, AmbientTemperature.
AutomaticMeasurableValues
ID#80; Indicates (bit coded) which values can be automatically
measured (this doesn't necessarily mean that they are actually
measured). Bit n = 1: value can be measured automatically:
- Bit 0 = 1 Level [ID#38, ID#40]
- Bit 1 = 1 Temperature [ID#44]
- Bit 2 = 1 Water level [ID#42]
- Bit 3 = 1 Density [ID#50]
- Bit 4 = 1 Vapour temperature [ID#46]
- Bit 5 = 1 Vapour pressure [ID#48]
- Bit 6 = 1 Ambient Temperature [ID#103]
- Bit 7 = 1 Dummy scan (now used for FDI scan)
- Bit 14 ProductTC calc.mode: 0 = manual, 1 = calculated
- Bit 15 VCF calc. mode: 0 = manual, 1 = calculated
Bits 14 and 15 are for internal use of the CIU Plus.
The length is fixed to 16 bits.
B
BackgroundTimeStamp ID#53; (Absolute) time when, in the background scan, the most recent
item was scanned.
C
CIUPrimeGeneralConfigurationCRC
ID#95; Checksum, calculated over general CIU Prime configuration
parameters (for W&M purposes).
CIUPrimeTankID ID#106; Holds (bit coded) the CIU Prime tank identifier:
- Bit 0..7 Tank number between 1 and 50
- Bit 8..15 RTU Address of the CIU Prime host port
Value FFFF: tank/port not used.
Page 24
Appendix
ConfigurationStatus ID#78; Indicates (bit coded) the CIU and tank configuration status:
- Bit 0 = 1 Gauge configuration mismatch (Future)
- Bit 1 = 1 CIU Prime general configuration mismatch
- Bit 2 = 1 CIU Prime tank configuration mismatch
- Bit 3 = 1 CIU Plus general configuration mismatch
- Bit 4 = 1 CIU Plus tank configuration mismatch for this tank
- Bit 5 = 1 Ensite Pro general configuration mismatch
- Bit 6 = 1 Ensite Pro tank configuration mismatch
- Bit 7 = 1 CIU Prime record contains invalid verification
signature
Because of the representation as combined entity the length is fixed to
8 bits.
D
DisplacerPosition ID#38; Value of the physical servo displacer position.
DisplacerPositionStatus ID#39; Status of ID#38, DisplacerPosition.
DObs ID#50; Value of the product density (copy of DObsHIMS [ID#116] or
DObsDipped [ID#112]).
DObsDipped ID#112; Value of the dipped density.
DObsDippedStatus ID#113; Status of ID#112, DObsDipped.
DObsHIMS ID#116; Value of the HIMS density.
DObsHIMSStatus ID#117; Status of ID#116, DObsHIMS.
DObsStatus ID#51; Status of ID#50, Dobs (copy of DObsHIMSStatus [ID#117] or
DObsDippedStatus [ID#113]).
E
ExternalContacts ID#37; Indicates (bit coded) the external contacts:
- Bit 0 = 1 External contact 1 active
- Bit 1 = 1 External contact 2 active
- Bit 2 = 1 External contact failure
- Bit 3 = 1 External contact not available in this instrument
Because of the representation as combined entity the length is fixed to
8 bits.
F
ForegroundTimeStamp ID#52; (Absolute) time when, in the foreground scan, the most recent
item was scanned.
G
GaugeCommands ID#7; Indicates (bit coded) the allowed gauge commands:
- Bit 0 = 1 Test not allowed
- Bit 1 = 1 Lock test not allowed
- Bit 2 = 1 Block not allowed
- Bit 3 = 1 Calibration not allowed
- Bit 4 = 1 Alarm test not allowed
- Bit 5 = 1 Tank profile not allowed
- Bit 6 = 1 Interface profile not allowed
- Bit 7 = 1 Water dip not allowed
- Bit 8 = 1 Reset Gauge not allowed
- Bit 9 = 1 Interface 2 command not allowed
GaugeLevelAlarms ID#36; Indicates (bit coded) gauge level alarms:
- Bit 0 = 1 Low Level alarm tripped
- Bit 1 = 1 High Level alarm tripped
- Bit 2 = 1 Alarm failure
- Bit 3 = 1 Gauge alarms not available in this instrument
Because of the representation as combined entity the length is fixed to
8 bits.
GaugeType ID#5; Type of level measuring instrument. To get the instrument type
number, add 800 (decimal) to the GaugeType value. Example: Gauge
type value = 54 -> instrument 854. This entity is configured by Ensite
Pro.
Because of the representation as combined entity the length is fixed to
8 bits.
Page 26
Appendix
H
HotStandbyStatus ID#9; Indicates (bit coded) the hot standby status:
- Bit 0 = 1 Primary CIU Prime is scanning this tank
- Bit 1 = 1 Primary CIU Prime is available for this tank
- Bit 2 = 1 Secondary CIU Prime is scanning this tank
- Bit 3 = 1 Secondary CIU Prime is available for this tank
- Bit 4 = 1 CIU Plus is passive member of a Hot-Standby pair
Because of the representation as combined entity the useful length is
fixed to 5 bits.
M
MovingStatus ID#3; Indicates (indexed) the level moving status:
-0= Tank level is stable
-1= Tank level is moving up
-2= Tank level is moving down
-3= No valid movement status can be detected (e.g. manual level)
Because of the representation as combined entity the length is fixed to
4 bits.
P
ProductLevel ID#40; Value of the product level.
ProductLevelStatus ID#41; Status of ID#40, ProductLevel.
ProductTemp ID#44; Value of the product temperature.
ProductTempStatus ID#45; Status of ID#44, ProductTemp.
T
TankConfigurationCRC ID#94; Checksum, calculated over tank related configuration
parameters by the CIU Prime (for W&M purposes).
TankName ID#1; 10 characters ASCII or 5 characters Unicode.
TankStatus ID#2; Indicates (bit coded) the status of the tank:
- Bit 0 = 1 Tank shell is calibrated by W&M (Treated as General
Tank calibrated Flag)
- Bit 1 = 1 Maintenance (future)
- Bit 2 = 1 Tank is disabled
- Bit 3 = 1 Tank is not available
Default: 6 (bit 2+3). Because of the representation as combined entity
the length is fixed to 4 bits.
V
VapRoomPress ID#48; Value of the product vapour pressure.
VapRoomPressStatus ID#49; Status of ID#48, VapRoomPress.
VapRoomTemp ID#46; Value of the product vapour temperature.
VapRoomTempStatus ID#47; Status of ID#46, VapRoomTemp.
VerificationSignature ID#77; Calculated over all entities in the default tank record. The
patented calculation algorithm verifies the contents of the transmitted
tank records.
W
WaterDipped ID#114; Value of the dipped water level.
WaterDippedStatus ID#115; Status of ID#114, WaterDipped.
WaterLevel ID#42; Value of the water level (copy of WaterDipped [ID#114] or
WaterMeasured [ID#120]).
WaterLevelStatus ID#43; Status of ID#42, WaterLevel (copy of WaterDippedStatus
[ID#115] or WaterMeasuredStatus [ID#121]).
Page 28
Appendix
Page 30
Notes