background image

 
 

M-7084 User Manual, Rev. A1.3 7PH-013-A13 

120 

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 

R/W 

40097 ~ 40112 Preset value of counter 0 to 7, two registers for each 

channel 

R/W 

40161 

Frequency measurement timeout in 100ms, 1 ~ 255  R/W 

40162 

Low-pass filter time for channel 0 and 1 in us, 1 ~ 

32767 

R/W 

40163 

Low-pass filter time for channel 2 and 3 in us, 1 ~ 

32767 

R/W 

40164 

Low-pass filter time for channel 4 to 7 in us, 1 ~ 

32767 

R/W 

40257 ~ 40264 Type code of channel 0 to 7 

R/W 

40481  

Firmware version (low word) 

40482 

Firmware version (high word) 

40483 

Module name (low word) 

40484 

Module name (high word) 

40485 

Module address, valid range: 1 ~ 247 

R/W 

40486 

Bits 5:0  

Baud rate, valid range: 3 ~ 10 

Bits 7:6 
    00: 8 data bits, no parity, 1 stop bit 
    01: 8 data bits, no parity, 2 stop bit 
    10: 8 data bits, even parity, 1 stop bit 
    11: 8 data bits, odd parity , 1 stop bit 

R/W 

40488 

Modbus response delay time in ms, valid range: 0 ~ 
30 

R/W 

40489 

Host watchdog timeout value, 0 ~ 255, in 0.1s  

R/W 

40490 

Start/stop counting, bit 0 for ch0, bit 1 for ch1, …, 
00h ~ FFh 

R/W 

40492 

Host watchdog timeout count, write 0 to clear 

R/W 

 

Summary of Contents for M-7000 series

Page 1: ...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 n...

Page 2: ...ing 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 20 1 10 1 Protocol Switching 20 1 10 2 INIT Mode 21 1 11 Mounting 22 1 11 1 Din Rail Mounting 22 1 11 2 Piggyback Mounting 24 1 11 3 Wall Mounting 25 1 12 Technical Support 26 2 DCON Protocol 27 2 1 AANNTTCCFF 31 2 2 AA 34 2 3 AAN 35 2 4 AA0N 37 2 5...

Page 3: ...5 AABBVV 77 2 26 AAFA 79 2 27 AAFAVV 81 2 28 AAFH 83 2 29 AAFHVV 85 2 30 AAFT 87 2 31 AAFTVV 89 2 32 AAGN 91 2 33 AAPN Data 93 2 34 AASC 95 2 35 AASCVV 97 2 36 99 2 37 AA0 100 2 38 AA1 102 2 39 AA2 104 2 40 AA3EVV 106 2 41 AAI 108 2 42 AAO Name 110 2 43 AARD 112 2 44 AARDVV 114 2 45 AATnn 116 3 Modbus RTU Protocol 119 3 1 M 7084 Modbus Address Mapping 120 4 Troubleshooting 122 4 1 Communicating wi...

Page 4: ...084 User Manual Rev A1 3 7PH 013 A13 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 ...

Page 5: ...ammable 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 ES...

Page 6: ...iguration 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 Are...

Page 7: ...M 7084 User Manual Rev A1 3 7PH 013 A13 7 1 2 Terminal Assignment ...

Page 8: ...y 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 Frequenc...

Page 9: ...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 Temperatur...

Page 10: ...M 7084 User Manual Rev A1 3 7PH 013 A13 10 1 4 Block Diagram 1 4 1 Block Diagram for the M 7084 ...

Page 11: ...M 7084 User Manual Rev A1 3 7PH 013 A13 11 1 5 Dimensions Back View Top View Front View Side View Unit mm lnit Normal ...

Page 12: ...iring 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 ...

Page 13: ...ange 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 m...

Page 14: ...4 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 ...

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

Page 16: ... 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 Quadrature counter ...

Page 17: ...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 Quadrature Hex 80000000 7FFFFFFF ...

Page 18: ...ounter 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 ...

Page 19: ...ure 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: ... 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 fra...

Page 21: ... 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 AANNTTCC...

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

Page 23: ...13 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 ...

Page 24: ...M 7084 User Manual Rev A1 3 7PH 013 A13 24 1 11 2 Piggyback Mounting ...

Page 25: ...M 7084 User Manual Rev A1 3 7PH 013 A13 25 1 11 3 Wall Mounting ...

Page 26: ...ched 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 displa...

