You are on page 1of 17

Accessories

Communication
Module
Local or Remote
Control

CCLAN MODBus

CCLAN: Communication Option via


MODBUS (IP) Protocol

Quick Reference v1.6_EN


CCLAN MODBus
Communication option via
MODBUS (IP) protocol

1. INTRODUCTION. 1.1. Installing the CCLAN MODBus


Option.
THE FAMILY OF MM7 & MC7
CONTROLLERS ALLOWS THE System Requirements. The CCLAN
SUPERVISION AND REMOTE CONTROL MOD-Bus option needs the following
THROUGH THE CCLAN MODBUS elements for its installation:
OPTION. THE OPTION CCLAN MODBUS
ALLOWS TO ACHIEVE A CONNECTION ·Connection to the controller through the
CAN bus communication.
BETWEEN THE CONTROLLER AND ANY
OTHER DEVICE THAT IMPLEMENT ·Power supply.
SUCH PROTOCOL.
·Connection to the device that implements
the MODBus IP protocol in its master con-
figuration.
1.2. CCLAN MODBus Configuration 1.3. Genset Management.
The CCLAN MODBus option is delivered The CCLAN MODBUS expansion makes it
with an application that allows the confi- possible to monitor and control up to 3 gen-
guration of the option for a correct opera- sets and up to 3 mains.
tion. The configuration of the CCLAN MO-
Each genset is accessed from the slave
DBus is carried out through the MODBus
identifier value (unit identifier) and then up to
protocol. The configuration parameters of
a maximum of 3. That is, for a value of 57h
CCLAN MODBus are:
of the Unit Identifier Offset parameter:
· Unit Identifier Offset: 1h (parameter
·with the management of a 57h MODBUS
HOLDING REGISTER 40601)
device, the genset will be accessed with an
· IP address: 10.0.0.1(parameter HOLDING identifier of 0;
REGISTER 40602)
·with the management of a 58h MODBUS
· Mask Subnet: 255.255.255.0 (parameter device, the genset will be accessed with an
HOLDING REGISTER 40604) identifier of 1;

· Port: 502 (parameter HOLDING REGIS- ·and so on up to a maximum of 3 gensets


TER 40606)
The values of each mains installation should
· Gateway: 10.0.0.1 (parameter HOLDING be accessed using a parameter-rate offset:
REGISTER 40607)
·Mains 0 (Offset 100)
· Control Mode: 0 (parameter HOLDING - input status range from 10101 to
REGISTER 40609)
10118
The configuration parameters of the CC-
- input register range from 30101 to
LAN MODBus option are updated when the
30126
device is re-started and are stored per-
manently, except the Control Mode value - holding register range from 40101 to
which is returned to deactivated status. 40117
· Mains 1 (Offset 100). Cod 0x06: Busy: This is returned when,
upon doing a reading/writing of a para-
- input status range from 10201 to
meter that reads/writes PCB values of
10218
measurements or commutations, the
- input register range from 30201 to parameter has not yet been read/writ-
30226 ten. These operations have a timeout of
10 seconds.
- holding register range from 40201
to 40217 2. MODBUS PROTOCOL
· Mains 2 (Offset 100).

- input status range from 10201 to 2.1. Implemented Functions.


10218
01 READ COIL Status
- input register range from 30201 to 02 READ INPUT Status
30226
03 READ HOLDING REGISTER
- holding register range from 40201
to 40217. 04 READ INPUT REGISTER
05 FORCE SINGLE COIL
1.4. Error Codes during the Execu- 06 PRESET SINGLE REGISTER
tion of the Commands.
16 (10 HEX) WRITE MULTIPLE REGIS-
The implemented MODBUS error co-des TERS
are the following:

Cod 0x02: Illegal Data Address: This is 2.2. Addressing.


returned when the address does not
The PDU plot specifies the starting
correspond to a valid parameter.
address and number of registers.
Cod 0x03: Illegal Data Value: This is re-
The registers are addressed starting
turned when the number of read/write
from the value 0. For example, regis-
logs exceeds the maximum permitted.
ters numbered from 1-16 are addressed as 0
to 15.

