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.
A.4 Node Information Area ....................................................... 129
A.5 Reset Status ......................................................................... 130
A.6 Frequency Measurement ..................................................... 131
M-7084 User Manual, Rev. A1.3 7PH-013-A13
5
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.
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 bidirectional 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 I7000 series, with the exception that the M-7000 series offers
extended support for the Modbus RTU protocol.
The M-7084 supports up counting, up-down counting, pulse
direction counting, quadrature counting and frequency
measurement.
M-7084 User Manual, Rev. A1.3 7PH-013-A13
6
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
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.
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.3 7PH-013-A13
7
1.2 Terminal Assignment
M-7084 User Manual, Rev. A1.3 7PH-013-A13
8
Counter/Frequency/Encoder Input
Channels
4-channel Up/Down Counter (CW/CCW)
4-channel Direction/Pulse Counter (Bidirection)
4-channel A/B Phase (Quadrature Counting)
8-channel Up Counter
8-channel Frequency
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
1.3.2 System Specifications
M-7084 User Manual, Rev. A1.3 7PH-013-A13
10
1.4 Block Diagram
1.4.1 Block Diagram for the M-7084
M-7084 User Manual, Rev. A1.3 7PH-013-A13
11
Back View
Top View
Front View
Side View
Unit : mm
lnit
Normal
1.5 Dimensions
M-7084 User Manual, Rev. A1.3 7PH-013-A13
12
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.3 7PH-013-A13
13
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 +30VDC.
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.3 7PH-013-A13
14
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.3 7PH-013-A13
15
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
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 Code
Input Type
50
Up counter
51
Frequency
54
Up/down counter
55
Pulse/direction counter
56
Quadrature counter
1.9 Configuration Tables
Baud Rate Setting (CC)
Type Setting (TT)
M-7084 User Manual, Rev. A1.3 7PH-013-A13
17
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
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
Quadrature
Hex
80000000
7FFFFFFF
Data Format Setting (FF)
Note: The reserved bits should be zero.
Counter Type and Data Format Table
M-7084 User Manual, Rev. A1.3 7PH-013-A13
18
Up/down Counting
When InA0 is used as an up counting clock and InB0 is used
as a down counting clock, the counter will be increased by
one for every falling edge of InA0 and decreased by one for
every falling edge of InB0.
Pulse/direction Counting
The InB0 is used for direction counting. When InB0 is high,
the counter will be increased by one for every falling edge of
InA0. When InB0 is low, the counter will be decreased by
one for every falling edge of InA0.
M-7084 User Manual, Rev. A1.3 7PH-013-A13
19
Quadrature Counting
When InA0 is used as the A signal and InB0 is used as the B
signal, the counter will be increased by one when the InA0
phase leads by 90 degrees to InB0 and the counter will be
decreased by one when the InA0 phase lags by 90 degrees to
InB0.
M-7084 User Manual, Rev. A1.3 7PH-013-A13
20
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.3 7PH-013-A13
21
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.3 7PH-013-A13
22
Part number
Max. number of modules
Dimensions
DRS-360
5
360mm x 35mm
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.
M-7084 User Manual, Rev. A1.3 7PH-013-A13
23
Part number
Max. number of modules
Dimensions
DRS-240
3
240mm x 35mm
Part number
Max. number of modules
Dimensions
DRS-125
2
125mm x 35mm
Note: It is recommended that a 16 – 14 AWG wire is used to
connect the DIN rail to the earth ground.
M-7084 User Manual, Rev. A1.3 7PH-013-A13
24
1.11.2 Piggyback Mounting
M-7084 User Manual, Rev. A1.3 7PH-013-A13
25
1.11.3 Wall Mounting
M-7084 User Manual, Rev. A1.3 7PH-013-A13
26
1.12 Technical Support
Should you encounter any problems while using the
I-7000 and M-7000 module, and are unable to find the help
you need in this manual or on our website, please contact ICP
DAS Product Support.
When requesting technical support, be prepared to provide the
following information about your system:
1. Module name and serial number: The serial number can be
found printed on the barcode label attached to the cover of
the module.
2. Firmware version: See Sections 2.19 and 3.1 for
information regarding the command used to identify the
firmware version.
3. Host configuration (type and operating system)
4. If the problem is reproducible, please give full details
describing the procedure used to reproduce the problem.
5. Any specific error messages displayed. If a dialog box
with an error message is displayed, please include the full
text of the dialog box, including the text in the title bar.
6. If the problem involves other programs or hardware
devices, please describe the details of the problem in full.
7. Any comments and suggestions related to the problem are
welcome.
ICP DAS will reply to your request by email within three
business days.
M-7084 User Manual, Rev. A1.3 7PH-013-A13
27
Leading
Character
Module
Address
Command
[CHKSUM]
CR
Leading
Character
Module
Address
Data
[CHKSUM]
CR
2. DCON Protocol
All communication with I-7000 modules consists of
commands generated by the host and responses transmitted by
the I-7000 modules. Each module has a unique ID number
that is used for addressing purposes and is stored in nonvolatile memory. The ID is 01 by default and can be changed
using a user command. All commands to the modules contain
the ID address, meaning that only the addressed module will
respond. The only exception to this is command ~** (Section
2.36), which is sent to all modules, but the modules do not
reply to the command.
Command Format:
Response Format:
CHKSUM A 2-character checksum which is present when
the checksum setting is enabled. See Sections
1.9 (Data Format Setting) and 2.1 for details.
CREnd of command character, carriage return
(0x0D)
M-7084 User Manual, Rev. A1.3 7PH-013-A13
28
Checksum Calculation:
1. Calculate the ASCII code sum of all the characters in the
command/response string except for the carriage return
character (CR).
2. The checksum is equal to the sum masked by 0FFh.
Example:
Command string: $012(CR)
1. Sum of the string = “$”+”0”+”1”+”2” =
24h+30h+31h+32h = B7h
2. Therefore the checksum is B7h, and so
CHKSUM = “B7”
3. The command string with the checksum = $012B7(CR)