CIU Operating Instructions 4.18
CIU Operating Instructions 4.18
Edition 4.18
2 ABBREVIATIONS ................................................................................................. 4
6 ERROR CORRECTION....................................................................................... 13
6.1 Error Table SIM ..................................................................................................................................... 13
7 MODBUS COMMUNICATION............................................................................. 22
7.1 Definition of the MODBUS protocol .................................................................................................... 22
7.1.1 ID - Address .................................................................................................................................... 23
7.1.2 Transmission Medium .................................................................................................................... 23
7.1.3 Baud-Rate ...................................................................................................................................... 23
7.1.4 Parity .............................................................................................................................................. 23
7.1.5 Stop-Bit ........................................................................................................................................... 23
7.1.6 Transmission Mode ........................................................................................................................ 23
7.1.7 Error detection ................................................................................................................................ 24
7.1.8 Data and Control Functions ............................................................................................................ 24
7.1.9 Exception Response ....................................................................................................................... 25
7.1.9.1 Function Code Field ................................................................................................................... 25
7.1.9.2 Data field .................................................................................................................................... 25
2 Abbreviations
The following abbreviations will be used throughout this manual
Fig. 3 shows the Plug-in terminals for connection of the cables in the control
cabinet.
binary GIM inputs binary GIM outputs load signal (4…20mA) per SIM
Checking of configuration:
The checking of the configured parameters - especially after operating
conditions have changed - can only be done with the assistance of the
HSS (cf. HSS operating instructions).
The first digit indicates the number of the SIM or stage respectively
Errors at SIMs and Actuators have a different cause, that means that the
error 101 and 111 is different in both, place of error and cause of error.
Each message activates a relay output to the DCS. There are three
outputs: Error, Maintenance und Phyd low which are activated depending
of the sort of message.
Make a list of errors. Enter the error which occurred for each SIM and
each Actuator of the respective SIM with the 3-digit code:
st
1 digit shows the SIM number
2
nd
digit shows the place of error
rd
3 digit shows the kind of error
The display shows the error first occurred.
By pressing the button below the error display you can change to the
next error message.
After having noted all the errors you can clear all the error messages
from the memory by pressing and holding the button for 3-4 sec.
Error messages will immediately occur again after Clear, if the error
condition is still valid.
If the CIU reports an error to the DCS, the diode Error is on.
If the CIU reports maintenance to the DCS, the diode Maintenance is
on.
If the CIU receives the simulation signal from the DCS, the diode
Simulation is on.
If the CIU receives the signal Enable from the DCS, the diode Enable is
on.
The diode TDC flashes with working TDC-sensor.
The diode CIU on shows that the CIU is operating.
X01 RS485 bus defective (error Error (ER) correct data transfer between CIU
on data line between SIM and field devices
and actuator, bus conflict,
short circuit)
X03 Transfer error RS485 bus Error (ER) correct data transfer between CIU
(check sum error) and actuator
X06 control variable out of Error (ER) control variable > 3mA
range
(current < 3mA)
Remarks
XY0 failure of an Actuator (no Error (ER) correct data transfer between CIU and
answer from this actuator) actuator
XY1 Hydraulic pressure low (below Phyd Low (HY) Hydraulic pressure above limit
limit)
XY2 Supply voltage for actuators Error (ER) return of supply voltage above 43V
below 39 V
XY4 short circuit in solenoid circuit Error (ER) remove short circuit
(monitoring only when (monitoring only when solenoid is triggered)
solenoid is triggered)
XY5 Open circuit in solenoid circuit Error (ER) remove open circuit in electric solenoid
(monitoring only when circuit (monitoring only when solenoid is
solenoid is triggered) triggered)
Remarks
X denotes the number of the SIM (1 to 6).
Y standing for the ACT number 1-8
Errors Y0, Y2, Y4, and Y5 trigger the signal ERROR to the DCS. Compressor control is in an
undefined condition, and error logic has to be implemented in the DCS.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
This error usually occurs with a defective data line (cable, plug...)
between the CIU and the actuators.
Check the cable sockets and connection points on the backplane of the
CIU.
After shutting down the compressor it is recommended to check the bus
wiring.
If the bus line is O.K. replace the respective SIM.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Configure the CIU with the HydroCOM Service Software (refer to HSS
user manual).
During the first preparation of a project the counter of operating hours and
CIU time have to be set, otherwise the error will not reset.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Check whether the power supply (IPS) works correctly. Check supply
voltage and fuse.
Check the green lights on IPS and GIM
Replace the GIM resp. the IPS
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Check whether the signal line between the CIU and the DCS is O.K.
Watch out for line break and defective plug-in connections.
Check correct wiring according to assembly and installation
specification.
Check the analogue output card of the DCS.
Disconnect the 3-pole connector belonging to this SIM at the back of the
CIU and measure the current between terminal C+ and C- of the cable
socket. The control signal must be above 3mA.
If the control signal is correct and the ERROR message is still active
after checking the cable connection the respective SIM has to be
replaced.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
A date or the number of operating hours can be configured in the HSS. The
days up to the next service can be transmitted to the operator via Modbus.
When the date or operating hours are reached, the maintenance signal on
the CIU is activated and the LED indicator lights up. A maintenance
reminder is sent to the operator via binary output or Modbus.
After the service has been carried out, the operating hours counter or the
date of the next service has to be set again.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
6.4.2 Error xy1 - Hydraulic Pressure Too Low (Errors only possible for systems before 2003)
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Check whether the supply voltage is correct. Check the safety cutout.
Measure the voltage output of the EPS.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
This error occurs when actuators are removed and installed without
switching off the power supplies of EPS and CIU.
Checklist:
Repair work may be carried out only by Hoerbiger trained personnel.
Check if socket and plug between seal housing and valve housing are
not damaged.
Check if there is corrosion/dirt on the socket of on the plug
Change seal housing
Change valve housing
Sketch:
MODBUS Master
e.g. DCS / PLC
MODBUS Network
Slave 1
e.g. CIU Slave 2 Slave n
ID – Address
Transmission medium (RS232 or RS485)
Baud-rate
Parity
Number of Stop-Bits
Transmission mode (ASCII or RTU)
The master can send a new message as soon as the slave has responded
or after a defined delay has passed. In broadcast-mode only messages can
be sent which do not trigger a response.
7.1.3 Baud-Rate
The Baud-rate equals to the sum of data-bits and control bits per seconds.
According the Modicon MODBUS Protocol Reference Guide a lot of
different Baud-rates are theoretical possible, but only few are usual (cf.
7.2.1)
7.1.4 Parity
The configuration of the parity bit sets the devices to use this control bit or
not.
7.1.5 Stop-Bit
The configuration of the stop bit sets the devices to use this control bit or
not. The number of stop-bits depends on the parity bit.
Overview:
General functions:
The Slave receives the query with communication error (e.g..: query not
complete), then no response is returned. The master program will
generate a Time-out for this query.
The Slave receives the query without communication error, but the
query cannot be handled (e.g.: read a non-existing register). The slave
returns an exception response. The master is informed about the error.
Error codes:
ode Name Meaning
01 ILLEGAL FUNCTION The Command is not supported by the Slave.
02 ILLEGAL DATA ADDRESS Data addresses are not supported.
03 ILLEGAL DATA VALUE A value is not admissible.
04 SLAVE DEVICE FAILURE An error is detected while the query is
processed.
05 ACKNOWLEDGE The query is accepted and handled. However
handling takes so long that a master time-out
might occur. Therefore the Master is informed
with this error code.
06 SLAVE DEVICE BUSY The Slave is busy with a duty taking much time.
The Master shall inquire later again.
07 NEGATIVE ACKNOWLEDGE The Slave cannot carry out the program task.
08 MEMORY PARITY ERROR A memory error is detected.
30001
CIU Status
30002
IO
These registers store the 4..20mA signal if the hard-wired control mode is
configured. Otherwise, in the MODBUS control mode, values of the
registers 40001 to 40006 are copied.
30009
Speed
Engine hours: counts full hours, when compressor runs above 100 RPM.
30010 30011
CTR1 Low CTR1 High
HydroCOM control hours: counts full hours, when compressor runs above
100 RPM and signal ENABLE is set.
30012 30013
CTR2 Low CTR2 High
30014
Days to next service
; failure Actuator
; d00 .. failure ACT1 (1- active)
; d01 .. failure ACT2 (1- active)
; d02 .. failure ACT3 (1- active)
; d03 .. failure ACT4 (1- active)
; d04 .. failure ACT5 (1- active)
; d05 .. failure ACT6 (1- active)
; d06 .. failure ACT7 (1- active)
; d07 .. failure ACT8 (1- active)
; d11-d15 Spare
30022 30023
SIM1 SIM-Error Failure ACT
30024 30025
SIM2 SIM-Error Failure ACT
30026 30027
SIM3 SIM-Error Failure ACT
30028 30029
SIM4 SIM-Error Failure ACT
30030 30031
SIM5 SIM-Error Failure ACT
30032 30033
SIM6 SIM-Error Failure ACT
The actual control variable acting onto the actuators (independently whether
MODBUS-controlled or hard-wired) is stored in registers 30003 to 30008.
(cf. section 7.2.2.1.3).
Function 03 does not read the hardware inputs but the MODBUS-flags.
Actual binary signals (regardless which control mode is configured) can be
read out from register 30002 (cf. section 7.2.2.1.2).
40007
IO
; Digital IO's
; d00 .. Clear error report SIM 1 (1-active)
; d01 .. Clear error report SIM 2 (1-active)
; d02 .. Clear error report SIM 3 (1-active)
; d03 .. Clear error report SIM 4 (1-active)
; d04 .. Clear error report SIM 5 (1-active)
; d05 .. Clear error report SIM 6 (1-active)
; d06 – d15 .. Spare
40008
IO
The decimal value (129) gives a binary value (10000001). Then this binary
value has to be filled up into a 16-bit binary format:
7 0
129 = 12 + 12 = 1 0 0 0 0 0 0 1
15 7 6 5 4 3 2 1 0
2 ... 2 2 2 2 2 2 2 2
fill up:
0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
d15 d14 d13 d12 d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
Output: 387
387 = 110000011
fill up:
0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1
d15 d14 d13 d12 d11 d10 d09 d08 d07 d06 d05 d04 d03 d02 d01 d00
CIU on, HU not running, Compressor not running, no enable set, failure
at SIM 1
Status: Error, not ready for operation, refer to register 30022 and 30023
for a detailed failure analyse.
0 … -25°C
4095 … 125°C
2000 … ? °C linear equation: y=kx+d
x … y
0 … -25°C -25 = k 0 + d
4095 … 125°C 125 = k 4095 + d
d = -25
125 = k 4095 - 25
k = 0,03663
Description
The Maintenance and the Error outputs of HydroCOM 4.1 shall be called
up. Broadcast is not possible.
Query
Query
Slave Address 11
Function 04
Offset HI 00
Offset LO 00
Number of points HI 00
Number of points LO 01
Check sum ..
(CRC or LRC)
Response
The register (16 bit) is packed into the response data field (2 Bytes).
State:
1 ON output active (LED on)
0 OFF output inactive (LED off)
Response
Slave Address 11
Function 04
Byte counter 02
Data HI (Register 30001) 00
Data LO (Register 30001) 03
Check sum ..
(CRC or LRC)
Description
The MODBUS function 08 supports a number of test routines in order to
detect internal failures of the slave. Broadcast is not possible.
The function uses a two-byte subfunction. The slave echoes slave address,
function code and subfunction.
Query
Slave Address 11
Function 08
Subfunction HI 00
Subfunction LO 00
Data HI A5
Data LO 37
Check sum ..
(CRC or LRC)
Response
Response
Slave Address 11
Function 08
Subfunction HI 00
Subfunction LO 00
Data HI A5
Data LO 37
Check sum ..
(CRC or LRC)
In the RTU-mode the CRC error detection code is used and in the ASCII-
mode the LRC-check (Longitudinal Redundancy Check) is used.
7.4.3.1 CRC
(RTU-mode)
In order to define the CRC code the following steps must be taken.
2. Exclusive OR the first 8-bit byte of the message with the low-order byte of the 16-
bit register. The result should again be filed in the 16-bit register.
4a. If the bit shifted out is a 1, exclusive-or the register with 1010 0000 0000 0001.
6. Exclusive OR the next 8-bits of the message with the low-order byte of the 16-bit
register. The result should again be filed in the 16-bit register.
8. The contents of the 16-bit register is the 2-byte CRC code and is added to the
message with the low-order byte at first place.
void main()
{
int i,ii;
crc = ~0;
} /* main() */
The accumulated sum of all data is made. ´:´, CR and LF are not used for
calculation..
#include <stdio.h>
void main()
{
int i;
lrc = 0;
} /* main() */
Practical test:
Example 1 (ASCII):
The following string was received by the automation software LOOKOUT:
:010300000001FB
It could be reproduced with test program asc_lrc2.c (msg[] = {0x01, 0x03,
0x00, 0x00, 0x00, 0x01 }) of LRC 0xFB.
Example 2 (ASCII):
The following string was received by the automation software LOOKOUT:
:050400010001F5
Example 3 (RTU):
The following string was received by the automation software LOOKOUT:
0x05, 0x04, 0x00, 0x01, 0x00, 0x01, 0x61, 0x8E