ICP DAS USA I-7000 Series User Manual

ICP DAS USA I-7000 Series User Manual

Hide thumbs Also See for I-7000 Series:

Advertisement

Quick Links

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.
M-7084
User Manual
M-7084 User Manual, Rev. A1.3 7PH-013-A13
Date: 2019/3/4
1

Advertisement

Table of Contents
loading

Summary of Contents for ICP DAS USA I-7000 Series

  • Page 1 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.
  • Page 2: Table Of Contents

    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 ................
  • Page 3 2.12 $AA5VV ................53 2.13 $AA6 ..................55 2.14 $AA6N ................. 57 2.15 $AA7 ..................59 2.16 $AA7VV ................61 2.17 $AA7CNRVV ..............63 2.18 $AA8CN ................65 2.19 $AAF ..................67 2.20 $AAI ..................68 2.21 $AAM ................... 70 2.22 $AAP ..................
  • Page 4 A. Appendix ..................124 A.1 INIT Mode ................124 A.2 Dual Watchdog Operation ........... 126 A.3 Frame Ground ..............127 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...
  • Page 5: Introduction

    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.
  • Page 6: More Information

    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. The 7000 Series Overview Related Documentation for the 7000 Series Common Features of the 7000 Series The 7000 Series System Network Configuration 7000 Dimensions...
  • Page 7: Terminal Assignment

    1.2 Terminal Assignment M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 8: Specifications

    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 (Quadrature Counting) 8-channel Up Counter 8-channel Frequency Contact 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.
  • Page 9: System Specifications

    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...
  • Page 10: Block Diagram

    1.4 Block Diagram 1.4.1 Block Diagram for the M-7084 M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 11: Dimensions

    1.5 Dimensions lnit Normal Back View Side View Unit : mm Top View Front View M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 12: Wiring

    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.
  • Page 13: Quick Start

    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...
  • Page 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...
  • Page 15: Default Settings

    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.3 7PH-013-A13...
  • Page 16: Configuration Tables

    1.9 Configuration Tables Baud Rate Setting (CC) Data Baud 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...
  • Page 17 Data Format Setting (FF) Description 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 Checksum setting 0: Disabled 1: Enabled Reserved Note: The reserved bits should be zero. Counter Type and Data Format Table Type Code Counter type Data...
  • Page 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.
  • Page 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.
  • Page 20: M-7000 Notes

    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.
  • Page 21: Init Mode

    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.
  • Page 22: Mounting

    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.
  • Page 23 Part number Max. number of modules Dimensions DRS-240 240mm x 35mm Part number Max. number of modules Dimensions DRS-125 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.
  • Page 24: Piggyback Mounting

    1.11.2 Piggyback Mounting M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 25: Wall Mounting

    1.11.3 Wall Mounting M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 26: Technical Support

    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. Email: service@icpdas.com Website: http://www.icpdas.com.tw/contact_us/contact_us.html When requesting technical support, be prepared to provide the following information about your system:...
  • Page 27: Dcon Protocol

    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 non- volatile memory.
  • Page 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.
  • Page 29 General Command Sets Section Command Response Description %AANNTTCCFF Sets the Module Configuration $AA2 !AANNTTCCFF Reads the Module Configuration 2.11 $AA5 !AAS Reads the Reset Status 2.19 $AAF !AA(Data) Reads the firmware Version 2.20 $AAI !AAS Reads the INIT Status 2.21 $AAM !AA(Data) Reads the Module Name...
  • Page 30 Section Command Response Description Clears the Counter Value of the 2.14 $AA6N Specified Channel Shows the Overflow Status of All 2.15 $AA7 !AAVV Channels 2.16 $AA7VV Clears the Overflow Status 2.17 $AA7CNRVV Sets the Single Channel Type Reads the Channel Type of the 2.18 $AA8CN !AACNRVV...
  • Page 31: Aannttccff

    2.1 %AANNTTCCFF Description: Sets the configuration of a module. Syntax: %AANNTTCCFF[CHKSUM](CR) Delimiter character Address of the module to be configured in hexadecimal format (00 to FF) New address of the module in hexadecimal format (00 to FF) New type code. Not used by the M-7084. It should be set to 00 for the M-7084 New Baud Rate code, see Section 1.9 for details.
  • Page 32 Response: Valid Command: !AA[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter for a valid command Delimiter for an invalid command. If the Baud Rate or checksum settings are changed without connecting the INIT* pin to ground or switching the rear slide switch to the INIT position, the module will return an invalid command.
  • Page 33 Related Commands: Section 2.6 $AA2, Section 2.41 ~AAI, Section 2.45 ~AATnn Related Topics: Section 1.9 Configuration Tables, Section A.1 INIT* pin Operation Notes: 1. Changes to the address and data format settings take effect immediately after a valid command is received. Changes to the Baud Rate and checksum settings take effect on the next power-on reset.
  • Page 34 2.2 #AA Description: Reads the data from every input channels. Syntax: #AA[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Response: Valid Response: >(Data)[CHKSUM](CR) Invalid Response: ?AA[CHKSUM](CR) > Delimiter character for a valid response Delimiter character for an invalid response (Data) Data from every input channels, see Section 1.9 for the details of data format.
  • Page 35: Aan

    2.3 #AAN Description: Reads the input of channel N. Syntax: #AAN[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) The channel to be read, zero based. Response: Valid Response: >(Data)[CHKSUM](CR) Invalid Response: ?AA[CHKSUM](CR) > Delimiter character for a valid response Delimiter character for an invalid response.
  • Page 36 Examples: Command: #032 Response: >00001234 Reads data from channel 2 of module 03. Command: #029 Response: ?02 Reads data from channel 9 of module 02. An error is returned because channel 9 is invalid. Related Commands: Section 2.1 %AANNTTCCFF, Section 2.6 $AA2 Related Topics: Section 1.9 Configuration Tables M-7084 User Manual, Rev.
  • Page 37: Aa0N

    2.4 $AA0N Description: Reads the low pass filter time of channel N. Syntax: $AA0N[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to read the low pass filter time of a channel Specifies the channel to be read (0 ~ 7) Response: Valid command: !AA(Data)[CHKSUM](CR)
  • Page 38 Examples: Command: $0103 Response: !0100010 Reads the channel 3 low pass filter time of module 01 and the module responds with 00010 which means 10 micro seconds. Related Commands: Section 2.5 $AA0N(data), Section 2.9 $AA4, Section 2.10 $AA4vv Notes: 1. The low pass filter time should be the same for channel 0 and 1.
  • Page 39: Aa0N(Data)

    2.5 $AA0N(Data) Description: Sets the low pass filter time of a channel. Syntax: $AA0N(Data)[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to read the low pass filter time of a channel Specifies the channel to be read (0 ~ 7) (Data) Low pass filter time is micro seconds, consisting of 5 decimal digits in the range 00001 ~ 32767.
  • Page 40 Examples: Command: $010300010 Response: !01 Sets the channel 3 low pass filter time of module 01 to 10 micro seconds and returns a valid response. Related Commands: Section 2.4 $AA0N, Section 2.9 $AA4, Section 2.10 $AA4vv Notes: 1. The low pass filter time should be the same for channel 0 and 1.
  • Page 41: Aa2

    2.6 $AA2 Description: Reads the module configuration. Syntax: $AA2[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the module configuration Response: Valid Command: !AATTCCFF[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) Type code of the module, should be 00 for M-7084.
  • Page 42 Examples: Command: $012 Response: !01000600 Reads the configuration of module 01. Related Commands: Section 2.1 %AANNTTCCFF Related Topics: Section 1.9 Configuration Tables M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 43: Aa3N

    2.7 $AA3N Description: Reads the maximum counter value of channel N. Syntax: $AA3N[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to read the maximum counter value of a channel Specifies the channel to be read (0 ~ 7) Response: Valid command: !AA(Data)[CHKSUM](CR)
  • Page 44 Examples: Command: $0132 Response: !01FFFFFFFF Reads the channel 2 maximum counter value of module 01 and the module responds with FFFFFFFF. Related Commands: Section 2.8 $AA3N(Data) Note: The maximum counter value is only available to the channels that are set to up counter type (type code 50). M-7084 User Manual, Rev.
  • Page 45: Aa3N(Data)

    2.8 $AA3N(Data) Description: Sets the maximum counter value of a channel. Syntax: $AA3N(Data)[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the maximum counter value of a channel Specifies the channel to be read (0 ~ 7) (Data) The maximum counter value in eight hexadecimal digits...
  • Page 46 Examples: Command: $0132F0000000 Response: !01 Sets the channel 2 maximum counter value of module 01 to 0xF0000000 and returns a valid response. Related Commands: Section 2.7 $AA3N Note: The maximum counter value is only available to the channels that are set to up counter type (type code 50). M-7084 User Manual, Rev.
  • Page 47: Aa4

    2.9 $AA4 Description: Reads the enabled/disabled low pass filter status of each channel. Syntax: $AA4[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the low pass filter status Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 48 Examples: Command: $014 Response: !013A Reads the low pass filter enabled/disabled status for module 01 and returns a response of 3A, meaning that low pass filter for channels 1, 3, 4, and 5 are enabled and disabled for all other channels. Related Commands: Section 2.10 $AA4VV M-7084 User Manual, Rev.
  • Page 49: Aa4Vv

    2.10 $AA4VV Description: Specifies the channel(s) which low pass filter should be enabled. Syntax: $AA4VV[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to enable/disable the low pass filter A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 50 Examples: Command: $0143A Response: !01 Enables the low pass filter of channels 1, 3, 4, and 5 and disables all other channels of module 01. The module returns a valid response. Related Commands: Section 2.9 $AA4 M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 51: Aa5

    2.11 $AA5 Description: Reads the reset status of a module. Syntax: $AA5[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the module reset status Response: Valid Command: !AAS[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) Reset status of the module...
  • Page 52 Examples: Command: $015 Response: !011 Reads the reset status of module 01. The response shows that it is the first time the $AA5 command has been sent since the module was powered-on. Command: $015 Response: !010 Reads the reset status of module 01. The response shows that there has been no module reset since the last $AA5 command was sent.
  • Page 53: Aa5Vv

    2.12 $AA5VV Description: Specifies the channel(s) to count. Syntax: $AA5VV(VV)[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to start counting A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 54 Examples: Command: $0153A Response: !01 Sets channels 1, 3, 4, and 5 to count and all other channels not counting for module 01. The module returns a valid response. Command: $016 Response: !013A Reads the counting status of module 01 and returns a response of 3A, meaning that channels 1, 3, 4, and 5 are counting and all other channels are not counting.
  • Page 55: Aa6

    2.13 $AA6 Description: Reads the start/stop counting status of each channel. Syntax: $AA6[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the channel counting status Response: Valid Response: !AAVV(VV)[CHKSUM](CR) Invalid Response: ?AA[CHKSUM](CR) Delimiter character for a valid response Delimiter character for an invalid response Address of the responding module (00 to FF) A two-digit hexadecimal value, where bit 0...
  • Page 56 Examples: Command: $0153A Response: !01 Sets channels 1, 3, 4, and 5 to count and all other channels not counting for module 01. The module returns a valid response. Command: $016 Response: !013A Reads the counting status of module 01 and returns a response of 3A, meaning that channels 1, 3, 4, and 5 are counting and all other channels are not counting.
  • Page 57: Aa6N

    2.14 $AA6N Description: Sets the counter value of a channel to preset value. Syntax: $AA6N[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to clear the counter value Specifies the channel to be cleared (0 ~ 7) Response: Valid command: !AA[CHKSUM](CR)
  • Page 58 Examples: Command: $0161 Response: !01 Clears the counter value of channel 1 of module 01 and the module returns a valid response. Related Commands: Section 2.15 $AA7 Notes: 1. The overflow status is cleared by the command, too. 2. The command is not available to the channels that are set to type code 51, frequency measurement.
  • Page 59: Aa7

    2.15 $AA7 Description: Reads the counter overflow status of each channel. Syntax: $AA7[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the counter overflow status Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) A two-digit hexadecimal value, where bit 0...
  • Page 60 There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. Examples: Command: $017 Response: !013A Reads the counter overflow status for module 01 and returns a response of 3A, meaning that counters of channels 1, 3, 4, and 5 are overflowed.
  • Page 61: Aa7Vv

    2.16 $AA7VV Description: Specifies the channels which counter overflow status are to be cleared. Syntax: $AA7VV[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to clear the counter overflow status A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 62 Examples: Command: $0173A Response: !01 Clears the counter overflow status of channels 1, 3, 4, and 5 for module 01 and returns a valid response. Related Commands: Section 2.15 $AA7 Note: The command is not available to the channels that are set to type code 51, frequency measurement.
  • Page 63: Aa7Cnrvv

    2.17 $AA7CNRVV Description: Sets the type code of a channel. Syntax: $AA7CNRVV[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the channel range code N specifies the input channel to be set (0-7) VV represents the type code of the channel to be set.
  • Page 64 Examples: Command: $017C0R50 Response: !01 Sets the type code for channel 0 of module 01 to be 50 (up counting) and the module returns a valid response. Command: $037C1R30 Response: ?03 Sets the type code for channel 1 of module 03 to be 30. The module returns an invalid response because the type code is invalid.
  • Page 65: Aa8Cn

    2.18 $AA8CN Description: Reads the type code information of a channel. Syntax: $AA8CN[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the type code of a channel N specifies which channel to access for the type code information (N=0-7).
  • Page 66 There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. Examples: Command: $018C0 Response: !01C0R50 Reads the channel 0 input range of module 01 and returns 50 (up counting).
  • Page 67: Aaf

    2.19 $AAF Description: Reads the firmware version of a module. Syntax: $AAF[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the firmware version Response: Valid command: !AA(Data)[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) (Data)
  • Page 68: Aai

    2.20 $AAI Description: Reads the INIT status. Syntax: $AAI[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the INIT status Response: Valid Response: !AAS[CHKSUM](CR) Invalid Response: ?AA[CHKSUM](CR) Delimiter character for a valid response Delimiter character for an invalid response Address of the responding module (00 to FF) INIT status:...
  • Page 69 Examples: Command: $01I Response: !010 Reads the INIT status of module 01 and the module responds with 0, meaning that the INIT pin is shorted to GND. M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 70: Aam

    2.21 $AAM Description: Reads the name of a module. Syntax: $AAM[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the module name Response: Valid command: !AA(Data)[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) (Name) Name string of the module...
  • Page 71: Aap

    2.22 $AAP Description: Reads the communication protocol information. Syntax: $AAP[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the communication protocol Response: Valid Response: !AASC[CHKSUM](CR) Invalid Response: ?AA[CHKSUM](CR) Delimiter character for a valid response Delimiter character for an invalid response Address of the responding module (00 to FF) The protocols supported by the module...
  • Page 72 Examples: Command: $01P Response: !0110 Reads the communication protocol of module 01 and returns a response of 10 meaning that it supports both the DCON and Modbus RTU protocols and the protocol that will be used at the next power-on reset is DCON.
  • Page 73: Aapn

    2.23 $AAPN Description: Sets the communication protocol. Syntax: $AAPN[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to set the communication protocol 0: DCON protocol 1: Modbus RTU protocols Before using this command, the rear slide switch must be in the INIT position.
  • Page 74 Examples: Command: $01P1 Response: ?01 Sets the communication protocol of module 01 to Modbus RTU and returns an invalid response because the module is not in INIT mode. Command: $01P1 Response: !01 Sets the communication protocol of module 01 to Modbus RTU and returns a valid response.
  • Page 75: Aabb

    2.24 @AABB Description: Reads the battery backup counter status of each channel. Syntax: @AABB[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the battery backup counter status Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 76 Examples: Command: @01BB Response: !013A Reads the battery backup counter status for module 01 and returns a response of 3A, meaning that battery backup counter for channels 1, 3, 4, and 5 are enabled and disabled for all other channels. Related Commands: Section 2.25 @AABBVV Note:...
  • Page 77: Aabbvv

    2.25 @AABBVV Description: Specifies the channels which battery backup counter function should be enabled. Syntax: @AABBVV[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to enable the battery backup counter function A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 78 Examples: Command: @01BB 3A Response: !01 Sets the battery backup counter function of channels 1, 3, 4, and 5 for module 01 to be enabled and returns a valid response. Related Commands: Section 2.24 @AABB Note: The command is not available to the channels that are set to type code 51, frequency measurement.
  • Page 79: Aafa

    2.26 @AAFA Description: Reads the automatic frequency mode status of each channel. Syntax: @AAFA[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the automatic frequency mode status Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 80 Examples: Command: @01FA Response: !013A Reads the automatic frequency mode status for module 01 and returns a response of 3A, meaning that automatic frequency mode for channels 1, 3, 4, and 5 are enabled and disabled for all other channels. Related Commands: Section 2.27 @AAFAVV Related Topics:...
  • Page 81: Aafavv

    2.27 @AAFAVV Description: Specifies the channels which automatic frequency mode is to be enabled. Syntax: @AAFAVV[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to enable the automatic frequency mode A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 82 Examples: Command: @01FA3A Response: !01 Enables the automatic frequency mode of channels 1, 3, 4, and 5 for module 01 and returns a valid response. Related Commands: Section 2.26 @AAFA Related Topics: Section A.6 Frequency Measurement Note: The command is only available to the channels that are set to type code 51, frequency measurement.
  • Page 83: Aafh

    2.28 @AAFH Description: Reads the high frequency mode status of each channel. Syntax: @AAFH[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the high frequency mode status Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 84 Examples: Command: @01FH Response: !013A Reads the high frequency mode status for module 01 and returns a response of 3A, meaning that battery backup counter for channels 1, 3, 4, and 5 are enabled and disabled for all other channels. Related Commands: Section 2.29 @AAFHVV Related Topics:...
  • Page 85: Aafhvv

    2.29 @AAFHVV Description: Specifies the channels which high frequency mode is enabled. Syntax: @AAFH[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to enable the high frequency mode A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 86 Examples: Command: @01FH3A Response: !01 Enables the high frequency mode of channels 1, 3, 4, and 5 for module 01 and returns a valid response. Related Commands: Section 2.28 @AAFH Related Topics: Section A.6 Frequency Measurement Note: 1. The command is only available to the channels that are set to type code 51, frequency measurement.
  • Page 87: Aaft

    2.30 @AAFT Description: Reads the frequency measurement timeout setting. Syntax: @AAFT[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the frequency measurement timeout setting Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) Two hexadecimal digits to represent the timeout...
  • Page 88 Examples: Command: @01FT Response: !010A Reads the frequency measurement timeout for module 01 and returns a response of 0A, meaning that frequency measurement timeout value is 1 second. Related Commands: Section 2.31 @AAFTVV Related Topics: Section A.6 Frequency Measurement Note: 1.
  • Page 89: Aaftvv

    2.31 @AAFTVV Description: Sets the frequency measurement time out value of a module. Syntax: @AAFTVV[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to set the frequency measurement time Two hexadecimal digits to represent the timeout value in tenths of a second, for example, 01 denotes 0.1 seconds and FF denotes 25.5 seconds.
  • Page 90 Examples: Command: @01FT0A Response: !01 Sets the frequency measurement timeout for module 01 to 1 second and returns a valid response. Related Commands: Section 2.30 @AAFT Related Topics: Section A.6 Frequency Measurement Note: 1. The command is only available to the channels that are set to type code 51, frequency measurement.
  • Page 91: Aagn

    2.32 @AAGN Description: Reads the preset counter value of channel N. Syntax: @AAGN[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to read the preset counter value of a channel Specifies the channel to be read (0 ~ 7) Response: Valid command: !AA(Data)[CHKSUM](CR)
  • Page 92 Examples: Command: @01G2 Response: !0100000000 Reads the channel 2 maximum counter value of module 01 and the module responds with 00000000. Related Commands: Section 2.33 @AAPN(Data) Note: The preset counter value is only available to the channels that are set to up counter type (type code 50). M-7084 User Manual, Rev.
  • Page 93: Aapn(Data)

    2.33 @AAPN(Data) Description: Sets the preset counter value of a channel. Syntax: @AAPN(Data)[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the preset counter value of a channel Specifies the channel to be read (0 ~ 7) (Data) The preset counter value in eight hexadecimal digits Response:...
  • Page 94 Examples: Command: @01P2F0000000 Response: !01 Sets the channel 2 preset counter value of module 01 to 0xF0000000 and returns a valid response. Related Commands: Section 2.32 @AAGN Note: The preset counter value is only available to the channels that are set to up counter type (type code 50). M-7084 User Manual, Rev.
  • Page 95: Aasc

    2.34 @AASC Description: Reads the stop counting on overflow status of each channel. Syntax: @AASC[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the stop counting on overflow status Response: Valid Command: !AAVV[CHKSUM](CR) Invalid Command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command...
  • Page 96 Examples: Command: @01SC Response: !013A Reads the stop counting on overflow status for module 01 and returns a response of 3A, meaning that stop counting on overflow for channels 1, 3, 4, and 5 are enabled and disabled for all other channels. Related Commands: Section 2.35 @AASCVV Note:...
  • Page 97: Aascvv

    2.35 @AASCVV Description: Specifies the channels which stop counting on overflow are enabled. Syntax: @AASCVV[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to enable the stop counting on overflow A two-digit hexadecimal value, where bit 0 corresponds to channel 0, bit 1 corresponds to channel 1, etc.
  • Page 98 Examples: Command: @01SC3A Response: !01 Enables the stop counting on overflow of channels 1, 3, 4, and 5 for module 01 and returns a valid response. Related Commands: Section 2.34 @AASC Note: The command is only available to the channels that are set to type code 50, up counter measurement.
  • Page 99 2.36 ~** Description: Informs all modules that the host is OK. Syntax: ~**[CHKSUM](CR) Delimiter character Host OK command Response: No response. Examples: Command: ~** No response Sends a “Host OK” command to all modules. Related Commands: Section 2.37 ~AA0, Section 2.38 ~AA1, Section 2.39 ~AA2, Section 2.40 ~AA3EVV Related Topics: Section A.2 Dual Watchdog Operation...
  • Page 100: Aa0

    2.37 ~AA0 Description: Reads the host watchdog status of a module. Syntax: ~AA0[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the module status Response: Valid command: !AASS[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF) Two hexadecimal digits that represent the host...
  • Page 101 There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address. Examples: Command: ~010 Response: !0100 Reads the host watchdog status of module 01 and returns 00, meaning that the host watchdog is disabled and no host watchdog timeout has occurred.
  • Page 102: Aa1

    2.38 ~AA1 Description: Resets the host watchdog timeout status of a module. Syntax: ~AA1[CHKSUM](CR) Delimiter character Address of the module to be reset (00 to FF) Command to reset the host watchdog timeout status Response: Valid command: !AA[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 103 Examples: Command: ~010 Response: !0104 Reads the host watchdog status of module 01 and shows that a host watchdog timeout has occurred. Command: ~011 Response: !01 Resets the host watchdog timeout status of module 01 and returns a valid response. Command: ~010 Response: !0100 Reads the host watchdog status of module 01 and shows...
  • Page 104: Aa2

    2.39 ~AA2 Description: Reads the host watchdog timeout value of a module. Syntax: ~AA2[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the host watchdog timeout value Response: Valid command : !AAEVV[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 105 Examples: Command: ~012 Response: !011FF Reads the host watchdog timeout value of module 01 and returns FF, which denotes that the host watchdog is enabled and the host watchdog timeout value is 25.5 seconds. Related Commands: Section 2.36 ~**, Section 2.37 ~AA0, Section 2.38 ~AA1, Section 2.40 ~AA3EVV Related Topics: Section A.2 Dual Watchdog Operation...
  • Page 106: Aa3Evv

    2.40 ~AA3EVV Description: Enables/disables the host watchdog and sets the host watchdog timeout value of a module. Syntax: ~AA3EVV[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the host watchdog 1: enable the host watchdog 0: disable the host watchdog Two hexadecimal digits to represent the timeout value in tenths of a second, for example, 01 denotes...
  • Page 107 Examples: Command: ~013164 Response: !01 Enables the host watchdog of module 01 and sets the host watchdog timeout value to 10.0 seconds. The module returns a valid response. Command: ~012 Response: !01164 Reads the host watchdog timeout value of module 01. The module returns 164, which denotes that the host watchdog is enabled and the host watchdog timeout value is 10.0 seconds.
  • Page 108: Aai

    2.41 ~AAI Description: The Soft INIT command is used to enable modification of the Baud Rate and checksum settings using software only. Syntax: ~AAI[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the Soft INIT Response: Valid Response: !AA[CHKSUM](CR)
  • Page 109 Related Topics: Section A.1 INIT Mode Note: The ~AATnn command should be sent prior to sending this command, see Section 2.45 for details. M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 110: Aao(Name)

    2.42 ~AAO(Name) Description: Sets the name of a module. Syntax: ~AAO(Name)[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the module name (Name) New name of the module (max. 6 characters). Response: Valid command: !AA[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command...
  • Page 111 Examples: Command: ~01O7084N Response: !01 Sets the name of module 01 to be “7084N” and returns a valid response. Command: $01M Response: !017084N Reads the name of module 01 and returns the name “7084N”. Related Commands: Section 2.21 $AAM M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 112: Aard

    2.43 ~AARD Description: Reads the response delay time value of a module. Syntax: ~AARD[CHKSUM](CR) Delimiter character Address of the module to be read (00 to FF) Command to read the response delay time value Response: Valid command : !AAEVV[CHKSUM](CR) Invalid command: ?AA[CHKSUM](CR) Delimiter character for a valid command Delimiter character for an invalid command Address of the responding module (00 to FF)
  • Page 113 Examples: Command: ~01RD Response: !0102 Reads the response delay time value of module 01 and returns 02, which denotes that the response delay time value is 2ms. Related Commands: Section 2.44 ~AARDVV M-7084 User Manual, Rev. A1.3 7PH-013-A13...
  • Page 114: Aardvv

    2.44 ~AARDVV Description: Sets the response delay time value of a module. Syntax: ~AARDVV[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the response delay time Two hexadecimal digits to represent the response delay time value in milli-second, for example, 01 denotes 1ms and 1E denotes 30s.
  • Page 115 Examples: Command: ~01RD06 Response: !01 Sets the response delay time value to 6ms. The module returns a valid response. Command: ~01RD Response: !0106 Reads the response delay time value of module 01. The module returns 06, which denotes that the rsponse delay time value is 6ms.
  • Page 116: Aatnn

    2.45 ~AATnn Description: Sets the soft INIT time out value. Syntax: ~AATnn[CHKSUM](CR) Delimiter character Address of the module to be set (00 to FF) Command to set the soft INIT time out value Two hexadecimal digits representing the time out value in seconds.
  • Page 117 Response: Valid Response: !AA[CHKSUM](CR) Invalid Response: ?AA[CHKSUM](CR) Delimiter character for a valid response Delimiter character for an invalid response Address of the responding module (00 to FF) There will be no response if the command syntax is incorrect, there is a communication error, or there is no module with the specified address.
  • Page 118 Related Commands: Section 2.1 %AANNTTCCFF, Section 2.41 ~AAI Related Topics: Section A.1 INIT Mode Note: It is recommended that the soft INIT time out value is reset to 0 once any changes to Baud Rate and checksum settings have been completed. M-7084 User Manual, Rev.
  • Page 119: Modbus Rtu Protocol

    3. Modbus RTU Protocol The Modbus protocol is developed by Modicon Inc., originally developed for Modicon controllers. Detailed information can be found at http://www.modicon.com/techpubs/toc7.html. You can also visit http://www.modbus.org to find more valuable information. The M-7084 modules support the Modbus RTU protocol. The communication Baud Rates range from 1200bps to 115200bps.
  • Page 120: M-7084 Modbus Address Mapping

    3.1 M-7084 Modbus Address Mapping Address Description Attribute 30001 ~ 30016 Counter/frequency value of channel 0 to 7, two registers for each channel 40065 ~ 40080 Maximum value for up counter 0 to 7, two registers for each channel 40097 ~ 40112 Preset value of counter 0 to 7, two registers for each channel 40161 Frequency measurement timeout in 100ms, 1 ~ 255 R/W...
  • Page 121 Address Description Attribute 00033 ~ 00040 Input status after XOR mask for channel 0 to 7 00041 ~ 00048 Input status after low-pass filter for channel 0 to 7 00065 ~ 00072 Counter overflow status for channel 0 to 7. Write 1 to clear 00257 Protocol, 0: DCON, 1: Modbus RTU...
  • Page 122: Troubleshooting

    4. Troubleshooting If you are having difficulty using the I-7000 or M-7000 module, here are some suggestions that may help. If you cannot find the answers you need in these guides, contact ICP DAS Product Support. Contact information is located in Section 1.12.
  • Page 123: Communicating With The Module

    ICP DAS website http://www.icpdas.com. The DCON Utility documentation can be found in the ”Getting Started For I-7000 Series Modules” manual. Set the module to “INIT mode” and communicate with the  module using the following settings: address 00, Baud Rate 9600bps and no checksum.
  • Page 124: Appendix

    A. Appendix A.1 INIT Mode Each I-7000 and M-7000 module has a built-in EEPROM to store configuration information such as module address, type code, Baud Rate, etc. Occasionally, the configuration of a module may be forgotten and there are no visual indications of the configuration of the module.
  • Page 125 Originally, the INIT mode is accessed by connecting the INIT* terminal to the GND terminal. New I-7000 and M- 7000 modules have the INIT switch located on the rear side of the module to allow easier access to the INIT mode. For these modules, INIT mode is accessed by sliding the INIT switch to the Init position as shown below.
  • Page 126: Dual Watchdog Operation

    Watchdog, making the control system more reliable and stable. For more information regarding the Dual Watchdog, please refer to Chapter 5 of the “Getting Started For I-7000 Series Modules” manual that can be downloaded from the ICP DAS website http://www.icpdas.com.
  • Page 127: Frame Ground

    A.3 Frame Ground Electronic circuits are constantly vulnerable to Electro-Static Discharge (ESD), which become worse in a continental climate area. Some I-7000 and M-7000 modules feature a new design for the frame ground, which provides a path for bypassing ESD, allowing enhanced static protection (ESD) capability and ensures that the module is more reliable.
  • Page 128 New DIN rail models are available that can easily be connected to the earth ground. 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 as shown in the figure below.
  • Page 129: Node Information Area

    A.4 Node Information Area Each I-7000 and M-7000 module has a built-in EEPROM to store configuration information such as module address, type code, Baud Rate, etc. One minor drawback is that there are no visual indications of the configuration of the module. New I-7000 and M-7000 modules include node information areas that are protected by a cover, as shown below, and can be used to make a written record of the node information, such...
  • Page 130: Reset Status

    A.5 Reset Status The reset status of a module is set when the module is powered-on or when the module is reset by the module watchdog. It is cleared after the responding of the first $AA5 command. This can be used to check whether the module had been reset.
  • Page 131: Frequency Measurement

    A.6 Frequency Measurement Frequency is usually measured by one of the following two methods. 1. by counting number of signal pulses during a known time interval, gate time 2. by counting number of pulses of a reference clock during the signal period M-7084 uses the second method for the frequency measurement.

This manual is also suitable for:

M-7000 seriesM-7084

Table of Contents