Home
tM-AD Series User Manual 111108
Contents
1. Address Description Attribute 00257 Protocol 0 1 Modbus R W 00258 Protocol 0 determined by 00257 1 R W Modbus ASCII 00261 enable 0 disable host watchdog R W 00269 Modbus data format 0 hex 1 R W engineering 00270 Host watch dog timeout status write 1 R W to clear host watch dog timeout status 00271 1 enable 0 disable fast mode R W 00273 Reset status 1 first read after R powered on 0 not the first read after powered on 98 tM AD Series User Manual Rev 1 0 7MH 020 A10 3 4 4 tM AD8C Address Mappings Address Description Attribute 10129 Over under range status of channel 0 10136 to 7 for 4 20mA or 0 20mA ranges 00129 00136 30001 Analog input value of channel O 7 30008 40001 40008 40481 Firmware version low word R 40482 Firmware version high word R 40483 Module name low word 0x8002 R 40484 Module name high word 0 0700 40485 Module address valid range 1 247 R W 40486 Bits 5 0 R W Baud rate 0x03 Code 0 03 10 04 10 05 10 06 Baud 11200 2400 14800 9600 Code 0 07 10 08 10 09 0xOA Baud 19200 38400 57600 15200 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 40487 code R W 40488 Modbus response delay time in ms R W va
2. 6 2 Wiring diagram for the tM ADSC 6 3 Wiring diagram for 8 6 4 Wiring diagram for the tM ADSC 1 6 5 Wiring Recommendations sess LX QUICK SUE ect evite iu ER occ b Geri dis L S Default Set Bs eon ee eM eee 19 CABD EAUODS de en arbe Op IE RU an dp he 1 10 Configuration Fables eot o RV tse 1 11 1 DIN Rail 1 12 Technical SUDDOELs oet t t sosta ts 2 L PAANNTTCCEHE PvE Ned 2 4 M 0 0600000000009090000000900900909090000000900900990900000090900990099090000009099999909999999 2 5 AAI 1 1 1 2 6 25 AA2 eee eee eee eee eee ee ee eee ee eee eee eee ee ee 2 8 b 2 9 16 4 4 2 10 AAA cessooecocoocooooooooooooocooooooooooooocooooooooocooooosooooooooooooooooooooooo 2 1 1 SAAF Pome
3. tM AD Series User Manual Rev 1 0 7MH 020 A10 89 tM ADS tM ADSC tM ADS tM AD8C 3 3 9 Sub function 38 0x26 Set channel enable disable This sub function code is used to specify the channels to be enabled in a module Request 00 Address 1 Byte 1 to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 26 03 Enable disable 1 Byte 0 00 OxFF enable disable setting setting of each channel where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it denotes that the channel is enabled and 0 denotes that the channel is disabled 0x00 OxOIF for tM AD5 and tM AD5C Response 00 Address 1 Byte l to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 26 03 Enable disable Byte 0 OK setting others error Error Response 00 Address 1 Byte 1 to 247 01 Function code Byte 0xC6 02 Exception code l Byte 103 enable disable setting out of range incorrect number of bytes received 90 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 3 3 10 Sub function 41 0x29 Read miscellaneous settings This sub function code is used to read the miscellaneous settings of a module Request 00 Address 1 Byte l to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 29 R
4. 01 Change the Baud Rate of module 01 to 115200bps and the module is in INIT mode The module returns a valid response Related Commands Section 2 7 AA2 Related Topics Section 1 10 Configuration Tables Section A 1 INIT Mode Notes Changes to the address type code data format and mode settings take effect immediately after a valid command is received Changes to the Baud Rate and checksum settings take effect on the next power on reset 34 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 2 AA Description Reads the data from every analog input channel Syntax AA CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF Response Valid Response Data CHKSUM CR Invalid Response AA CHKSUM CR gt Delimiter character for a valid response fs Delimiter character for an invalid response Data Data from every analog input channels see Section 1 10 for the details of data format There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 35 tM ADS tM ADSC tM ADS tM AD8C Examples Command 01 Response gt 025 12 020 45 012 78 018 97 003 24 015 35 008 07 01 4 79 Reads module 01 and receives the data in engineering format Command 02 Response gt 4C532628E2D683A20F2ADBA16284BA71 Reads modul
5. 00257 1 R W Modbus ASCII 00261 enable 0 disable host watchdog R W 00269 Modbus data format 0 hex 1 R W engineering 00270 Host watch dog timeout status write 1 R W to clear host watch dog timeout status 00271 1 enable 0 disable fast mode R W 00273 Reset status 1 first read after R powered on 0 not the first read after powered on 96 tM AD Series User Manual Rev 1 0 7MH 020 A10 3 4 3 tM AD8 Address Mappings Address Description Attribute 30001 Analog input value of channel 0 107 IR 30008 40001 40008 40481 Firmware version low word R 40482 Firmware version high word R 40483 Module name low word 0x8001 R 40484 Module name high word 0x0700 R 40485 Module address valid range 1 247 R W 40486 Bits 5 0 R W Baud rate 0x03 Code 0x03 10 04 10 05 10 06 Baud 1200 2400 4800 9600 Code 0 07 0x08 10 09 0xOA Baud 19200 38400 57600 15200 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 40487 code R W 40488 Modbus response delay time in ms R W valid range 0 30 40489 Host watchdog timeout value 0 255 in 0 15 40490 Channel enable disable 006 FFh R W 40492 Host watchdog timeout count write 0 R W to clear tM AD Series User Manual Rev 1 0 7MH 020 A10 97
6. AA Address of the responding module 00 to FF S The protocols supported by the module 0 only DCON protocol is supported both the DCON and Modbus RTU protocols are supported 3 all of the DCON and Modbus RTU ASCII protocols are supported C Current protocol saved in EEPROM that will be used at the next power on reset 0 the protocol set in EEPROM is DCON 1 the protocol set in EEPROM is Modbus RTU 3 the protocol set in the EEPROM is Modbus ASCII 56 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address Examples Command 01P Response 0110 Reads the communication protocol of module 01 and returns a response of 10 meaning that it supports both the DCON and Modbus RTU protocols and the protocol that will be used at the next power on reset is DCON Related Commands Section 2 14 SAAPN tM AD Series User Manual Rev 1 0 7MH 020 A10 57 tM ADS tM ADSC tM ADS tM AD8C 2 14 AAPN Description Sets the communication protocol Syntax S AAPN CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF P Command to set the communication protocol N 0 DCON protocol 1 Modbus RTU protocol 3 Modbus ASCII protocol Before using this command the right slide switch must be in the INIT position see Section for details T
7. Function code Byte 10 46 02 Sub function code 1 Byte 0x20 Response 00 Address 1 Byte l to 247 01 Function code 1 Byte 10 46 02 Sub function code 1 Byte 0x20 03 Major version Byte 0x00 OxFF 04 Minor version 1 Byte 0 00 OxFF 05 Build version 1 Byte 0 00 OxFF Error Response 00 Address 1 Byte l to 247 01 Function code Byte 0xC6 02 Exception code 1 Byte 03 incorrect number of bytes received 88 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 3 3 8 Sub function 37 0x25 Read channel enabled disabled status This sub function code is used to read the enabled disabled status of each channel in a module Request 00 Address 1 Byte 1 to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 25 Response 00 Address 1 Byte 1 to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 25 03 Enabled disabled Byte 10 00 OxFF 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 1 it denotes that the channel is enabled and 0 denotes that the channel is disabled 0x00 OxOIF for tM AD5 and 5 Error Response 00 Address 1 Byte 1 to 247 01 Function code Byte OxC6 02 Exception code 1 Byte 03 incorrect number of bytes received
8. The reserved bits should be zero tM AD Series User Manual Rev 1 0 7MH 020 A10 23 Analog Input Type and Data Format Table code Input Type Data Format 5 5 Engineering unit 2 5000 2 5000 05 n us of FSR 100 00 100 00 2 s comp HEX 7FFFE 8000 Engineering unit 20 000 20 000 06 T of FSR 100 00 100 00 2 s comp HEX 8000 Engineering unit 20 000 04 000 o7 ofFSR_ 100 00 4000 00 2 s comp HEX FFFF 0000 Engineering unit 10 000 10 000 08 i ne 59 of FSR 100 00 100 00 2 s comp HEX 8000 eS ee Engineering unit 5 0000 5 0000 09 V of FSR 100 00 100 00 2 s comp HEX 8000 ee Engineering unit 1 0000 1 0000 S of FSR 4100 00 100 00 2 s comp HEX 8000 Engineering unit 500 00 500 00 ue cs of FSR 100 00 100 00 2 s comp HEX 8000 Engineering unit 20 000 20 000 op 72010420 G of FSR__ 100 00 100 00 2 s comp HEX 8000 0 to 420 Engineering unit 20 000 00 000 1A m of FSR 100 00 000 00 2 s comp HEX FFFF 0000 1 only available with the tM AD5 and tM AD8 2 only available with the tM ADS8 3 only available with the tM AD5C and tM AD8C 24 tM AD Series User Manual Rev 1 0 7MH 020 A10 4 20 mA and 0 20 mA under
9. code 1 Byte Type code see Section 1 10 for details Error Response 00 Address 1 Byte l to 247 01 Function code Byte OxC6 02 Exception code 1 Byte 03 reserved bytes should be filled with zero 86 tM AD Series User Manual Rev 1 0 7 020 10 tM ADS tM ADSC tM ADS tM AD8C 3 3 6 Sub function 08 0x08 Set type code This sub function code is used to set the type code of a module Request 00 Address 1 Byte l to 247 01 Function code Byte 10 46 02 Sub function code 1 Byte 0x08 03 Reserved 1 Byte 10 00 04 Reserved Byte 10 00 05 Type code 1 Byte Type code see Section 1 10 for details Response 00 Address 1 Byte l to 247 01 Function code 1 Byte 10 46 02 Sub function code 1 Byte 0x08 03 Type code 1 Byte 0x00 OK others error Error Response 00 Address 1 Byte l to 247 01 Function code Byte OxC6 02 Exception code 1 Byte 03 type code out of range reserved bytes should be filled with zero incorrect number of bytes received tM AD Series User Manual Rev 1 0 7MH 020 A10 87 tM ADS tM ADSC tM ADS tM AD8C 3 3 7 Sub function 32 0x20 Read firmware version This sub function code is used to read the firmware version information of a module Request 00 Address 1 Byte l to 247 01
10. of the responding module 00 to FF SS Two hexadecimal digits that represent the host watchdog status where Bit 7 0 indicates that the host watchdog is disabled and 1 indicates the host watchdog is enabled Bit 2 1 indicates that a host watchdog time out has occurred and 0 indicates that no host watchdog time out has occurred The host watchdog status is stored in EEPROM and can only be reset using the AA1 command tM AD Series User Manual Rev 1 0 7MH 020 A10 65 tM ADS tM ADSC tM ADS tM AD8C There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address Examples Command 010 Response 0100 Reads the host watchdog status of module 01 and returns 00 meaning that the host watchdog is disabled and no host watchdog time out has occurred Command 020 Response 0204 Reads the host watchdog status of module 02 and returns 04 meaning that a host watchdog timeout has occurred Related Commands Section 2 17 Section 2 19 AAT Section 2 20 AA2 Section 2 21 AA3EVV Related Topics Section A 2 Dual Watchdog Operation 66 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 19 AA1 Description Resets the host watchdog time out status of a module Syntax AA1 CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 1 Command to reset the host watchdog time ou
11. range reading with DCON protocol Under Range Engineering Unit 9999 9 of FSR 999 99 2 s Complement HEX 8000 4 20 mA and 0 20 mA under range reading with Modbus protocol Under Range 8000h tM AD Series User Manual Rev 1 0 7 020 10 23 1 11 Mounting 1 11 1 DIN Rail Mounting There are three new DIN rail models available Each are made of stainless steel which is stronger than those made of aluminum There is a screw at one end and a ring terminal is included so that it can be easily connected to the earth ground The three new DIN rail models are as follows Part number Max number of modules Dimensions DRS 360 5 360mm x 35mm to earth ground Part number Max number of modules Dimensions 26 tM AD Series User Manual Rev 1 0 7MH 020 A10 DRS 240 3 240mm x 35mm to earth ground Part number Max number of modules Dimensions DRS 125 2 125mm x 35mm to earth ground Note The recommended wire to connect to the earth ground is 16 14 AWG wire tM AD Series User Manual Rev A1 0 7MH 020 A10 27 1 12 Technical Support Should you encounter problems while using the tM series module and are unable to find the help you need in this manual or on our Website please contact ICP DAS Product Support Email serviceQ icpdas com Website http www
12. respond The only exception to this is command Section 2 17 which is sent to all modules but in these cases the modules do not reply to the command Command Format Leading Module Character Address C2 mand CHKSUM CR Response Format Leading Module Character Address Pata CR CHKSUM 2 character checksum that is present when the checksum setting is enabled See Section 1 10 and 2 1 for details End of command character carriage return OxOD CR tM AD Series User Manual Rev 1 0 7MH 020 A10 29 Checksum Calculation Calculate the ASCII code sum of all the characters in the command response string except for the carriage return character CR 2 The checksum is equal to the sum masked by Offh Example Command string 012 CR l 2 3 Sum of the string 0 1 2 24h 30h 3 1h 32h B7h Therefore the checksum is B7h and so CHKSUM B7 The command string with the checksum 012B7 CR Response string 01200600 CR 1 2 3 Sum of the string PPOP 1427 4 07 4 06 0 0 21h 30h 3 1h 32h 30h 30h 36h 30h 30h 1AAh Therefore the checksum is AAh and so CHKSUM AA The response string with the checksum 01200600AA CR Note All characters should be in upper case 30 tM AD Series User Manual Rev 1 0 7MH 020 A10 General Command Sets Set Module
13. 05 IB DE RESI OTa RERUM E 105 A 2 Dual Watchdog 107 IN Some Ground o sedeo no Oe ibo vdd b tam 108 tM AD Series User Manual Rev 1 0 7MH 020 A10 3 1 Introduction The tM series is a family of network data acquisition and control modules providing analog to digital digital to analog digital input output timer counter and other functions The modules can be remotely controlled using a set of commands which we call the DCON protocol or the standard Modbus protocol Communication between the module and the host is in ASCII format via an RS 485 bi directional serial bus standard Baud Rates are software programmable and transmission speeds of up to 115 2K baud can be selected The tM series feature a new design for the frame ground and INIT switch as shown in the figure The frame ground provides enhanced static protection ESD abilities and ensures the module is more reliable The INIT switch allows easier access to INIT mode Please refer to Sections A 1 and for more details Run 4p Init amp The common features of the tM AD series are as follows 1 2500V DC inter module isolation 2 16 bit sigma delta ADC to provide excellent accuracy 3 Software calibration 4 tM AD Series User Manual Rev 1 0 7MH 020 A10 The tM ADS is a 5 channel differential voltage input module The tM ADSC is a 5 channel differential current input module The tM ADS is an 8 channel singl
14. Configuration Reads the Analog Inputs of All Channels Reads the Analog Input of the ERAN Specified Channel AAO Performs a Span Calibration gt gt Z Z Q A dt AA N 99 NPN fv Fr AB gt Fe N CA Performs a Single Channel Span a AAI Performs a Zero Calibration AA2 AANNTTCCFF Reads the Module Configuration AA Data Data AA AA 2 6 2 7 SAASVV AA Enables Disables the Channel 2 8 AAVV data AA AA AA N O gt gt gt Reads the Analog Inputs of All E Channels in Hex Format ane PAA Da Reade the Module Name 20 ARONA a Host Watchdog Command Sets Command AAI AA2 IAAETT Reads the Host Watchdog Timeout Settings AA3ETT Sets the Host Watchdog Timeout Settings hav Reads the Channel Enable Disable Status gt PA s E gt E E gt gt n a tM AD Series User Manual Rev 1 0 7MH 020 A10 31 tM ADS tM ADSC tM ADS tM AD8C 2 1 AANNTTCCFF Description Sets the configuration of an analog input module Syntax AANNTTCCFF CHKSUM CR FF 32 Delimiter character Address of the module to be configured in hexadecimal format 00 to FF New address of the module in hexadecimal format 00 to FF New type code see Section 1 10 for details New Baud Rate code see Section 1 10 for details To c
15. DS tM AD8C 2 7 AA2 Description Reads the module configuration Syntax AA2 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 2 Command to read the module configuration Response Valid Response AATTCCFF CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF TT Type code of the module see Section 1 10 for details CC Baud Rate code of the module see Section 1 10 for details FF Data format checksum settings and mode settings of the module see Section 1 10 for details There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 45 tM ADS tM ADSC tM ADS tM AD8C Examples Command 012 Response 01050600 Reads the configuration of module 01 Command 022 Response 02030602 Reads the configuration of module 02 Related Commands Section 2 1 7 AANNTTCCFF Related Topics Section 1 10 Configuration Tables Section A 1 INIT Mode 46 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 8 AA5VV Description Specifies the channel s to be enabled Syntax AA5VV VV CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 5 Command to set
16. Drift 25ppm C 25ppm C Input Impedance 20MQ 1250 Voltage overload Protection 120VDC Isolation 2500V DC 2500V DC Modbus RTU ASCII Yes Yes EMS Protection ESD IEC 61000 4 2 4 kV Contact for Each Terminal 8 kV Air for Random Point 4 kV Contact for Each Terminal 8 kV Air for Random Point EFT IEC 61000 4 4 4 kV for Power 4 kV for Power Surge IEC 61000 4 5 3 kV for Power 3 kV for Power Power Requirement 10 to 30V DC 10 to 30V DC Consumption 1 0W 1 0W Temperature Range Operating 25 C to 75 C 25 C to 75 C Storage 30 C to 75 C 30 C to 75 C Note A warm up period of 30 minutes is recommended in order to achieve the complete performance results described in the specifications tM AD Series User Manual Rev 1 0 7MH 020 A10 11 tM AD8 tM AD8C Analog Input Input Channels 8 single ended 8 single ended Input Type 0 500 mV 0 1 V 0 20 mA 4 20 mA 0 2 5 V 0 5 V 0 10 V Resolution 14 bits normal 14 bits normal 12 bits fast 12 bits fast Sampling Rate 10 samples sec normal 10 samples sec normal 200 samples sec fast 200 samples sec fast Accuracy 0 1 normal 0 1 normal 0 5 fast 0 5 fast Zero Drift 20u V C 20u V C Span Drift 25ppm C 25ppm C Input Impedance 10 0 1250 Voltage overload Protection 120VDC Isolation 2500V DC 2500V DC Modbus RTU ASCII Yes Ye
17. RS 485 VIN5 DATA 34 Interface VIN6 VIN7 Vs Power 5V GND Regulator 2 AGND Frame Ground J ji 1 4 4 Block diagram for the tM AD8C IINO EEPROM i IINi c i ET IIN2 4 IIN3 Embedded Controller INIT IIN4 MUX i DATA RS 485 ru IIN5 DATA 4Interface HT IIN6 IIN7 FVS Power 5V E GND Regulator L AGND Frame Ground Jr 14 tM AD Series User Manual Rev 1 0 7MH 020 A10 1 5 Dimensions 9 0 19 0 35 4 Bottom View Left Side View Back View Right Side View tM AD Series User Manual Rev A1 0 7MH 020 A10 15 1 6 Wiring Diagrams 1 6 1 Wiring diagram for the tM AD5 1 6 2 Wiring diagram for the tM AD5C 16 tM AD Series User Manual Rev 1 0 7MH 020 A10 1 6 3 Wiring diagram for the tM AD8 Voltage Input Single ended Mode 1 6 4 Wiring diagram for the tM AD8C Current Input Single ended Mode 1 6 5 Wiring Recommendations Use 26 12 AWG wire for signal connections Strip the wire to a length of 7 0 5mm Use a crimp terminal for wiring Avoid high voltage cables and power equipment as much as possible For RS 485 communication use insulated and twisted pair 24 AWG wire e g Belden 9841 tM AD Series User Manual Rev 1 0 7MH 020 A10 17 1 7 Quic
18. SUM CR Delimiter character AA Address of the module to be calibrated 00 to FF 1 Command for the span calibration Ci Specifies the channel to be calibrated Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 2 Delimiter character for an invalid response An invalid command is returned if the specified channel is incorrect AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 43 tM ADSC tM ADSC Examples Command 011 0 Response 01 Performs a span calibration on channel 0 of module 01 and returns a valid response Command 021C5 Response 02 Performs a span calibration on channel 5 of module 02 and returns a valid response Command 031C1 Response 03 Performs a span calibration on channel 1 of module 03 An invalid command is returned because the enable calibration command was not sent in advance Related Commands Section 2 5 AAT Section 2 15 AAEV Related Topics Section 1 9 Calibration Notes This command is only applicable to tM AD5 and tM ADS 2 The enable calibration command AAEV must be sent before this command is used see Section 1 9 for details 44 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM A
19. alid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 71 tM ADS tM ADSC tM ADS tM AD8C Examples Command 013164 Response 01 Enables the host watchdog of module 01 and sets the host watchdog time out value to 10 0 seconds The module returns a valid response Command 012 Response 01164 Reads the host watchdog time out value of module 01 The module returns 164 meaning that the host watchdog is enabled and the host watchdog time out value is 10 0 seconds Related Commands Section 2 17 Section 2 18 AAO Section 2 19 Section 2 20 AA2 Related Topics Section A 2 Dual Watchdog Operation 72 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 22 AARD Description Reads the response delay time value of a module Syntax AARD CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF RD Command to read the response delay time value Response Valid Response AAVV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for valid response 2 Delimiter character for an invalid r
20. and is used see Section 1 9 for details 40 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 5 AA1 Description Performs a zero calibration Syntax AA1 CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 1 Command for the zero calibration Response Valid Response AA CHKSUM CR Invalid Response 2AA CHKSUM CR Delimiter character for valid response 7 Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 41 tM ADS tM ADSC tM ADS tM AD8C Examples Command 011 Response 01 Performs a zero calibration on module 01 and returns a valid response Command 021 Response 02 Performs a zero calibration on module 02 An invalid command is returned because the enable calibration command was not sent in advance Related Commands Section 2 4 0 Section 2 15 AAEV Related Topics Section 1 9 Calibration Note The enable calibration command AAEV must be sent before this command is used see Section 1 9 for details 42 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADSC tM ADSC 2 6 AA0Ci Description Performs a span calibration on the specified channel Syntax AA1Ci CHK
21. dule will not respond tM AD Series User Manual Rev 1 0 7MH 020 A10 77 tM ADS tM ADSC tM ADS tM AD8C 3 1 02 0x02 Read Input Status This function code is used to read the open wire status of a module in the current input type Request 00 Address Byte 1 to 247 01 Function code Byte 0x02 02 03 Starting channel 2 Bytes 0 80 to 0x87 0x84 for tM ADS5C where 0x80 corresponds to channel 0 0x81 corresponds to channel 1 etc 04 05 Numberofinput 2 Bytes 1 to 8 5 for tM AD5C channels Starting channel N should be less than or equal to 0x88 0x85 for tM AD5C Note This function is only available on tM AD5C and tM AD8C Response 00 Address 1 Byte l to 247 01 Function code Byte 0 02 02 Byte count Byte l 03 Data of input 1 Byte bit corresponds to a channel channels When the bit is 1 it denotes that the channel is enabled and is either over range under range or wire opening If the bit is O it denotes that the channel is disabled or normal Error Response 00 Address 1 Byte to 247 01 Function code Byte 0 82 02 Exception code 1 Byte 102 starting channel out of range 03 starting channel number of input channels out of range incorrect number of bytes received 78 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 3 2 04 0x04 Read Input Channels This functio
22. e 02 and receives the data in hexadecimal format Command 03 Response gt 9999 9 9999 9 9999 9 9999 9 9999 9 9999 9 9999 9 9999 9 Reads module 03 and the data are under range Related Commands Section 2 1 Section 2 7 AA2 Related Topics Section 1 10 Configuration Tables 36 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 3 HAAN Description Reads the analog input of channel N Syntax AAN CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF N The channel to be read zero based Response Valid Response gt Data CHKSUM CR Invalid Response 2AA CHKSUM CR gt Delimiter character for a valid response 2 Delimiter character for an invalid response An invalid command is returned if the specified channel is incorrect Data Analog input data of the specified channel see Section 1 10 for details of the data format AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 37 tM ADS tM ADSC tM ADS tM AD8C Examples Command 032 Response gt 025 13 Reads data from channel 2 of module 03 Command 0511 Response gt 025 13 Reads data from channel 17 of module 05 for an I 7017Z in single ended mode Command 029 Re
23. e ended voltage input module The tM ADSC is an 8 channel single ended current input module The tM AD series are designed for industrial plant environments and have special input circuits to provide 120VDC continuous overload protection tM AD Series User Manual Rev 1 0 7MH 020 A10 5 1 1 More Information a For details of INIT mode operation please refer to Section A 1 INIT Mode For details of module watchdog and host watchdog please refer to Section A 2 Dual Watchdog Operation For details of ESD protection and grounding please refer to Section A 3 Frame Ground 6 tM AD Series User Manual Rev 1 0 7MH 020 A10 1 2 Terminal Assignment rcc 0000 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM AD Series User Manual Rev A1 0 7MH 020 A10 tM AD Series User Manual Rev A1 0 7MH 020 A10 tM AD Series User Manual Rev A1 0 7MH 020 A10 1 3 Specifications tM AD5 tM ADSC Analog Input Input Channels 5 differential 5 differential Input Type 1 V 2 5 V 5 0 20 mA 4 20 mA 10 V 20 mA Resolution 14 bits normal 14 bits normal 12 bits fast 12 bits fast Sampling Rate 10 samples sec normal 10 samples sec normal 200 samples sec fast 200 samples sec fast Accuracy 0 1 normal 0 1 normal 0 5 fast 0 5 fast Zero Drift 20u V C 20u V C Span
24. e is no module with the specified address 62 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C Examples Command 0107019 Response 01 Sets the name of module 01 to be 7019A and returns a valid response Command 01M Response 017019A Reads the name of module 01 and returns 7019A Related Commands Section 2 12 tM AD Series User Manual Rev 1 0 7 020 10 63 tM ADS tM ADSC tM ADS tM AD8C 2 17 Description Informs all modules that the host 1s OK Syntax CHKSUM CR Delimiter character UE Host OK command Response No response Examples Command No response Sends a Host OK command to all modules Related Commands Section 2 18 AAO Section 2 19 AA1 Section 2 20 AA2 Section 2 21 AA3EVV Related Topics Section A 2 Dual Watchdog Operation Note After sending this command there must be a 2ms delay before the next command can be sent 64 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 18 Description Reads the host watchdog status of a module Syntax AA0 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 0 Command to read the module status Response Valid Response AASS CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 2 Delimiter character for an invalid response AA Address
25. e name 81 3 3 2 Sub function 04 0x04 Set module address 82 3 3 3 Sub function 05 0x05 Read communication settings 83 3 3 4 Sub function 06 0x06 Set communication settings 84 3 3 5 Sub function 07 0x07 Read type 86 3 3 6 Sub function 08 0x08 Set type 87 3 3 7 Sub function 32 0x20 Read firmware 88 3 3 8 Sub function 37 0x25 Read channel enabled disabled status 89 3 3 9 Sub function 38 0x26 Set channel enable disable 90 3 3 10 Sub function 41 0x29 Read miscellaneous settings 91 3 3 11 Sub function 42 0x2A Write miscellaneous settings 92 Set ACRES SV ap OUT e pose teria Hi em to medie an aeu tdeo Pins 93 3 4 1 tM ADS5 Series Address 93 3 4 2 tM AD5C Address Mappings 95 3 4 3 tM ADS Address Mapping esee 97 3 4 4 tM ADS8C Address Mappings seen 99 3 5 Engineering Data Format Table toot ttn epi queis 101 A Troubleshooting nes 102 4 1 Communicating with the 103 42 Readins Dabit epe as Esdr edu NI E 104 AC ADpendbx 1
26. e version 3 3 7 37 0x25 Read the channel enable disable 13 3 8 status 38 0x26 Set the channel enable disable 3 3 9 41 0x29 Read the miscellaneous settings 3 3 10 42 0x2A Write the miscellaneous settings 3 3 11 If the module does not support the sub function code specified in the message then it responds as follows Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0 6 02 Exception code Byte 02 invalid sub function code 80 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 3 3 1 Sub function 00 0x00 Read module name This sub function code is used to read the name of a module Request 00 Address 1 Byte 1 to 247 01 Function code Byte 10 46 02 Sub function code 1 Byte 0 00 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10 46 02 Sub function code 1 Byte 0x00 03 06 Module name 4 Bytes 0x07 0x00 0x50 0x01 for tM AD5 0x07 0x00 0x50 0x02 for 5 0x07 0x00 0x80 0x01 for tM ADS8 0x07 0x00 0x80 0x02 for tM AD8C Error Response 00 Address 1 Byte l to 247 01 Function code Byte 0xC6 02 Exception code 1 Byte 03 incorrect number of bytes received tM AD Series User Manual Rev 1 0 7MH 020 A10 81 tM ADS tM ADSC tM ADS tM AD8C 3 3 2 Sub function 04 0x04 Set module address This sub fu
27. ee Ds 12 1 XT 2 13 JP DP 2 14 SAAPN 2 15 LAL Y EA BOVEM ROSEY RAPERE ORI AAT EAT 2 16 AAO Name 2 tM AD Series User Manual Rev 1 0 7MH 020 A10 Perec err SNR V E 65 Pag RS AN e Su due UL UII LIC Eid M UI E I tatis 67 69 2 2 VONAGE Ns o sec atin E S du into ec 71 B D E 73 223 S AARDV dc I iet Edu 75 3 MODUS eR ice 77 3 1 02 0x02 Read Input Sats eue ot e btt ea ea pes 78 3 2 04 0x04 Read Input 79 3 3 70 0x46 Read Write Module Settings esses 80 3 3 1 Sub function 00 0x00 Read modul
28. er character for an invalid response AA Address of the responding module 00 to FF E 1 the host watchdog is enabled 0 the host watchdog is disabled VV Two hexadecimal digits to represent the time out 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 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 69 tM ADS tM ADSC tM ADS tM AD8C Examples Command 012 Response 011FF Reads the host watchdog time out value of module 01 and returns FF meaning that the host watchdog is enabled and the host watchdog time out value is 25 5 seconds Related Commands Section 2 17 Section 2 18 AAO Section 2 19 Section 2 21 AA3EVV Related Topics Section A 2 Dual Watchdog Operation 70 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 21 AA3EVV Description Enables disables the host watchdog and set the host watchdog time out value of a module Syntax AA3EV V CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF 3 Command to set the host watchdog E 1 enable the host watchdog 0 disable the host watchdog VV Two hexadecimal digits to represent the time out value in tenths of a second for example 01 means 0 1 seconds and FF means 25 5 seconds Response V
29. eset status 1 first read after R powered on 0 not the first read after powered on 94 tM AD Series User Manual Rev 1 0 7 020 10 3 4 2 tM AD5C Address Mappings Address Description Attribute 10129 Over under range status of channel 10133 Ito 4 for 4 20mA or 0 20mA ranges 00129 00133 30001 Analog input value of channel 0 04 30005 40001 40005 40481 Firmware version low word R 40482 Firmware version high word R 40483 name low word 0x5002 R 40484 Module name high word 0 0700 40485 address valid range 1 247 R W 40486 Bits 5 0 R W Baud rate 0x03 Code 0 03 10 04 10 05 10 06 Baud 11200 2400 14800 9600 Code 0 07 10 08 10 09 0xOA Baud 19200 38400 57600 15200 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 40487 code R W 40488 Modbus response delay time in ms R W valid range 0 30 40489 Host watchdog timeout value 0 255 in 0 15 40490 Channel enable disable 006 1Fh R W 40492 Host watchdog timeout count write 0 R W to clear tM AD Series User Manual Rev 1 0 7MH 020 A10 95 Address Description Attribute 00257 Protocol 0 1 Modbus R W 00258 Protocol 0 determined by
30. esponse 00 Address 1 Byte 1 to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 29 03 Miscellaneous 1 Byte Bit 7 6 reserved settings Bit 5 mode setting 0 normal mode 1 fast mode Bit 4 0 reserved Note The reserved fields are filled with zeros Error Response 00 Address 1 Byte l to 247 01 Function code 1 Byte OxC6 02 Exception code 1 Byte 103 incorrect number of bytes received tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 3 3 11 Sub function 42 0x2A Write miscellaneous settings This sub function code is used to set the miscellaneous settings of a module Request 00 Address 1 Byte 1 to 247 01 Function code Byte 10 46 02 Sub function code 1 Byte Ox2A 03 Miscellaneous 1 Byte Bit 7 6 reserved settings Bit 5 mode setting 0 normal mode 1 fast mode Bit 4 0 reserved Note The reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10 46 02 Sub function code Byte 0 2 03 Miscellaneous Byte 0 OK settings others error Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte OxC6 02 Exception code Byte 03 reserved bits should be filled with zero incorrect number of bytes received 92 tM AD Series User Manual Rev 1 0 7MH 020 A10 3 4 Addr
31. esponse AA Address of the responding module 00 to FF VV Two hexadecimal digits to represent the response delay time value in milli second for example 01 denotes 1ms and 1E denotes 30ms The max allowable value is 30 1Eh There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 73 tM ADS tM ADSC tM ADS tM AD8C Examples Command 01 RD Response 0102 Reads the response delay time value of module 01 and returns 02 which denotes that the response delay time value is 2ms Related Commands Section 2 23 AARDVV 74 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 23 AARDVV Description Sets the response delay time value of a module Syntax AARDVV CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF RD Command to set the communication protocol VV Two hexadecimal digits to represent the response delay time value in milli second for example 01 denotes 1ms and 1E denotes 30s The max allowable value is 30 1Eh Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for valid response 7 Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a comm
32. ess Mappings 3 4 1 tM AD5 Series Address Mappings Address Description Attribute 30001 Analog input value of channel 0 04 30005 40001 40005 40481 Firmware version low word R 40482 Firmware version high word R 40483 Module name low word 0x5001 R 40484 Module name high word 0 0700 R 40485 address valid range 1 247 R W 40486 5 0 R W Baud rate 0x03 Code 0 03 0x04 10 05 0 06 Baud 1200 12400 14800 9600 Code 10 07 10 08 10 09 0xOA Baud 19200 38400 57600 1115200 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 40487 Type code R W 40488 Modbus response delay time in ms R W valid range 0 30 40489 Host watchdog timeout value 0 255 in 0 15 40490 Channel enable disable 006 1Fh R W 40492 Host watchdog timeout count write 0 R W to clear tM AD Series User Manual Rev 1 0 7MH 020 A10 93 Address Description Attribute 00257 Protocol 0 1 Modbus R W 00258 Protocol 0 determined by 00257 1 R W Modbus ASCII 00261 enable 0 disable host watchdog R W 00269 Modbus data format 0 hex 1 R W engineering 00270 Host watch dog timeout status write 1 R W to clear host watch dog timeout status 00271 1 enable 0 disable fast mode R W 00273 R
33. hange the Baud Rate the right slide switch must be set to the INIT position See Section A 1 for details Used to set the data format checksum and mode settings Section 1 10 To change the checksum setting the right slide switch must be set to the INIT position See Section A 1 for details tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response If changing the Baud Rate or checksum settings without switching the right slide switch to the INIT position the module will return an invalid command AA Address of the module in hexadecimal format 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 33 tM ADS tM ADSC tM ADS tM AD8C Examples Command 960102000600 Response 02 Change the address of module 01 to 02 The module returns a valid response Command 960202000602 Response 02 Set the data format of module 02 to be 2 2 s complement hexadecimal The module returns a valid response Command 0101000A00 Response 01 Change the Baud Rate of module 01 to 115200bps The module returns an invalid command because it 1s not in INIT mode Command 0101000A00 Response
34. he new protocol is saved in the EEPROM and will be effective after the next power on reset Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address 58 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C Examples Command 01P1 Response 01 Sets the communication protocol of module 01 to Modbus RTU and returns an invalid response because the module is not in INIT mode Command 01P1 Response 01 Sets the communication protocol of module 01 to Modbus RTU and returns a valid response Related Commands Section 2 13 SAAP Related Topics Section INIT Mode tM AD Series User Manual Rev 1 0 7MH 020 A10 59 tM ADS tM ADSC tM ADS tM AD8C 2 15 AAEV Description Enable Disable module calibration Syntax AAEV CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF E Command to enable disable calibration V 1 enable calibration 0 disable calibration Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for valid response Delimiter character for an invalid response AA Address of the resp
35. icpdas com service support htm When requesting technical support be prepared to provide the following information about your system 1 Module name and serial number The serial number can be found printed on the barcode label attached to the cover of the module 2 Firmware version See Section 2 11 3 3 7 and 3 4 for information regarding the command used to identify the firmware version 3 Host configuration type and operating system 4 If the problem is reproducible please give full details describing the procedure used to reproduce the problem 5 Specific error messages displayed If a dialog box with an error message is displayed please include the full text of the dialog box including the text in the title bar 6 If the problem involves other programs or hardware devices please describe the details of the problem in full 7 Any comments and suggestions related to the problem are welcome ICP DAS will reply to your request by email within three business days 28 tM AD Series User Manual Rev 1 0 7MH 020 A10 2 DCON Protocol All communication with tM modules consists of commands generated by the host and responses transmitted by the tM modules 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 using a user command All commands to the modules contain the ID address meaning that only the addressed module will
36. k Start Please refer to the Quick Start Guide for tM series AIO 18 tM AD Series User Manual Rev 1 0 7MH 020 A10 1 8 Default Settings Default settings for the tM AD modules are as follows o Protocol Modbus o Module Address 01 o Analog Input Type type code 08 10V to 10V o Baud Rate 9600 bps tM AD Series User Manual Rev 1 0 7MH 020 A10 19 1 9 Calibration Warning t is not recommended that calibration be performed until the process is fully understood The calibration procedure is as follows I 2 3 4 d 8 Warm up the module for 30 minutes Set the type code to the type you want to calibrate Refer to Sections 2 1 for details Enable calibration Refer to Section 2 15 for details Apply the zero calibration voltage current Send the zero calibration command Refer to Sections 2 5 for details Apply the span calibration voltage current Send the span calibration command Refer to Sections 2 4 and 2 6 for details Repeat steps 3 to 7 three times Notes 1 2 3 Connect the calibration voltage current to channel 0 Calibration voltages and currents are shown below The modules must be switched to the DCON protocol mode before calibrating Refer to Section 3 3 4 and 3 4 for details of the switching protocol Calibration voltages current used by the tM AD series Type oe pepe 20 nput tM AD Series User Manual Rev 1 0 7MH 020 A10 1 10 Configu
37. l Watchdog please refer to Chapter 5 of the Getting Started For I 7000 Series Modules manual that can be downloaded from the ICP DAS website http www icpdas com tM AD Series User Manual Rev 1 0 7MH 020 A10 107 A 3 Frame Ground Electronic circuits are constantly vulnerable to ESD which become worse in a continental climate area The tM modules feature a new design for the frame ground The frame ground provides a path for bypassing ESD which provides enhanced static protection ESD abilities and ensures the module is more reliable Connect the frame ground terminal to a wire DIN rail and connect the wire DIN rail to the earth ground will provide a better protection for the module 108 tM AD Series User Manual Rev 1 0 7MH 020 A10
38. lid range 0 30 40489 Host watchdog timeout value 0 255 in 0 15 40490 Channel enable disable 006 FFh R W 40492 Host watchdog timeout count write 0 R W to clear tM AD Series User Manual Rev 1 0 7MH 020 A10 99 Address Description Attribute 00257 Protocol 0 1 Modbus R W 00258 Protocol 0 determined by 00257 1 R W Modbus ASCII 00261 enable 0 disable host watchdog R W 00269 Modbus data format 0 hex 1 R W engineering 00270 Host watch dog timeout status write 1 R W to clear host watch dog timeout status 00271 1 enable 0 disable fast mode R W 00273 Reset status 1 first read after R powered on 0 not the first read after powered on 100 tM AD Series User Manual Rev 1 0 7MH 020 A10 3 5 Engineering Data Format Table Type Code Input Type Min Max 05 2 5 2 5 25000 25000 06 20 mA 20 mA 20000 20000 07 4 20 4000 20000 08 10 10 V 10000 10000 09 5 5 5000 5000 1 10000 10000 OB 500 mV 500 mV 5000 5000 0 20 mA 20 mA 20000 20000 1A 0 20 mA 0 20000 The under range value is 32768 and the over range value is 32767 For the hex data format please refer to Section 1 10 tM AD Series User Manual Rev 1 0 7MH 020 A10 101 4 Troubleshooting If you are having difficul
39. n be read by sending the 002 CR command at 9600bps There are commands that require the module to be in INIT mode They are 1 when changing Baud Rate and checksum settings See Section 2 1 for details 2 AAPN see Section 2 14 for details tM AD Series User Manual Rev 1 0 7MH 020 A10 105 The tM modules have the INIT switch located on the right side of the module 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 Run 4 gt Init i 106 tM AD Series User Manual Rev 1 0 7 020 10 A 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 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 time out occurs the module will reset all outputs to a safe state in order to prevent any erroneous operations of the controlled target The tM series modules include an internal Dual Watchdog making the control system more reliable and stable For more information regarding the Dua
40. n code is used to read from contiguous analog input channels Request 00 Address 1 Byte 1 to 247 01 Function code Byte 0 04 02 03 Starting channel 2 Bytes 0 to 7 4 for tM ADS5 and tM ADSC for reading analog inputs 04 05 Numberofinput 2 Bytes 1 to 8 5 for tM ADS5 and channels N tM AD5C Starting channel lt 8 5 for tM AD5 and tM AD5C for reading analog inputs Response 00 Address 1 Byte 1 to 247 01 Function code Byte 0 04 02 Byte count Byte 2xN 03 Data of input 2xN channels Bytes Error Response 00 Address 1 Byte 1 to 247 01 Function code Byte 10 84 02 Exception code 1 Byte 102 starting channel out of range 03 starting channel number of input channels out of range incorrect number of bytes received tM AD Series User Manual Rev 1 0 7MH 020 A10 79 3 3 70 0x46 Read Write Module Settings This function code is used to read the settings of the module or change the settings of the module The following sub function codes are supported Sub function Code Description Section 00 0x00 Read the module name 3 3 1 04 0x04 Set the module address 2 2 2 05 0 05 Read the communication settings 3 3 3 06 0x06 Set the communication settings 3 3 4 07 0x07 Read the type code 3 3 5 08 0x08 Set the type code 3 3 6 32 0x20 Read the firmwar
41. nction code is used to set the address of a module Request 00 Address 1 Byte to 247 01 Function code Byte 10 46 02 Sub function code 1 Byte 0x04 03 New address 1 Byte 1 to 247 04 06 3 Bytes 0x00 0x00 0x00 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 10 46 02 Sub function code 1 Byte 0x04 03 Set address result 1 Byte 0 OK others error 04 06 3 Bytes 0x00 0x00 0x00 Error Response 00 Address 1 Byte l to 247 01 Function code Byte OxC6 02 Exception code 1 Byte 03 new address out of range reserved bytes should be filled with zero incorrect number of bytes received 82 tM AD Series User Manual Rev 1 0 7 020 10 tM ADS tM ADSC tM ADS tM AD8C 3 3 3 Sub function 05 0x05 Read communication settings This sub function code is used to read the communication protocol settings of a module Request 00 Address 1 Byte l to 247 01 Function code Byte 0x46 02 Sub function code Byte 0 05 03 Reserved Byte 10 00 Response 00 Address 1 Byte l to 247 01 Function code 1 Byte 10 46 02 Sub function code Byte 0 05 03 Protocol 1 Byte 0 00 Modbus RTU supported 0x03 Modbus RTU amp ASCII 04 Baud Rate 1 Byte Baud Rate code see Section 1 10 for de
42. ocol 09 10 2 Bytes 0 00 0x00 84 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C Response 00 Address 1 Byte to 247 01 Function code 1 Byte 10 46 02 Sub function code Byte 0 06 03 Reserved 1 Byte 10 00 04 Baud Rate 1 Byte 10 00 OK others error 05 Reserved 1 Byte 10 00 0x00 0x00 06 Data format 1 Byte 0 00 OK others error 07 Reserved 1 Byte 10 00 08 Mode 1 Byte 10 00 OK others error 09 10 2 Bytes 0 00 0x00 Note The new Baud Rate and protocol will be effective after the next power on reset Error Response 00 Address 1 Byte 1 to 247 01 Function code Byte OxC6 02 Exception code 1 Byte 03 Baud Rate or mode out of range reserved bytes should be filled with zero incorrect number of bytes received tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 3 3 5 Sub function 07 0x07 Read type code This sub function code is used to read the type code information of a module Request 00 Address 1 Byte l to 247 01 Function code Byte 10 46 02 Sub function code 1 Byte 0x07 03 Reserved 1 Bytes 0 00 04 Reserved 1 Byte 10 00 Response 00 Address 1 Byte 1 to 247 01 Function code Byte 0x46 02 Sub function code 1 Byte 0x07 03 Type
43. onding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address 60 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C Examples Command 010 Response 01 Sends the command to perform a span calibration on module 01 It returns an invalid response because the enable calibration command was not sent in advance Command 01 1 Response 01 Enables calibration on module 01 and returns a valid response Command 010 Response 01 Sends the command to perform a span calibration on module 01 and returns a valid response Related Commands Section 2 4 0 Section 2 5 AA1 Section 2 6 AA0Ci Related Topics Section 1 9 Calibration tM AD Series User Manual Rev 1 0 7MH 020 A10 61 tM ADS tM ADSC tM ADS tM AD8C 2 16 AAO Name Description Sets the name of a module Syntax AAO Name CHKSUM CR Delimiter character AA Address of the module to be set 00 to FF O Command to set the module name Name New name of the module max 6 characters Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or ther
44. r AA Address of the module to be read 00 to FF 6 Command to read the channel status Response Valid Response AAVV VV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response Delimiter character for an invalid response AA Address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc When the bit is 1 it means that the channel is enabled and 0 means that the channel is disabled There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 49 tM ADS tM ADSC tM ADS tM AD8C Examples Command 0153A Response 01 Enables channels 1 3 4 and 5 and disables all other channels of module 01 The module returns a valid response Command 016 Response 013 Reads the channel status of module 01 and returns a response of 3A meaning that channels 1 3 4 and 5 are enabled and all other channels are disabled Related Commands Section 2 8 AA5VV 50 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 10 AAA Description Reads the data from every analog input channel in hex format Syntax AAA CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF A Command to read every analog input Respon
45. ration Tables Baud Rate Setting CC 7 6 3 4 3 2 1 0 Data Baud Key Description Baud Baud Rate 03 1200 04 2400 05 4800 06 9600 07 19200 08 38400 09 57600 0A 115200 Data Data Format 0 eight data bits no parity and one stop bit eight data bits no parity and two stop bit 2 eight data bits even parity and one stop bit 3 eight data bits odd parity and one stop bit tM AD Series User Manual Rev 1 0 7MH 020 A10 21 Analog Input Type Setting TT Type Code Analog Input Type Range 05 2 5V 2 5 2 5 06 20mA 20mA 20mA 07 4 to 20mA 4mA 20mA 08 10V 10V 10V 09 5V 5V 5V 0A 1V 1V 1V OB 500mV 500mV 500mV OD 20mA 20mA 20mA 1A to 20mA 0 20mA Notes 1 Types 05 08 09 and OA are only used in tM AD5 and tM ADS 2 Types 06 07 OD and are only used in tM ADSC and tM AD8C 3 Type OB is only used in tM AD8 22 tM AD Series User Manual Rev 1 0 7MH 020 A10 Data Format Setting FF 7 6 5 3 2 RS CS MS RS DF Key Description DF Data format 00 Engineering unit 01 of FSR full scale range 10 2 s complement hexadecimal MS Mode setting 0 Normal mode 14 bits 1 Fast mode 12 bits CS Checksum setting 0 Disabled 1 Enabled RS Reserved Note
46. s EMS Protection ESD IEC 61000 4 2 4 kV Contact for Each Terminal 8 kV Air for Random Point 4 kV Contact for Each Terminal 8 kV Air for Random Point EFT IEC 61000 4 4 2 kV for Power 2 kV for Power Surge IEC 61000 4 5 3 kV for Power 3 kV for Power Power Requirement 10 to 30V DC 10 to 30V DC Consumption 0 6W 0 6W Temperature Range Operating 25 C to 75 C 25 C to 75 C Storage 30 C to 75 C 30 C to 75 C Note A warm up period of 30 minutes is recommended in order to achieve the complete performance results described in the specifications tM AD Series User Manual Rev 1 0 7MH 020 A10 1 4 Block Diagrams 1 4 1 Block diagram for the tMAD5 VINO EEPROM VINO Isolation VINA Embedded VIN1 U Controller VIN2 MUX VIN2 DATA DATA VIN3 V VIN3 5V GND VIN4 VIN4 Frame Ground 1 4 2 Block diagram for the tM AD5C TINO EEPROM TINO Isolation TINA Embedded 4 gt aoc gt IIN1 Controller ADC IIN24 DATA TIN2 DATA IIN3 TIN3 L 35V GND TIN4 4 Ground tM AD Series User Manual Rev 1 0 7MH 020 A10 1 4 3 Block diagram for the tM AD8 VINO EEPROM VIN1 Isolation m VIN2 rj Embedded B Controller VIS INIT m VIN4 MUX DATA
47. s that it is version A2 0 tM AD Series User Manual Rev 1 0 7MH 020 A10 53 tM ADS tM ADSC tM ADS tM AD8C 2 12 AAM Description Reads the name of a module Syntax S AAM CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF M Command to read the module name Response Valid Response AA Name CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA Address of the responding module 00 to FF Name A string showing the name of the module There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address 54 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C Examples Command 01M Response 017018 Reads the module name of module 01 and returns the name 7018 Related Commands Section 2 16 AAO Name tM AD Series User Manual Rev 1 0 7MH 020 A10 55 tM ADS tM ADSC tM ADS tM AD8C 2 13 Description Reads the communication protocol information Syntax SAAP CHKSUMJ CR Delimiter character AA Address of the module to be read 00 to FF P Command to read the communication protocol Response Valid Response AASC CHKSUM CR Invalid Response AA CHKSUM Delimiter character for valid response 2 Delimiter character for an invalid response
48. se Valid Response gt Data CHKSUM CR Invalid Response AA CHKSUM CR gt Delimiter character for a valid response Delimiter character for an invalid response Data Data from every analog input channels in hex format There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 51 tM ADS tM ADSC tM ADS tM AD8C Examples Command 01A Response gt 0000012301257FFF1802744F98238 124 Reads module 01 and receives the data in hex format Related Commands Section 2 2 AA 52 tM AD Series User Manual Rev A1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 11 AAF Description Reads the firmware version of a module Syntax SAAF CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF F Command to read the firmware version Response Valid Response AA Data CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 7 Delimiter character for an invalid response AA Address of the responding module 00 to FF Data A string indicating the firmware version of the module There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address Examples Command 01F Response 01A2 0 Reads the firmware version of module 01 and show
49. sponse 02 Reads data from channel 9 of module 02 An error is returned because channel 9 is invalid Related Commands Section 2 1 Section 2 7 AA2 Related Topics Section 1 10 Configuration Tables 38 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM AD5 tM ADS 2 4 AA0 Description Performs a span calibration Syntax AA0 CHKSUM CR Delimiter character AA Address of the module to be calibrated 00 to FF 0 Command for the span calibration Response Valid Response AA CHKSUM CR Invalid Response 2AA CHKSUM CR Delimiter character for a valid response 2 Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 39 tM AD5 tM ADS Examples Command 010 Response 01 Performs a span calibration on module 01 and returns a valid response Command 020 Response 02 Performs a span calibration on module 02 An invalid command is returned because the enable calibration command was not sent in advance Related Commands Section 2 5 AAT Section 2 15 AAEV Related Topics Section 1 9 Calibration Notes 1 This command is only applicable to tM AD5 and tM ADS 2 The enable calibration command AAEV must be sent before this comm
50. t status Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response 2 Delimiter character for an invalid response AA Address of the responding module 00 to FF There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 67 tM ADS tM ADSC tM ADS tM AD8C Examples Command 010 Response 0104 Reads the host watchdog status of module 01 and shows that a host watchdog time out has occurred Command 011 Response 01 Resets the host watchdog time out status of module 01 and returns a valid response Command 010 Response 0100 Reads the host watchdog status of module 01 and shows that no host watchdog time out has occurred Related Commands Section 2 17 Section 2 18 AAO Section 2 20 AA2 Section 2 21 AA3EVV Related Topics Section A 2 Dual Watchdog Operation 68 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 20 AA2 Description Reads the host watchdog time out value of a module Syntax AA2 CHKSUM CR Delimiter character AA Address of the module to be read 00 to FF 2 Command to read the host watchdog time out value Response Valid Response AAEVV CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for valid response 2 Delimit
51. tM AD Series User Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for damages resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notification The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2011 ICP DAS All rights reserved Trademark The names used for identification only may be registered trademarks of their respective companies Date 2011 12 21 tM AD Series User Manual Rev 1 0 7MH 020 A10 1 Table of Contents T Introduce UO 1 1 More IH TORIA LOT ci eae i a OR tre bI 1 2 Terminal Assignment 1 3 Specifications LA Block 1 4 1 Block diagram for the tMADS 1 4 2 Block diagram for the tM ADSC 1 4 3 Block diagram for the 8 1 4 4 Block diagram for the tM ADSC 1 3 1 6 Wiring OT 1 6 1 Wiring diagram for the tM ADS
52. ta If the data read from the input channel is not correct first check the following sure the type code and data format settings are correct The type code is set by using the 7AANNTTCCFEF command see Section 2 1 for details The data format is set by using the 7AANNTTCCFF command For the Modbus RTU protocol the type code is set by using sub function 08h of the function 46h o If the voltage read by the module is incorrect then it may be because the calibration parameters stored in the non volatile memory are corrupted You can calibrate the module by yourself Be sure to read Section 1 9 in detail before doing any calibration 104 tM AD Series User Manual Rev 1 0 7MH 020 A10 A Appendix A 1 INIT Mode Each tM module has a built in EEPROM to store configuration information such as module address type code Baud Rate etc Occasionally the configuration of a module may be forgotten and there are no visual indications of the configuration of the module It is difficult to communicate with the module when the configuration of the module is unknown To help avoid this problem the tM series has a special mode called INIT mode When the module is powered on in INIT mode the configuration of the module is reset as follows allowing it to be operated as normal 1 Address 00 2 Baud Rate 9600 bps 3 No checksum 4 Protocol DCON The configuration information stored in the EEPROM is not changed and they ca
53. tails 05 Reserved 1 Bytes 0 00 06 Data format 1 Byte 0 00 no parity 1 stop bit 0x01 no parity 2 stop bits 0x02 even parity 1 stop bit 0x03 odd parity 1 stop bit 07 Reserved 1 Bytes 0 00 08 Mode 1 Byte 10 00 protocol 0x01 Modubs RTU protocol 0x03 Modbus ASCII protocol 09 10 2 Bytes 0 00 0x00 Note This information is the data saved in the EEPROM and will be used for the next power on reset It is not the currently used settings Error Response 00 Address 1 Byte l to 247 01 Function code Byte OxC6 02 Exception code 1 Byte 03 reserved byte should be filled with zero incorrect number of bytes received tM AD Series User Manual Rev 1 0 7MH 020 A10 83 tM ADS tM ADSC tM ADS tM AD8C 3 3 4 Sub function 06 0x06 Set communication settings This sub function code is used to set the communication protocol of a module Request 00 Address 1 Byte l to 247 01 Function code Byte 10 46 02 Sub function code Byte 0 06 03 Reserved 1 Byte 10 00 04 Baud Rate Byte Baud Rate code see Section 1 10 for details 05 Reserved Byte 10 00 06 Data format 1 Byte 0 00 no parity 1 stop bit 0x01 no parity 2 stop bits 0x02 even parity 1 stop bit 0x03 odd parity 1 stop bit 07 Reserved Byte 10 00 08 Mode 1 Byte 0 00 protocol 0x01 Modubs RTU protocol 0x03 Modubs ASCII prot
54. 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 1 it means that the channel is enabled and 0 means that the channel is disabled Response Valid Response AA CHKSUM CR Invalid Response AA CHKSUM CR Delimiter character for a valid response e Delimiter character for an invalid response An invalid command is returned if an attempt is made to enable a channel that is not present AA Address of the responding module 00 to FF tM AD Series User Manual Rev 1 0 7MH 020 A10 47 tM ADS tM ADSC tM ADS tM AD8C There will be no response if the command syntax is incorrect there 1s a communication error or there is no module with the specified address Examples Command 0153A Response 01 Enables channels 1 3 4 and 5 and disables all other channels of module 01 The module returns a valid response Command 016 Response 013A Reads the channel status of module 01 and returns a response of 3A meaning that channels 1 3 4 and 5 are enabled and all other channels are disabled Related Commands Section 2 9 AA6 Note Itis recommended that only the channels that will be used are enabled 48 tM AD Series User Manual Rev 1 0 7MH 020 A10 tM ADS tM ADSC tM ADS tM AD8C 2 9 AA6 Description Reads the enabled disabled status of each channel Syntax AA6 CHKSUM CR Delimiter characte
55. ty using the tM module here are some suggestions that may help If you cannot find the answers you need in these guides contact ICP DAS Product Support Contact information is located in Section 1 12 102 tM AD Series User Manual Rev 1 0 7MH 020 A10 4 1 Communicating with the module If you attempt to communicate with the module and receive no response first check the following Make sure the supplied power is within the range of 10 to 30 V DC If the supplied power is OK then the power LED should be on When the module receives a command the power LED is set to off The power LED is shown as 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 to check whether the host can communicate with the device through the same RS 485 network If the host is a PC installed with a Windows operating system then execute the DCON Utility to determine whether the module can be found The DCON Utility can be downloaded from the ICP DAS website http www icpdas com The DCON Utility documentation can be found in the Getting Started For I 7000 Series Modules manual Set the module to INIT mode and communicate with the module using the following settings address 00 Baud Rate 9600bps no checksum and DCON protocol See Section A 1 for details tM AD Series User Manual Rev 1 0 7MH 020 A10 103 4 2 Reading Da
56. unication error or there is no module with the specified address tM AD Series User Manual Rev 1 0 7MH 020 A10 75 tM ADS tM ADSC tM ADS tM AD8C Examples Command 01 06 Response 01 Sets the response delay time value to 6ms The module returns a valid response Command 01 RD Response 0106 Reads the response delay time value of module 01 The module returns 06 which denotes that the response delay time value is 6ms Related Commands Section 2 22 AARD 76 tM AD Series User Manual Rev 1 0 7MH 020 A10 3 Modbus Protocol The Modbus protocol is developed by Modicon Inc originally developed for Modicon controllers Detailed information can be found at http www modicon com techpubs toc7 html You can also visit http www modbus org to find more valuable information The tM series modules support both the Modbus RTU and Modbus ASCII protocols The communication Baud Rates range from 1200bps to 115200bps The following Modbus functions are supported Function Code Description Section 02 0x02 Read input status 3 04 0x04 Read input channels 3 2 70 0x46 Read write module settings 3 3 If the function specified in the message is not supported then the module responds as follows Error Response 00 Address 1 Byte 1 to 247 01 Function code Byte Function code 0x80 02 Exception code 1 Byte 01 If a CRC mismatch occurs the mo
Download Pdf Manuals
Related Search
Related Contents
こちら Samsung SM-P901 Manuel de l'utilisateur VIZIO VBR231 User Manual Version 6/4/2010 1 www.VIZIO.com Copyright © All rights reserved.
Failed to retrieve file