Home

M-7002 User Manual

image

Contents

1. value M 7002 User Manual Rev 1 1 2014 09 01 21 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 Section 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 7 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 22 M 7002 User Manual Rev 1 1 2014 09 01 There will be no response 1f 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 receiv
2. Humidity 10 95 RH Non condensing M 7002 User Manual Rev 1 1 2014 09 01 I O Specifications Analog Input Channels 4 Wiring Differential lipu Ranee 150 mV 500 mV 1 V 5 V 10 V 20 mA 0 20 mA 4 20 mA jumper selectable Resolution 12 16 bit Arataa 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 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 Voc Off Voltage Level 4 Voc 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 Contact Rating A a Surge Strength 3000 Voc Operation Time 6 ms Release Time 3 ms Mechanical Endurance 2x 107 ops Electrical Endurance 10 ops Power on Values Yes Safe Values Yes 8 M 7002 User Manual Rev 1 1 2014 09 01 1 3 Block Diagram Embedde Controller DATA RS 485 DATA Interface Vs GND Frame Ground M 7002 User Manual Rev 1 1 2014 09 01 1 4 Application Wiring Voltage Input Wire Connection
3. AADVV CHKSUM CR Delimiter character AA The address of the module to be set in hexadecimal format 00 to FF D The command to set the miscellaneous settings 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 Key Description OA DO active state 0 Output value 0 indicates the relay is inactive Output value 1 indicates the relay is active 1 Output value 0 indicates the relay is active Output value indicates the relay is inactive IA Dl 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 0 indicates that there is no signal or the voltage is low Input value 1 indicates high voltage 76 M 7002 User Manual Rev 1 1 2014 09 01 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 1f 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 respons
4. Command 01E1 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 1 2014 09 01 31 2 6 AA1 Description This command is used to perform an analog input zero calibration on a specified module 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 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 Notes The enable calibration command AAEV Section 2 31 must be sent before this command is used see Section 1 6 for details 32 M 7002 User Manual Rev 1 1 2014 09 01 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
5. 01RHCO0 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 Section 2 54 AARHCi Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 113 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 i specifies the channel to be set 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 114 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 01L0 03 000C1 Response
6. Current Input Wire Connection al Digital Input Counter Read back as 1 ai 06 Vin Vin SBE BEG Read back as 0 10 50 Voc OPEN or lt 4 V Sink TO other TO other channels channels 10 50 Voc Source To other channels To other 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 1 2014 09 01 1 5 Default Settings The default settings for the M 7002 are Module address 01 Analog input type Type 08 10V to 10V a Protocol Modbus protocol o Baud Rate 9600 bps a Checksum disabled 0 Engineering units format o Filter set at 60Hz rejection M 7002 User Manual Rev 1 1 2014 09 01 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 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 Send the span calibration command Refer to Section 2 5 for details 8 R
7. 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 01LO0 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 Commands Section 2 43 AACLCi1 Section 2 50 AARAO Section 2 57 AARLCi Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 115 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 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 HH A two digit hexadecimal value that represents 116 the currently activated high alarms associated with the digital output channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0
8. 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 1 2014 09 01 107 2 46 AADODD Description This command is used to set the status of the digital output for 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 0 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 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 1f 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 1 2014 09 01 Notes 1 If the digital output port is already set as an alarm output port the value written to the
9. 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 148 M 7002 User Manual Rev 1 1 2014 09 01 status 00271 AI filter format R W 0 normal 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 to clear 00513 Digital input counter channel 0 to 4 W 00517 write 1 to clear 10033 Digital input status for channels O to4 IR 10037 30001 Analog input value for channels O0 to3 IR 30004 30097 Digital input counter for channels 0 to 4 IR 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
10. Rev 1 1 2014 09 01 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 Related Commands Section 2 42 AACLIi Section 2 55 AARL Section 2 56 AARLI M 7002 User Manual Rev 1 1 2014 09 01 99 2 42 AACLI 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 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 1 2014 09 01 Examples Command 01RL1 Response 01 06 000 Reads the low latch value for channel 1 of m
11. 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 010 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 Related Commands Section 2 8 AA4 M 7002 User Manual Rev 1 1 2014 09 01 25 2 3 AA 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 2 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 26 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 01 Response gt 025 12 020 45 012 78 018 97 Reads module 01 and receives a valid response with t
12. 1 Byte l to 247 01 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 134 M 7002 User Manual Rev 1 1 2014 09 01 3 3 Function 05 0x05 Write a Single Digital Output This function code is used to write from contiguous digital output channels Request 00 Address 1 Byte l to 247 01 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 l to 247 01 Function code 1 Byte 0x04 02 03 Byte count 1 Byte 0to3 04 05 Data 2 Bytes FFOOh for ON and 0000h for OFF Error Response 00 Address 1 Byte l to 247 01 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 1 2014 09 01 135 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 communicat
13. AADVV IAA Sets the miscellaneous settings 2 30 AAI IAA Sets the software INIT modification to 232 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 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 AA0 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 SAAB IAAVV foe eee status of all 211 AA7CiRrr IAA Sets the type code for a specific channel 2 12 AA8Ci IAACiRrr Reads the type code for a specific channel 2 13 20 M 7002 User Manual Rev 1 1 2014 09 01 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
14. 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 1f 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 1 2014 09 01 Examples Command 01RD10 Response 01 Sets the response delay time to 16 milliseconds and returns a valid response Command 01RD 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 1 2014 09 01 87 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 1 second and 1A denotes 26 seconds The value must be less than or equal to 3C Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid
15. 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 Examples Command 01C Response 01 Clears the latched data for module 01 and returns a valid response Related Command Section 2 17 AALS 48 M 7002 User Manual Rev 1 1 2014 09 01 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 A A Data 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 Data A string indicating the firmware version information for the module There will be no response 1f 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 resp
16. 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 A A Data 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 Data The high latch value for the specified channel See Section 1 7 for details of the data format There will be no response 1f the command syntax is incorrect there is a communication error or there is no module with the specified address 122 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 01RH0 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 01RH0 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 Config
17. error Error Response 00 Address 1 Byte l to 247 01 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 142 M 7002 User Manual Rev 1 1 2014 09 01 3 4 7 Sub function 32 0x20 Read the firmware version information This sub function code is used to read the firmware version information for a module Request 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code I Byte 0x20 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x20 03 Major version 1 Byte 0x00 OxFF 04 Minor version 1 Byte Ox00 OxFF 05 Reserved 1 Byte 0x00 06 Build version 1 Byte 0x00 OxFF Error Response 00 Address 1 Byte 1 to 247 01 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 1 2014 09 01 143 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 l to 247 01 Functio
18. 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 1 2014 09 01 LL A two digital hexadecimal value that represents the currently activated low alarms associated with the digital output channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 0 it denotes that 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 AACLCi Section 2 48 AAHI Data Ci Section 2 49 AALO Data Ci M 7002 User Manual Rev 1 1 2014 09 01 117 2 51 AARECi 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
19. 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 indicating 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 1 2014 09 01 109 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 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF There will be no response 1f the command syntax is incorrect there is a communication error or there is no module with the specified address 110 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 01EAM Re
20. 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 1f 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 1 2014 09 01 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 01 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 01TFF 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 AANNTTCCEF Section 2 32 AAI M 7002 User Manual Rev 1 1 2014 09 01 89 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 1AA CHKSUM CR Invalid Response 2 AA CHKSUM CR
21. 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 If the host is a PC installed with a Windows operating system then execute the DCON Utility to determine whether the module can be found The DCON Utility can be downloaded from the ICP DAS website 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 1 2014 09 01 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 t
22. 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 AANNTTCCFF Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 35 2 8 AA4 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 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 synchronization data Response Valid Response AAS Data 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 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 36 M 7002 User Manual Rev 1 1 2014 09 01 Examples
23. 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 A A 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 value of the digital input counter for the specified channel There will be no response 1f the command syntax is incorrect there is a communication error or there is no module with the specified address 118 M 7002 User Manual Rev 1 1 2014 09 01 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 1 2014 09 01 119 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
24. 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 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 52 M 7002 User Manual Rev 1 1 2014 09 01 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 1 2014 09 01 53 2 18 AAM Description This command is used to r
25. 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 72 M 7002 User Manual Rev 1 1 2014 09 01 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 valid 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 AAI1 Section 2 25 AA2 Section 2 26 AA3EVV Section 2 27 AA4 M 7002 User Manual Rev 1 1 2014 09 01 73 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 hexadeci
26. 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 AACLC1 Section 2 49 AALO Data Ci Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 131 3 Modbus RTU Protocol The Modbus 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 Wwww modbus org to find more valuable information Fanetion code Description Seation 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 132 M 7002 User Manual Rev 1 1 2014 09 01 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 0x1A only Request 00 Address 1 Byte l to 247 01 Function code 1 Byte 0x02 02 03 Starting channel 2 Byt
27. used They are 1 AANNTTCCFF 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 154 M 7002 User Manual Rev 1 1 2014 09 01 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 shown below Init Init Normal Normal oO cS INIT Switch M 7002 User Manual Rev 1 1 2014 09 01 155 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 seri
28. 0 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 1 2014 09 01 63 2 24 AA1 Description This command is used to reset the timeout status of the Host Watchdog for a specified 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 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 64 M 7002 User Manual Rev 1 1 2014 09 01 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 W
29. 02 User Manual Rev 1 1 2014 09 01 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 indicating a power on value of 03 and safe value of 00 Related Commands Section 2 22 Section 2 23 AAO Section 2 24 AAI1 Section 2 25 AA2 Section 2 26 AA3EVV Section 2 28 AASPPSS M 7002 User Manual Rev 1 1 2014 09 01 71 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 7 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00
30. 4 0x04 Set the module address This sub function code is used to set the address of a module Request 00 Address 1 Byte l to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x04 02 New address 1 Byte l to 247 04 06 Reserved 3 Bytes 0x00 0x00 0x00 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x04 03 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 01 Function code 1 Byte OxC6 02 Exception code 1 Byte 03 The new 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 1 2014 09 01 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 01 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 01 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 DC
31. A A AE 48 DASS AA E cS ce e a a E e ET E E 49 PANO SAAT ooie a E E RE 50 ZIT SAAL S oane e e a TEN 52 DAS SAAM ienee eia eae eee e a EEE hadi cae ET eset 54 LISAA Pe a aee A EA O Lae AS 55 220 SAAPN iy seh cage ree are a E 57 PIA ENIC EE E E A A A EET 59 PPDA E EEA E E AE E A E AE EE E 61 DD DIN EAE E sede E ccs EE E 62 DR INI i rg ET a dt x bP lea e E Mamet Se BE St gat a 64 DDD TID A darts rcaced en apites eee T cous nk Sout S E How oun ops 66 De DORA VV tle e O E 68 PO TEE IE N ad i tesa ilar es uc E EE E A OR 70 DDS AAS PPS S e n ae 72 M 7002 User Manual Rev 1 1 2014 09 01 BD eID Shc ict ets aa o edi iene Bild deus dardania Bons 74 DBO POI VW conarei sep eet NG teste sa Sime sty Start hen alee eal nae oases 76 DOs VAP HRI Net sushi a ch a stds cia Sand a 78 PIRAAT wikis seccascesuetas ni veek E E EA E OER OEN 80 Poe AAO ala arai eea aeea a EE one ret Eyer a ere 82 PARAAN RD o E A E E E E as 84 23X PAARD ET hanesion anaia a AE 86 Ze SOP TIN ne a E EE 88 DST OANCEC ena meria ee e e E EE Ee Cus 90 PE AOI E a EEE N E EAE A 92 PB DPPC Th a e a E E A E A E 94 2AN QAAC HO t a aE E O EEEE R 96 2A OANGE eger e a a a Ten 98 2AN OAAC Ei eene n e ea Ea E S EEE ENRE reii 100 DASS OAACLO hna tbe Lio a e a Te dae a AES 102 2AA OAA DA e a E A E E E a Ek 104 DE A aTa D EE E ET 106 2AO AADOD D ione e n E en a eae A E ore we 108 DT PPE PAU tse e E E A E seas EAS 110 248 AAHI Data Ci neira nn aeea E a aii 112 2 49 AALO Data Clic cesta a
32. AACHi IAA Clears the high latch value for a specific 2 39 channel AACHCi IAA Clears the status of the high alarm 2 40 AACL IAA Clears the low latch value for all channels 2 41 AACLIi IAA Clears the low latch value for a specific 242 channel AACLCi 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 IAA Sets the analog input low alarm 2 49 Reads the activated alarms associated with enn A the DO channels of a module ee 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 IAA 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 as 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 AA4 IAAPPSS Reads the DO power on value and the safe 297 value AASPPSS IAA Sets the DO power on value and the safe 2 28
33. 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 01 and returns a valid response containing the data and sets the status byte to 0 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 1 2014 09 01 37 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
34. 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 1 2014 09 01 Example Command 01REC1 Response 10100000008 Reads data from channel 1 of module 01 and returns a valid 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 1 2014 09 01 91 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 2 AA CHKSUM CR Delimiter character for a va
35. M 7002 User Manual ICP DAS CO LTD Revision 1 1 2014 09 01 M 7002 User Manual Rev 1 1 2014 09 01 Table of Contents PNGLOCUCLION saanane eR cater nes 5 Vedic RITA SSIS MING HLS oree cise tuteas Sia seals ees tere ao EN 6 1 2 SPCC IG ATION S ctetesiuciesal snc sretclanlaintacetar tune EA A EE a AET ERE RESE a 7 1 3 Block Diara Merenn eee wedianct it snncteantanse aes 9 1 4 Application Wiring essessseseesssssssseessessssseesseressseesseresssressereesse 10 S Defatlt SCCM S Si sspe e a e a e T TE aa 11 lO CANT E ALON xp esoiscatrieen veka aca nne eRe meas 12 TsO Analog IMPUN venae nen a e e a 12 Leta Configuration Tables scenene n a 13 1 8 M 7000 Notes ssnssesenseeseesseesssseeseesetsstsressesssssetsresessrsressessesseesns 16 1 8 1 Protocol Switching seeeeseeeeseeeessesesereessrsssssresseresssressees 16 l2 INIFMOd Eierne e e E E EAS 17 DCON Protocol at eirian eene eea ar Eo E AAEE 18 Dodge AAANNTTEC FE rtie a e aa r aaa R iSt 22 E Te Ca ARE T E E EE E es 24 23s HAA ho e i E A E a E REE 26 2A HAAN cca cs Pee e a EEEE E a e E EE ee 28 PAIE IA A I NEE E E IE E E EAN E EA 30 2O DAA aa a a A eer canon ee 32 T ER 1 Ve OEE E E E E S 34 De T CEC EEE E E A T 36 XI SAA S aea a a a echt a AM aah Meceed 38 2 TO SAAS VV e eara aaar dl e E e ea O econ de E atii 40 2AN SAAG e a ea a a nace achat a ahi mean call laies 42 DAZ SAAT CIRIT co sata cea cut E ae 44 DAZ DNAS Cl aree r e EEA E E 46 PA E N a VA OA E
36. ON protocol 1 Modbus RTU protocol 09 10 Reserved 2 Bytes 0x00 0x00 Error Response 00 Address 1 Byte l to 247 01 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 1 2014 09 01 139 3 4 4 Sub function 06 0x06 Set the communication settings This sub function code is used to set the communication protocol settings for a module Request 00 Address 1 Byte 1 to 247 01 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 l to 247 01 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 01 Function code 1 Byte OxC6 02 Exception code 1 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 rece
37. R W 40489 Host Watchdog timeout value 0 255 R W in 0 1s 40490 Channel enabled disabled R W M 7002 User Manual Rev 1 1 2014 09 01 149 40492 Host Watchdog timeout count write 0 to R W clear 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 150 M 7002 User Manual Rev 1 1 2014 09 01 3 6 Engineering Data Format Table The Modbus protocol supports 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 aN on 10000 10000 09 5 y 9 5000 5000 0A 1 y 10000 10000 500 to 500 0B nt 5000 5000 150 to 150 OC 15000 15000 OD 20 to 20 20000 20000 mA 1A Oto 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 1 2014 09 01 151 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 152 Ensure that the
38. The command to read the high latch values for all channels Response Valid Response A A Data 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 Data The high latch values for all channels See Section 1 7 for details of the data format There will be no response 1f 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 1 2014 09 01 Examples Command 01RH Response 01 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 01 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 AACHIi Section 2 53 AARHi Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 121 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
39. ables 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 AAI1 Section 2 25 AA2 Related Topics Section 5 2 Dual Watchdog Operation M 7002 User Manual Rev 1 1 2014 09 01 69 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 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 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 1f the command syntax is incorrect there is a communication error or there is no module with the specified address 70 M 70
40. advance Command 01E1 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 AA0 Section 2 31 AAEV Related Topics Section 1 6 Calibration M 7002 User Manual Rev 1 1 2014 09 01 33 2 7 AA2 Description This command is used to read the configuration of 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 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 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 1f 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 1 2014 09 01 Examples Command 012 Response 01000A00 Reads the configuration of module 01 and returns a valid response indicating
41. after the next power on reset Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response T 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 1 2014 09 01 57 There will be no response 1f the command syntax is incorrect there is a communication error or there is no module with the specified address Examples 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 58 M 7002 User Manual Rev 1 1 2014 09 01 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 AASI CHKSUM CR Delimit
42. al 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 46 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 017COR08 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 0 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 1 2014 09 01 47 2 14 AAC Description This command is used to clear the digital input output latch data for a specified module Syntax A AC 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
43. atchdog 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 1 2014 09 01 65 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 to read the Host Watchdog timeout value Response Valid Response AAEVV 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 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 66 M 7002 User Manual Rev 1 1 2014 09 01 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 011FF Reads the Host Watchdog
44. ating 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 AANNTTCCEFFE Section 2 3 AA Section 2 7 AA2 Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 29 2 5 AA0 Description This command is used to perform an analog input span calibration on a specified module Syntax 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 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 Note 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 1 2014 09 01 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
45. 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 1f 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 1 2014 09 01 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 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 AA5 command was sent M 7002 User Manual Rev 1 1 2014 09 01 39 2 10 AA5VV Description This command is used to specify which channel s of a specified module are to be enabled Syntax A A5VVVV 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 2 AA CHKSUM CR Delimiter character for a valid response l Delimiter character for an invalid response An invalid response is returned if a
46. crtn eee hast eee MAR aes 114 X SV OAARA O eaa Mieco eera Dette bette Mads E E e Citi 116 De PARE GC ieioea a Sim ae dn tarts hen a ai R 118 RIL OAARH oheriou e ta seat A leis tint Gate Gest tated Goes 120 DIS MARA RAL aa a O AE O aai 122 2A Ae APR G midan a a e a a ES 124 2 SJ OAAR D ea e E ital ee E e e E AEE Trak 126 FIO OAAR a a a A E AE E 128 ZS BD PR O e E sud E E A EAS 130 Modbus RTU Protocols eero s eeen o na a eaa 132 3 1 Function 02 0x02 Read the Digital Input Status 0 0 0 0 133 3 2 Function 04 0x04 Read the Analog Input Channels 134 3 3 Function 05 0x05 Write a Single Digital Output 00000 135 3 4 Function 70 0x46 Read Write Module Settings 00 136 3 4 1 Sub function 00 0x00 Read the name of the module 137 3 4 2 Sub function 04 0x04 Set the module address 138 3 4 3 Sub function 05 0x05 Read the communication settings E EE E EEE TETE E SE 139 3 4 4 Sub function 06 0x06 Set the communication settings 140 3 4 5 Sub function 07 0x07 Read the type code 141 3 4 6 Sub function 08 0x08 Set the type code 142 3 4 7 Sub function 32 0x20 Read the firmware version informati oN noe eain aE a E R SEE 143 M 7002 User Manual Rev 1 1 2014 09 01 3 3 4 8 Sub function 37 0x25 Read the channel enabled disabled SAUS canta art ae ade tee cog Oe a nh eee sae nad ate 144 3 4 9 Sub function 38 0x26 Set the channel to either enabled or disabled me
47. e 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 1 2014 09 01 77 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 set in hexadecimal format 00 to FF E The command to enable disable calibration vV 0 Disables calibration 1 Enables calibration 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 1 2014 09 01 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 01E1 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 val
48. e of aluminum There is a screw at one end and a ring terminal is included as shown in the figure below 158 M 7002 User Manual Rev 1 1 2014 09 01 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 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 1 2014 09 01 159 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 AA5 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 r
49. ead 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 A A 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 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 54 M 7002 User Manual Rev 1 1 2014 09 01 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 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 S Indicates which protocol is supp
50. ection 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code I Byte Ox2A 03 Miscellaneous 1 Byte 0 OK others error settings Error Response 00 Address 1 Byte l to 247 01 Function code 1 Byte OxC6 02 Exception code l Byte 03 Reserved bits should be filled with zero or an incorrect number of bytes were received M 7002 User Manual Rev 1 1 2014 09 01 147 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
51. ed 1 Enabled FS Filter settings 0 60Hz rejection 1 50Hz rejection Note Reserved bits should be zero M 7002 User Manual Rev 1 1 2014 09 01 Analog Input Type and Data Format Table Type code Input Type Data Format F S F S Engineering units 20 000 04 000 07 vA to 20 of FSR__ 100 00 000 00 2 s comp HEX FFFF 0000 Engineering units 10 000 10 000 08 HO TI ofFSR__ 100 00 100 00 2 s comp HEX 7FFF 8000 Ley ste Engineering units 5 0000 5 0000 09 v of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 iaai Engineering units 1 0000 1 0000 0A y of FSR 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering units 500 00 500 00 op NN 00 f of FSR__ 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering units 150 00 150 00 oc PN F190 M of FSR__ 100 00 100 00 2 s comp HEX 7FFF 8000 Engineering units 20 000 20 000 0D 20 to 20 of FSR 100 00 100 00 mA 2 s comp HEX 7FFF 8000 2 s comp HEX 7FFF AIDA 0 to 20 Engineering units 20 000 00 000 1A SA of FSR 100 00 000 00 2 s comp HEX FFFF 0000 M 7002 User Manual Rev 1 1 2014 09 01 15 1 8 M 7000 Notes The main difference between the I 7000 and M 7000 series 1s that the M 7000 series has additional support for the Modbus RTU communication protocol which is the de
52. ed 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 invalid 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 1 2014 09 01 23 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 ne 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 24 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command No response Sends the synchronized sampling command Command 014 Response gt 011 025 12 020 45 012 78 018 97
53. epeat steps 3 to 7 three times 5 a 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 guj e w oa op oc o nput 12 M 7002 User Manual Rev 1 1 2014 09 01 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 10 V 10 V 09 5 V 5 V 45 V 0A 1 V 1V l1V OB 500 mV 500mV 500 mV OC 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 1 2014 09 01 13 Data Format Settings FF 7 6 5 4 3 2 l 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 Fast mode 12 bits CS Checksum settings 0 Disabl
54. er 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 Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF There will be no response 1f 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 1 2014 09 01 59 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 60 M 7002 User Manual Rev 1 1 2014 09 01 2 22 Description This command is used to inform all modules on the network that the host is OK Syntax CHKSUM CR Delimiter character Ek 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 AAO Section 2 24 AA1 Section 2 25 AA2 Section 2 26 AA3EVV Section 2 27 AA4 Section 2 28 AA5PPSS M 7002 User Man
55. es 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 0x02 02 Byte count 1 Byte I 03 Data from input l Byte A bit corresponds to a channel channels When the bit is 1 it denotes that the channel is either over range or under range If the bit is 0 it denotes that the channel is normal Error Response 00 Address 1 Byte 1 to 247 01 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 1 2014 09 01 133 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 01 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 l to 247 01 Function code 1 Byte 0x04 02 Byte count 1 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
56. es 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 156 M 7002 User Manual Rev 1 1 2014 09 01 5 3 Frame Ground Electronic circuits are constantly vulnerable to Electrostatic Discharge ESD which becomes worse in a continental climate area Some I 7000 and M 7000 modules feature a new design for the frame ground which provides a path for bypassing ESD allowing enhanced static protection ESD 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 1 2014 09 01 157 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 mad
57. escription 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 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 82 M 7002 User Manual Rev 1 1 2014 09 01 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 1 2014 09 01 83 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 Del
58. eset and the digital output value has been changed to either the default power on value or the safe value 160 M 7002 User Manual Rev 1 1 2014 09 01
59. fault protocol of the M 7000 series The communication Baud Rates for the Modbus RTU protocol can be in the range of 1200 bps to 115200 bps and the parity data and stop bits are fixed as no parity 8 data bits and 1 stop bit Modbus functions supported by the module are described in Chapter 3 1 8 1 Protocol Switching To switch to the DCON protocol 1 Uses sub function 06h of the function 46h and set byte 8 to a value of 1 See Section 3 4 4 for details 2 After a power on reset the communication protocol will be changed to DCON To switch to the Modbus RTU protocol 1 Sends the AAPN command and set N to a value of 1 Note that the slide switch on the rear side of the module should be set to INIT position see the figure on the next page See Section 2 19 for details 2 After a power on reset the communication protocol will be changed to Modbus RTU protocol 16 M 7002 User Manual Rev 1 1 2014 09 01 1 8 2 INIT Mode When the module is powered on with the rear slide switch set to INIT position as shown in the figure below the module is in INIT mode Section 5 1 and the communication settings are as follows Address 00 Baud Rate 9600 bps No checksum Protocol DCON aa a ee If communication with the module is not possible set the module to INIT mode and use the above settings to communicate with the module To read the current settings send the commands AA2 Section 2 7 and AAPN Section 2 19 The ne
60. he 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 AANNTTCCFF Section 2 7 AA2 Section 2 4 HAAN Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 27 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 2 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 28 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 032 Response gt 025 13 Reads data from channel 2 of module 03 and returns a valid response indic
61. he 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 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 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 0 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 106 M 7002 User Manual Rev 1 1 2014 09 01 LL A two digit hexadecimal value to denote the DI status where bit 0 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 1 of module 01 to off and returns a valid response Command
62. id response Related Commands Section 2 5 AA0 Section 2 6 AA1 Related Topics Section 1 6 Calibration M 7002 User Manual Rev 1 1 2014 09 01 79 2 32 AAI 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 The 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 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 g0 M 7002 User Manual Rev 1 1 2014 09 01 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 01 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 AANNTTCCEFF Section 2 36 AATnn M 7002 User Manual Rev 1 1 2014 09 01 81 2 33 AAQ Data D
63. ii ero r e E E 145 3 4 10 Sub function 41 0x29 Read the miscellaneous settings ke e a e no eae A a 146 3 4 11 Sub function 42 0x2A Write the miscellaneous settings EA T EE E E E E T 147 3 5 Address Mappings ore feiss acorns tekachre enea beech de loradact lad eeeverneet buenas 148 3 6 Engineering Data Format Table vexsccsscaseeaucascccurenesssvanadaccatertueats 151 MP OU BLE SHO OU veces cules wrervat ice sone nesgatet A E EE eE E 152 4 1 Communicating with the module 0 00 cece eeecseceesteceesteeeeeeees 152 4 25 Readine VPA en Sear csi ae ch iar l a na ts oesh Gata cist seth iets adie ded edatentict ds 153 Appendix rhea ireua ket oree a Eren eE AE Eea a aE EERE s tas 154 31 SINE IOUS e eea snd ee aa eL a AELE NEE 154 5 2 Dual Watchdog Operation sii oie iad avcsscseciasdeciouenccsstet tecbeaucssedecues 156 53 Frame Ground ee a e a S nniacn E 157 5 4 Node Information Area seesessseeseseessesesssresserssssresseresssresserees 159 Dede RESES S ar E EE A ancy AEA ET AE eas 160 M 7002 User Manual Rev 1 1 2014 09 01 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 Remote Maintenance Remo
64. imiter 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 1 millisecond and 1A denotes 26 milliseconds The value must be less than or equal to 1E There will be no response 1f 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 1 2014 09 01 Examples Command 01RD10 Response 01 Sets the response delay time to 16 milliseconds and returns a valid response Command 01RD 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 1 2014 09 01 85 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 millisecond and 1A denotes 26 milliseconds The value must be less than or equal to 1E Response Valid Response 1AA CHKSUM CR
65. ion 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 3 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 Ox2A Writes the miscellaneous settings 3 4 11 If 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 l to 247 01 Function code 1 Byte 0xC6 02 Exceptioncode l Byte 02 Indicates an invalid sub function code 136 M 7002 User Manual Rev 1 1 2014 09 01 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x00 Response 00 Address 1 Byte l to 247 01 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 l to 247 01 Function code 1 Byte OxC6 02 Exception code 1 Byte 03 An incorrect number of bytes were received M 7002 User Manual Rev 1 1 2014 09 01 137 3 4 2 Sub function 0
66. ived 140 M 7002 User Manual Rev 1 1 2014 09 01 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x07 03 Reserved 1 Byte 0x00 04 Channel 1 Byte 0x00 0x03 Response 00 Address 1 Byte l to 247 01 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 l to 247 01 Function code 1 Byte OxC6 02 Exception code 1 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 1 2014 09 01 141 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 l 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x08 03 Type code 1 Byte 0 OK others
67. l 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 42 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 0150A Response 01 Enables channels and 3 of module 01 and disables all other channels The module returns a valid response Command 016 Response 010A Reads the channel status of module 01 and returns a valid response of 0A meaning that channels 1 and 3 are enabled and all other channels are disabled Related Commands Section 2 10 AASVV M 7002 User Manual Rev 1 1 2014 09 01 43 2 12 AA7CiRrr Description This command is used to set the type code for a specific channel of a specified module Syntax AA7CiRrr 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 i 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 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 com
68. le 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 AARLI Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 127 2 56 AARLi 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 module 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 A A Data 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 Data The high latch value for the specified channel See Section 1 7 for details of the data format There will be no response 1f 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 1 2014 09 01 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 becausechan
69. lid 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 92 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 01RH0 Response 01 05 000 Reads the high latch value for channel 0 of module 01 and returns a valid response 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 01RH0 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 0 V Related Commands Section 2 39 AACHI Section 2 52 AARH Section 2 53 AARHI M 7002 User Manual Rev 1 1 2014 09 01 93 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 Delimiter character for an invalid response AA The address of the respo
70. mal 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 l 0 Reserved OA IA 74 M 7002 User Manual Rev 1 1 2014 09 01 Key Description OA DO active state 0 Output value 0 indicates the relay is inactive Output value indicates the relay is active 1 Output value 0 indicates the relay is active Output value indicates the relay is inactive IA Dl 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 0 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 1 2014 09 01 75 2 30 AADVV Description This command is used to set the miscellaneous settings for a specified module Syntax
71. mand syntax is incorrect there is a communication error or there is no module with the specified address 44 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 017COR08 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 10 10 V Command 037C1RFF 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 1 2014 09 01 45 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 i specifies which analog input channel to access for the type code information Response Valid Response AACiRrr CHKSUM CR Invalid Response 2 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 hexadecim
72. n 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 0 71 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 Sea b dye ee te A ee Oe ae S 21h 30h 3 1h 32h 30h 30h 36h 30h 30h 1AAh 2 Therefore the checksum is AAh and so CHKSUM AA 3 The response string with the checksum 101200600AA CR Note All characters should be in upper case M 7002 User Manual Rev 1 1 2014 09 01 19 General Command Sets Command Response Description Section AANNTTCCFF IAA Sets the configuration of the module 2 1 AA2 IAANNTTCCFF 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 IAA 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
73. n 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 1f 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 1 2014 09 01 Examples Command 0150A Response 01 Enables channels and 3 of module 01 and disables all other channels The module returns a valid response Command 016 Response 010A Reads the channel status of module 01 and returns a valid response of 0A meaning that channels 1 and 3 are enabled and all other channels are disabled Related Commands Section 2 11 AA6 M 7002 User Manual Rev 1 1 2014 09 01 41 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 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 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 channe
74. n code 1 Byte 0x46 02 Sub function code 1 Byte 0x25 Response 00 Address 1 Byte l 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 Error Response 00 Address 1 Byte l to 247 01 Function code 1 Byte OxC6 02 Exception code 1 Byte 03 An incorrect number of bytes were received 144 M 7002 User Manual Rev 1 1 2014 09 01 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code I 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code 1 Byte 0x26 03 Enabled disabled 1 Byte 0 OK others error settings Error Res
75. nding 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 1 2014 09 01 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 value 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 01CHF 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 1 2014 09 01 95 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 2 AA CHKSUM CR Delimiter character for a valid resp
76. nel 15 does not exist Related Commands Section 2 41 AACL Section 2 42 AACLIi Section 2 55 AARL Related Topics Section 1 7 Configuration Tables M 7002 User Manual Rev 1 1 2014 09 01 129 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 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 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 1f the command syntax is incorrect there is a communication error or there is no module with the specified address 130 M 7002 User Manual Rev 1 1 2014 09 01 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 01RLCO0 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
77. nnel 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 1 2014 09 01 125 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 read the low latch values for all channels Response Valid Response A A Data 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 Data The low latch values for all channels See Section 1 7 for details of the data format There will be no response 1f 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 1 2014 09 01 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 modu
78. odule 01 and returns a valid response with a value of 06 000 6 V Command 01CL1 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 1 2014 09 01 101 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 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 102 M 7002 User Manual Rev 1 1 2014 09 01 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 clear
79. onse 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 96 M 7002 User Manual Rev 1 1 2014 09 01 Examples Command 01CHC0 Response 01 Clears the status of the high alarm for channel 0 of module 01 and returns a valid response 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 1 2014 09 01 97 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 98 M 7002 User Manual
80. onse showing that it is version A2 0 M 7002 User Manual Rev 1 1 2014 09 01 49 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 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 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 1f 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 1 2014 09 01 Examples Command 01 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 1 2014 09 01 51 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
81. orted 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 1 2014 09 01 55 There will be no response 1f the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01P1 Response 01 Sets 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 56 M 7002 User Manual Rev 1 1 2014 09 01 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
82. ponse 00 Address 1 Byte l to 247 01 Function code 1 Byte OxC6 02 Exception code 1 Byte 03 The enabled disabled settings are out of range or an incorrect number of bytes were received M 7002 User Manual Rev 1 1 2014 09 01 145 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 Request 00 Address 1 Byte I to 247 01 Function code 1 Byte 0x46 02 Sub function code I Byte 0x29 Response 00 Address 1 Byte l to 247 01 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 01 Function code 1 Byte OxC6 02 Exception code l Byte 03 An incorrect number of bytes were received 146 M 7002 User Manual Rev 1 1 2014 09 01 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 l to 247 01 Function code 1 Byte 0x46 02 Sub function code I Byte Ox2A 03 Miscellaneous 1 Byte Bit 7 Filter settings settings 0 60 Hz rej
83. s 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 1 2014 09 01 103 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 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 104 M 7002 User Manual Rev 1 1 2014 09 01 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 AARHCi Section 2 57 AARLCi M 7002 User Manual Rev 1 1 2014 09 01 105 2 45 AADI Description This command is used to read the status of t
84. sponse 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 C1 Section 2 49 AALO Data Ci Section 2 50 AARAO Section 2 54 AARHCi Section 2 57 AARLCi M 7002 User Manual Rev 1 1 2014 09 01 111 2 48 AAHI Data Ci Description This command is used 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 i specifies the channel to be set 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 112 M 7002 User Manual Rev 1 1 2014 09 01 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 000C0 Response 01 Sets the high alarm limit for channel 0 of module 01 to 09 000 9 V and returns a valid respons Command
85. te 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 I1 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 1 2014 09 01 1 1 Pin Assignments Viva S VLVA A Y N Y N WOO 1y ON 14 WOO ZIY ON Z14 WOO 174 ON 114 WOO 074 L ONOTY M 7002 User Manual Rev 1 1 2014 09 01 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 0 NBC 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 75 C Storage Temperature 40 85 C
86. timeout value for module 01 and returns a valid response with a value of 1FF 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 AAI1 Section 2 26 AA3EVV Related Topics Section 5 2 Dual Watchdog Operation M 7002 User Manual Rev 1 1 2014 09 01 67 2 26 AA3EVV Description This command is used to enable or disable the Host Watchdog for a specified 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 T Delimiter character for an invalid response AA The address of the responding module in hexadecimal format 00 to FF There will be no response 1f 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 1 2014 09 01 Examples Command 013164 Response 01 En
87. ual Rev 1 1 2014 09 01 61 2 23 AAO 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 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 SS A two digit hexadecimal value that represents 62 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 1 2014 09 01 There will be no response 1f 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 02
88. uration Tables M 7002 User Manual Rev 1 1 2014 09 01 123 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 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 high alarm for the specified 124 channel See Section 1 7 for details of the data format M 7002 User Manual Rev 1 1 2014 09 01 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 000C0 Response 01 Sets the high alarm limit for channel 0 of module 01 to 08 000 8 V and returns a valid response Command 01RHCO0 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 cha
89. w communication settings will be effective after the next power on reset Ic IC IC J C IC Sa SSS Sa oS INIT Switch ormal U0 M 7002 User Manual Rev 1 1 2014 09 01 17 2 DCON Protocol All communication with the module consists of commands generated by the host and responses transmitted by the module Each module 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 IC PRSS MICE Response Format Leading Module Character Address pee Cue eer 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 Ox0D M 7002 User Manual Rev 1 1 2014 09 01 Checksum Calculation 1 Calculate the ASCII code sum of all the characters i
90. ype code is set by using sub function 08h of the function 46h o Ifthe 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 1 2014 09 01 153 5 Appendix 5 1 INIT Mode 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 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

Download Pdf Manuals

image

Related Search

Related Contents

Doodle Buster fr  HP® LÁSERJET P3015  Lançamento Oblí quo - RA  SnapShot Extra Mobil User manual  (フック付)取扱説明書(PDFファイル)  (情報提供及び依頼)(PDF:47KB)  取扱説明書/保証書  Benwin Ecco USB-P 2.0 User's Manual  V7 1300  Sistema de Teatro Casero de 5 DVD con Altavoces Posterior  

Copyright © All rights reserved.
Failed to retrieve file