Page 27: ...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 Leading Character Module Address Command CHKSUM CR Response Format Leading Character Module Address Data CHKSUM CR CHKSUM A 2 character checksum which...

Page 28: ...d 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 Response string 01200600 CR 1 Sum of the string 0 1 2 0 0 6 0 0 21h 30h 31h 32h 30h 30h 36h 30h 30h 1AAh 2 Therefore the checksum is AAh and so CHKSUM AA 3 The response string with the checksum 01200600AA CR Note All ...

Page 29: ...2 43 AARDVV AA Sets the Response Delay Time 2 44 AATnn AA Sets the Software INIT Timeout 2 45 Counter Frequency Command Sets Command Response Description Section AA Data Reads the Input Data of All Channels 2 2 AAN Data Reads the Input Data of the Specified Channel 2 3 AA0N AA Data Reads the Low Pass Filter Time of the Specified Channel 2 4 AA0N Data AA Sets the Low Pass Filter Time of the Specifi...

Page 30: ...ency Mode Status 2 27 AAFH AAVV Reads the High Frequency Mode Status 2 28 AAFHVV AA Sets the High Frequency Mode Status 2 29 AAFT AAVV Reads the Frequency Measurement Timeout 2 30 AAFTVV AA Sets the Frequency Measurement Timeout 2 31 AAGN AA Data Reads the Preset Counter Value of the Specified Channel 2 32 AAPN Data AA Sets the Preset Counter Value of the Specified Channel e 2 33 AASC AAVV Reads t...

Page 31: ...t to 00 for the M 7084 CC New Baud Rate code see Section 1 9 for details The INIT pin must be connected to ground in order to change Baud Rates For the module with frame ground this is achieved by moving the rear slide switch to the INIT position See Section A 1 for details FF Used to set the data format and checksum Section 1 9 The INIT pin must be connected to ground in order to change the check...

Page 32: ...ule in hexadecimal format 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 Examples Command 0102000600 Response 02 Changes the address of module 01 to 02 The module returns a valid response Command 0101000A00 Response 01 Changes the Baud Rate of module 01 to 115200bps The module returns an invalid ...

Page 33: ...mand is received Changes to the Baud Rate and checksum settings take effect on the next power on reset 2 For the M 7084 changing the Baud Rate and checksum settings can be achieved using software only and is performed using the following commands I Send a AATnn command See Section 2 45 for details II Send a AAI command See Section 2 41 for details III Send a AANNTTCCFF command If the command is va...

Page 34: ...limiter character for an invalid response Data Data from every input channels see Section 1 9 for the details of data format 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 01 Response 000012340000567800009ABC0000DEF000001111000022 220000333300004444 Reads module 01 and receives the data R...

Page 35: ...nvalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response An invalid command is returned if the specified channel is incorrect Data Input data of the specified channel see Section 1 9 for details of the data format AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communicatio...

Page 36: ...onse 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 ...

Page 37: ...the channel to be read 0 7 Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data Low pass filter time is micro seconds consisting of 5 decimal digits in the range 00001 32767 There will be no response if the command syntax is incorrect there is a comm...

Page 38: ...w pass filter time should be the same for channel 0 and 1 When it is set to either one of the channel 0 or 1 both channels will be set to the same value 2 The low pass filter time should be the same for channel 2 and 3 When it is set to either one of the channel 2 or 3 both channels will be set to the same value 3 The low pass filter time should be the same for channel 4 5 6 and 7 When it is set t...

Page 39: ...ies 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 Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a ...

Page 40: ...er time should be the same for channel 0 and 1 When it is set to either one of the channel 0 or 1 both channels will be set to the same value 2 The low pass filter time should be the same for channel 2 and 3 When it is set to either one of the channel 2 or 3 both channels will be set to the same value 3 The low pass filter time should be the same for channel 4 5 6 and 7 When it is set to either on...

Page 41: ...A CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF TT Type code of the module should be 00 for M 7084 CC Baud Rate code of the module see Section 1 9 for details FF Checksum and counter update direction settings of the module see Section 1 9 for details There will be no response if the command syntax is incorr...

Page 42: ...7084 User Manual Rev A1 3 7PH 013 A13 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 ...

Page 43: ... channel N Specifies the channel to be read 0 7 Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data The maximum counter value in eight hexadecimal digits There will be no response if the command syntax is incorrect there is a communication error or ...

Page 44: ...32 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 ...

Page 45: ...of a channel N Specifies the channel to be read 0 7 Data The maximum counter value in eight hexadecimal digits Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error...

