Xylem ADAQCPC User Manual

INSTRUCTION MANUAL
AQUAVAR® CPC
Modbus® Communications (Software Version 204 and later)*
ADDENDUM TO THE INSTALLATION AND OPERATION MANUAL (IM167)
* Aquavar CPC units with software 204 and later will work with MODBUS. Previous versions will not.
Go to GROUP 99 in the programming and verify firmware (FW) version.
TABLE OF CONTENTS
Overview ........................................................................................................................................................................ 3
Setting Up Modbus Communications ........................................................................................................................ 3
Wiring ............................................................................................................................................................................. 4
Setting Drive Parameters ............................................................................................................................................. 6
Start / Stop Control ....................................................................................................................................................... 6
Remote Setting of Set Point 1 ..................................................................................................................................... 7
0xxxx Mapping Modbus Coils / Aquavar Control Word .......................................................................................... 8
1xxxx Mapping - Modbus Discrete Inputs / Aquavar Status Word ......................................................................... 9
3xxxx Mapping - Modbus Inputs .............................................................................................................................. 10
4xxxx Register Mapping ............................................................................................................................................11
Warranty .......................................................................................................................................................................20
2
OVERVIEW
The Modbus® protocol was introduced by Modicon, Inc. for use in control environments featuring Modicon programmable controllers. Due to its ease of use and implementation, this common PLC language was quickly adopted as a de-facto standard for integration of a wide variety of master controllers and slave devices. Modbus is a serial, asynchronous protocol. Transactions are half-duplex, featuring a single Master controlling one or more Slaves. While RS232 can be used for point-to-point communication between a single Master and a single Slave, a more common implementation features a multi-drop RS485 network with a single Master controlling multiple Slaves. The AQUAVAR CPC features RS485 for its Modbus physical interface. In all cases, the AQUAVAR CPC will act as a slave in the network.
RTU
The Modbus specification defines two distinct transmission modes: ASCII and RTU. The AQUAVAR CPC supports RTU only.
SETTING UP MODBUS COMMUNICATIONS
Modbus Connections for each Aquavar
Terminated
Station
Station Station
X1 Identification
28 Screen
29 B
30 A
31 AGND
32 Screen
Hardware Description
RS485 Multidrop Application Other Modbus Devices
SCR
B A
GND
28 SCR 29 B 30 A 31 AGND
32 SCR B A
Terminated
Station
1
RS485 Interface
J2 J5 J2 J5
ON ON
off position on position
Bus Termination
GND
SCR
1
For functional descriptions, see “Standard Serial Communication” addendum.
ON ON
3
WIRING
Physical wiring of the MODBUS communication cable is to the RS485 terminal block, 28, 29 and 30. Use the screen connections if the cable has one.
NOTE: The only application macros that will work with Modbus communica-tions enabled are: [1] Single Pump,
[4] Constant Slv and [5] Speed Cntrl. See parameter 1102 Applic Macro. Multicontrol or Synchronous will not work with MODBUS. Set macro to SINGLE PUMP, Constant Slv or Speed Cntrl.
Configure Modbus Serial Communications
1. Set EFB Station ID – This is the address of each Aquavar on the network. Each drive must have a unique
station ID on the network.
a. Go to Group 32 – EFB PROTOCOL, press SEL.
b. Go to parameter 3202 – EFB STATION ID, press EDIT.
c. Set desired station ID using the UP or DOWN arrows, press SAVE.
Valid addresses are 1 – 247.
NOTE: Address 0 is used to broadcast
messages to all slaves on the network.
NOTE: It is the user’s responsibility to ensure that reading and writing is done to the correct address
(Aquavar or node) in the network. Reading or writing to the wrong node can cause unexpected results.
2. Set EFB Baud Rate – The settings used must be the same on the Modbus Master and the slaves (Aquavar
CPC). Default rate is 9.6 kb/s.
a. Go to Group 32 – EFB PROTOCOL, press SEL.
b. Go to parameter 3203 – EFB BAUD RATE, press EDIT.
c. Set the desired Baud Rate using the UP or DOWN arrows, press SAVE.
Valid baud rates are:
1.2 kb/s 19.2 kb/s
2.4 kb/s 38.4 kb/s
4.8 kb/s 57.6 kb/s
9.6 kb/s 76.8 kb/s
4
WIRING
3. Set EFB Parity – The settings used must be the same on the Modbus Master and the slaves (Aquavar CPC).
Default parity is 8N2 (8 data bits, no parity, two stop bits).
a. Go to Group 32 – EFB PROTOCOL, press SEL.
b. Go to parameter 3204 – EFB PARITY, press EDIT.
c. Set the desired Parity using the UP or DOWN arrows, press SAVE.
Valid Parity settings are:
0 = 8N1 – 8 data bits, No parity, one stop bit.
1 = 8N2 – 8 data bits, No parity, two stop bits.
2 = 8E1 – 8 data bits, Even parity, one stop bit.
3 = 8O1 – 8 data bits, Odd parity, one stop bit.
4. Set EFB Ctrl Profile – The Aquavar Profile may be the only the only profile that can be selected.
a. Go to Group 32 – EFB PROTOCOL, press SEL.
b. Go to parameter 3205 – EFB CTRL PROFILE, press EDIT.
c. Set the desired profile using the UP or DOWN arrows, press SAVE.
Valid Profile settings are:
1 = AQUAVAR
Activate Modbus Communications on the Aquavar
1. Go to Group 30 – Options, press SEL.
2. Press Edit.
3. Using the UP or DOWN keys, select [1] STD MODBUS.
4. Press SAVE. Modbus Communications are now active.
5
SETTING DRIVE PARAMETERS
Note: With Modbus, any parameter can be accessed using the format: “4” followed by the parameter
number. See the following example:
Changing Ramps 1 and 2 via Modbus from 5 to 10 seconds on a drive over 15 HP.
1. Set parameter 1102 (Applic Macro) to: [1] Single Pump, [4] Constant Slv, or [5] Speed Cntrl.
2. Configure and Setup Modbus Serial Communications
3. Ramp 1 is parameter 1301 and Ramp 2 is parameter 1302.
4. Write ‘100’ to Holding Register 41301. Assuming no errors occur during this transaction, 1301 (Ramp 1)
should now be set to 10.0 seconds.
Note: There is an implied decimal point that is not written between the first (from the right) and second digit. Thus 100 = 10.0
5. Write ‘100’ to Holding Register 41302. 1302 (Ramp 2) should now be set to 10.0 seconds.
START / STOP CONTROL
Start
1. Set parameter 1102 (Applic Macro) to: [1] Single Pump, [4] Constant Slv, or [5] Speed Cntrl.
2. Configure and Setup Modbus Serial Communications
3. Set parameter 1201 to [1] Fieldbus
4. To Start, write ‘1’ to Register 00002. Register 00001 (Stop) must be set ‘0’. The rotation arrow on the display
should now be spinning and the drive will start if the actual pressure is below the setpoint.
5. Write ‘0’ to Register 00002. The drive will continue to run as long as
Register 00001 is ‘0’.
Stop
1. To Stop, write ‘1’ to Register 00001. Register 00002, should be set to ‘0’. The rotation arrow on the display
should stop rotating.
REMOTE SETTING OF SET POINT 1
1. Set parameter 1102 (Applic Macro) to: [1] Single Pump, [4] Constant Slv, or [5] Speed Cntrl.
2. Configure and Setup Modbus Serial Communications.
3. Set parameter 1601 to [0] Setp1.
4. Set parameter 1602 to [2] Fieldbus.
5. Write a value between ‘10000’ and ‘0’ (100.00% to 0% of Transducer Max) to Holding Register 40003.
Note: There is an implied decimal point that is not written between the second (from the right) and third
digit. Thus, 10000 = 100.00%.
6
Loading...
+ 14 hidden pages