ICP DAS USA M-7084 User manual

Type
User manual
M-7084
User Manual
Warranty
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 - 2012 ICP DAS. All rights reserved.
Trademark
The names used for identification only may be registered
trademarks of their respective companies.
Date: 2012/12/7
M-7084 User Manual, Rev. A1.0 7PH-013-A10
1
Table of Contents
1. Introduction..................................................................................... 5
1.1 More Information.................................................................... 6
1.2 Terminal Assignment.............................................................. 7
1.3 Specifications.......................................................................... 8
1.3.1 I/O Specifications........................................................... 8
1.3.2 System Specifications .................................................... 9
1.4 Block Diagram......................................................................10
1.4.1 Block Diagram for the M-7084.................................... 10
1.5 Dimensions............................................................................ 11
1.6 Wiring ...................................................................................12
1.6.1 M-7084 Wiring............................................................. 12
1.6.2 Wiring Recommendations............................................12
1.7 Quick Start ............................................................................13
1.8 Default Settings.....................................................................15
1.9 Configuration Tables............................................................. 16
1.10 M-7000 Notes...................................................................... 18
1.10.1 Protocol Switching..................................................... 18
1.10.2 INIT Mode .................................................................19
1.11 Mounting.............................................................................20
1.11.1 Din-Rail Mounting.....................................................20
1.11.2 Piggyback Mounting..................................................22
1.11.3 Wall Mounting ........................................................... 23
1.12 Technical Support ............................................................... 24
2. DCON Protocol............................................................................. 25
2.1 %AANNTTCCFF.................................................................29
2.2 #AA....................................................................................... 32
2.3 #AAN.................................................................................... 33
2.4 $AA0N.................................................................................. 35
2.5 $AA0N(Data)........................................................................ 37
2.6 $AA2..................................................................................... 39
2.7 $AA3N.................................................................................. 41
2.8 $AA3N(Data)........................................................................ 43
2.9 $AA4..................................................................................... 45
2.10 $AA4VV............................................................................. 47
2.11 $AA5................................................................................... 49
M-7084 User Manual, Rev. A1.0 7PH-013-A10
2
2.12 $AA5VV............................................................................. 51
2.13 $AA6................................................................................... 53
2.14 $AA6N................................................................................ 55
2.15 $AA7................................................................................... 57
2.16 $AA7VV............................................................................. 59
2.17 $AA7CNRVV..................................................................... 61
2.18 $AA8CN ............................................................................. 63
2.19 $AAF................................................................................... 65
2.20 $AAI.................................................................................... 66
2.21 $AAM ................................................................................. 68
2.22 $AAP................................................................................... 69
2.23 $AAPN................................................................................ 71
2.24 @AABB.............................................................................. 73
2.25 @AABBVV........................................................................ 75
2.26 @AAFA..............................................................................77
2.27 @AAFAVV ........................................................................ 79
2.28 @AAFH..............................................................................81
2.29 @AAFHVV ........................................................................ 83
2.30 @AAFT...............................................................................85
2.31 @AAFTVV......................................................................... 87
2.32 @AAGN..............................................................................89
2.33 @AAGN(Data) ................................................................... 91
2.34 @AASC .............................................................................. 93
2.35 @AASCVV......................................................................... 95
2.36 ~**....................................................................................... 97
2.37 ~AA0...................................................................................98
2.38 ~AA1.................................................................................100
2.39 ~AA2.................................................................................102
2.40 ~AA3EVV.........................................................................104
2.41 ~AAI ................................................................................. 106
2.42 ~AAO(Name).................................................................... 108
2.43 ~AARD............................................................................. 110
2.44 ~AARDVV .......................................................................112
2.45 ~AATnn ............................................................................ 114
3. Modbus RTU Protocol................................................................ 117
3.1 M-7084 Modbus Address Mapping .................................... 118
4. Troubleshooting ..........................................................................120
4.1 Communicating with the module........................................ 121
M-7084 User Manual, Rev. A1.0 7PH-013-A10
3
A. Appendix.................................................................................... 122
A.1 INIT Mode.......................................................................... 122
A.2 Dual Watchdog Operation.................................................. 124
A.3 Frame Ground .................................................................... 125
A.4 Node Information Area ...................................................... 127
A.5 Reset Status........................................................................ 128
A.6 Frequency Measurement .................................................... 129
M-7084 User Manual, Rev. A1.0 7PH-013-A10
4
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 M-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 M-7084 supports up counting, up-down counting, pulse
direction counting, quadrature counting and frequency
measurement.
M-7084 User Manual, Rev. A1.0 7PH-013-A10
5
1.1 More Information
For more information regarding the I-7000/M-7000 series,
please refer to chapter 1 of the “I-7000 Bus Converter User’s
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
For details of INIT mode operation, please refer to
Section A.1 INIT Mode.
For details of module watchdog and host watchdog,
please refer to Section A.2 Dual Watchdog Operation.
For details of ESD protection and grounding, please
refer to Section A.3 Frame Ground.
The node information area can be written with some
information, please refer to Section A.4 Node Information
Area for details.
There is a way to check whether the module is reset,
please refer to Section A.5 Reset Status for details.
For details of frequency measurement, please refer to
Section A.6 Frequency Measurement.
M-7084 User Manual, Rev. A1.0 7PH-013-A10
6
1.2 Terminal Assignment
M-7084 User Manual, Rev. A1.0 7PH-013-A10
7
1.3 Specifications
1.3.1 I/O Specifications
Counter/Frequency/Encoder Input
Channels 4-channel Up/Down Counter (CW/CCW)
4-channel Direction/Pulse Counter (Bi-
direction)
4-channel A/B Phase (Quadrant Counting)
8-channel Up Counter
8-channel Frequency
Contact Wet
Sink/Source (NPN/PNP) Sink
Types Counter, Frequency, Encoder
Counter/Encoder Bits 32-bit (4,294,967,295)
On Voltage Level +3.5 VDC ~ +30 VDC
Off Voltage Level +1 VDC Max.
Programmable Digital Filter 1 ~ 32767 µs
Individual Channel Configuration Yes
Counter Mode Up, Up/Down
Encoder Mode CW/CCW, Direction/Pulse, AB Phase
Frequency Mode Yes
Max. Speed 3.5 VDC ~ 10 VDC: 200 kHz
10 VDC ~ 30 VDC: 150 kHz
Frequency Accuracy
±0.4% of Input Frequency
Virtual Battery Backup to Preserve
Counter Values
Yes
M-7084 User Manual, Rev. A1.0 7PH-013-A10
8
1.3.2 System Specifications
Communication
Interface RS-485
Format N81, N82, E81, O81
Baud Rate 1200 ~ 115200 bps
Protocol Modbus RTU, DCON
Dual Watchdog Yes, Module (1.6 Seconds),
Communication (Programmable)
LED Indicator
Power 1 LED, Red
Isolation
Intra-module Isolation, Field-to-Logic 3000 VDC
EMS Protection
ESD (IEC 61000-4-2) +/-4 kV Contact for Each Terminal
EFT (IEC 61000-4-4) +/-4 kV for Power
Surge (IEC 61000-4-5) +/-3 kV for Power Line
Power
Reverse Polarity Protection Yes
Input Range 10 ~ 30 VDC
Consumption 1.32 W Max.
Mechanical
Dimensions (W x L x H) 72 mm x 123 mm x 35 mm
Installation DIN-Rail, Wall Mounting
Environment
Operating Temperature -25 ~ +75°C
Storage Temperature -30 ~ +80°C
Humidity 10 ~ 90% RH, Non-condensing
M-7084 User Manual, Rev. A1.0 7PH-013-A10
9
1.4 Block Diagram
1.4.1 Block Diagram for the M-7084
M-7084 User Manual, Rev. A1.0 7PH-013-A10
10
1.5 Dimensions
Back View
Top View
Front View
Side View
Unit : mm
lnit
Normal
M-7084 User Manual, Rev. A1.0 7PH-013-A10
11
1.6 Wiring
1.6.1 M-7084 Wiring
1.6.2 Wiring Recommendations
Use 26-12 AWG wire for signal connections.
Strip the wire to a length of 7±0.5mm.
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.
M-7084 User Manual, Rev. A1.0 7PH-013-A10
12
1.7 Quick Start
To install the module, follow the steps below:
1. Refer to Section 1.2 for the terminal assignment and
Section 1.6 for the wiring diagram.
2. 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
User’s Manual” for more information.
3. 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.
4. Configure the module by sending the %AANNTTCCFF
command and the $AA7CNRVV command. See Section
2.1 and 2.17 for details. For M-7000 modules using the
Modbus RTU protocol, configure the module using the
following registers: 40257 ~ 40264, 40485, and 40486.
The default settings for the module can be found in
Section 1.8.
5. To read data from the input channels, send the #AAN
command to the module. See Sections 2.3 for details. For
M-7000 modules using the Modbus RTU protocol, use
Function 03h to read the data from the input channels.
6. 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.
M-7084 User Manual, Rev. A1.0 7PH-013-A10
13
Please refer to the “I-7000 Bus Converter User’s 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).
M-7084 User Manual, Rev. A1.0 7PH-013-A10
14
1.8 Default Settings
Default settings for the M-7084 modules are as follows:
Protocol: Modbus RTU
Module Address: 01
Type: Type 50, up counter
Baud Rate: 9600 bps
M-7084 User Manual, Rev. A1.0 7PH-013-A10
15
1.9 Configuration Tables
Baud Rate Setting (CC)
7 6 5 4 3 2 1 0
Data Baud
Key Description
Baud Baud Rate
03: 1200
04: 2400
05: 4800
06: 9600
07: 19200
08: 38400
09: 57600
0A: 115200
Data Data Format
0: eight data bits, no parity, and one stop bit
1: eight data bits, no parity, and two stop bit
2: eight data bits, even parity, and one stop bit
3: eight data bits, odd parity, and one stop bit
Type Setting (TT)
Type Code Input Type
50 Up counter
51 Frequency
54 Up/down counter
55 Pulse/direction counter
56 Quadrant counter
M-7084 User Manual, Rev. A1.0 7PH-013-A10
16
Data Format Setting (FF)
7 6 5 4 3 2 1 0
RD CS RD DF
Key Description
DF Data format
00: Engineering unit. The data consist of ‘+’, 6
digits and one decimal point. This data format
is only for the frequency type.
10: Hexadecimal
CS Checksum setting
0: Disabled
1: Enabled
RD Reserved
Note: The reserved bits should be zero.
Counter Type and Data Format Table
Type Code Counter type Data
Format
Min Max
50 Up Hex 00000000 FFFFFFFF
54 Up/down Hex 80000000 7FFFFFFF
55 Pulse/direction Hex 80000000 7FFFFFFF
56
Quadrant
Hex 80000000 7FFFFFFF
M-7084 User Manual, Rev. A1.0 7PH-013-A10
17
1.10 M-7000 Notes
The main difference between the I-7000 and M-7000 series is
that the M-7000 series has additional support for the Modbus
RTU communication protocol, which is the default protocol
of the M-7000 series. The communication Baud Rates for the
Modbus RTU protocol can be in the range of 1200 bps to
115200 bps.
Modbus functions supported by the module are described in
Chapter 3.
1.10.1 Protocol Switching
To switch to the DCON protocol:
1. Set Modbus register 00257 to 0. See Section 3.1 for
details.
2. After a power-on reset, the communication protocol will
be changed to DCON.
To switch to the Modbus RTU protocol:
1. Sends the $AAPN command and set N to a value of 1.
Note that for the modules without frame ground, the
INIT* terminal should be connected to the GND terminal,
and for the modules with frame ground, the slide switch
on the rear side of the module should be set to the INIT
position, see the figure on the next page. See Section 2.23
for details.
2. After a power-on reset, the communication protocol will
be changed to the Modbus RTU protocol.
M-7084 User Manual, Rev. A1.0 7PH-013-A10
18
1.10.2 INIT Mode
When the module is powered on, with the rear slide switch set
to the INIT position as shown in the figure below for modules
with frame ground, or with the INIT* pin connected to the
GND pin for modules without frame ground, the module is in
INIT mode, (see Section A.1 for details), and the
communication settings are as follows:
1. Address: 00
2. Baud Rate: 9600 bps
3. No checksum
4. Protocol: DCON
If communication with the module is not possible, set the
module to the INIT mode and use the above settings to
communicate with the module. To read the current settings,
send the commands $AA2, (see Section 2.6), and $AAP, (see
Section 2.22). To set new settings, send the commands
%AANNTTCCFF, (see Section 2.1) and $AAPN, (see
Section 2.23). The new communication settings will be
effective after the next power-on reset.
M-7084 User Manual, Rev. A1.0 7PH-013-A10
19
1.11 Mounting
1.11.1 Din-Rail Mounting
There are three new DIN rail models available. Each is made
of stainless steel, which is stronger than those made of
aluminum. There is a screw at one end and a ring terminal is
included so that it can be easily connected to the earth ground.
The three new DIN rail models are as follows.
Part number Max. number of modules Dimensions
DRS-360 5 360mm x 35mm
M-7084 User Manual, Rev. A1.0 7PH-013-A10
20
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129

ICP DAS USA M-7084 User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI