If these safety instructions are not observed, CIM 500 Modbus TCP Caution it may result in malfunction or damage to the Modbus RTU, CIM 200 setup equipment. Setting the Modbus transmission speed Setting the parity Notes or instructions that make the job easier...
Modbus is a fieldbus used worldwide. The data in this document are subject to change without prior The TCP version is adapted for use as an notice. Grundfos cannot be held responsible for any problems Modbus TCP application protocol on TCP/IP using...
Modbus module. It can either be mounted on a DIN rail or on a wall. GENIbus RS-485 It is used in conjunction with Grundfos E-pumps that do not CIU 250 support an internal, add-on communication module (CIM). See fig. 2.
182 x 108 x 82 mm 4.2 CIM 200 Modbus RTU The table below provides an overview of the specifications for the Grundfos CIM 200 and CIU 200. For further details, please refer to the specific sections of this functional profile. Modbus RTU specifications...
4.3 CIM 250 GSM/GPRS The table below provides an overview of the specifications for the Grundfos CIM/CIU 250. For further details, please refer to the specific sections of this functional profile. Modbus GSM/GPRS specifications Description Comments Data protocol Modbus RTU/Modbus TCP GSM call-up uses RTU.
5. Modbus RTU, CIM 200 setup 5.1 Setting the Modbus transmission speed The transmission speed must be set correctly before the CIM 200 Modbus module is ready to communicate with the Modbus network. DIP switches SW4 and SW5 are used for setting the transmission speed.
5.4 Termination resistor The termination resistor is fitted on the CIM 200 Modbus module and has a value of 150 Ω. The CIM 200 has a DIP switch with two switches (SW1 and SW2) Fig. 9 Parity for cutting the termination resistor in and out. Figure shows the DIP switches in cut-out state.
5.5 Status LEDs The CIM 200 Modbus module has two LEDs.See fig. 7. • Red/green status LED (LED1) for Modbus communication • Red/green status LED (LED2) for internal communication between the CIM 200 and the Grundfos product. LED1 Status Description No Modbus communication.
If the CIU 250 is installed in a metal control cabinet, Grundfos recommends fitting an external GSM antenna. Note Grundfos offers different kinds of antennas. No antenna is supplied with the CIU 250. It must be ordered separately. External antenna Connect the antenna cable to the SMA connection (pos.
Page 11
The connectors on the SIM card must face These safety precautions must be observed: inwards towards the CIM 250. See fig. 14. • Only insert the approved Grundfos battery pack (97631960). • Never use this battery pack in other battery chargers. •...
6.2 Status LEDs The CIM 250 GSM module has two LEDs. See fig. 12. • Yellow/green status LED (LED1) for GSM/GPRS communication. Red/green status LED (LED2) for internal communication between the CIM 250 and the E-pump. LED1 (yellow/green) 1 sec. 3 sec.
7. Modbus TCP, CIM 500 setup 7.2 Setting the Industrial Ethernet protocol The CIM 500 Ethernet module has a rotary switch for selection of Warning the Industrial Ethernet protocol. See fig. 19. The CIM 500 must only be connected to SELV or SELV-E circuits.
Red/green status LED (LED2) for internal communication • Configure the PC Ethernet port to the same subnetwork as the between the CIM 500 and the Grundfos product. CIM 500, e.g. 192.168.1.101, and the subnet mask to LED1 255.255.255.0. See section A.1 How to configure an IP...
8. Modbus function code overview The supported function codes are shown in the table below: Type Code Name 0x03 Read holding registers 0x04 Read input registers 16-bit data (registers) 0x06 Write single register 0x10 Write multiple registers Diagnostics Diagnostics See section 13.6 Diagnostics (0x08) for subcodes.
9. Modbus register addresses 9.1 Register block overview The Modbus RTU registers are grouped in the following register blocks: Start address Register block Permissions Description 00001 CIM configuration Configuration of the CIM module. 00021 CIM status Status registers for the CIM module. 00101 Pump control Registers for control of the E-pump.
This register holds the active Modbus address. The default value is 0xE7 (231), and there is normally no need to change this value. 00003 SoftwareDefinedModbusAddress Note: For CIM 200, this value is used only when the transmission speed ● ● is set to "Software-defined" on DIP switches SW4 and SW5.
Holds a data error counter for the GENIbus connection to the E-pump. ● ● ● 00023 VersionNumber A Grundfos-specific version number. This is an unsigned integer value. ● ● ● Holds the current Modbus slave address of the device. 00024 ActualModbusAddress ●...
Page 19
Address Register name Description Sets the control mode enumeration. Some modes are not supported by all E-pumps. Constant speed Constant frequency Constant head Constant pressure Constant differential pressure 00102 ControlMode Proportional pressure Constant flow Constant temperature Constant level 128: AUTO ADAPT 129: FLOW (set FLOW...
9.5 Pump status register block Registers in this register block can be read by means of function codes 0x03 and/or 0x04. They are read-only. Address Register name Description Bits 0-1: RESERVED Indicates if the MaxFlowLimit is enabled (enable with register 00101, bit 5). Only available on MAGNA3 and MGE model H.
Page 21
00204 OperationMode 4: OpenLoopMin (running at minimum speed) 6: OpenLoopMax (running at maximum speed). 00205 AlarmCode The Grundfos-specific alarm code. See section 16. Grundfos alarm and warning codes. 00206 WarningCode The Grundfos-specific warning code. See section 16. Grundfos alarm and warning codes.
9.6 Pump data register block Registers in this block can be read by means of function codes 0x03 and/or 0x04. They are read-only. The table below shows which registers each E-pump type supports. Table legend Only available on MAGNA3. 3-phase only. CUE: CUE drive only.
Page 23
Direct measurement, where an analog or temperature input has been configured to Remote differential temperature • PumpLiquidTemp (register 00322) measured by build in Grundfos sensor and RemoteTemp2 (register 00337) measured by analog or temperature input. • RemoteTemp1 (register 00320) and RemoteTemp2 (register 00337) measured by analog or temperature input.
9.7 Sensor-dependent measurements As appears from the table, many of the measurement registers require a particular sensor to be present. Because a limited number of sensors are available, only a few of the "S" marked data modules will be available simultaneously. The sections following describe the relation between available Modbus measurement registers and the setup of sensors.
10. Detailed descriptions of registers 10.1 Control mode The supported control modes are described further in this section. The control mode is set with register 00102 and its status can be read from register 00203. Control modes Description Illustration Open loop The setpoint of the E-pump will be interpreted as >...
10.2 Setpoint The setpoint is written to register 00104 and the actual setpoint can be read from register 00308. Register 00104 setpoint accepts values ranging from 0 to 10000 (0 % to 100 %). This is illustrated in fig. 21. The setpoint is a percentage of the maximum setpoint or sensor maximum (max.
10.3 Alarms and warnings Code Alarm/warning description Motor bearing temperature high (Pt100) in non-drive Address Name Description end (NDE) 00206 WarningCode Code for E-pump warning. Inrush fault 00205 FaultCode Code for E-pump alarm. Communication fault, internal frequency converter In the WarningCode register, the cause of an E-pump warning module can be read.
Install the CIM 200 in the Grundfos pump according to the pump documentation. Complete the pump configuration, e.g. sensor configuration and local mode. This can be done either on the pump control panel, via the R100 or Grundfos GO Remote or Grundfos PC Tool E-Products. Select the Modbus slave address (1-247).
11.4 Hardware setup (CIU 250 GSM call-up) Step Action Connect the GENIbus cable from the CIU 250 to the Grundfos product. See fig. 5 in the "CIU, Communication Interface Unit installation and operating instructions". Fit a GSM antenna to the CIM module SMA connector. See section 6.1.1 Fitting a GSM...
11.7 Modbus TCP communication setup (CIM 500) Step Action Install the CIM 500 in the Grundfos E-pump according to the pump documentation. Select position 1 at the protocol rotary switch. See section 7.2 Setting the Industrial Ethernet protocol. Power on the E-pump, and observe LED2 turn steady green and LED1 remaining off.
12. Detailed descriptions of functionality 12.1.3 GSM call-up options setup To prepare the CIU 250 for Modbus communication with a SCADA system via GSM, some settings have to be made via 12.1 GSM SMS commands: 12.1.1 Call-up functional description • Setting a SCADA PIN code: SETSCADACODE <access code>...
Page 33
• Select GENIpro port number: GENIPROPORT <port no.> Default value is 49152. This is only relevant when using Grundfos PC Tools. It is possible to configure the GPRS connection with a single multi-parameter command: • SETGPRS <parameter 1, parameter 2, parameter 3, …>...
Page 34
12.2.4 Operation When powering on a CIU 250 with the correct GPRS setting, the It is possible to use SMS communication while GPRS following GPRS connection sequence will take place: communication is active. However, in the "Connected" state the delay time between reception and reply will increase. 1.
13. Modbus RTU telegram examples Example of response from slave to master CRC fields are not shown in the following Field Value Note examples. Address 0x01 The Modbus data model states that registers Function code 0x03 numbered X are addressed in telegrams as X - 1, Byte count 0x06 Note...
This function provides a test for checking the communication slave. The request telegram specifies the address of the register system between the master and the Grundfos slave. It contains a that is to be written. Register addresses start from zero, meaning single-byte subcode to identify the test to be performed.
This section shows how to read the first four registers of the CIM configuration register block. Bit Description In the example, slave address 0x01 is used. Communication failure (with the Grundfos E-pump). Request from master to slave EEPROM self-test failed (the test is carried out when Field...
13.11 Setting the control mode 13.13 Stopping the E-pump This section shows how to set a control mode. This section shows how to stop the E-pump. In the example, slave address 0x01 is used, and the control mode In the example, slave address 0x01 is used. is set to 1 (Constant frequency).
CIM 200 fitted in a Grundfos E-pump Fault (LED status) Possible cause Remedy 1. Both LEDs (LED1 and LED2) remain off a) The CIM 200 is fitted incorrectly in the Ensure that the CIM 200 is fitted/connected when the power supply is connected. Grundfos E-pump. correctly.
Page 40
1. The slave does not respond a) Configuration or wiring error. • Check the visual diagnostics on the Modbus to telegrams. slave. Is the Grundfos GENIbus LED flashing green and the Modbus LED off or flashing green? • Ensure that the cable between the Modbus master and the Modbus slave is connected correctly.
No internal communication between the Ensure that the CIM 250 is fitted correctly in (LED2) is flashing red. CIM 250 and the Grundfos E-pump. the Grundfos E-pump. 3. The LED for internal communication a) The CIM 250 does not support the Contact the nearest Grundfos company.
Page 42
14.2.2 CIM/CIU 250 Modbus GSM/GPRS communication faults Fault Possible cause Remedy 1. The slave does not respond to a) Configuration or installation error. • Ensure that the CIU 250 has contact with telegrams. the GSM network. The LED1 should be pulsing yellow.
• Check that the individual conductors have been fitted correctly. e.g. not reversed. • Check the power supply to the Grundfos product. 3. The LED for internal communication a) The CIM 500 does not support the Contact the nearest Grundfos (LED2) is permanently red.
Page 44
• Check the visual diagnostics on the telegrams. Modbus slave. Normal conditions are that the Grundfos GENIbus LED (LED2) is constantly green and that the Modbus TCP LED (LED1) is off or flashing green. If not, see section 14.3.1. •...
15. Modbus RTU rotary switch addresses Modbus Modbus Modbus Modbus Modbus address address address address address Example: To set the slave address to the value 142, set the Please note that 0 is not a valid slave address as this is used for rotary switches SW6 and SW7 to "8"...
16. Grundfos alarm and warning codes This is a general Grundfos alarm and warning code list. Not all codes apply to Grundfos E-pumps. Code Description Code Description Code Description Communication fault, twin-head Leakage current Discharge valve leakage pump Missing phase...
Page 47
Code Description Code Description Code Description Signal fault, bearing temperature Run capacitor, low sensor (Pt100), general or top VFD not ready (single-phase motors) bearing Motor temperature 3 Signal fault, bearing temperature Water shortage, level 2 (Pt100, t_mo3) sensor (Pt100), middle bearing Bearing temperature high (Pt100), Signal fault, PTC sensor Soft pressure build-up timeout...
Page 48
Appendix The appendix describes the parts of the CIM 500 web server needed for the configuration of a Modbus TCP Ethernet connection. For other CIM 500 web server features, not specifically related to Modbus TCP, see the CIM 500 Installation &...
Page 49
Enter user name. Default: admin. Password Enter password. Default: Grundfos. User name and password can be changed on the Note web server under "Grundfos Management" A.4 Modbus TCP configuration Fig. 30 Real Time Ethernet Protocol Configuration - Modbus TCP Object Description The default value is 502, the official IANA-assigned Modbus TCP port number.
Page 51
GRUNDFOS Hellas A.E.B.E. Минске Turkey 20th km. Athinon-Markopoulou Av. New Zealand 220125, Минск GRUNDFOS POMPA San. ve Tic. Ltd. Sti. P.O. Box 71 ул. Шафарнянская, 11, оф. 56 GRUNDFOS Pumps NZ Ltd. Gebze Organize Sanayi Bölgesi GR-19002 Peania Тел.: +7 (375 17) 286 39 72, 286 39 73...
Need help?
Do you have a question about the CIM 200 and is the answer not in the manual?
Questions and answers