The notation used in the registers’ map


applies the following rule:

Max.
Function Type Registers Block Offset Registers Adressing

01 R Coil 1 - 10000 1 256


05 w Status 1 - 10000 1 1
Input
02 R Status 10001 - 20000 10001 256
0 ... 9999
Input
04 R Registers 30001 - 40000 30001 256

03 R 40001 - 50000 40001 1


06 w 40001 - 50000 40001 1
16 w Holding 40001 - 40600 40001 1 0 ... 599
registers
40601 – 40611
16 w 40001 10 600 ... 610
(Configuration)

Examples of frames and addressing. Devi-


ce Address: 87 (dec)
Function: READ COIL
Initial Register: 1
Registers number: 10
[57][01][00][00][00][0A][B0][3B]
Function: FORCE SINGLE COIL 2.3. Register Mapping
Initial Register: 1
Registers number: 1 COIL STATUS
value: ON
[57][05][00][00][FF][00][80][0C] 00001 Reset

Function: READ INPUT 00002 Engine Start (NOTE: External Con-


Initial Register: 10001 trol Mode – parameter 40609 – must be
Registers number: 16 enabled).
[57][02][00][00][00][10][75][F0]
00003 Engine Stop (NOTE: External Con-trol
Function: READ HOLDING Mode – parameter 40609 – must be
REGISTER Initial Register: 40001 enabled).
Registers number: 1
[57][03][00][00][00][01][88][3C] 00004 Automatic Mode
00005 Manual Mode
Function: READ INPUT
REGISTER Initial Register: 30008 00006 Test Mode
Registers number: 4
00007 Locked Mode
[57][04][00][07][00][04][4C][3E]
00008 Activate / Deactivate Fuel Transfer
Function: PRESET SINGLE REGISTER
Pump (NOTE: External Control Mode – pa-
Initial Register: 40003
rameter 40609 – must be enabled).
value: 30
[57][06][00][02][00][1E][A4][34] 00009 Activate / Deactivate (toggle) Genset
Contactor (NOTE: External Control Mode –
Function: WRITE MULTIPLE REGISTER
parameter 40609 – must be enabled).
Initial Register: 40003
Registers number: 1 00010 Activate / Deactivate (toggle) Mains
value: 60 Contactor (NOTE: External Control Mode –
[57][10][00][02][00][01][02][00][3C][70][00] parameter 40609 – must be enabled).
Positions 00101 Coils of INPUT STATUS
the Switch Board 0

Positions 00201 Coils of 10001 High Water Temperature


the Switch Board 1
10002 Low Oil Pressure
Positions 00301 Coils of
10003 Emergency Stop
the Switch Board 2
Switching 0 10004 Failure in the Battery Alternator

00101 Switching Alarms Reset 10005 Failure to Start

00102 Automatic Mode 10006 Low Water Level

00103 Manual Mode 10007 Fuel Reserve

00104 Test Mode 10008 Over Speed

00105 Locked Mode 10009 Under Speed

00106 Activate / Deactivate (toggle) Genset 10010 Overload