Page 46: ...32F0000000 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 ...

Page 47: ...UM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the low pass filter is enable for the channel and 0 means that the low pass filter is disabled for the channel There will be no r...

Page 48: ...ommand 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 ...

Page 49: ...o channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the low pass filter is enable for the channel and 0 means that the low pass filter is disabled for the channel Response Valid Command AAVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be n...

Page 50: ...v A1 3 7PH 013 A13 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 ...

Page 51: ...id command Delimiter character for an invalid command AA Address of the responding module 00 to FF S Reset status of the module 1 This is the first time the command has been sent since the module was powered on 0 This is not the first time the command has been sent since the module was powered on which denotes that there has been no module reset since the last AA5 command was sent There will be no...

Page 52: ...dule 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 Related Topics Section A 5 Reset Status ...

Page 53: ... the bit is 1 it means that the channel is counting and 0 means that the channel is not counting Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response An invalid command is returned if an attempt is made to enable a channel that is not present AA Address of the responding module 00 to FF There will be...

Page 54: ...ule 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 Related Commands Section 2 13 AA6 Note The command is not available to the channels that are set to type code 51 frequency measurement ...

Page 55: ... Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the channel is counting and 0 means that the channel is not counting There will be no response if the command ...

Page 56: ...le 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 Related Commands Section 2 12 AA5VV Note The command is not available to the channels that are set to type code 51 frequency measurement ...

Page 57: ...ommand to clear the counter value N Specifies the channel to be cleared 0 7 Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA 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 specifie...

Page 58: ...lears 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: ...Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc For type code 50 when the bit is 1 it means that the counter of the channel is overflowed and 0 means that the counter of the channel is not overflowed For type code 5...

Page 60: ... 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 Related Commands Section 2 16 AA7VV Note The command is not available to the channels that are set to type code 51 frequency measurement ...

Page 61: ...ue where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the counter overflow status of the channel should be cleared Response Valid Command AAVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the comm...

Page 62: ...and 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: ...nnel to be set 0 7 RVV VV represents the type code of the channel to be set Refer to the Analog Input Type Setting table in Section 1 9 for details Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response or invalid type code There will be no response if the command syntax is incorrect there is a communi...

Page 64: ...esponse 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 Related Commands Section 2 18 AA8CN Related Topics Section 1 9 Configuration Tables Note If the type code of a channel is set to one of 54 56 then the adjacent channel in the same pair will be set to the same type code ...

Page 65: ...cess for the type code information N 0 7 Response Valid Response AACNRVV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response or invalid channel AA Address of the responding module 00 to FF CN N specifies which input channel to access to retrieve the type code information RVV VV represents the type code of the specified input ...

Page 66: ... 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 Related Commands Section 2 17 AA7CNRVV Related Topics Section 1 9 Configuration Tables ...

Page 67: ...aracter for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data Firmware version string of the module 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 01F Response 01A2 0 Reads the firmware version of module 01 and shows that it is ve...

Page 68: ...AS CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF S INIT status 0 the INIT pin is shorted to GND 1 the INIT pin is not shorted to GND 2 Update CJC temperature once only There will be no response if the command syntax is incorrect there is a communication error or there is no m...

Page 69: ...M 7084 User Manual Rev A1 3 7PH 013 A13 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 ...

Page 70: ...d command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Name Name string of the module 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 01M Response 017084 Reads the module name of module 01 and r...

Page 71: ...onse Delimiter character for an invalid response AA Address of the responding module 00 to FF S The protocols supported by the module 0 only DCON protocol is supported 1 both the DCON and Modbus RTU protocols are supported C The current protocol that is saved in the EEPROM that will be used at the next power on reset 0 the protocol set in the EEPROM is DCON 1 the protocol set in the EEPROM is Modb...

Page 72: ...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 Related Commands Section 2 23 AAPN ...

Page 73: ...ommand the rear slide switch must be in the INIT position The new protocol is saved in the EEPROM and will be effective after the next power on reset Response Valid Response AASC CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is ...

Page 74: ... 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 Related Commands Section 2 22 AAP ...

Page 75: ...elimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the battery backup counter is enabled for the channel and 0 means that the battery backup counter is disabled for the channel There will...

Page 76: ... 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 The command is not available to the channels that are set to type code 51 frequency measurement ...

Page 77: ...onds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the battery backup counter is enabled for the channel and 0 means that the battery backup counter is disabled for the channel Response Valid Command AAVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 ...

