Ciu Prime 880
Ciu Prime 880
Version 1.2
November 2000
Part no.: 4416529
Enraf B.V.
P.O. Box 812
2600 AV Delft
Netherlands
Reproduction in any form without the prior consent of Enraf B.V. is not allowed.
This instruction manual is for information only. The contents, descriptions and specifications are
subject to change without notice. Enraf B.V. 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 communication interface units via
CIU858 emulation protocol.
For installation and commissioning of the CIU Prime, please refer to the
related installation guide and configuration manuals. This manual
describes the communication between a CIU Prime and higher layered
systems.
Legal aspects
The information in this configuration manual is copyright property of Enraf
B.V., Netherlands.
Enraf B.V. disclaims any responsibility for personal injury or damage to
equipment caused by:
Additional information
Please do not hesitate to contact Enraf or its representative if you require
additional information.
Table of Contents
Preface .................................................................................................................................................. 3
Introduction ........................................................................................................................................... 5
Communication parameters ................................................................................................................. 6
CIU (858) address ........................................................................................................................ 6
Communication procedure ................................................................................................................... 7
Command records ........................................................................................................................ 8
CIU individual command record ......................................................................................... 8
Instrument individual command record.............................................................................. 8
Instrument group command record .............................................................................................. 9
CIU answer records ...................................................................................................................... 9
X-record (identification record)......................................................................................... 10
Time-out record ................................................................................................................ 10
Instrument answer records ......................................................................................................... 11
BCC calculation .......................................................................................................................... 12
ACK characters ........................................................................................................................... 13
Appendix A: Related documents ............................................................................................... 14
Page 4
Introduction
Introduction
The CIU Prime type 880 is the successor of the CIU type 858.
Field ports Up to four input boards can be installed to interface the EN-bus (BPM Bi-
Phase Mark). By replacing one or more input boards by an RS-
232C/RS485 input board, the CIU Prime can interface to the 858 CIU
(Communications Interface Unit).
Host ports Two fixed RS-232C/RS485 output boards interface to a CIU Plus, PLC,
ENSITE, etc.
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 CIU
Prime’s configuration manual.
Received data request records from the host will be handled as follows:
Note:
In case of receiving time-out records from the CIU (no gauge answer)
retry 3 times to retrieve correct data from the CIU before setting an
alarm.
Communication parameters
The following communication parameters are supported:
Start bit 1
Stop bit(s) 1
Ad 1.:
The CIU (858) address in the CIU858 emulation is the last decade of the
decimal representation of the RTU address for host port 2. E.g. in case
RTU address is 123 -> the CIU858 emulation address is 3.
Ad 2.:
The CIU (858) address in the CIU858 emulation is the address of the
connected CIU858.
The address of the connected CIU858 may not be identical to the last
decade of the decimal representation of the RTU address of host port 2.
E.g. in case RTU address is 30, then CIU858 address may not be 0.
Page 6
Communication procedure
Communication procedure
The CIU858 uses a communication protocol based on a request/reply
schedule. The protocol consists of command records and answer records.
In which:
Command records
The following records can be sent to the CIU Prime.
Page 8
Communication procedure
The CIU will answer with a time-out record (see chapter further in this
manual) to the computer system as an acknowledgement that the
instrument group command has been transmitted to all field instruments.
Time-out record
This record will be transmitted to the computer system after an instrument
group command is transmitted to the connected field instruments. The
time-out record will also be transmitted if there was a malfunction in the
field or in case a field instrument is not responding.
Page 10
Communication procedure
BCC calculation
The BCC is calculated by taking the binary sum without carrying over the
seven individual data bits (exclusive or) of all transmitted bytes, according
to ANSI standard X3.28 - 1976. STX is excluded; ETX is included. The
BCC is also called the ‘horizontal parity check’.
Since the BCC summation can produce any one of the 128 code
combinations, be sure to interpret it as the BCC, not as something else.
For example if the value of the BCC is 02 (hexadecimal) do not read this
as an STX character.
BCC character
BCC 0 0 1 1 1 0 0 0 (calculated
over 7 bits)
Page 12
Communication procedure
Here is the answer record from the CIU to the computer system:
BCC character
BCC 0 1 1 1 0 1 0 1 (calculated
over 7 bits)
ACK characters
The computer system always initiates communication with the CIU using a
command record. After sending this record, the computer system must
wait for a reply from the CIU in the form of an answer record. After the turn
around time, an answer record may be sent.
But if the CIU is still busy preparing its reply - or if it is otherwise engaged
in field communication - the CIU transmits ACK characters about every 50
msec. These characters are an ACKnowledgement of the command
record, and show that the CIU intends to send an answer record to the
computer system as soon as possible. The time out period of the computer
system should start again on reception of an ACK character from the CIU.
When a command record is accepted and being processed (i.e. ACK-
characters are sent every 50 msec.) a new command is not accepted.
Page 14
Notes