13.2 CIU 250 13.3 CIU 500 Page Modbus RTU rotary switch addresses Symbols used in this document Grundfos alarm and warning codes Introduction About this functional profile 1. Symbols used in this document Assumptions Definitions and abbreviations Warning System description...
(CIM 250). • CIU 500 Modbus Ethernet for Modbus TCP Modbus is a fieldbus used worldwide. This functional profile applies to the Grundfos MP 204 motor The TCP version is adapted for use as an protector. Modbus TCP...
The CIU solution is a box with a power supply module and a CIM Modbus module. It can either be mounted on a DIN rail or on a wall. 3.2 CIU 200 Modbus RTU The CIU 200 offers a Modbus RTU connection to the MP 204. Pump Pump MP 204 motor...
182 x 108 x 82 mm 4.2 CIU 200 Modbus RTU The table below provides an overview of the specifications for the Grundfos CIU 200. For further details, please refer to the specific sections of this functional profile. Modbus RTU specifications...
4.3 CIU 250 GSM/GPRS The table below provides an overview of the specifications for the Grundfos 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 CIU 200 Modbus module is ready to communicate with the Modbus network. DIP switches SW4 and SW5 are used for setting the transmission speed.
5.2 Setting the parity 5.3 Modbus address selection A Modbus slave on a Modbus network must have a unique When software-defined transmission speed is address from 1-247. Address 0 is reserved for broadcasting, and Note enabled (ON), software-defined parity and stop is not a valid slave address.
The CIM 200 Modbus module has two LEDs. See fig. 4. • 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, we recommend 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. Fig. 11 Inserting the SIM card Pos.
These safety precautions must be observed: • Only insert the approved Grundfos battery pack (97631960). • Never use this battery pack in other battery chargers. • Do not dismantle or modify the battery.
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. 16. The CIU 500 must only be connected to SELV or SELV-E circuits.
Connect the PC and the CIM 500 module using an Ethernet • Red/green status LED (LED2) for internal communication cable between the CIM 500 and the Grundfos product. • Configure the PC Ethernet port to the same subnetwork as the LED1 CIM 500, e.g.
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 for subcodes.
9. Modbus register overview 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 MP 204 control Registers for control of the MP 204.
9.2 CIM configuration register block Registers in this block can be read by means of function codes 0x03 and/or 0x04. They can be written as holding registers with function codes 0x06 and 0x10. Address Register name Description The minimum reply delay from the slave in ms. Value range: 0-10000, i.e.
Holds a CRC error counter for the GENIbus connection between the CIU 00022 GENIbusDataErrorCnt ● ● ● and the MP 204. 00023 VersionNumber A Grundfos-specific version number. This is an unsigned integer value. ● ● ● Holds the current Modbus slave address of the device. 00024 ActualModbusAddress ● ●...
9.5 MP 204 control register block Registers in this block can be read by means of function codes 0x03 and/or 0x04. They can be written as holding registers with function codes 0x06 and 0x10. The MP 204 will react to its last received command, no matter whether this command was triggered via Modbus, with a remote control or on the MP 204 operator buttons.
2 = MP 204 fault. The MP 204 has a hardware fault. Power-off is required to attempt restarting. It may be necessary to replace the MP 204. 00204 AlarmCode The Grundfos-specific alarm code. See section 9.7 Alarm code module register 00204. 00205 WarningBits1 Bit-interpreted warnings.
Page 20
Address Register name Description Indicates if a ResetAlarm control bit was acknowledged by the device. 0 = No acknowledgement AcknowledgeRegister 1 = Control bit acknowledged. Bit 0: ResetAlarmAck This functionality is only used when AutoAckControlBits is disabled. See section block, address 00005. 9.2 CIM configuration register Indicates if a commanded-trip control bit was acknowledged by the device.
9.7 Alarm code module register 00204 In the AlarmCode register, the cause of a motor protection trip can be read in the form of an alarm code. The complete list of alarm codes supported by the MP 204 is shown below. Note that a few of the alarm codes are warnings only (W).
9.8 Warning bits registers 00205 and 00206 The WarningBits registers show all actual warning conditions, one bit for each. Contrary to alarms, there can be many simultaneous warnings present. The complete list of warning bits and their equivalent codes are shown below. Programmable Bit name Equivalent code...
9.9 MP 204 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 the availability of the data, depending on system configuration. Unless otherwise stated, the data type used for counters and scaled values is always an unsigned integer.
10.2 Hardware setup (CIU 250 GSM call-up) Step Action Connect the GENIbus cable from the CIU 250 to the Grundfos product (see figure 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...
Log in to the Web server. Default: User: admin Password: Grundfos In the menu column to the left select: Configuration > Real time Ethernet protocol Type in an IP address belonging to the same subnet as your PC (e.g. 192.168.1.2).
11. Detailed descriptions of functionality 11.2 GPRS 11.2.1 What is GPRS and Modbus TCP? 11.1 GSM GPRS (General Packet Radio Service) is a wireless, "always on" 11.1.1 Call-up functional description connection that remains active as long as the CIU 250 is within The call-up function is used for SCADA system communication range of the service.
Page 28
GPRSROAMING: <ON | OFF> Default value is "Off". • Select Modbus TCP port number: MODBUSPORT <port number> Default value is 502. • Select GENIpro port number: GENIPROPORT <port number> Default value is 49152. This is only relevant when using Grundfos PC Tools.
Page 29
11.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.
12. Modbus RTU telegram examples 12.3 Read input registers (0x04) This function is used for reading input registers from the slave. CRC fields are not shown in the following Input registers are read-only registers by definition. The request Note examples. telegram specifies the starting address (the address of the first register to be read) and the number of holding registers to read.
0x00 This function provides a test for checking the communication Value HI 0xAF system between the master and the Grundfos slave. It contains a single-byte subcode to identify the test to be performed. Value LO 0xFE The following subcodes are supported: In the request, the slave with address 1 is asked to write the value of 0xAFFE to the register at address 0x1000.
Test data Description If there is no response from the slave, see section 13. Fault Internal communication failure (with the Grundfos finding. CIU 250). EEPROM self-test failed (the test is carried out when 12.9 Reading the CIM configuration register block the system is booted).
12.10 Tripping the MP 204 This section shows how to set the control bit that trips the MP 204. In the example, slave address 0x01 is used. To trip the MP 204, the ControlRegister (register address 00101, bit 1) must be raised. Hence the value to set is 0b0000000000000010 = 0x0002.
13. Fault finding 13.1 CIU 200 Faults in a CIU 200 can be detected by observing the status of the two communication LEDs. See the table below and section 5.5 Status LEDs. 13.1.1 LED status Fault (LED status) Possible cause Remedy 1.
Page 35
13.1.2 CIU 200 Modbus communication faults Fault Possible cause Remedy 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? •...
No internal communication between the Ensure that the CIM250 is fitted correctly in (LED2) is flashing red. CIM 250 and the Grundfos MP 204. the Grundfos MP 204. 3. The LED for internal communication a) The CIM 250 does not support the Contact the nearest Grundfos company.
Page 37
13.2.2 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.
Page 38
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 company.
Page 39
• 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 this is not fulfilled see section 13.3.1 LED...
14. 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 It is very important to ensure that two devices do rotary switches SW6 and SW7 to "8" and "E", respectively. not have the same address on the network.
15. Grundfos alarm and warning codes This is a complete list of alarm and warning codes for Grundfos products. Not all codes apply to all Grundfos products. Code Description Code Description Code Description Leakage current Hardware fault, type 2 Signal fault, power meter sensor...
Page 42
Code Description Code Description Code Description Communication fault, add-on Maximum number of mixer starts Vent valve defective module per hour exceeded Pump fault (due to auxiliary Undervoltage Fault, analog output component or general fault) Communication fault, pump Undervoltage transient Communication fault, display module Cut-in fault (dV/dt) Inrush fault...
Page 43
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 installation and operating instructions for the CIM 500. A.1 How to configure an IP address on your PC For connecting a PC to the CIM 500 via Ethernet, the PC must be set up to use a fixed (static) IP address belonging to the same...
Page 44
Enter user name. Default: admin. User name and password can be changed on the Note web server under "UserManagement" Password Enter password. Default: Grundfos. A.4 Modbus TCP configuration Real Time Ethernet Protocol Configuration - Modbus TCP Fig. 3 Object Description The default value is 502, the official IANA-assigned Modbus TCP port number.
Page 45
Norway Turkey Siu Wai Industrial Centre Phone: +387 33 592 480 GRUNDFOS Pumper A/S GRUNDFOS POMPA San. ve Tic. Ltd. Sti. 29-33 Wing Hong Street & Telefax: +387 33 590 465 Strømsveien 344 Gebze Organize Sanayi Bölgesi 68 King Lam Street, Cheung Sha Wan www.ba.grundfos.com...
Need help?
Do you have a question about the CIU 200 and is the answer not in the manual?
Questions and answers