Page 78: ...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: ...elimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the automatic frequency mode is enabled for the channel and 0 means that the automatic frequency mode is disabled for the channel There ...

Page 80: ...e 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 Section A 6 Frequency Measurement Note The command is only available to the channels that are set to type code 51 frequency measurement ...

Page 81: ...hannel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the automatic frequency mode is enabled for the channel and 0 means that the automatic frequency mode is disabled for the channel Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF T...

Page 82: ...les 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: ...elimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the high frequency mode is enabled for the channel and 0 means that the high frequency mode is disabled for the channel There will be no...

Page 84: ...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 Section A 6 Frequency Measurement Note The command is only available to the channels that are set to type code 51 frequency measurement ...

Page 85: ...el 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the high frequency mode is enabled for the channel and 0 means that the high frequency mode is disabled for the channel Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be n...

Page 86: ...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 2 It is recommended to set to high frequency mode for frequency larger than 10 KHz ...

Page 87: ...e Valid Command AAVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV 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 There will be no response if the command syntax is incorrect there is ...

Page 88: ...that frequency measurement timeout value is 1 second Related Commands Section 2 31 AAFTVV 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 2 If there is no input pulse detected during the frequency measurement time out then the frequency of the channel is set to 0 Hz ...

Page 89: ...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 Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there i...

Page 90: ...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 2 If there is no input pulse detected during the frequency measurement time out then the frequency of the channel is set to 0 Hz ...

Page 91: ... channel N Specifies the channel to be read 0 7 Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF Data The preset counter value in eight hexadecimal digits There will be no response if the command syntax is incorrect there is a communication error or t...

Page 92: ...G2 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 ...

Page 93: ...of a channel N Specifies the channel to be read 0 7 Data The preset counter value in eight hexadecimal digits Response Valid command AA Data CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there is a communication error ...

Page 94: ...1P2F0000000 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 ...

Page 95: ...elimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the stop counting on overflow is enabled for the channel and 0 means that the stop counting on overflow is disabled for the channel Ther...

Page 96: ...verflow 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 The command is only available to the channels that are set to type code 50 up counter measurement ...

Page 97: ...nnel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the stop counting on overflow is enabled for the channel and 0 means that the stop counting on overflow is disabled for the channel Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF T...

Page 98: ...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: ...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: ...er character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF SS Two hexadecimal digits that represent the host watchdog status where Bit 7 0 indicates that the host watchdog is disabled and 1 indicates that the host watchdog is enabled Bit 2 1 indicates that a host watchdog timeout has occurred and 0 indicates that no host watchdog timeou...

Page 101: ...100 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 Command 020 Response 0204 Reads the host watchdog status of module 02 and returns 04 meaning that a host watchdog timeout has occurred Related Commands Section 2 36 Section 2 38 AA1 Section 2 39 AA2 Section 2 40 AA3EVV Related Topics Section A 2 Dual W...

Page 102: ... 00 to FF 1 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 AA 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 103: ...curred 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 that no host watchdog timeout has occurred Related Commands Section 2 36 Section 2 37 AA0 Section 2 39 AA2 Section 2 40 AA3EVV Related Topics Section A 2 Dual Watchdog Operation ...

Page 104: ...d command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF E 1 the host watchdog is enabled 0 the host watchdog is disabled VV 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 There will be no response if the command s...

Page 105: ... 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: ...og 0 disable the host watchdog VV 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 Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the c...

Page 107: ...ds 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 Related Commands Section 2 36 Section 2 37 AA0 Section 2 38 AA1 Section 2 39 AA2 Related Topics Section A 2 Dual Watchdog Operation Notes When a host watchdog timeout occurs the host watchdog is disabled The AA3EVV command should...

Page 108: ...T Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA 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 Examples Command 01I Response 01 Sets the soft INIT of modul...

Page 109: ...M 7084 User Manual Rev A1 3 7PH 013 A13 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 ...

Page 110: ... 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 Delimiter character for an invalid command AA 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 111: ...13 A13 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 ...

Page 112: ...EVV CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF VV Two hexadecimal digits to represent the response delay time value in milli second for example 01 denotes 1ms and 1E denotes 30ms The max allowable value is 30 1Eh There will be no response if the command syntax is incorrect th...

Page 113: ...l Rev A1 3 7PH 013 A13 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 ...

Page 114: ...to represent the response delay time value in milli second for example 01 denotes 1ms and 1E denotes 30s The max allowable value is 30 1Eh Response Valid command AA CHKSUM CR Invalid command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there i...

