ICPDAS I-7021, M-7024, I-7021P, I-7022, M-7024L User Manual

...
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
1
I-7021, I-7022, I-7024, M-7022,
M-7024 and M-7028 Series
User Manual
All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser.
Warning
ICP DAS assumes no liability for damages resulting from the use of this product. ICP DAS reserves the right to change this manual at any time without notification. The information furnished by ICP DAS is believed to be accurate and reliable. However, no responsibility is assumed by ICP DAS for its use, or for any infringements of patents or other rights of third parties resulting from its use.
Copyright
Copyright 1999 - 2009 ICP DAS. All rights reserved.
Trademark
The names used for identification only may be registered trademarks of their respective companies.
Date: 2016/03/16
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
2
Table of Contents
1. Introduction ............................................................................................... 6
1.1 More Information ............................................................... 8
1.2 Terminal Assignment ......................................................... 9
1.3 Specifications ................................................................... 12
1.4 Block Diagrams ................................................................ 15
1.4.1 Block Diagram for the I-7021 and I-7021P ............ 15
1.4.2 Block Diagram for the I-7022 and M-7022 ............ 15
1.4.3 Block Diagram for the I-7024, M-7024 and M-
7024L ............................................................................... 16
1.4.4 Block Diagram for the I-7024R and M-7024R ...... 16
1.4.5 Block Diagram for the M-7024U ........................... 17
1.4.6 Block Diagram for the M-7028 .............................. 17
1.5 Dimensions ....................................................................... 18
1.5.1 Modules without Frame Ground ............................. 18
1.5.2 Modules with Frame Ground .................................. 19
1.6 Jumper Settings ................................................................ 20
1.6.1 I-7021and I-7021P Jumper Settings ....................... 20
1.6.2 I-7022 and M-7022 Jumper Settings ...................... 21
1.7 Wiring .............................................................................. 22
1.7.1 Wiring diagram for the I-7021, I-7021P, I-7022 and
M-7022 ............................................................................. 22
1.7.2 Wiring diagram for the I-7024, I-7024R, M-7024,
M-7024L and M-7024R ................................................... 22
1.7.3 Wiring diagram for the M-7024U........................... 23
1.7.4 Wiring diagram for the M-7028 ............................. 23
1.7.5 Wiring Recommendations ...................................... 23
1.8 Quick Start ....................................................................... 24
1.9 Default Settings ................................................................ 26
1.10 Calibration ...................................................................... 27
1.11 Configuration Tables ..................................................... 35
1.12 M-7000 Notes ................................................................ 41
1.12.1 Protocol Switching ................................................ 41
1.12.2 INIT Mode ............................................................ 42
1.13 Mounting ........................................................................ 43
1.13.1 Din-Rail Mounting ................................................ 43
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
3
1.13.2 Piggyback Mounting ............................................. 45
1.13.3 Wall Mounting ...................................................... 46
1.14 Technical Support .......................................................... 47
2. DCON Protocol ....................................................................................... 48
2.1 %AANNTTCCFF ............................................................ 54
2.2 #AA(Data) ........................................................................ 57
2.3 #AAN ............................................................................... 59
2.4 #AAN(Data) ..................................................................... 61
2.5 $AA0 ................................................................................ 64
2.6 $AA0N ............................................................................. 66
2.7 $AA1 ................................................................................ 68
2.8 $AA1N ............................................................................. 70
2.9 $AA2 ................................................................................ 72
2.10 $AA3VV ........................................................................ 74
2.11 $AA3NVV ..................................................................... 76
2.12 $AA4 .............................................................................. 78
2.13 $AA4N ........................................................................... 80
2.14 $AA5 .............................................................................. 82
2.15 $AA6 .............................................................................. 84
2.16 $AA6 .............................................................................. 86
2.17 $AA6N ........................................................................... 88
2.18 $AA7 .............................................................................. 90
2.19 $AA7N ........................................................................... 92
2.20 $AA7N ........................................................................... 94
2.21 $AA8 .............................................................................. 96
2.22 $AA8N ........................................................................... 98
2.23 $AA9N ......................................................................... 100
2.24 $AA9NTS .................................................................... 102
2.25 $AAB ........................................................................... 104
2.26 $AACN ........................................................................ 106
2.27 $AAF ............................................................................ 108
2.28 $AAI ............................................................................. 109
2.29 $AAM .......................................................................... 111
2.30 $AAP ............................................................................ 112
2.31 $AAPN ......................................................................... 114
2.32 $AAS1 .......................................................................... 116
2.33 ~AAO(Name) ............................................................... 118
2.34 ~** ................................................................................ 120
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
4
2.35 ~AA0 ............................................................................ 121
2.36 ~AA1 ............................................................................ 123
2.37 ~AA2 ............................................................................ 125
2.38 ~AA3EVV .................................................................... 127
2.39 ~AA4 ............................................................................ 129
2.40 ~AA4 ............................................................................ 131
2.41 ~AA4N ......................................................................... 133
2.42 ~AA5 ............................................................................ 135
2.43 ~AA5N ......................................................................... 137
2.44 ~AA5PPSS ................................................................... 139
2.45 @AABB ....................................................................... 141
2.46 @AABBHH ................................................................. 143
2.47 @AACECN .................................................................. 145
2.48 @AADI ........................................................................ 147
2.49 @AADODD ................................................................. 149
2.50 @AARECN .................................................................. 151
3. Modbus RTU Protocol .......................................................................... 153
3.1 01 (0x01) Read Coils ..................................................... 154
3.2 02 (0x02) Read Discrete Inputs ..................................... 155
3.3 03 (0x03) Read Output Channels .................................. 156
3.4 04 (0x04) Read Input Channels ..................................... 157
3.5 05 (0x05) Write Single Coil ........................................... 158
3.6 06 (0x06) Write Single Register .................................... 159
3.7 15 (0x0F) Write Multiple Coils ..................................... 160
3.8 16 (0x10) Write Multiple Registers ............................... 161
3.9 M-7022 Address Mappings ........................................... 162
3.10 M-7024/M-7024L Address Mappings ......................... 164
3.11 M-7024R Address Mappings ....................................... 166
3.12 M-7024U Address Mappings....................................... 169
3.13 M-7028 Address Mappings ......................................... 173
4. Troubleshooting .................................................................................... 175
4.1 Communicating with the module ................................... 176
A. Appendix .............................................................................................. 177
A.1 INIT Mode .................................................................... 177
A.2 Dual Watchdog Operation ............................................ 179
A.3 Module Output Status ................................................... 180
A.4 Reset Status ................................................................... 181
A.5 Analog Output ............................................................... 182
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
5
A.6 Slew Rate Control ......................................................... 184
A.7 Analog Output Read-back ............................................. 185
A.8 Frame Ground ............................................................... 186
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
6
1. Introduction
The I-7000 series is a family of network data acquisition and control modules, providing analog-to-digital, digital­to-analog, digital input/output, timer/counter and other functions. The modules can be remotely controlled using a set of commands, which we call the DCON protocol. Communication between the module and the host is in ASCII format via an RS-485 bi-directional serial bus standard. Baud Rates are software programmable and transmission speeds of up to 115.2 Kbps can be selected.
The functionality of the M-7000 series is the same as the I-7000 series, with the exception that the M-7000 series offers extended support for the Modbus RTU protocol.
Some I-7000 modules feature a new design for the frame ground and INIT switch as shown in the figure (rear view). The frame ground provides enhanced static protection (ESD) abilities and ensures the module is more reliable. The INIT switch allows easier access to INIT mode. Please refer to Sections A.1 and A.3 for more details.
The common features of the I-7021/21P, I-7022, I-7024, I-7024R, M-7022, M-7024, M-7024L, M-7024R, M-7024U and M-7028 modules are as follows:
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
7
1. 3000VDC, 2500VDC for M-7024U, inter-module
isolation
2. Programmable power-on value for analog output
3. Programmable slew rate
4. Software calibration
The I-7021 is a single channel analog output module with 12-bit resolution and output read-back function. The I-7021P is similar to the I-7021 but with 16-bit resolution. The I-7022/M-7022 is a 2-channel analog output module with 12-bit resolution and output read-back function. The I-7024/M-7024 is a 4-channel analog output module with 14-bit resolution and supports bipolar voltage output. The M-7024L is a 4-channel analog output module with 12-bit resolution and supports bipolar voltage output. The I-7024R/M-7024R is I-7024/M-7024 added 5-channel digital inputs. The M-7024U is a 4-channel analog output module with 16-bit resolution and supports bipolar voltage output. There is also 4-channel digital inputs and 4-channel digital outputs for the M-7024U. The M-7028 is a 8-channel analog output module with 12-bit resolution.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
8
1.1 More Information
For more information regarding the I-7000 series, please refer to chapter 1 of the I-7000 Bus Converter Users Manual as shown below or visit the ICP DAS website
http://www.icpdas.com.
1.1 The 7000 Series Overview
1.2 Related Documentation for the 7000 Series
1.3 Common Features of the 7000 Series
1.4 The 7000 Series System Network Configuration
1.5 7000 Dimensions
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
9
1.2 Terminal Assignment
7021/7021P
7022
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
10
7024/7024L
7024R
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
11
7024U
7028
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
12
1.3 Specifications
I-7021/I-7021P
I-7022/M-7022
I-7024/M-7024/ M-7024L
Analog Output
Output Channels
1 2 4
Output Type
mA, V
mA, V
mA, V
Accuracy
±0.1% for I-7021 ±0.02% for I-7021P
±0.1% of FSR
±0.1% of FSR
Resolution
12-bit for I-7021 16-bit for I-7021P
12-bit
14-bit for I-7024 and
M-7024 12-bit for M-7024L
Read-back Accuracy
±1% of FSR
±1% of FSR
NA
Programmable Output Slope
0.125 ~ 1024 mA/s
0.0625 ~ 512 V/s
0.125 ~ 1024 mA/s
0.0625 ~ 512 V/s
0.125 ~ 2048 mA/s
0.0625 ~ 1024 V/s
Current Load Resistance
Int. power: 500 ohm Ext. 24 V: 1050 ohm
Int. power: 500 ohm Ext. 24 V: 1050 ohm
Ext. 24 V: 1050 ohm Isolation
3000 VDC
3000 VDC
3000 VDC
Modbus RTU
M-7022
M-7024/M-7024L
Power
Requirements
+10 to +30 VDC
+10 to +30 VDC
+10 to +30 VDC
Consumption
1.8 W
3.0 W
2.4 W (I-7024/M-7024)
2.7 W (M-7024L)
Temperature Range
Operating
-25°C to +75°C
-25°C to +75°C
-25°C to +75°C
Storage
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
Notes:
1. A warm up period of 30 minutes is recommended in order to achieve the complete
performance results described in the specifications.
2. The specifications are typical at 25°C unless otherwise stated.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
13
I-7024R
M-7024R
M-7024U
Analog Output
Output Channels
4 4 4
Output Type
mA, V
mA, V
mA, V
Accuracy
±0.1% of FSR
±0.1% of FSR
±0.02% of FSR
Resolution
14-bit
14-bit
16-bit
Read-back Accuracy
NA
NA
NA
Programmable Output Slope
0.125 ~ 2048 mA/s
0.0625 ~ 1024 V/s
0.125 ~ 2048 mA/s
0.0625 ~ 1024 V/s
0.125 ~ 1024 mA/s
0.0625 ~ 512 V/s
Current Load Resistance
Ext. 24 V: 1050 ohm
Ext. 24 V: 1050 ohm
Int. power: 1000 ohm
Digital Input
Channels
5 5 4
Input Type
Dry Contact (Source)
Dry Contact (Source)
Dry Contact (Source)
Contact Level
On: Close to GND Off: Open
On: Close to GND Off: Open
On: Close to GND Off: Open
Counters
16-bit
16-bit
16-bit
Min. Pulse Width: 10ms
Min. Pulse Width: 10ms
Min. Pulse Width: 5ms Digital Output
Channels
4
Output Type
Open Collector
Sink/Source
Sink
Load Voltage
+3.5 VDC ~ +50 VDC
Max. Load Current
700 mA/Channel
Isolation
3000 VDC
3000 VDC
2500 VDC
Modbus RTU
No
Yes
Yes
Power
Requirements
+10 to +30 VDC
+10 to +30 VDC
+10 to +30 VDC
Consumption
3.2 W
3.2 W
4.5 W
Temperature Range
Operating
-25°C to +75°C
-25°C to +75°C
-25°C to +75°C
Storage
-40°C to +85°C
-40°C to +85°C
-40°C to +85°C
Notes:
1. A warm up period of 30 minutes is recommended in order to achieve the complete performance results described in the specifications.
2. The specifications are typical at 25°C unless otherwise stated.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
14
M-7028
Analog Output
Output Channels
8
Output Type
mA, V
Accuracy
±0.1% of FSR
Resolution
12-bit
Read-back Accuracy
NA
Programmable Output Slope
0.125 ~ 1024 mA/s
0.0625 ~ 512 V/s
Current Load Resistance
500 ohm Isolation
3000 VDC
Modbus RTU
Yes
Power
Requirements
+10 to +30 VDC
Consumption
4.3 W
Temperature Range
Operating
-25°C to +75°C
Storage
-40°C to +85°C
Notes:
1. A warm up period of 30 minutes is recommended in order to achieve the complete performance results described in the specifications.
2. The specifications are typical at 25°C unless otherwise stated.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
15
1.4 Block Diagrams
1.4.1 Block Diagram for the I-7021 and I-7021P
1.4.2 Block Diagram for the I-7022 and M-7022
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
16
1.4.3 Block Diagram for the I-7024, M-7024 and M-7024L
1.4.4 Block Diagram for the I-7024R and M-7024R
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
17
1.4.5 Block Diagram for the M-7024U
1.4.6 Block Diagram for the M-7028
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
18
1.5 Dimensions
1.5.1 Modules without Frame Ground
The dimensions of the I-7021, I-7021P, I-7022, and M-7022 are as shown below.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
19
1.5.2 Modules with Frame Ground
The dimensions of the I-7024, M-7024, M-7024L, I-7024R, M-7024R, M-7024U and M-7028 are as shown below.
Back View
Top View
Front View
Side View
Unit : mm
lnit
Normal
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
20
1.6 Jumper Settings
Note: To access the jumpers, the cover must be opened.
1.6.1 I-7021and I-7021P Jumper Settings
For the I-7021 and I-7021P modules, the power supply for current output can be either internal or external. The power supply is selected using the JP1 jumper. The position of the JP1 jumper is shown in the figure below.
The settings for the JP1 jumper are as follows.
Select internal power. It can drive load up to 500 ohm. (factory default)
Select external power. It can drive load up to 1050 ohm for 24 V external power supply.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
21
1.6.2 I-7022 and M-7022 Jumper Settings
For the I-7022 and M-7022 modules, the power supply for current output can be either internal or external. The power supply is selected using the JP1 jumper for channel 0 and JP2 for channel 1. The positions of the JP1 and JP2 jumpers are shown in the figure below.
The settings for the JP1 and JP2 jumpers are as follows.
Select internal power. It can drive load up to 500 ohm. (factory default)
Select external power. It can drive load up to 1050 ohm for 24 V external power supply.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
22
1.7 Wiring
1.7.1 Wiring diagram for the I-7021, I-7021P, I-7022 and M-7022
1.7.2 Wiring diagram for the I-7024, I-7024R, M-7024, M-7024L and M-7024R
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
23
1.7.3 Wiring diagram for the M-7024U
1.7.4 Wiring diagram for the M-7028
1.7.5 Wiring Recommendations
Use 26-12 AWG wire for signal connections. Strip the wire to a length of 7±0.5 mm.
Use a crimp terminal for wiring. Avoid high-voltage cables and power equipment as
much as possible.
For RS-485 communication, use insulated and
twisted pair 24 AWG wire, e.g. Belden 9841.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
24
1.8 Quick Start
To install the module, follow the steps below:
1. For current output, adjust the jumper setting for the
I-7021/21P, I-7022 and M-7022. See Section 1.6 for the jumper settings.
2. Connect the output load. See Section 1.2 for the
terminal assignment and Section 1.7 for the wiring diagram.
3. Connect the module to the RS-485 network using the
DATA+ and DATA- terminals. See Section 1.2 for the terminal assignment. If the host is only equipped with an RS-232 interface, then an RS-232 to RS-485 converter will be required. Refer to the I-7000 Bus Converter Users Manual” for more information.
4. Connect the module to the power supply using the +Vs
and GND terminals. See Section 1.2 for the terminal assignment. Note that the voltage supplied to the module should be in the range of +10 to +30 VDC.
5. For I-7000 modules, configure the module by sending
the %AANNTTCCFF command. See Section 2.1 for details. To configure the I-7022, the $AA9NTS command must also be sent. See Section 2.24 for details. For M-7000 modules using the Modbus RTU protocol, configure the module using the following Modbus registers: 40485, 40486, and 40487. The Modbus registers started at 40257 are required for configuring M-7022, M-7024U and M-7028. The default settings for the module can be found in Section
1.9.
6. For I-7000 modules, in order to write data to the analog
output channels, send the #AA(data) or #AAN(data) commands to the module. See Sections 2.2 and 2.4 for details. For M-7000 modules using the Modbus RTU
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
25
protocol, use Functions 06h or 10h to write the data to the analog output channels. See Section 3.6 and 3.8 for details.
7. If the host is a PC with a Windows operating system
installed, the DCON Utility can be used to allow easy configuration and reading of data. The DCON Utility can be downloaded from the ICP DAS website (http://www.icpdas.com). The documentation for the DCON Utility can be found in the Getting Started For I-7000 Series Modules” manual.
Please refer to the I-7000 Bus Converter Users
Manual and Getting Started For I-7000 Series Modules manuals for more details. The Getting Started for I-7000 Series Modules manual can be
downloaded from the ICP DAS website (http://www.icpdas.com).
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
26
1.9 Default Settings
Default settings for the I-7021/21P, I-7022, I-7024 and I-7024R modules are as follows:
Module address: 01 ▫ Analog output type: 0 ~ +10 V ▫ Baud rate: 9600 bps ▫ Checksum disabled ▫ Engineering unit format ▫ I-7021/21P and I-7022 jumper setting: internal power
Default settings for the M-7022, M-7024, M-7024L, M-7024R, M-7024U and M-7028 modules are as follows:
Protocol: Modbus RTU ▫ Module address: 01 ▫ Analog output type: 0 ~ +10 V ▫ Baud Rate: 9600 bps ▫ Engineering unit format ▫ M-7022 jumper setting: internal power
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
27
1.10 Calibration
Warning: It is not recommended that calibration be performed until the process is fully understood.
I-7021/21P Current Output Calibration
1. Set the jumper JP1 to select internal power and connect
a current meter to the current output terminal of the module. If there is no current meter then you can use a voltage meter with a shunt resistor of 250 ohm and
0.1%. The current (I) can be calculated using the equation, I = V (voltage) / 250.
2. Warm up the module for at least 30 minutes.
3. Set the type code to 30, 0 ~ 20 mA. Refer to Section
2.1 for details.
4. Send command to output 4 mA. Refer to Section. 2.2
for details.
5. Repeat to send the trim command and check the meter
until the meters reading is nearest to 4 mA. Refer to Section 2.10 for details of sending the trim command.
6. Send the 4 mA calibration command. Refer to Section
2.5 for details.
7. Send command to output 20 mA. Refer to Section. 2.2
for details.
8. Repeat to send the trim command and check the meter
until the meters reading is nearest to 20 mA. Refer to Section 2.10 for details of sending the trim command.
9. Send the 20 mA calibration command. Refer to
Sections 2.7 for details.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
28
I-7021/21P Voltage Output Calibration
1. Connect a voltage meter to the voltage output terminal
of the module.
Short the current output terminal for the read-back requirement
2. Warm up the module for at least 30 minutes.
3. Set the type code to 32, 0 ~ 10 V. Refer to Section 2.1
for details.
4. Send command to output 10 V. Refer to Section. 2.2
for details.
5. Repeat to send the trim command and check the meter
until the meters reading is nearest to 10 V. Refer to Section 2.10 for details of sending the trim command.
6. Send the 10 V calibration command. Refer to Section
2.18 for details.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
29
I-7022/M-7022 Current Output Calibration
1. Set the jumper JP1 to select internal power and connect
a current meter to the current output channel 0 terminal of the module. If there is no current meter then you can use a voltage meter with a shunt resistor of 250 ohm and 0.1%. The current (I) can be calculated using the equation, I = V (voltage) / 250.
2. Warm up the module for at least 30 minutes.
3. Set the type code to 0, 0 ~ 20 mA. Refer to Section
2.24 for details.
4. Send command to output 4 mA. Refer to Section. 2.4
for details.
5. Repeat to send the trim command and check the meter
until the meters reading is nearest to 4 mA. Refer to Section 2.11 for details of sending the trim command.
6. Send the 4 mA calibration command. Refer to Section
2.6 for details.
7. Send command to output 20 mA. Refer to Section. 2.4
for details.
8. Repeat to send the trim command and check the meter
until the meters reading is nearest to 20 mA. Refer to Section 2.11 for details of sending the trim command.
9. Send the 20 mA calibration command. Refer to
Sections 2.8 for details.
10. Repeat steps 1 to 9 for channel 1.
Note:
The M-7022 must be switched to the DCON protocol mode before calibrating. Refer to Sections 1.12.1 and 3.3.4 for details of the switching protocol.
I-7021/22/24, M-7022/24/28 User Manual, Rev: B2.3
30
I-7022/M-7022 Voltage Output Calibration
1. Connect a voltage meter to the voltage output channel
0 terminal of the module.
Short the current output terminal for the read-back requirement
2. Warm up the module for at least 30 minutes.
3. Set the type code to 2, 0 ~ 10 V. Refer to Section 2.24
for details.
4. Send command to output 10 V. Refer to Section. 2.15
for details.
5. Repeat to send the trim command and check the meter
until the meters reading is nearest to 10 V. Refer to Section 2.18 for details of sending the trim command.
6. Send the 10 V calibration command. Refer to Section
2.21 for details.
7. Repeat steps 1 to 9 for channel 1.
Note:
The M-7022 must be switched to the DCON protocol mode before calibrating. Refer to Section 1.12.1 for details of the switching protocol.
Loading...
+ 157 hidden pages