Contactor (NOTE: External Control Mode –
10011 Genset Signal Asymmetry
parameter 40609 – must be enabled).
10012 Maximum Voltage in Genset Signal
00107 Activate / Deactivate (toggle) Mains
Contactor (NOTE: External Control Mode – 10013 Maximum Frequency in Genset Signal
parameter 40609 – must be enabled).
10014 Failure in Phases Sequence of Genset
10015 Reverse Power
10016 Low-Voltage Battery
10017 Pre-Alarm: Low Water Temperature
10018 Pre-Alarm: Low Oil Pressure
10019 Low Fuel Level 10038 Failure to Activate CG
10020 Short Circuit 10039 Alarm 4
10021 Minimum voltage in Genset Signal 10040 Alarm 5
10022 Minimum Frequency in Genset Signal 10041 Secondary Low-voltage Battery
10023 Unexpected Stop Positions 10101 – 10116: Errors
in the Switch Board 0
10024 Failure to Stop
10025 Low Engine Temperature Positions 10201 – 10216: Errors
in the Switch Board 1
10026 Group Signal Drop In
Positions 10301 – 10316: Errors
10027 Alarm 1 in the Switch Board 2
10028 Alarm 2 Switching 0
10029 Alarm 3
10101 Maximum voltage in Mains Signal
10030 Failure to Communicate with Switch Board
10102 Minimum voltage in Mains Signal
10031 Maximum voltage in Mains Signal
10103 Maximum Frequency in Mains Signal
10032 Minimum voltage in Mains Signal
10104 Minimum frequency in Mains signal
10033 Maximum Frequency in Mains Signal
10105 Failure in Phases Sequence of Mains
10034 Minimum Frequency in Mains Signal
10106 Mains Signal Drop in
10035 Failure in Phases Sequence of Mains
10107 Failure to Activate CR
10036 Mains Signal Drop in
10108 Failure to Activate CG
10037 Failure to Activate CR
10109 Genset Signal Asymmetry
10110 Minimum Voltage in Genset Signal INPUT REGISTERS
10111 Maximum Voltage in Genset Signal
30001 Mains Frequency (Hz x10)
10112 Minimum Frequency in Genset Sig-
nal 30002 Mains Voltage 12 (Volt)

10113 Maximum Frequency in Genset Sig- 30003 Mains Voltage 23 (Volt)


nal 30004 Mains Voltage 13 (Volt)
10114 Failure in Phases Sequence of 30005 Mains Voltage 1N (Volt)
Gen-set
30006 Mains Voltage 2N (Volt)
10115 Group Signal Drop In
30007 Mains Voltage 3N (Volt)
10116 Emergency Stop
30008 Genset Frequency (Hz x10)
10117 Programmable Alarm
30009 Genset Voltage 12 (Volt)
10118 Failure to Stop
30010 Genset Voltage 23 (Volt)
10119 Programmable display alarm 2: Ex-
ternal mode switch board 30011 Genset Voltage 13 (Volt)
30012 Genset Voltage 1N (Volt)
10120 Programmable display alarm 3: Ex-
ternal mode switch board 30013 Genset Voltage 2N (Volt)
10121 Programmable display alarm 4: Ex- 30014 Genset Voltage 3N (Volt)
ternal mode switch board
30015 Phase-1 Current (Ampere)
10122 Programmable display alarm 5: Ex-
30016 Phase-2 Current (Ampere)
ternal mode switch board
30017 Phase-3 Current (Ampere)
30018 Flags Current
For all the PFC information: 30030 Engine Water Temperature (ºC x10)
The first byte indicates (0000T321): 30031 Oil Pressure (bar x10)
1-PFC1 1-Inductive / 0-Capacitive 30032 Oil Temperature (ºC x10)
2-PFC2 1-Inductive / 0-Capacitive 30033 Sensors Detection –7 –

6 B 5 D 4 C 3 T2 P 1 N 0
3-PFC3 1-Inductive / 0-Capacitive
N: 1-Present Fuel Level Sensor
T-Total PFC P: 1-Present Pressure Sensor
30019 PFC Total T: 1-Present Water Temperature Sensor
C. 1-Present Oil Temperature Sensor
30020 PFC1 A. 1-Present Alternator Sensor
30021 PFC2 30034 Units -7-6-5-4-3-2T1P0
30022 PFC3 T: Temperature Units: 0-ºC/1-ºF
30023 Real Power (P) P: Pressure Units: 0-Bars/1-Psi

30024 Apparent Power (S) 30035 Total Instant Power


(per hour). Parte 1 (Most Significant)
30025 Reactive Power (Q)
30036 Total Instant Power (per
hour). Parte 2 (Least Significant)
The following information does
30037 Partial Instant Power (per
not exist for the switch board:
hour). Parte 1 (Most Significant)
30026 Speed (RPM)
30038 Partial Instant Power (per
30027 Fuel Level (% x10) 30028
hour). Parte 2 (Least Significant)
Alternator Voltage (V x10) 30029
30039 Power per Day
Battery Voltage (V x10)
30040 Power per Month
30041 Power per Year 30101 Mains Frequen-
cy (Hz x10) Switching 0
30042 Total Running Time. Parte 1
(Minutes, Most Significant Part) 30102 Mains Voltage 12 (Volt) Switching 0