Page 115: ...onse 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 Related Commands Section 2 43 AARD ...

Page 116: ...nting the time out value in seconds The max time out value is 60 seconds When changing the Baud Rate or checksum settings without altering the INIT pin the AAI and AANNTTCCFF commands should be sent consecutively and the time interval between the two commands should be less than the soft INIT time out If the soft INIT time out is 0 then the Baud Rate and checksum settings cannot be changed using s...

Page 117: ...e 01 Sets the soft INIT of module 01 and returns a valid response Command 0101000700 Response 01 Attempts to change the Baud Rate of module 01 to 19200 without first altering the INIT pin The module returns an invalid response because the soft INIT time out value is 0 Command 01T10 Response 01 Sets the soft INIT time out value of module 01 to 16 seconds and returns a valid response Command 01I Res...

Page 118: ... 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 ...

Page 119: ...rity data bits and stop bits can be set as N81 N82 E81 and O81 The following Modbus functions are supported Function code Description 01 0x01 Read coils 02 0x02 Read discrete inputs 03 0x03 Read multiple registers 04 0x04 Read multiple input registers 05 0x05 Write single coil 06 0x06 Write single register 15 0x0F Write multiple coils 16 0x10 Write multiple registers If the function specified in t...

Page 120: ...s 1 32767 R W 40164 Low pass filter time for channel 4 to 7 in us 1 32767 R W 40257 40264 Type code of channel 0 to 7 R W 40481 Firmware version low word R 40482 Firmware version high word R 40483 Module name low word R 40484 Module name high word R 40485 Module address valid range 1 247 R W 40486 Bits 5 0 Baud rate valid range 3 10 Bits 7 6 00 8 data bits no parity 1 stop bit 01 8 data bits no pa...

Page 121: ...host watch dog timeout status R W 00273 Reset status 1 first read after powered on 0 not the first read after powered on R 00513 00520 Write 1 to clear counter 0 7 W 00769 00776 Enable battery backup for counter 0 to 7 R W 00801 00808 Automatic switching between high low frequency mode for frequency measurement of channel 0 to 7 R W 00833 00840 High low frequency mode for frequency measurement of ...

Page 122: ...ubleshooting 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: ...ther the module has received a command sent from the host If possible use another device to check whether the host can communicate with the device through the same RS 485 network If the host is a PC installed with a Windows operating system then execute the DCON Utility to determine whether the module can be found The DCON Utility can be downloaded from the ICP DAS website http www icpdas com The ...

Page 124: ...is unknown To help avoid this problem the I 7000 and M 7000 series has a special mode called INIT mode When the module is powered on in INIT mode the configuration of the module is reset as follows allowing it to be operated as normal 1 Address 00 2 Baud Rate 9600 bps 3 No checksum 4 Protocol DCON The configuration information stored in the EEPROM is not changed and can be read by sending the 002 ...

Page 125: ...y 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: ...ion that monitors the operating status of the host Its purpose is to prevent problems due to network communication errors or host malfunctions When a host watchdog timeout occurs the module will reset all outputs to a safe state in order to prevent any erroneous operations of the controlled target I 7000 and M 7000 series modules include an internal Dual Watchdog making the control system more rel...

Page 127: ...assing ESD allowing enhanced static protection ESD capability and ensures that the module is more reliable Either of the following options will provide a better protection for the module 1 If the module is DIN rail mounted connect the DIN rail to the earth ground because the DIN rail is in contact with the upper frame ground as shown in the figure below 2 Alternatively connect the lower frame grou...

Page 128: ...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 Refer to Section 1 11 1 for more information about the new DIN rail models ...

Page 129: ...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 as module address Baud Rate etc To access the node information areas first slide the covers outward as shown in the figure bel...

Page 130: ...st AA5 command This can be used to check whether the module had been reset When the AA5 command responds that the reset status is cleared that means the module has not been reset since the last AA5 command was sent When the AA5 command responds that the reset status is set and it is not the first time AA5 command is sent it means the module has been reset and the digital output value had been chan...

Page 131: ...084 provides the high frequency measurement mode by counting 11 signal periods instead of only one period to increase resolution The high frequency measurement mode can be enabled by AAFHVV command Refer to Section 2 29 for details The side effects of the high frequency measurement mode are that it takes longer time and the counting may overflow when the signal frequency is very low M 7084 can be ...

Reviews: