Home

7002 user manual_v1.0_201204011

image

Contents

1. Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x29 Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x29 03 Miscellaneous 1 Byte Bit 7 Filter settings settings 0 60 Hz rejection 1 50 Hz rejection Bit 6 Reserved Bit 5 Mode settings 0 Normal mode 1 Fast mode Bits 4 0 Reserved Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 An incorrect number of bytes were received 144 M 7002 User Manual Rev 1 0 2012 04 11 3 4 11 Sub function 42 0x2A Write the miscellaneous settings This sub function code is used to set the miscellaneous settings for a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x2A 03 Miscellaneous 1 Byte Bit 7 Filter settings settings 0 60 Hz rejection 1 50 Hz rejection Bit 6 Reserved Bit 5 Mode settings 0 Normal mode 1 Fast mode Bits 4 0 Reserved Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte Ox2A 03 Miscellaneous 1 Byte 0 OK others error settings Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Exception code l Byte 03 Reserved bits shoul
2. channels Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x05 02 03 Starting channel 2 Bytes 0 to 3 04 05 Data 2 Bytes FFOOh for ON and 0000h for OFF Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x04 02 03 Byte count 1 Byte 0 to 3 04 05 Data 2 Bytes FFOOh for ON and 0000h for OFF Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x85 02 Exception code l Byte 03 The starting channel the number of input channels is out of range or an incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 133 3 4 Function 70 0x46 Read Write Module Settings This function code is used to either read or change the settings of the module The following sub function codes are supported Sub function Code Description Section 00 0x00 Reads the name of the module 3 4 1 04 0x04 Sets the address 3 4 2 05 0x05 Reads the communication settings 3 4 3 06 0x06 Sets the communication settings 3 4 4 07 0x07 Reads the type code 3 4 5 08 0x08 Sets the type code 3 4 6 32 0x20 Reads the firmware version 3 4 7 information 37 0x25 Reads the enabled disabled status 13 4 8 of all channels 38 0x26 Sets the channel to either enabled 13 4 9 or disabled 41 0x29 Reads the miscellaneous settings 3 4 10 42 0x2A Writes the miscellaneous settings 3 4 11 If
3. incorrect there is a communication error or there is no module with the specified address 118 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RH Response 101 08 000 00 000 00 000 00 000 Reads the high latch values from all channels of module 01 and returns a valid response with the data in engineering format Command 01CH Response 01 Clears the high latch values for all channels of module 01 and returns a valid response Command 01RH Response 101 00 000 00 000 00 000 00 000 Reads the high latch values from all channels of module 01 and returns a valid response with the data in engineering format Related Commands Section 2 38 AACH Section 2 39 AACHi Section 2 53 AARHi Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 119 2 53 AARHi Description This command is used to read the high latch value for a specific channel of a specified module Syntax AARHi CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RH The command to read the high latch value i The channel to be read zero based Response Valid Response AA Data CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The high latch value for the specified channel
4. Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code 1 Byte 03 An incorrect number of bytes were received 142 M 7002 User Manual Rev 1 0 2012 04 11 3 4 9 Sub function 38 0x26 Set the channel to either enabled or disabled This sub function code is used to specify which channels of a module are to be enabled or disabled Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x26 03 Enabled disabled 1 Byte 0x00 OxOF the enabled disabled settings settings for each channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes that the channel is to be disabled and 1 denotes that the channel is to be enabled Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x26 03 Enabled disabled 1 Byte 0 OK others error settings Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 The enabled disabled settings are out of range or an incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 143 3 4 10 Sub function 41 0x29 Read the miscellaneous settings This sub function code is used to read the miscellaneous settings for a module
5. See Section 1 7 for details of the 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 120 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RHO Response 01 08 000 Reads the high latch value for channel 0 of module 01 and returns a valid response with a value of 08 000 8 V in engineering format Command 01CH Response 01 Clears the high latch value for all channels of module 01 and returns a valid response Command 01RHO Response 01 00 000 Reads the high latch value for channel 0 of module 01 and returns a valid response with a value of 00 000 0 V in engineering format Command 01RHF Response 01 Attempts to read the high latch value for channel 15 of module 01 but returns an invalid response because channel 15 does not exist Related Commands Section 2 38 AACH Section 2 39 AACHi Section 2 52 AARH Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 121 2 54 AARHCi Description This command is used to read the status of the high alarm for a specific channel of a specified module Syntax AARHCi CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RH The command to read the status of the high alarm Ci 1 specifies the channel to be read zero based Response Valid Respon
6. 00 to FF DA The command to disable the alarm function Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 102 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01EAM Response 01 Enables the momentary alarm function of module 01 and returns a valid response Command 01DA Response 01 Disables the alarm function of module 01 and returns a valid response Related Commands Section 2 47 AAEAt Section 2 48 AAHI Data Ci Section 2 49 AALO Data Ci Section 2 50 AARAO Section 2 54 AARHCi1 Section 2 57 AARLCi M 7002 User Manual Rev 1 0 2012 04 11 103 2 45 AADI Description This command is used to read the status of the digital input and digital output channels of a specified module Syntax AADI CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF DI The command to read the status of the DI DO channels Response Valid Response AASHHLL CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the res
7. 1 fast 00272 Write 1 to load the factory calibration W parameters 00273 Reset status R 0 not the first the status has been read after being powered on 1 the first time the status has been read after being powered on 00289 Low alarm status of channels 0 to 3 R W 00292 write 1 to clear 00305 High alarm status of channels 0 to 3 R W 00308 write 1 to clear 10033 Digital input status for channels O to4 IR 10037 30001 Analog input value for channels O to3 IR 30004 30097 Digital input counter for channels 0 to 4 R 30101 40225 High alarm value R W 40228 40233 Low alarm value R W 40236 40257 Type code for channels 0 to 3 R W 40260 40481 Firmware version low word R 40482 Firmware version high word R 40483 The name of the module low word R 40484 The name of the module high word R 40485 Module address valid range 0x1 OxF7 R 40486 Bits 5 0 Baud Rate 0x0A R Bits 7 6 Reserved 40488 Response delay time 0 30 in ms R W 40489 Host Watchdog timeout value 0 255 R W in 0 1s 40490 Channel enabled disabled R W 40492 Host Watchdog timeout count write 0 to R W clear M 7002 User Manual Rev 1 0 2012 04 11 147 Note The command to load the factory calibration parameters takes about 3 seconds to be processed The next command should not be sent before this time has elapsed 148 M 7002 User Manual Rev 1 0 2012 04 11 3 6 Engineering Data Format Table The Modbus protocol suppor
8. A A2 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 2 The command to read the configuration of the module Response Valid Response AATTCCFF CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF TT Not used by the M 7002 and should be 00 CC The Baud Rate code for the module See Section 1 7 for details of the data format FF The data format checksum and filter settings for the module See Section 1 7 for details of the 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 32 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 012 Response 01000A00 Reads the configuration of module 01 and returns a valid response indicating that the Baud Rate is 115200 bps the data format is Engineering units and the checksum is disabled Command 022 Response 02000602 Reads the configuration of module 02 and returns a valid response indicating that the Baud Rate is 9600 bps data format is 2 s compliment hexadecimal and checksum is disabled Related Commands Section 2 1 7 AANNTTCCFEF Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 33 2 8 AA4
9. Command 01P1 Response 01 Attempts to set the communication protocol for module 01 to Modbus RTU but returns an invalid response because the INIT switch is not in INIT position Command 01P1 Response 01 Sets the communication protocol for module 01 to Modbus RTU and returns a valid response The new protocol will become effective after the next power on reset Command 01P Response 0111 Reads which communication protocol is being used by module 01 and returns a valid 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 Modbus RTU Related Commands Section 2 19 AAP Related Topics Section 5 1 INIT Mode 56 M 7002 User Manual Rev 1 0 2012 04 11 2 21 AAS1 Description This command is used to reload the factory default calibration parameters for a specified module including the internal calibration parameters Syntax A AS1 CHKSUM CR Delimiter character AA The address of the module where the default calibration parameters are to be reloaded in hexadecimal format 00 to FF S1 The command to reload the factory default calibration parameters Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response z Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF There will be no respon
10. Fast mode 12 bits CS Checksum settings 0 Disabled 1 Enabled FS Filter settings 0 60Hz rejection 1 50Hz rejection Note Reserved bits should be zero M 7002 User Manual Rev 1 0 2012 04 11 Analog Input Type and Data Format Table Type code Input Type Data Format F S F S EEE Engineering units 20 000 04 000 07 HA of FSR 100 00 000 00 2 s comp HEX FFFF 0000 Engineering units 10 000 10 000 08 ne s EN of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 Aen ee Engineering units 5 0000 5 0000 09 v of FSR 100 00 100 00 2 s comp HEX TFFF 8000 PETR Engineering units 1 0000 1 0000 0A v of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering units 500 00 500 00 OB ee 00 of FSR _ 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering units 150 00 150 00 0C ae of FSR 100 00 100 00 2 s comp HEX TFFF 8000 Engineering units 20 000 20 000 0D 20 to 20 of FSR 100 00 100 00 mA 2 s comp HEX TFFF 8000 2 s comp HEX 7FFF AIDA 0 to 20 Engineering units 20 000 00 000 1A TA of FSR 100 00 000 00 2 s comp HEX FFFF 0000 M 7002 User Manual Rev 1 0 2012 04 11 15 2 DCON Protocol All communication with the module consists of commands generated by the host and responses transmitted by the module Each modul
11. Send the span calibration command Refer to Section 2 5 for details 8 Repeat steps 3 to 7 three times oa Notes 1 Connect the calibration voltage current to channel 0 2 When calibrating type OD the jumper for channel 0 should be set to the current input position 3 Calibration voltages and currents are shown below Calibration voltage current Type PIERRE SEES nput 12 M 7002 User Manual Rev 1 0 2012 04 11 1 7 Configuration Tables Baud Rate Settings CC Bits 5 0 Code 03 04 05 06 07 08 09 OA Bits 7 6 00 no parity 1 stop bit 01 no parity 2 stop bits 10 even parity 1 stop bit 11 odd parity 1 stop bit Analog Input Type Settings TT Type Code Analog Input Type Range 07 4 20 mA 4 mA 20 mA 08 10 V 10V 10V 09 5 V 5V 5 V 0A 1 V 1V l1V OB 500 mV 500mV 500 mV 0C 150 mV 150 mV 150 mV OD 20 mA 20 mA 20 mA 1A 0 20 mA 0 20 mA Note When types 07 OD or 1A are selected the jumper for the corresponding channel should be set to the current input position M 7002 User Manual Rev 1 0 2012 04 11 13 Data Format Settings FF 7 6 5 4 3 FS CS MS Reserved DF Key Description DF Data format 00 Engineering units 01 of FSR full scale range 10 2 s complement hexadecimal MS Mode settings 0 Normal mode 16 bits 1
12. 11 99 2 43 AACLCi Description This command is used to clear the status of the low alarm for a specific channel of a specified module Syntax AACLCi CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF CL The command to clear the status of the low alarm Ci 1 specifies the channel to be cleared zero based Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 100 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01CHC7 Response 01 Clears the low alarm status for channel 7 of module 01 and returns a valid response Command 01CHCF Response 01 Attempts to clears the status of the low alarm for channel 15 of module 01 and returns an invalid response because channel 15 does not exist Related Commands Section 2 49 AALO Data Ci Section 2 50 AARAO M 7002 User Manual Rev 1 0 2012 04 11 101 2 44 AADA Description This command is used to disable the alarm function of a specified module Syntax AADA CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format
13. 7000 and M 7000 module has a built in EEPROM that can be used to store configuration information such as the module address Type Code and Baud Rate etc Occasionally the configuration of a module may be forgotten and there may be no visual indications of the configuration of the module It is difficult to communicate with the module when the configuration of the module 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 to the default settings shown below 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 AA2 CR command at 9600 bps There are also other commands that require the module to set to INIT mode before being used They are 1 7AANNTTCCEF which is used when changing the Baud Rate and checksum settings See Section 2 1 for details 2 AAPN see Section 2 20 for details 152 M 7002 User Manual Rev 1 0 2012 04 11 Originally INIT mode was accessed by connecting the INIT terminal to the GND terminal Newer I 7000 and M 7000 modules have an INIT switch located on the rear of the module to allow easier access to INIT mode For these modules INIT mode is accessed by sliding the INIT switch to the Init position as sh
14. 75 C Storage Temperature 40 85 C Humidity 10 95 RH Non condensing M 7002 User Manual Rev 1 0 2012 04 11 I O Specifications Analog Input Channels 4 Wiring Differential Input Range 150 mV 500 mV 1 V 5 V 10 V 20 mA 0 20 mA 4 20 mA jumper selectable Resolution 12 16 bit Reca Normal Mode 0 1 Fast Mode 0 5 Sampling Rate Normal Mode 10 Hz Fast Mode 60 Hz Input Voltage 2 MQ Impedance Current 139 Q Common Voltage Protection 200 Voc Individual Channel A Yes Configuration Overcurrent Protection 50 mA max at 110 Vpc Vac max Overvoltage Protection 240 Vrms Digital Input Counter Channels 5 Contact Wet Sink Source NPN PNP Sink Source On Voltage Level 10 50 Vpc Off Voltage Level 4 Vpc Max Counter 50 Hz 16 bit Yes Input Impedance 10 KQ Overvoltage Protection 70 Voc Isolation Voltage 3750 Voc Relay Output Channels 4 Type Power Relay Form A P 5 A 250 Vac Contact Rating 5 A 30 Voc Surge Strength 3000 Voc Operation Time 6 ms Release Time 3 ms Mechanical Endurance 2x 10 ops Electrical Endurance 10 ops Power on Values Yes Safe Values Yes 8 M 7002 User Manual Rev 1 0 2012 04 11 1 3 Block Diagram Embedded Controller DATA DATA Vs GND Frame G
15. Manual Rev 1 0 2012 04 11 25 2 4 AAN Description This command is used to read the analog input data from channel N of a specified module Syntax AAN CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF N The channel to be read zero based Response Valid Response gt Data CHKSUM CR Invalid Response AA CHKSUM CR gt Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The analog input data from the specified channel See Section 1 7 for details of the 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 26 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 032 Response gt 025 13 Reads data from channel 2 of module 03 and returns a valid response indicating a value of 025 13 Command 02F Response 02 Attempts to read data from channel 15 of module 02 but returns an invalid response because channel 15 does not exist Related Commands Section 2 1 Z7 AANNTTCCFF Section 2 3 AA Section 2 7 AA2 Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 27 2 5 AA0 Description This command is used to perform an analog input span calibration on a specified module Syn
16. Syntax AA1 CHKSUM CR Delimiter character AA The address of the module to be calibrated in hexadecimal format 00 to FF 1 The command to perform the analog input zero calibration Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 Notes The enable calibration command AAEV Section 2 31 must be sent before this command is used see Section 1 6 for details 30 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 011 Response 01 Attempts to perform an analog input zero calibration on module 01 but returns an invalid response because the enable calibration command AAEV was not sent in advance Command O1E1 Response 01 Enables calibration on module 01 and returns a valid response Command 011 Response 01 Performs an analog input zero calibration on module 01 and returns a valid response Related Commands Section 2 5 AAO Section 2 31 AAEV Related Topics Section 1 6 Calibration M 7002 User Manual Rev 1 0 2012 04 11 31 2 7 AA2 Description This command is used to read the configuration of a specified module Syntax
17. a specified module Syntax AADODD CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF DO The command to set the digital output ports DD A two digit hexadecimal value that represent the DO status where bit 0 corresponds to DO channel 0 bit 1 corresponds to DO channel 1 etc When the bit is O it denotes that the digital output port is off and 1 denotes that the digital output port is on Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 106 M 7002 User Manual Rev 1 0 2012 04 11 Notes 1 If the digital output port is already set as an alarm output port the value written to the port will be ignored 2 If a Host Watchdog timeout occurs the module will return an invalid response for this command and the DO value that was sent will be ignored Examples Command 01DO01 Response 01 Sets digital output channel 0 of module 01 to on and sets digital output channel 1 to off and returns a valid response Command 01DI Response 0100102 Reads the status of the DI DO channels of module 01 and returns a response of 010102 indica
18. a valid response Command 016 Response O10A Reads the channel status of module 01 and returns a valid response of 0A meaning that channels and 3 are enabled and all other channels are disabled Related Commands Section 2 11 AA6 M 7002 User Manual Rev 1 0 2012 04 11 39 2 11 AA6 Description This command is used to read whether each channel of a specified module is enabled or disabled Syntax AA6 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 6 The command to read the channel status Response Valid Response AAVV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 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 O it means that the channel is disabled and 1 means that the channel is enabled 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 40 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 0150A Response 01 Enables channels 1 and 3 of module 01 and disables all other channels The module returns a valid response Command 016 Response O10A Reads the channel status of module 01 and return
19. counter for a specific DI channel 2 51 Analog Input Command Sets Command Response Description Section No Response Synchronized sampling 2 2 AA gt Data Reads the analog inputs of all channels 2 3 AAN gt Data Reads the analog input of a specific channel 2 4 AAO IAA Performs an analog input span calibration 2 5 AA1 IAA Performs an analog input zero calibration 2 6 AA4 gt AAS Data Reads the synchronized data 2 8 AA5VV IAA Enables Disables the analog input channels 2 10 AA6 IAAVV Reid een status of all 211 AA7CiRrr IAA Sets the type code for a specific channel 2 12 AA8Ci AACIRrr Reads the type code for a specific channel 2 13 18 M 7002 User Manual Rev 1 0 2012 04 11 AAS1 IAA Reloads the default calibration parameters 2 21 AAEV IAA Enables Disables the analog input 231 calibration AACH IAA Clears the high latch value for all channels 2 38 AACHi IAA Clears the high latch value for a specific 239 channel AACHCi IAA Clears the status of the high alarm 2 40 AACL IAA Clears the low latch value for all channels 2 41 AACLI IAA Clears the low latch value for a specific 242 channel AACLGi IAA Clears the status of the low alarm 2 43 AADA IAA Disables the analog input alarm 2 44 AAEAt IAA Enables the momentary latch function 2 47 AAHI Data Ci IAA Sets the analog input high alarm 2 48 AALO Data Ci AA Sets
20. 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 and Baud Rate etc To access the node information areas first slide the covers outward as shown in the figure below M 7002 User Manual Rev 1 0 2012 04 11 157 5 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 and is cleared after responding to the first AA5 command This can be used to check whether the module has recently been reset If the response from the AA5 command indicates that the reset status has been cleared it means that the module has not been reset since the last AA5 command was sent If the response from the A4A5 command indicates that the reset status is set and it is not the first time an AA5 command has been sent it means that the module has been reset and the digital output value has been changed to either the default power on value or the safe value 158 M 7002 User Manual Rev 1 0 2012 04 11
21. indicating a power on value of 03 and safe value of 00 Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3EVV Section 2 28 AAS5PPSS M 7002 User Manual Rev 1 0 2012 04 11 69 2 28 AA5PPSS Description This command is used to set the digital output power on value and the safe value for a specified module Syntax AA5PPSS CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF 5 The command to set the digital output power on value and the safe value PP A two digit hexadecimal value to represent the digital output power on value SS A two digit hexadecimal value to represent the digital output safe value Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 70 M 7002 User Manual Rev 1 0 2012 04 11 Note Neither the power on value nor the safe value have any effect on digital outputs that are associated with alarm outputs Examples Command 0150102 Response 01 Sets the digital output power on value to 01 and sets the digital output safe value to 02 and returns a v
22. input counter for the specified channel 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 116 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01REC1 Response 10100000008 Reads the counter data from channel 1 of module 01 and returns a valid response with a value of 00000008 Command 01CEC1 Response 01 Resets the counter for channel 1 of module 01 to the preset value and returns a valid response Command 01REC1 Response 10100000000 Reads the counter data from channel 1 of module 01 and returns a valid response with a value of 00000000 Related Commands Section 2 37 AACECi M 7002 User Manual Rev 1 0 2012 04 11 117 2 52 AARH Description This command is used to read the high latch values for all channels of a specified module Syntax AARH CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RH The command to read the high latch values for all channels Response Valid Response AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The high latch values for all channels See Section 1 7 for details of the data format There will be no response if the command syntax is
23. is inactive IA IDI active state 0 Input value O indicates high voltage Input value 1 indicates that there is no signal or the voltage is low 1 Input value O indicates that there is no signal or the voltage is low Input value 1 indicates high voltage 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 01D01 Response 01 Sets the miscellaneous settings for module 01 to 01 meaning that the digital input will be inversed and returns a valid response Command 01D Response 0101 Reads the miscellaneous settings of module 01 and returns a valid response with a value of 01 indicating that the digital input will be inversed Related Commands Section 2 30 AADVV M 7002 User Manual Rev 1 0 2012 04 11 73 2 30 AADVV Description This command is used to set the miscellaneous settings for a specified module Syntax AADVV CHKSUM CR AA D VV Delimiter character The address of the module to be set in hexadecimal format 00 to FF The command to set the miscellaneous settings A two digit hexadecimal value that represents the miscellaneous settings as indicated in the following tables 7 6 5 4 3 2 l 0 Reserved OA IA Key Description OA DO active state 0 Output value O indicates the relay is inactive Output value 1
24. or under range If the bit is 0 it denotes that the channel is normal Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x82 02 Exception code l Byte 03 the starting channel the number of input channels is out of range or an incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 131 3 2 Function 04 0x04 Read the Analog Input Channels This function code is used to read from contiguous analog input channels Request 00 Address 1 Byte l to 247 0l Function code 1 Byte 0x04 02 03 Starting channel 2 Bytes 0 to 3 04 05 Number of input 2 Bytes N 1 to 4 Starting channel N channels N Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x04 02 Byte count l Byte 2xN 03 Data from input 2xN Data is in either 2 s complement channels Bytes hex format or engineering format Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x84 02 Exception code l Byte 03 The starting channel the number of input channels is out of range or an incorrect number of bytes were received 132 M 7002 User Manual Rev 1 0 2012 04 11 3 3 Function 05 0x05 Write a Single Digital Output This function code is used to write from contiguous digital output
25. read the low latch values for all channels Response Valid Response AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The low latch values for all channels See Section 1 7 for details of the 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 124 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RL Response 01 02 000 00 000 00 000 00 000 Reads the low latch values from all channels of module 01 and returns a valid response with the data in engineering format Command 01CL Response 01 Clears the low latch value for all channels of module 01 and returns a valid response Command 01RH Response 01 00 000 00 000 00 000 00 000 Reads the low latch values from all channels of module 01 and returns a valid response with the data in engineering format Related Commands Section 2 41 AACL Section 2 42 AACLI Section 2 56 AARLIi Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 125 2 56 AARLIi Description This command is used to read the low latch value for a specific channel of a specified module Syntax AARLi CHKSUM CR Delimiter character AA The address of the mo
26. sent since the module was powered on Command 015 Response 010 Reads the reset status of module 01 The module returns a valid response indicating that there has been no module reset since the last AAS command was sent M 7002 User Manual Rev 1 0 2012 04 11 37 2 10 AA5VV Description This command is used to specify which channel s of a specified module are to be enabled Syntax AA5VVVV CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF 5 The command to set the channel s to enabled VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it means that the channel is disabled and 1 means that the channel is enabled 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 response is returned if an attempt is made to enable a channel that is not present or does not exist AA The address of the responding module 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 38 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 0150A Response 01 Enables channels 1 and 3 of module 01 and disables all other channels The module returns
27. set in hexadecimal format 00 to FF E The command to enable disable calibration y 0 Disables calibration 1 Enables calibration Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 76 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 010 Response 01 Attempts to send the command to perform a span calibration on module 01 but returns an invalid response because the enable calibration command AAEV was not sent in advance Command O1E1 Response 01 Enables calibration on module 01 and returns a valid response Command 010 Response 01 Sends the command to perform a span calibration on module 01 and returns a valid response Related Commands Section 2 5 AAO0 Section 2 6 AA1 Related Topics Section 1 6 Calibration M 7002 User Manual Rev 1 0 2012 04 11 71 2 32 AAl Description This command is used to enable modification of the Baud Rate and checksum settings for a specified module using the software INIT function only Syntax AAI CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF I Th
28. the analog input low alarm 2 49 Reads the activated alarms associated with AARAO AAR the DO channels of a module oe AARH AA Data Reads the high latch value for all channels 2 52 AARHi IAA Data Reads the high latch value for a specific 253 channel AARHCi IAA Data Reads the status of the analog input high 254 alarm AARL AA Data Reads the low latch value for all channels 2 55 AARLI IAA Data Reads the low latch value for a specific 256 channel AARLCi IAA Data Reads the status of the analog input low 257 alarm Host Watchdog Command Sets Command Response Description Section DES No Response Informs all modules that host is OK 2 22 AAO IAASS Reads the status of the Host Watchdog 2 23 AA1 IAA Resets the status of the Host Watchdog 2 24 AA2 IAAEVV Reads the Host Watchdog timeout settings 2 25 AA3EVV IAA Sets the Host Watchdog timeout settings 2 26 AAA IAAPPSS Reads the DO power on value and the safe 297 value AA5PPSS IAA Sets the DO power on value and the safe 228 value M 7002 User Manual Rev 1 0 2012 04 11 19 2 1 AANNTTCCFF Description This command is used to set the configuration for a specific module Syntax AANNTTCCFF CHKSUM CR Delimiter character AA The address of the module to be configured in hexadecimal format 00 to FF NN The new address of the module in hexadecimal format 00 to FF TT Not used by the M 7002 and should be set to 00 CC The new Baud Rate code see Secti
29. to read the firmware version information for a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x20 Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x20 03 Major version 1 Byte 0x00 OxFF 04 Minor version 1 Byte 0x00 OxFF 05 Reserved 1 Byte 0x00 06 Build version 1 Byte 0x00 OxFF Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 An incorrect number of bytes were received reserved bits should be filled with zero M 7002 User Manual Rev 1 0 2012 04 11 141 3 4 8 Sub function 37 0x25 Read the channel enabled disabled status This sub function code is used to read whether each channel of a module is enabled or disabled Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x25 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x25 03 Enabled disabled 1 Byte 0x00 OxOF the enabled disabled status status of each channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes that the channel is disabled and 1 denotes that the channel is enabled
30. 00 to FF RL The command to read the status of the low alarm Ci 1 Specifies the channel to be read zero based Response Valid Response AA Data CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The status of the low alarm for the specified channel See Section 1 7 for details of the 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 128 M 7002 User Manual Rev 1 0 2012 04 11 Example Command 01LO 03 000C0 Response 01 Sets the low alarm limit for channel 0 of module 01 to 03 000 3 V and returns a valid response Command 01RLCO Response 01 03 000 Reads the status of the low alarm for channel 0 of module 01 and returns a valid response indicating that the low alarm limit is 03 000 3 V the type is momentary and the low alarm output channel is digital output channel 1 Command 01RLCF Response 01 Attempts to read the status of the low alarm for channel 15 of module 01 but returns an invalid response because channel 15 does not exist Related Commands Section 2 43 AACLCi1 Section 2 49 AALO Data Ci Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 129 3 Modbus RTU Protocol The Modbu
31. 1 and returns a valid response containing the data and sets the status byte to O to indicate that the synchronized data has already been read before Related Commands Section 2 2 Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 35 2 9 AA5 Description This command is used to read the reset status of a specified module Syntax AA5 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 5 The command to read the reset status Response Valid Response AAS CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF S The reset status of the module 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 1 This is the first time the command has been sent since the module was powered on 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 36 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 015 Response 011 Reads the reset status of module 01 The module returns a valid response indicating that it is the first time the AA5 command has been
32. Command 01CHCF Response 01 Attempts to clear the status of the high alarm for channel 15 of module 01 but returns an invalid response because channel 15 does not exist Related Commands Section 2 48 AAHI Data Ci Section 2 50 AARAO M 7002 User Manual Rev 1 0 2012 04 11 95 2 41 AACL Description This command is used to clear the low latch value for all channels of a specified module Syntax AACL CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF CL The command to clear the low latch values Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 96 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RLO Response 01 05 000 Reads the low latch value for channel 0 of module 01 and returns a valid response with a value of 05 000 5 V Command 01CL Response 01 Clears the low latch value for all channels on module 01 and returns a valid response Command 01RLO Response 01 00 000 Reads the low latch value for channel 0 of module 01 and returns a valid response with a value of 00 000 0 V
33. Description This command is used to read the synchronization data from a specified module that was stored when the last command Section 2 2 was sent Syntax A A4 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 4 The command to read the synchronization data Response Valid Response AAS Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF S The status of the synchronization data 0 The data has been read before 1 The data is being read for the first time Data The synchronization data See Section 1 7 for details of the 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 34 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command No response Sends the synchronized sampling command There will be no response to this command Command 014 Response gt 011 00 000 00 100 01 000 10 000 Reads the synchronization data from module 01 and returns a valid response containing the data and sets the status byte to 1 to indicate that the synchronized data is being read for the first time Command 014 Response gt 010 00 000 00 100 01 000 10 000 Reads the synchronized data from module 0
34. M 7002 User Manual ICP DAS CO LTD Revision 1 0 2012 04 11 M 7002 User Manual Rev 1 0 2012 04 11 L Table of Contents VOLE RS GLUT OLGT 6 0 MAN ER E 1 Pin Assignments 2 WDE CII CATIONS merenna n n bevemsoc asad ooee pastels Block Diagram Application Wiring ccoesadaccressbiadacesndevansdeercnrsesaens Default Settings eeeeeeeeeeeeeeesseseesserssereesseeessees s oCalDrat on ka nean ana i a i 1 6 1 Analog INDUC soc siscase cons nncwearaneiotaneawerroncete 7 Configuration Tables siscicccsesccscascstvsnscccsusbesenvenas CON Protocole waceni aoa a eee aiat 1 OAAININ TE POCEEB cidsvessnetunistaceeneptavnesd es taneees xK bAA2 bAA6 XK p pb p pb p ah gTa e nE T L FL A A A SOMIDNAARWNHEO eeseoocosooooooooooooosoooosoocoooooooosoooooooooossoossoooooooooooooo AAO eesosoeceoooosooooooooooooosoooooooooooossoocoooooosooossoooooooooooo AAI Perce rr cc cccccccccccccccc cece cece ceecc cece eceeeeseececccceceereeoes AA2 eesooeooocosooocooooooooosoooooooooooosooosoooooooooossoooooooooooo AA3E V V eesecoecoooosooosooooooooosoosooooooooosooosoooooooooooooo AA4 eesoocosooosooooooooooooosoooooooooooossoooo
35. Related Commands Section 2 42 AACLi Section 2 55 AARL Section 2 56 AARLi M 7002 User Manual Rev 1 0 2012 04 11 97 2 42 AACLIi Description This command is used to clear the low latch value for a specific channel of specified module Syntax AACLi CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF CL The command to clear the low latch value i The channel to be cleared zero based Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 98 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RLI1 Response 01 06 000 Reads the low latch value for channel 1 of module 01 and returns a valid response with a value of 06 000 6 V Command 01CLI1 Response 01 Clears the low latch value for channel 1 of module 01 and returns a valid response Command 01RL1 Response 01 00 000 Reads the low latch value for channel 1 of module 01 and returns a valid response with a value of 00 000 0 V Related Commands Section 2 41 AACL Section 2 55 AARL Section 2 56 AARLi M 7002 User Manual Rev 1 0 2012 04
36. Related Commands Section 2 8 AA4 M 7002 User Manual Rev 1 0 2012 04 11 23 2 3 FAA Description This command is used to read the data from all analog input channels of a specified module Syntax AA CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF Response Valid Response gt Data CHKSUM CR Invalid Response AA CHKSUM CR gt Delimiter character for a valid response Delimiter character for an invalid response Data The data from all analog input channels See Section 1 7 for details of the data format AA The address of the responding module 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 24 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01 Response gt 025 12 020 45 012 78 018 97 Reads module 01 and receives a valid response with the data in engineering units format Command 02 Response gt 4C532628E2D683A2 Reads module 02 and receives a valid response with the data in hexadecimal format Command 03 Response gt 9999 9 9999 9 9999 9 9999 9 Attempts to read module 03 but returns an invalid response indicating that the data is out of range Related Commands Section 2 1 7 AANNTTCCFF Section 2 7 AA2 Section 2 4 AAN Related Topics Section 1 7 Configuration Tables M 7002 User
37. Set address result 1 Byte 0 OK others error 04 06 Reserved 3 Bytes 0x00 0x00 0x00 Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 The new address is out of range reserved bits should be filled with zero or an incorrect number of bytes were received 136 M 7002 User Manual Rev 1 0 2012 04 11 3 4 3 Sub function 05 0x05 Read the communication settings This sub function code is used to read the communication protocol settings for a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x05 03 Reserved 1 Byte 0x00 Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x05 03 Reserved 1 Byte 0x00 04 Baud Rate 1 Byte Baud Rate code see Section 1 7 for details 05 07 Reserved 3 Bytes 0x00 0x00 0x00 08 Mode 1 Byte 0 DCON protocol 1 Modbus RTU protocol 09 10 Reserved 2 Bytes 0x00 0x00 Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 Reserved bits should filled with zero or an incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 137 3 4 4 Sub function 06 0x06 Set the communication settings This sub function code is used to set the commu
38. 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 50 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01L1 Response 030100 Reads module 01 and returns a valid response showing that the latches are high on digital output channels 0 and and digital input channel 0 Command 01C Response 01 Clears the digital input and output latch data for module 01 and returns a valid response Command 01L1 Response 000000 Reads module 01 and returns a valid response showing that high latches have not occurred on any digital input or output channels Command 01L2 Response 01 Attempts to read the module 01 but returns an invalid response because the parameter 2 is outside the range of valid value Related Commands Section 2 14 AAC Section 2 46 AADODD M 7002 User Manual Rev 1 0 2012 04 11 51 2 18 AAM Description This command is used to read the name of a specified module Syntax S AAM CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF M The command to read the name of the module Response Valid Response AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response z Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data A string
39. aa EATE AE AES 142 3 4 9 Sub function 38 0x26 Set the channel to enabled disabled E I EEEN E SERA EEA EN E ENAA 143 M 7002 User Manual Rev 1 0 2012 04 11 3 3 4 10 Sub function 41 0x29 Read the miscellaneous settings 144 3 4 11 Sub function 42 0x2A Write the miscellaneous settings Ss Picea aw T AT 145 3 3 Addr ss Mapping Sissin eresse enea E s 146 3 6 Engineering Data Format Table 0 cece ceesceeeseceeeeeeeeeneeees 149 EroubleshOouny raren Aeee eE terete E EE ete eet eke 150 4 1 Communicating with the module 0ceeceeeseeeeeeeeeeneeeeeeees 150 4 2 Readine Data ieie a e E E AE e 151 Appendini e R E E E E EREE 152 De bis TIN EV MO sas oaa E E E E E oe 152 5 2 Dual Watchdog Operation sd ec jaceeve vessccucuntoedesvectensreevaveaveasenes 154 5 3 Frame Ground iee a c5ite ot seats r eerte sE EEEE EAE KESAREA EESE PEE EER 155 5 4 Node InformationvAvea vx sivisssccatecniaciauevtatervesecetiveiabnenacnincess 157 De De IRE SEE OLAS cays tetas cae a iaie AE us hatte aes alae eee 158 M 7002 User Manual Rev 1 0 2012 04 11 1 Introduction Features Voltage or Current Input 240 Vrms Overvoltage Protection High Resolution 16 bit 2500 Vpc Intra module Isolation Sink and Source Type Digital Inputs Photocoupler Isolation Supports Relay Outputs DIN Rail Mountable Dual Watchdog Wide Operating Temperature Range 25 75 C Applications Building Automation Factory Automation Machine Automation R
40. alid response Command 014 Response 010102 Reads the digital output power on value and the digital output safe value for module 01 and returns a valid response with a value of 0102 which denotes that the digital output power on value is 01 and the digital output safe value is 02 Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3EVV Section 2 27 AA4 M 7002 User Manual Rev 1 0 2012 04 11 71 2 29 AAD Description This command is used to read the miscellaneous settings for a specified module Syntax AAD CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF D The command to read the miscellaneous settings Response Valid Response AAVV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF VV A two digit hexadecimal value that represents the miscellaneous settings as indicated in the following tables 7 6 5 4 3 2 1 0 Reserved OA IA 72 M 7002 User Manual Rev 1 0 2012 04 11 Key Description OA DO active state 0 Output value O indicates the relay is inactive Output value 1 indicates the relay is active 1 Output value O indicates the relay is active Output value 1 indicates the relay
41. at there are no activated low alarms associated with the channel When the bit is 1 it denotes that there is an activated low alarm associated with the channel 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 01RAO Response 010102 Reads the currently activated alarms associated with module 01 The module returns a valid response with a value of 0102 which denotes that there is currently an activated high alarm associated with channel 0 and an activated low alarm associated with channel 1 Related Commands Section 2 40 AACHCI Section 2 43 AACLC1 Section 2 48 AAHI Data Ci Section 2 49 AALO Data Ci M 7002 User Manual Rev 1 0 2012 04 11 115 2 51 AARECIi Description This command is used to read the value of the digital input counter for a specific channel of a specified module Syntax AARECi CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RE The command to read the value of the digital input counter Ci 1 specifies the channel to be read zero based Response Valid Response AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The value of the digital
42. ay time to 16 milliseconds and returns a valid response Command O1RD Response 0110 Reads the response delay time and returns a valid response with a value of 10 indicating 16 milliseconds The response will be sent after 16 milliseconds have elapsed Related Commands Section 2 34 AARD M 7002 User Manual Rev 1 0 2012 04 11 85 2 06 AATnn Description This command is used to set the timeout value for the software INIT function on a specified module Syntax AARDTT CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF T The command to set the timeout value for the software INIT function nn A two digit hexadecimal value that represents the timeout value for the software INIT function in seconds For example 01 denotes second and 1A denotes 26 seconds The value must be less than or equal to 3C Response Valid Response 1AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 86 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01T10 Response 01 Sets the timeout value for the software INIT function on module 01 to 16 seconds and return
43. d be filled with zero or an incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 145 3 5 Address Mappings The address mappings are as follows Address Description Attribute 00001 Digital output R W 00004 00065 Digital input latch high R W 00069 00073 Digital output latch high R W 00076 00097 Digital input latch low R W 00101 00105 Digital output latch low R W 00108 00129 Digital output safe value R W 00132 00193 Digital output power on value R W 00196 00257 Communication protocol R W 0 DCON 1 Modbus RTU 00259 Filter settings 0 60 Hz rejection 1 50 R W Hz rejection 00260 Host Watchdog mode R W 0 The same as I 7000 series module 1 AO and DO commands can be used to clear the Host Watchdog timeout status 00261 Enables or disables the Host Watchdog R W 0 disabled 1 enabled 00262 Enables or disables the alarm function R W 0 disabled 1 enabled 00263 Alarm mode R W 0 momentary 1 latch 00264 Clear DI O latch write 1 to clear W 00265 Clear all DI counters write 1 to clear W 00269 Modbus data format R W 0 hexadecimal 1 engineering 00270 Host Watchdog timeout status Write 1 R W to clear the Host Watchdog timeout 146 M 7002 User Manual Rev 1 0 2012 04 11 status 00271 AI filter format R W 0 normal
44. dule to be read in hexadecimal format 00 to FF RL The command to read the low latch value i The channel to be read zero based Response Valid Response AA Data CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The high latch value for the specified channel See Section 1 7 for details of the 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 126 M 7002 User Manual Rev 1 0 2012 04 11 Example Command 01RLO Response 01 02 000 Reads the low latch value for channel 0 of module 01 and returns a valid response with a value of 02 000 2 V in engineering format Command 01RLF Response 01 Attempts to read the low latch value for channel 15 of module 01 but returns an invalid response becausechannel 15 does not exist Related Commands Section 2 41 AACL Section 2 42 AACLI Section 2 55 AARL Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 127 2 57 AARLCi Description This command is used to read the status of the low alarm for a specific channel of a specified module Syntax AARLCi CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format
45. e command to set the software INIT function Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 78 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01T10 Response 01 Sets the timeout value for the software INIT function on module 01 to 16 seconds and returns a valid response Command 011 Response 01 Sets the software INIT function on module 01 to enabled and returns a valid response Command 0101000600 Response 01 Sets the Baud Rate for module 01 to 9600 bps and returns a valid response Related Commands Section 2 1 Z7 AANNTTCCEFF Section 2 36 AATnn M 7002 User Manual Rev 1 0 2012 04 11 79 2 33 AAQ Data Description This command is used to set the name of a specified module Syntax AAO Data CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF O The command to set the name of the module Data The new name of the module max 6 characters Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an i
46. e has a unique ID number that is used for addressing purposes and is stored in non volatile memory The ID is 01 by default and can be changed by transmitting the appropriate using a user command All commands to the modules contain the ID address meaning that only the addressed module will respond The only exception to this is command Section 2 2 and command Section 2 22 which is sent to all modules but in these cases the modules do not reply to the command Command Format Leading Module Character Address command Cunscrker Response Format Leading Module Character Address pale GANSEMER CHKSUM A 2 character checksum that is present when the checksum setting is enabled See Sections 2 1 and 5 1 for details CR End of command character carriage return 0x0D M 7002 User Manual Rev 1 0 2012 04 11 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 OFFh Example Command string 012 CR 1 The sum of the string 70 717 2 24h 30h 3 1h 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 The sum of the string PEOP 1 e240 4 06 0 0 21h 30h 3 1h 32h 30h 30h 36h 30h 30
47. ed module Syntax AA1 CHKSUM CR Delimiter character AA The address of the module to be reset in hexadecimal format 00 to FF 1 The command to reset the timeout status of the Host Watchdog Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 62 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 010 Response 0104 Reads the status of the Host Watchdog for module 01 and returns a valid response showing that a Host Watchdog timeout has occurred Command 011 Response 01 Resets the Host Watchdog timeout for module 01 and returns a valid response Command 010 Response 0100 Reads the status of the Host Watchdog for module 01 and shows that no Host Watchdog timeout has occurred Related Commands Section 2 22 Section 2 23 AAO Section 2 25 AA2 Section 2 26 AA3EVV M 7002 User Manual Rev 1 0 2012 04 11 63 2 25 AA2 Description This command is used to read the Host Watchdog timeout value for a specified module Syntax AA2 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 2 The command t
48. ed to set the high alarm limit for a specific channel of a specified module Syntax AAHI Data Ci CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF HI The command to set the high alarm Data The high alarm limit This should be consistent with the data format Refer to Section 1 7 for details Ci 1 specifies the channel to be set zero based Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF 110 M 7002 User Manual Rev 1 0 2012 04 11 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 01HI 09 000CO Response 01 Sets the high alarm limit for channel O of module 01 to 09 000 9 V and returns a valid respons Command 01RHCO Response 01 09 000 Reads the high alarm limit for channel 0 of module 01 and returns a valid response with a value of 09 000 9V Command 01HI 09 000CF Response 01 Attempts to set the high alarm limit for channel 15 of module 01 to 09 000 9 V but returns an invalid response because channel 15 does not exist Related Commands Section 2 40 AACHCi Section 2 50 AARAO J Section 2 54 AARHC1 Related Topics Section 1 7 Configu
49. emote Maintenance Remote Diagnosis Testing Equipment More Information Refer to Chapter 1 of the I 7000 Bus Converter User Manual for more information regarding the following 1 1 I 7000 Overview 1 2 I 7000 Related Documentation 1 3 I 7000 Common Features 1 4 I 7000 System Network Configuration 1 5 I 7000 Dimensions M 7002 User Manual Rev 1 0 2012 04 11 1 1 Pin Assignments GNO a SA Y Viva d V LVG A Y N Y N WOO I ON 14 WOO ZIY ON ZIY WOO HIH ON 174 WOO 078 L ONOTY f M 7002 User Manual Rev 1 0 2012 04 11 1 2 Specifications System Specifications Communication Interface RS 485 Format N 8 1 Baud Rate 1200 115200 bps Protocol DCON Modbus RTU Dual Watchdog Yes Module 1 6 Seconds Communication Programmable LED Indicator Display System LED Indicator Yes 1 LED as Power Communication Indicator I O LED Indicator 7 Segment LED Display Isolation Intra Module Isolation Field to Logic novo Nie EMS Protection ESD IEC 61000 4 2 4 kV EFT IEC 61000 4 4 4 kV Surge IEC 61000 4 5 3 kV Power Reverse Polarity Protection Yes Input Voltage Range 10 30 Voc Consumption 1 8 W Mechanical Dimensions W x L x H 72 mm x 123 mm x 35 mm Installation DIN Rail or Wall Mounting Environment Operating Temperature 25
50. er character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF S The status of the INIT switch on the module 0 The INIT switch is currently in the INIT position 1 The INIT switch is currently in the Normal position 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 48 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 011 Response 010 Reads the status of the INIT switch on module 01 and shows that it is currently in the INIT position M 7002 User Manual Rev 1 0 2012 04 11 49 2 17 AALS Description This command is used to read the status of the digital input output latch for each channel of a specified module Syntax AALS CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF L The command to read the status of the latches for each channel S The status of the latch 0 Latch low 1 Latch high Response Valid Response Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data A four digit hexadecimal value followed by 00 representing the status of the latched digital output input channels
51. ets the communication protocol for module 01 to Modbus RTU and returns a valid response Command 01P Response 0111 Reads which communication protocol is being used by module 01 and returns a valid 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 Modbus RTU Related Commands Section 2 20 AAPN 54 M 7002 User Manual Rev 1 0 2012 04 11 2 20 AAPN Description This command is used to set the communication protocol to be used by a specified module Syntax AAPN CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF P The command to set the communication protocol N The protocol to be used 0 DCON 1 Modbus RTU Note Before using this command the INIT switch must be in the INIT position see Section 5 1 for details The settings for the new protocol are saved in the EEPROM and will become effective after the next power on reset Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF M 7002 User Manual Rev 1 0 2012 04 11 55 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
52. f 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 at http www icpdas com Documentation for the DCON Utility can be found in the Getting Started For I 7000 Series Modules manual Set the module to the INIT mode and communicate with the module using the following settings address 00 and DCON protocol See Section 1 7 for more details related to configuration settings M 7002 User Manual Rev 1 0 2012 04 11 4 2 Reading Data If the data read from the input channel is not correct first check the following O Ensure that the type code and data format settings are correct The type code is set by using the AA7CiRrr command see Section 2 12 for details The data format is set by using the AANNTTCCFEF command see Section 2 1 If you are using the Modbus RTU protocol the type code is set by using sub function 08h of the function 46h If the voltage read by the module is incorrect then it may be because the calibration parameters stored in the non volatile memory are corrupted You can calibrate the module by yourself but be sure to read Section 1 6 for details before performing any calibration Use the AAS1 command to reload the factory calibration parameters see Section 2 21 for details M 7002 User Manual Rev 1 0 2012 04 11 151 5 Appendix 5 1 INIT Mode Each I
53. h 1AAh 2 Therefore the checksum is AAh and so CHKSUM AA 3 The response string with the checksum 01200600AA CR Note All characters should be in upper case M 7002 User Manual Rev 1 0 2012 04 11 17 General Command Sets Command Response Description Section AANNTTCCFF IAA Sets the configuration of the module 2 1 AA2 AANNTTCCFF Reads the configuration of the module 2 7 AA5 IAAS Reads the reset status of the module 2 9 AAC IAA Clears the DI DO latches of the module 2 14 AAF AA Data Reads the firmware version information 2 15 AAI IAAS Reads the status of the INIT switch 2 16 AALS Data Reads the status of the DI and DO latches 2 17 AAM AA Data Reads the name of the module 2 18 AAP IAASC Reads the communication protocol 2 19 AAPN IAA Sets the communication protocol 2 20 AAD IAAVV Reads the miscellaneous settings 2 29 AADVV IAA Sets the miscellaneous settings 2 30 AAI IAA Sets the software INIT modification to 2 32 enabled AAO Data IAA Sets the name of the module 2 33 AARD IAATT Reads the response delay time 2 34 AARDTT IAA Sets the response delay time 2 35 AATnn IAA Sets the Software INIT timeout value 2 36 AACECi IAA Clears the DI counter 2 37 AADI IAAOOII Reads the status of the DO and DI channels 2 45 AADODD IAA Sets the status of the DO channels 2 46 AARECi IAA Reads the
54. id response because the module was not switched to INIT mode before sending the command Command 0101000A00 Response 01 Changes the Baud Rate of module 01 to 115200 bps and the module is in INIT mode The module returns a valid response Related Commands Section 2 7 AA2 Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 21 2 2 Description When this command is received it allows every analog input module to read data from every input channel and the data will be stored in the buffer for later retrieval Syntax CHKSUM CR Delimiter character me The synchronized sampling command Response There is no response to this command To access the data another command AA4 must be sent see Section 2 8 for details 22 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command No response Sends the synchronized sampling command Command 014 Response gt 0114 025 12 020 45 012 78 018 97 Sends the command to read the synchronized data The status byte of the response is 1 which means that it is the first time the synchronized data has been read since the previous command was sent Command 014 Response gt 0104 025 12 020 45 012 78 018 97 Sends the command to read the synchronized data The status byte of the response is 0 which means that it is not the first time the synchronized data has been read since the previous command was sent
55. ied address 82 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command OIRD10 Response 01 Sets the response delay time to 16 milliseconds and returns a valid response Command O1RD Response 0110 Reads the response delay time and returns a valid response with a value of 10 indicating 16 milliseconds The response will be sent after 16 milliseconds have elapsed Related Commands Section 2 35 AARDTT M 7002 User Manual Rev 1 0 2012 04 11 83 2 35 AARDTT Description This command is used to set the response delay time for a specified module Syntax AARDTT CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF RD The command to set the response delay time TT A two digit hexadecimal value that represents the response time value in milliseconds For example 01 denotes 1 millisecond and 1A denotes 26 milliseconds The value must be less than or equal to 1E Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 84 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command OIRD10 Response 01 Sets the response del
56. indicates the relay is active 1 Output value O indicates the relay is active Output value indicates the relay is inactive IA DI active state 0 Input value 0 indicates high voltage Input value 1 indicates that there is no signal or the voltage is low 1 Input value O indicates that there is no signal or the voltage is low Input value 1 indicates high voltage 74 M 7002 User Manual Rev 1 0 2012 04 11 Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 01D01 Response 01 Sets the miscellaneous settings for module 01 to 01 meaning that the digital input will be inversed and returns a valid response Command 01D Response 0101 Reads the miscellaneous settings of module 01 and returns a valid response with a value of 01 indicating that the digital input will be inversed Related Commands Section 2 29 AAD M 7002 User Manual Rev 1 0 2012 04 11 75 2 31 AAEV Description This command is used to enable or disable calibration on a specified module Syntax AAEV CHKSUM CR Delimiter character AA The address of the module to be
57. lid response indicating a counter value of 00000008 Command 01CEC1 Response 01 Resets the counter for channel 1 of module 01 to the preset value and returns a valid response Command 01REC1 Response 10100000000 Reads data from channel 1 of module 01 and returns a valid response indicating a counter value of 00000000 Command 01CECF Response 01 Attempts to reset the counter for channel 15 of module 01 to the preset value but returns an invalid response because channel 15 does not exist Related Commands Section 2 51 AARECi M 7002 User Manual Rev 1 0 2012 04 11 89 2 38 AACH Description This command is used to clear the high latch values for all channels of a specified module Syntax AACH CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF CH The command to clear the high latch values Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 90 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RHO Response 01 05 000 Reads the high latch value for channel 0 of module 01 and returns a valid response
58. module and to set the Host Watchdog timeout value Syntax AA3EVV CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF 3 The command to set the Host Watchdog E The command to enable or disable the Host Watchdog 0 Disables the Host Watchdog 1 Enables the Host Watchdog VV A two digit hexadecimal value to represent the Host Watchdog timeout value in tenths of a second for example 01 means 0 1 seconds and FF means 25 5 seconds Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 2 Delimiter character for an invalid response AA The address of the responding module 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 66 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 013164 Response 01 Enables the Host Watchdog for 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 for module 01 and returns a valid response with a value of 164 meaning that the Host Watchdog is enabled and the Host Watchdog timeout value is 10 0 seconds Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AA1 Section 2 25 AA2 Related Topics Sectio
59. n 5 2 Dual Watchdog Operation M 7002 User Manual Rev 1 0 2012 04 11 67 2 27 AA4 Description This command is used to read the digital output power on value and the safe value for a specified module Syntax AA4 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 4 The command to read the digital output power on value and the safe value Response Valid Rommand AAPPSS CHKSUM CR Invalid Rommand AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF PP A two digit hexadecimal value that represents the digital output power on value SS A two digit hexadecimal value that represents the digital output safe value 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 68 M 7002 User Manual Rev 1 0 2012 04 11 Note Neither the power on value nor the safe value have any effect on digital outputs that are associated with alarm outputs Examples Command 0150300 Response 01 Sets the digital output power on value to 03 and sets the digital output safe value to 00 and returns a valid response Command 014 Response 010300 Reads the digital output power on value and the digital output safe value for module 01 and returns a valid response
60. nd 017CORO8 Response 01 Sets the type code for channel 0 of module 01 to 08 10 10 V and the module returns a valid response Command 018C0 Response 01COR08 Reads the analog input type code information for channel 0 of module 01 and returns a valid response of 08 which means that the input type is O 10 V Command 018CF Response 01 Attempts to read the analog input type code information for channel 15 of module 01 but returns an invalid response because analog input channel 15 does not exist Related Commands Section 2 12 AA7CiRrr Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 45 2 14 AAC Description This command is used to clear the digital input output latch data for a specified module Syntax AAC CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF C The command to clear the digital input output latch data Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 01C Response 01 Clears the latched data for module 01 and returns a valid respo
61. nd M 7000 modules feature a new design for the frame ground which provides a path for bypassing ESD allowing enhanced static protection ESD capabilities and ensures that the module is more reliable Either of the following options will provide better protection for the module 1 If the module is DIN Rail mounted connect the DIN Rail to the earth ground This is because the DIN Rail is in contact with the upper frame ground as shown in the figure below 2 Alternatively connect the lower frame ground terminal to a wire and connect the wire to the earth ground as shown in the figure below Frame Ground M 7002 User Manual Rev 1 0 2012 04 11 155 New DIN Rail models are available that can easily be connected to the earth ground Each rail 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 156 M 7002 User Manual Rev 1 0 2012 04 11 5 4 Node Information Area Each I 7000 and M 7000 module has a built in EEPROM that can be used to store configuration information such as the module address Type Code and Baud Rate etc One minor drawback is that there may be no visual indications of the configuration of the module Newer I 7000 and M 7000 modules
62. nication protocol settings for a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x06 03 Reserved 1 Byte 0x00 04 Baud Rate 1 Byte Baud Rate code see Section 1 7 for details 05 07 Reserved 3 Bytes 0x00 0x00 0x00 08 Mode 1 Byte 0 DCON protocol 1 Modbus RTU protocol 09 10 Reserved 2 Bytes 0x00 0x00 11 Reserved 1 Bytes 0x00 Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x06 03 Reserved 1 Byte 0x00 04 Baud Rate 1 Byte 0 OK others error 05 07 Reserved 3 Bytes 0x00 0x00 0x00 08 Mode 1 Byte 0 OK others error 09 10 Reserved 2 Bytes 0x00 0x00 Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 The Baud Rate or the module address is out of range reserved bits should be filled with zero or an incorrect number of bytes were received 138 M 7002 User Manual Rev 1 0 2012 04 11 3 4 5 Sub function 07 0x07 Read the type code This sub function code is used to read the type code information for a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x07 03 Reserved 1 Byte 0x00 04 Channel 1 Byte 0x00 0x03 Re
63. nse Related Command Section 2 17 AALS 46 M 7002 User Manual Rev 1 0 2012 04 11 2 15 AAF Description This command is used to read the firmware version information for a specified module Syntax AAF CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF F The command to read the firmware version information Response Valid Response AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data A string indicating the firmware version information for 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 information for module 01 and returns a valid response showing that it is version A2 0 M 7002 User Manual Rev 1 0 2012 04 11 47 2 16 AAI Description This command is used to read the status of the INIT switch on a specified module Syntax AATI CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF I The command to read the status of the INIT switch on the module Response Valid Response AAS CHKSUM CR Invalid Response AA CHKSUM CR Delimit
64. nvalid response AA The address of the responding module 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 80 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 0107002 Response 01 Sets the name of module 01 to 7002 and returns a valid response Command 01M Response 017002 Reads module 01 and returns a valid response with the name 7002 Related Commands Section 2 18 AAM M 7002 User Manual Rev 1 0 2012 04 11 81 2 34 AARD Description This command is used to read the response delay time for a specified module Syntax AARD CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RD The command to read the response delay time Response Valid Response AATT CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF TT A two digit hexadecimal value that represents the response delay time value in milliseconds For example 01 denotes millisecond and 1A denotes 26 milliseconds The value must be less than or equal to 1E There will be no response if the command syntax is incorrect there is a communication error or there is no module with the specif
65. o read the Host Watchdog timeout value Response Valid Response AAEVV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF E The status of the Host Watchdog 0 The Host Watchdog is disabled 1 The Host Watchdog is enabled VV A two digit hexadecimal value that represents the Host Watchdog timeout value in tenths of a second for example 01 means 0 1 seconds and FF means 25 5 seconds 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 64 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 013164 Response 01 Enables the Host Watchdog for module 01 and sets the Host Watchdog timeout value to 10 0 seconds The module returns a valid response Command 012 Response 01 1 FF Reads the Host Watchdog timeout value for module 01 and returns a valid response with a value of 1 FF meaning that the Host Watchdog is enabled and the Host Watchdog timeout value is 25 5 seconds Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AA1 Section 2 26 AA3EVV Related Topics Section 5 2 Dual Watchdog Operation M 7002 User Manual Rev 1 0 2012 04 11 65 2 26 AA3EVV Description This command is used to enable or disable the Host Watchdog for a specified
66. of 05 000 5 V indicating a value of 5 V Command 01CH Response 01 Clears the high latch value for all channels of module 01 and returns a valid response Command 01RHO Response 01 00 000 Reads the high latch value for channel 0 of module 01 and returns a valid response of 00 000 0 V indicating a value of O V Related Commands Section 2 39 AACHi Section 2 52 AARH Section 2 53 AARHi M 7002 User Manual Rev 1 0 2012 04 11 91 2 39 AACHi Description This command is used to clear the high latch value for a specific channel of a specified module Syntax AACHi CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF CH The command to clear the high latch value i The channel to be cleared zero based Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 92 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01RH1 Response 01 06 000 Reads the high latch value for channel 1 of module 01 and returns a valid response with a value of 06 000 6 V Command 01CH1 Response 01 Clears the high latch val
67. ommands Section 2 43 AACLCi Section 2 50 AARAO Section 2 57 AARLCi1 Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 113 2 50 AARAO Description This command is used to read which currently activated alarms are associated with a specified module Syntax AARAO CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RAO The command to read the currently activated alarms associated with the module channel Response Valid Response AAHHLL CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF HH A two digit hexadecimal value that represents 114 the currently activated high alarms associated with the digital output channel where bit O corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes that there are no activated high alarms associated with the channel When the bit is 1 it denotes that there is an activated high alarm associated with the channel M 7002 User Manual Rev 1 0 2012 04 11 LL A two digital hexadecimal value that represents the currently activated low alarms associated with the digital output channel where bit O corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes th
68. on 1 7 for details To change the Baud Rate the module should first be switched to INIT mode FF The command used to set the data format checksum and filter settings See Section 1 7 for details of the data format To change the checksum settings the module should first be switched to INIT mode Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter for a valid response Delimiter for an invalid response If the Baud Rate or checksum settings are changed without first switching to INIT mode the module will return an invalid response AA The address of the responding module in hexadecimal format 00 to FF 20 M 7002 User Manual Rev 1 0 2012 04 11 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 Note Changes to the address Type Code Data Format and Filter settings take effect immediately after a valid command is received Changes to the Baud Rate and checksum settings take effect at the next power on reset Examples Command 0102000600 Response 02 Changes the address of module 01 to 02 and returns a valid response Command 0202000602 Response 02 Sets the data format of module 02 to type 2 2 s complement hexadecimal The module returns a valid response Command 0101000A00 Response 01 Attempts to change the Baud Rate of module 01 to 115200 bps but returns an inval
69. ooocoosoooosoocooooooooo A A SI F SS eeceoooeooooossoosoooooooosooosooooooooooooosoooooooooooooo AAD eeseooeooooooooocooocoooooossoocoooooooooooossooooooooosoocoooooooo AAD V V eesesooosooossoooooocoooosooosooooooooossoossooooooooooooooo AAE V eesooeeoooosooocooooosoooosooooooosooosoooooooooosooooooooooooo NNN NNNNNW CO IDUMKE SS U N e RRR e eR ONDWNNrFrRDTOADMN NNN WY OonBN BWW W W W SCON KN OS HAHAH ona AN non N oO NDNNDNDDNANNN NA HBRNOON NW nN o0 JNN y AANO M 7002 User Manual Rev 1 0 2012 04 11 3 2 32 eesoooooooooooooooooosoooosooooooosooosoooocsooooosooosoooooooossooosoooooooosooosooooooooooo 2 33n ANO Data eere nen nn aoa e e aa iari 80 DSA RID oe oh e e T E E e taht oe aos bed 82 233 AARDT T v yersr esine nat AE nea teaecel EE 84 Ds Og AA UNM seg YS a a a e ERS 86 23I OAACECI aera e ae PEIN ERR ON EEE AE 88 238 OAACH nran a aa a a r ia 90 2 SO OPAC AN 6 geste a E A E anu E cel deus bts 92 24O OAACHCi srctootscsecua teats Qouitiloeed twat E 94 2AT OAAC corrals Race n e eett aE tee i dala hued Sagan A sacs 96 DAD NO PACT aici EEEE EEE cela Jake aie EAER 98 DAS AO PAC TEC E staatilivtcte eae ae neaa E 100 DAA FADD A nnana a aA a a ieas 102 DAS OPA VU a rei E E seas E lee E EREE E RES 104 ZAG K AA DODD k ob a aa Mors ood E AAE 106 DAE NO POA BA a eats A e ae E cr Renee as Ae Ra chil Cas is ha 108 DAS OAS ALC AA CA os iccsutedua
70. own below Init Init Normal Normal a SS UW G gt N INIT Switch R ee M 7002 User Manual Rev 1 0 2012 04 11 153 5 2 Dual Watchdog Operation Dual Watchdog Module Watchdog Host Watchdog The Module Watchdog is a hardware reset circuit that monitors the operating status of the module While working in harsh or noisy environments the module may be shut down by external signals The Watchdog circuit allows the module to work continuously without disruption The Host Watchdog is a software function 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 the controlled target from performing any erroneous operations l 7000 series modules include an internal Dual 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 M 7002 Modules manual that can be downloaded from the ICP DAS website 154 M 7002 User Manual Rev 1 0 2012 04 11 5 3 Frame Ground Electronic circuits are constantly vulnerable to Electrostatic Discharge ESD which becomes worse in a continental climate area Some I 7000 a
71. piceantiedewsnenenei sora benbetsbaruouedduderudemmbasdsere 110 249 AAO Data Cle acacia eed n i i e i EN 112 Pe MIO PA RIO ees a eae Van ad sta Sues E EE E SETS RS 114 ZS NAO AA RECA eonen a pothavian a a 116 Di DPA TRA is geri E AT A E EE ices oluanckiah E 118 ZI OAARH eases aana aa a S SaaS 120 2 54 O PA TRG i r ee e aaa aa E ee eaaa 122 ZINS OAAR n a ERA A RA OME AE ASO PRE 124 230 OP Re ere as crt er tha seet a a ceed stant aA 126 Des OAA RUC oso alalncs es snatentoeesdea ese seas E a Hameo 128 Modbus RFU Protocol cu dcinec ek teen fe etn Rial Ny Meta ted elves alse 130 3 1 02 0x02 Read the Digital Input Status ee eeeeeeeeees 131 3 2 04 0x04 Read the Analog Input Channels 0 eee eeeeeeee 132 3 3 05 0x05 Write a Single Digital Output eee eeeeeeeee 133 3 4 70 0x46 Read Write Module Settings eeeeceeesseeeeeeteees 134 3 4 1 Sub function 00 0x00 Read the module name 135 3 4 2 Sub function 04 0x04 Set the module address 136 3 4 3 Sub function 05 0x05 Read the communication settings TPE EEES EEEE EA E A hde ate E OEO 137 3 4 4 Sub function 06 0x06 Set the communication settings 138 3 4 5 Sub function 07 0x07 Read the type code 0 139 3 4 6 Sub function 08 0x08 Set the type code eee 140 3 4 7 Sub function 32 0x20 Read the firmware version 141 3 4 8 Sub function 37 0x25 Read the channel enabled disabled SLATS cob cud i icnavtitec a a a e ae a
72. ponding module in hexadecimal format 00 to FF S The type of alarm 0 Alarm function is disabled 1 Momentary alarm 2 Latched alarm HH A two digit hexadecimal value to denote the DO status where bit O corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes that the DO channel has no output and 1 denotes that the DO channel has output 104 M 7002 User Manual Rev 1 0 2012 04 11 LL A two digit hexadecimal value to denote the DI status where bit O corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes that the DI channel has no input and 1 denotes that the DI channel has input 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 01DO01 Response 01 Sets digital output channel 0 of module 01 to on and sets digital output channel of module 01 to off and returns a valid response Command 01DI Response 0100102 Reads the status of the DI DO channels of module 01 and returns a response of 010102 indicating that the alarm function is disabled that DO exists on channel and that DI exists on channel 1 Related Commands Section 2 48 AAHI Data Ci Section 2 49 AALO Data Ci Section 2 46 AADODD M 7002 User Manual Rev 1 0 2012 04 11 105 2 46 AADODD Description This command is used to set the status of the digital output for
73. racter for an invalid response AA The address of the responding module in hexadecimal format 00 to FF SS A two digit hexadecimal value that represents 60 the status of the Host Watchdog where Bit 2 0 indicates that no Host Watchdog timeout has occurred and 1 indicates that a Host Watchdog timeout has occurred Note The status information for the Host Watchdog is stored in EEPROM and can only be reset using the AA1 command Bit 7 0 indicates that the Host Watchdog is disabled and 1 indicates that the Host Watchdog is enabled M 7002 User Manual Rev 1 0 2012 04 11 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 status of the Host Watchdog for module 01 and returns a valid response with a value of 00 meaning that the Host Watchdog is disabled and no Host Watchdog timeout has occurred Command 020 Response 0204 Reads the status of the Host Watchdog for module 02 and returns a valid response with a value of 04 meaning that a Host Watchdog timeout has occurred Related Commands Section 2 22 Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3EVV Related Topics Section 5 2 Dual Watchdog Operation M 7002 User Manual Rev 1 0 2012 04 11 61 2 24 AA1 Description This command is used to reset the timeout status of the Host Watchdog for a specifi
74. ration Tables M 7002 User Manual Rev 1 0 2012 04 11 111 2 49 AALO Data Ci Description This command is used to set the low alarm limit for a specific channel of a specified module Syntax AALO Data Ci CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF LO The command to set the low alarm Data The low alarm limit This should be consistent with the data format Refer to Section 1 7 for details Ci 1 specifies the channel to be set zero based Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 112 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01LO 03 000C1 Response 01 Sets the low alarm limit for channel 1 of module 01 to 03 000 3 V and returns a valid response Command 01RLC1 Response 010 03 000 Reads the low alarm limit for channel 1 of module 01 and returns a valid response with a value 03 000 3 V Command 01LO 03 000CF Response 01 Attempts to set the low alarm limit for channel 15 of module 01 to 03 000 3 V but returns an invalid response because channel 15 does not exist Related C
75. round M 7002 User Manual Rev 1 0 2012 04 11 1 4 Application Wiring Voltage Input Wire Connection Current Input Wire Connection JUMPER i 08 Vin E Vin mV V O lS Vin m e Vin Digital Read back as 1 Read back as 0 Input Counter 10 50 Voc OPEN or lt 4 V Sink To other TO other channels channels Source To other TO other channels channels Power Relay ON State OFF State Read back as 1 Read back as 0 Relay On Relay Off Relay Output 10 M 7002 User Manual Rev 1 0 2012 04 11 1 5 Default Settings The default settings for the M 7002 are Module address 01 Analog input type Type 08 10V to 10V Protocol Modbus protocol Baud Rate 9600 bps 2 Checksum disabled 2 Engineering units format o Filter set at 60Hz rejection M 7002 User Manual Rev 1 0 2012 04 11 11 1 6 Calibration Warning Jt is not recommended that calibration be performed until the process is fully understood 1 6 1 Analog Input The calibration procedure is as follows 1 Warm up the module for 30 minutes 2 Set the type code to the type you want to calibrate Refer to Section 2 12 for details 3 Enable calibration Refer to Section 2 31 for details 4 Apply the zero calibration voltage current 5 Send the zero calibration command Refer to Section 2 6 for details Apply the span calibration voltage current 7
76. s a valid response of 0A meaning that channels and 3 are enabled and all other channels are disabled Related Commands Section 2 10 AA5VV M 7002 User Manual Rev 1 0 2012 04 11 41 2 12 AA7CiRrr Description This command is used to set the type code for a specific channel of a specified module Syntax A A7CiRrr CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF 7 The command to set the channel range code Ci 1 specifies the channel to be set zero based Rrr rr represents the type code for the channel to be set Refer to the Analog Input Type Settings table in Section 1 7 for details Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response or an invalid type code AA The address of the responding module 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 42 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 017CORO8 Response 01 Sets the type code for channel 0 of module 01 to 08 10 10 V and the module returns a valid response Command 018C0 Response 01CORO8 Reads the analog input type code information for channel 0 of module 01 and returns a valid response of 08 which means that the inpu
77. s a valid response Command 011 Response 01 Sets the software INIT function on module 01 to enabled and returns a valid response Command 0101000600 Response 01 Sets the Baud Rate for module 01 to 9600 bps and returns a valid response Command O1TFF Response 01 Attempts to set the timeout value for the software INIT function on module 01 to 255 seconds but returns an invalid response because the duration is greater than the permitted value 3C Related Commands Section 2 1 7 AANNTTCCEF Section 2 32 AAI M 7002 User Manual Rev 1 0 2012 04 11 87 2 37 AACECi Description This command is used to reset the counter for a specific channel of a specified module Syntax AACECi CHKSUM CR Delimiter character AA The address of the module to be reset in hexadecimal format 00 to FF CE The command to reset the counter Ci 1 specifies the channel to be reset zero based Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA The address of the responding module 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 88 M 7002 User Manual Rev 1 0 2012 04 11 Example Command 01REC1 Response 10100000008 Reads data from channel 1 of module 01 and returns a va
78. s protocol was developed by Modicon Inc and was originally developed for Modicon controllers Detailed information can be found at http Awww modicon com techpubs toc7 html You can also visit http www modbus org to find more valuable information Function code Daseription Section 02 0x02 Reads the digital input status 04 0x04 Reads the analog input channels 05 0x05 Writes a single digital output 70 0x46 Reads writes the module settings Error Responses 00 Address 1 Byte 1 to 247 01 Function code 1 Byte Function code 0x80 02 Exception code 1 Byte 01 Note If a CRC mismatch occurs the module will not respond 130 M 7002 User Manual Rev 1 0 2012 04 11 3 1 Function 02 0x02 Read the Digital Input Status This function code is used to read the status of the wire connection for a module Supports types 0x7 and Ox1A only Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x02 02 03 Starting channel 2 Bytes 0x20 to 0x24 where 0x20 corresponds to channel 0 0x21 corresponds to channel 1 etc 04 05 Number of input 2 Bytes N 1 to 5 Starting channel N channels N Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte Ox02 02 Byte count 1 Byte I 03 Data from input l Byte JA bit corresponds to a channel channels When the bit is 1 it denotes that the channel is either over range
79. se AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF Data The status of the high alarm for the specified 122 channel See Section 1 7 for details of the data format M 7002 User Manual Rev 1 0 2012 04 11 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 01HI 08 000CO Response 01 Sets the high alarm limit for channel O of module 01 to 08 000 8 V and returns a valid response Command 01RHCO Response 01 08 000 Reads the high alarm limit for channel 0 of module 01 and returns a valid response indicating that the high alarm limit is 08 000 8 V Command 01RHCF Response 01 Attempts to read the high alarm limit for channel 15 of module 01 but returns an invalid response because channel 15 does not exist Related Commands Section 2 40 AACHCi Section 2 48 AAHI Data Ci Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 123 2 55 AARL Description This command is used to read the low latch values for all channels of a specified module Syntax AARL CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF RL The command to
80. se if the command syntax is incorrect there is a communication error or there is no module with the specified address M 7002 User Manual Rev 1 0 2012 04 11 57 Examples Command 01S1 Response 01 Sends a command to module 01 to reload the factory default calibration parameters and returns a valid response Related Commands Section 2 5 AAO Section 2 6 AA1 Section 2 31 AAEV Related Topics Section 1 6 Calibration 58 M 7002 User Manual Rev 1 0 2012 04 11 2 22 Description This command is used to inform all modules on the network that the host is OK Syntax CHKSUM CR Delimiter character ae The Host OK command Response There is no response to this command Examples Command No response Sends a Host OK command to all modules on the network Related Commands Section 2 23 AAQO Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3EVV Section 2 27 AA4 Section 2 28 AASPPSS M 7002 User Manual Rev 1 0 2012 04 11 59 2 23 AA0 Description This command is used to read the status of the Host Watchdog for a specified module Syntax AA0 CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 0 The command to read the status of the module s Host Watchdog Response Valid Response AASS CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter cha
81. showing the name 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 017002 Reads module 01 and returns a valid response with the name 7002 Related Commands Section 2 33 AAO Data 52 M 7002 User Manual Rev 1 0 2012 04 11 2 19 AAP Description This command is used to read which communication protocol is supported and being used by a specified module Syntax AAP CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF P The command to read the communication protocol Response Valid Response AASC CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF S Indicates which protocol is supported 0 Only the DCON protocol is supported 1 Both the DCON and Modbus RTU protocols are supported C Indicates which protocol is currently being used 0 The protocol set in the EEPROM is DCON 1 The protocol set in the EEPROM is Modbus RTU M 7002 User Manual Rev 1 0 2012 04 11 53 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 01P1 Response 01 S
82. sponse 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x07 03 Type code 1 Byte The type code see Section 1 7 for details Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 The channel number is out of range reserved bits should be filled with zero or an incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 139 3 4 6 Sub function 08 0x08 Set the type code This sub function code is used to set the type code for a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x08 03 Reserved 1 Byte 0x00 04 Channel 1 Byte 0x00 0x03 05 Type code 1 Byte The type code see Section 1 7 for details Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x08 03 Type code 1 Byte 0 OK others error Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 The type code is out of range the channel is out of range reserved bits should be filled with zero or an incorrect number of bytes were received 140 M 7002 User Manual Rev 1 0 2012 04 11 3 4 7 Sub function 32 0x20 Read the firmware version information This sub function code is used
83. t type is 10 10 V Command 037C1 RFF Response 03 Attempts to set the type code for channel 1 of module 03 to FF but returns an invalid response because the type code is invalid Related Commands Section 2 13 AA8Ci Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 0 2012 04 11 43 2 13 AA8Ci Description This command is used to read the analog input type code information for a specific channel of a specified module Syntax AA8Ci CHKSUM CR Delimiter character AA The address of the module to be read in hexadecimal format 00 to FF 8 The command to read the type code of the channel Ci 1 specifies which analog input channel to access for the type code information Response Valid Response AACiRrr CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response or an invalid channel AA The address of the responding module in hexadecimal format 00 to FF Ci 1 specifies the analog input channel that was accessed to retrieve the type code information Rrr rr represents the type code for the specified analog input channel Refer to the Analog Input Type Settings table in Section 1 7 for details 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 44 M 7002 User Manual Rev 1 0 2012 04 11 Examples Comma
84. tax AA0 CHKSUM CR Delimiter character AA The address of the module to be calibrated in hexadecimal format 00 to FF 0 The command to perform the analog input span calibration Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 Note The enable calibration command AAEV Section 2 31 must be sent before this command is used See Section 1 6 for details 28 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 010 Response 01 Attempts to perform an analog input span calibration on module 01 but returns an invalid response because the enable calibration command AAEV was not sent in advance Command O1E1 Response 01 Enables calibration on module 01 and returns a valid response Command 010 Response 01 Performs an analog input span calibration on module 01 and returns a valid response Related Commands Section 2 6 AA1 Section 2 31 AAEV Related Topics Section 1 6 Calibration M 7002 User Manual Rev 1 0 2012 04 11 29 2 6 AA1 Description This command is used to perform an analog input zero calibration on a specified module
85. the module does not support the sub function code specified in the message then it will respond as follows Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Exceptioncode l Byte 02 Indicates an invalid sub function code 134 M 7002 User Manual Rev 1 0 2012 04 11 3 4 1 Sub function 00 0x00 Read the name of the module This sub function code is used to read the name of a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x00 Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x00 03 06 Module name 4 Bytes 0x00 0x70 0x02 0x00 Error Response 00 Address 1 Byte 1 to 247 0l Function code 1 Byte OxC6 02 Exception code l Byte 03 An incorrect number of bytes were received M 7002 User Manual Rev 1 0 2012 04 11 135 3 4 2 Sub function 04 0x04 Set the module address This sub function code is used to set the address of a module Request 00 Address 1 Byte 1 to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x04 02 New address 1 Byte 1 to 247 04 06 Reserved 3 Bytes 0x00 0x00 0x00 Response 00 Address 1 Byte l to 247 0l Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x04 03
86. ting that the alarm function is disabled that DO exists on channel 0 and that DI exists on channel 1 Related Commands Section 2 45 AADI M 7002 User Manual Rev 1 0 2012 04 11 107 2 47 AAEAt Description This command is used to set the momentary or latch alarm function on a specified module Syntax AADA CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF EA The command to enable the alarm function t The type of alarm M Momentary alarm L Latched alarm Response Valid Response AA CHKSUM CR Invalid Response 2 AA CHKSUM CR Delimiter character for a valid response z Delimiter character for an invalid response AA The address of the responding module 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 108 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01EAM Response 01 Enables the momentary alarm function for module 01 and returns a valid response Command 01DA Response 01 Disables the alarm function for module 01 and returns a valid response Related Commands Section 2 44 AADA Section 2 48 AAHI Data Ci Section 2 49 AALO Data Ci Section 2 50 AARAO Section 2 54 AARHCI Section 2 57 AARLCi M 7002 User Manual Rev 1 0 2012 04 11 109 2 48 AAHI Data Ci Description This command is us
87. ts engineering data format and the type code information is as follows Type Code Analog Input Type F S F S 4 to 20 07 a 4000 20000 08 10 ry 10 10000 10000 09 5 iy 9 5000 5000 0A 1 N 1 10000 10000 0B 500 to 500 5000 5000 mV 150 to 150 0C E 15000 15000 OD O 10 20 20000 20000 mA 1A 0 to 20 0 20000 mA The under range value is 32768 and the over range value is 32767 For hexadecimal data format please refer to Section 1 7 for details M 7002 User Manual Rev 1 0 2012 04 11 149 4 Troubleshooting If you are having difficulty using the M 7002 module here are some suggestions that may help If you cannot find the answers you need in this guide contact ICP DAS Product Support 4 1 Communicating with the module If you attempt to communicate with the module and receive no response first check the following o 150 Ensure that the supplied power is within the range of 10 to 30 Voc If the supplied power is sufficient then the power LED should be on When the module receives a command the power LED will be set to off The power LED will be shown as on after the module responds This method can be used to check whether the module has received a command sent from the host If possible use another device that is known to be functional to check whether the host can communicate with the device through the same network I
88. ue for channel 1 of module 01 and returns a valid response Command 01RH1 Response 01 00 000 Reads the high latch value for channel 1 of module 01 and returns a valid response with a value of 00 000 0 V Command 01 CHF Response 01 Attempts to clear the high latch value for channel 15 of module 01 and returns an invalid response because channel 15 does not exist Related Commands Section 2 38 AACH Section 2 52 AARH Section 2 53 AARHi M 7002 User Manual Rev 1 0 2012 04 11 93 2 40 AACHCi Description This command is used to clear the status of the high alarm for a specific channel of a specified module Syntax AACHCi CHKSUM CR Delimiter character AA The address of the module to be cleared in hexadecimal format 00 to FF CH The command to clear the status of the high alarm Ci 1 specifies the channel to be cleared zero based Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA The address of the responding module 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 94 M 7002 User Manual Rev 1 0 2012 04 11 Examples Command 01CHCO Response 01 Clears the status of the high alarm for channel 0 of module 01 and returns a valid response

Download Pdf Manuals

image

Related Search

Related Contents

ク一升マスター 取扱説明書  買取りの流れ 集荷のご依頼 ご注意いただきたい点    取 扱 説 明 書 多摩川精機販売株式会社  T。SHーBA 東芝蛍光灯器具取扱説明書 Y`4ーー  Altinex TR6102HD User's Manual  Jewel Loom  SCC-DI01 Isolated Digital Input  冷凍空調サービスツール  Motorola DCT2000 TV Converter Box User Manual  

Copyright © All rights reserved.
Failed to retrieve file