30043 Total Running Time. Parte 2 30103 Mains Voltage 23 (Volt) Switching 0
(Minutes, Least Significant Part) 30104 Mains Voltage 13 (Volt) Switching 0
30044 Partial Running Time. Parte 1 30105 Mains Voltage 1N
(Minutes, Most Significant Part) (Volt) Switching 0
30045 Partial Running Time. Parte 2 30106 Mains Voltage 2N (Volt) Switching 0
(Minutes, Least Significant Part)
30107 Mains Voltage 3N (Volt) Switching 0
30046 Successful Starts
30108 Genset Frequen-
30047 Unsuccessful Starts cy (Hz x10) Switching 0
30048 Number of Switch Panels Asso-ciated 30109 Genset Voltage 12 (Volt) Switching 0
(0 – 5). Fh value: Automatic Panel
30110 Genset Voltage 23 (Volt) Switching 0
30049 Secondary Battery Voltage
30111 Genset Voltage 13 (Volt) Switching 0
30112 Genset Voltage 1N (Volt) Switching 0
Positions 30101 – 30125:
Switch Board Values 0 30113 Genset Voltage 2N (Volt) Switching 0

Positions 30201 – 30225: 30114 Genset Voltage 3N (Volt) Switching 0


Switch Board Values 1
30115 Phase-1 Current (Am-
Positions 30301 – 30325: pere) Switching 0
Switch Board Values 2
30116 Phase-2 Current (Am-
Switching 0 pere) Switching 0
30117 Phase-3 Current (Am- HOLDING REGISTERS
pere) Switching 0
30118 Current Flags Switching 0 40001 Number of Starts
30119 Total PFC Switching 0 40002 Time Interval between Starts
30120 PFC1 Switching 0 40003 Start Delay
30121 PFC2 Switching 0 40004 Glow Plug Preheating Time
30122 PFC3 Switching 0 40005 Start-Up Time
30123 Real Power (P) Switching 0 40006 Load Activation Time
30124 Apparent Power (S) Switching 0 40007 Nominal Condition Time
30125 Reactive Power (Q) Switching 0 40008 D+ Activation Time
30126 Mains Control Type: 40009 EJP1 Activation Delay Time
00h: Mains Control for 40010 Mains Activation Delay
Automatic Genset
40011 Cooling Time
01h..04h: Switching Mains Control
40012 PE Activation Time
Associated with a Genset (Associa-
ted Genset Identifier from 0 to 4) 40013 Counter Detection Time
0Fh: Switching Mains Con- 40014 Maximum Alarm Activation Time
trol in External Mode
40015 Three-phase, Two-phase, Single-
phase or Three-phase without Neutral
40016 Maximum Genset voltage
40017 Minimum Genset voltage
40018 Maximum Genset Asymmetry Value 40035 Starting Voltage in the Alternator
40019 Maximum Genset Frequency 40036 Starting Speed (PICK UP)
40020 Minimum Genset Frequency 40037 RESERVED
40021 Maximum Genset Current 40038 Engine Flywheel Teeth

40022 Short Circuit Detection 40039 Fuel Reserve Level


40023 Genset Nominal Power 40040 Low Oil Pressure Threshold
40024 Maximum Reverse Power 40041 High Water Temperature Threshold

40025 Maximum PICK UP Speed 40042 Low Engine Tempe-


rature through Sensor
40026 Minimum PICK UP Speed
40043 Minimum Preheating Temperature
40027 Maximum Mains Voltage
40044 Maximum Preheating Temperature
40028 Minimum Mains Voltage
40029 Maximum Mains Frequency
Positions 40101 – 40116:
40030 Minimum Mains Frequency Switch Board Values 0
40031 Minimum Battery Voltage Positions 40201 – 40216:
Switch Board Values 1
40032 Fuel Transfer Pump: Mi-
nimum Fuel Level Positions 40301 – 40316:
Switch Board Values 2
40033 Fuel Transfer Pump:
Maximum Fuel Level Switching 0
40034 Starting Voltage in 40101 Three-phase, Two-phase, Single-
the Genset Signal
phase or Three-phase without Neutral 40601 Unit Identifier Offset

40102 Maximum Genset Voltage 40602 IP Address (Hi)


40603 IP Address (Lo)
40103 Minimum Genset Voltage
40604 Mask Subnet (Hi)
40104 Maximum Genset Asymmetry Value
40605 Mask Subnet (Lo)
40105 Maximum Genset Frequency
40606 Port
40106 Minimum Genset Frequency
40607 Gateway (Hi)
40107 Maximum Genset Current
40608 Gateway (Lo)
40108 Short Circuit Detection
40609 External Control Mode: Enables
40109 Genset Nominal Power the MODBUS CCLAN device’s control
over the gensets (only if the gensets
40110 Maximum Reverse Power
are in automatic mode) to control
40111 Maximum PICK UP Speed start-ups, stops and activation of
contactors. When external control
40112 Minimum PICK UP Speed mode is activated by the MODBUS
40113 Maximum Mains Voltage CCLAN device, the text CONTROL PC
will appear on the controllers.
40114 Minimum Mains Voltage
40610 Version
40115 Maximum Mains Frequency
IP Address Examples:
40116 Minimum Mains Frequency
IP Address to Set = 192.168.32.21
40117 Starting Voltage Va- Hexadecimal Address=
lue (only External Mode) 0xC0,0xA8,0x20,0x15
IP address (Hi) = 0xC0A8
Connection Parameters Configuration IP address (Lo) = 0x2015
LED COLOR STATUS DESCRIPTION
After verifying the Ethernet
Standby ON
connection, it will turn on.
ON GREEN
When LAN connection is established, it will
Connection Flashing
flash until this is turned off.
If there is no data in the bus, or if there is
Standby OFF an error in the data transmission, CAN will
CAN YELLOW remain off.
When there is traffic, CAN will begin to
Connection Flashing
flash.
Standby OFF No errors in the CAN Bus.
The CCLAN device’s CAN Bus has entered
RED Flashing
deactivation mode.
Error ON An error in CAN Bus traffic has occurred.
There is no data transmission in the
Standby OFF
ACT YELLOW Ethernet Bus.
Connection Flashing Data transmission in the Ethernet Bus.
Standby OFF No connection with the LAN network.
LNK GREEN
Connection ON LAN connection established.
LAN network speed 100Mb.
High ON
SPD GREEN
Low OFF LAN network speed 10Mb.

Table 1: LED status.


3. TECHNICAL DATA
PHYSICAL CHARACTERISTICS
Element Characteristics
Dimensions 100x50x25mm
Ethernet Bus
RJ45 Female Connector with filter.
Connection
CAN Bus Connection Weidmüller Male Connector (SL 3.5/3/90G)
Supply Connections Weidmüller Male Connector (SL 3.5/2/90G)

Table 2: CCLAN MODBUS


Characteristics

SIGNAL DESCRIPTION TYPE CHARACTERISTICS


CCLAN Supply Voltage
+ Positive Supply Supply
(8 V to 24 V)
- Negative Supply Supply CCLAN Negative Battery
CANL CANL Line CAN Bus Bus CAN Communication
CANH CANH Line CAN Bus Bus CAN Communication
TX+ Positive Data Transmission RJ45 LAN Communication: pin 1
TX- Negative Data Transmission RJ45 LAN Communication: pin 2
RX+ Positive Data Reception RJ45 LAN Communication: pin 3
BI+ Positive Bidirectional Data RJ45 LAN Communication: pin 4
SIGNAL DESCRIPTION TyPE CHARACTERISTICS
NC Not Connected RJ45 LAN Communication: pin 5
RX- Negative Data Reception RJ45 LAN Communication: pin 6
BI+ Positive Bidirectional Data RJ45 LAN Communication: pin 7
NC Not Connected RJ45 LAN Communication: pin 8

Table 3: CCLAN MODBUs Connections

SUPPLY

ETHERNET

RJ45
TERMINATOR

Illustration 1.
CCLAN MODBUS Physical Connections

You might also like