background image

M-7026

 

M-7026 User Manual Rev: 1.5 Date: 2016/03/10   

157 

3.3  Function 05 (0x05) - Write to a Single 

Digital Output Channel 

 

This function code is used to write to contiguous Digital Output channels. 

 

Request 

 

00 

Address 

1 Byte 

1 to 247 

01 

Function Code 

1 Byte 

0x05 

02 - 03  Starting Channel 

2 Bytes 

0 to 3 

04 - 05  Data 

2 Bytes 

FF00h for ON and 0000h for OFF 

 

Response 

 

00 

Address 

1 Byte 

1 to 247 

01 

Function Code 

1 Byte 

0x04 

02 - 03  Byte Count 

1 Byte 

0 to 3 

04 - 05  Data 

2 Bytes 

FF00h for ON and 0000h for OFF 

 

Error Response 

 

00 

Address 

1 Byte 

1 to 247 

01 

Function Code 

1 Byte 

0x85 

02 

Exception Code 

1 Byte 

03: the (starting c the number of 

input channels) is out of range, or an 

incorrect number of bytes were 

received. 

Summary of Contents for M-7026

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

Page 2: ...15 1 8 2 Analog Output 16 1 9 Configuration 17 1 9 1 Baud Rate Settings CC 17 1 9 2 Analog Input Type Code Settings TT 17 1 9 3 Data Format Settings FF 18 1 9 4 Analog Input Type Codes and Data Forma...

Page 3: ...A9N 66 2 23 AA9NTS 68 2 24 AAB 70 2 25 AABO 72 2 26 AAC 73 2 27 AAE 74 2 28 AAEnn 75 2 29 AAF 76 2 30 AAI 77 2 31 AALS 78 2 32 AAM 80 2 33 AAP 81 2 34 AAPN 82 2 35 AAS1 84 2 36 85 2 37 AA0 86 2 38 AA1...

Page 4: ...AARHi 146 2 72 AARL 148 2 73 AARLCi 150 2 74 AARLi 152 3 Modbus RTU Protocol 154 3 1 Function 02 0x02 Read the Status of the Digital Input Channels 155 3 2 Function 04 0x04 Read the Analog Input Chann...

Page 5: ...function 37 0x25 Read whether an Analog Input Channel is Enabled or Disabled 169 3 6 9 Sub function 38 0x26 Enable or Disable the Analog Input Channels 170 3 6 10 Sub function 41 0x29 Read the Miscel...

Page 6: ...mission speeds of up to 115 2 Kbps can be selected A number of M 7000 modules feature a new design for the frame ground and INIT switch as shown in the figure rear view The frame ground provides enhan...

Page 7: ...4 Remote Maintenance 5 Remote Diagnosis 6 Testing Equipment 1 2 More Information Refer to Chapter 1 of the M 7000 Bus Converter User Manual for more information regarding the following 1 1 I 7000 Over...

Page 8: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 8 1 3 Pin Assignments...

Page 9: ...Power Communication Indicator I O LED Indicator 7 Segment LED Display Isolation Intra Module Isolation Field to Logic 2500 VDC EMS Protection ESD IEC 61000 4 2 4 kV EFT IEC 61000 4 4 4 kV Surge IEC 6...

Page 10: ...0 Hz Input Impedance Voltage 2 M Current 140 Common Voltage Protection 200 VDC Individual Channel Configuration Yes Over current Protection 50 mA max at 110 VDC Overvoltage Protection 240 Vrms Analog...

Page 11: ...65 535 16 bit Max Input Frequency 50 Hz Min Pulse Width 10 ms Input Impedance Channel to Channel Isolation Overvoltage Protection Digital Output Channels 3 Type Open Collector Sink Source NPN PNP Sink...

Page 12: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 12 1 5 Block Diagram...

Page 13: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 13 1 6 Application Wiring...

Page 14: ...Settings The default settings for the M 7026 are Module Address 01 Analog Input Type Type 08 10 V to 10 V Analog Output Type Type 3 10 V to 10 V Protocol Modbus RTU Baud Rate 9600 bps Checksum disabl...

Page 15: ...zero calibration voltage current 5 Send the Zero Calibration command Refer to Section 2 8 for details 6 Apply the span calibration voltage current 7 Send the Span Calibration command Refer to Section...

Page 16: ...span Analog Output voltage current Refer to Section 2 5 for details 8 Check the meter and trim the output until the span output is achieved Refer to Section 2 11 for details 9 Send the Analog Output...

Page 17: ...ts 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 1 9 2 Analog Input Type Code Settings TT Type Code Analog Input Type 07 4 to 20 mA 08 10 V 09...

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

Page 19: ...of FSR 100 00 100 00 2 s Complement Hexadecimal 7FFF 8000 0A 1 to 1 V Engineering Units 1 0000 1 0000 of FSR 100 00 100 00 2 s Complement Hexadecimal 7FFF 8000 0B 500 to 500 mV Engineering Units 500...

Page 20: ...ng Units 05 000 00 000 2 s Complement Hexadecimal FFFF 0000 5 5 to 5 V Engineering Units 05 000 05 000 2 s Complement Hexadecimal 7FFF 8000 1 9 6 Analog Output Slew Rate Control 0 Immediate Change 1 0...

Page 21: ...top bit Modbus functions supported by the module are described in Chapter 3 1 10 1 Protocol Switching To switch to the DCON protocol 1 Uses sub function 06h of the function 46h and set byte 8 to a val...

Page 22: ...and the communication settings are as follows 1 Address 00 2 Baud Rate 9600 bps 3 No checksum 4 Protocol DCON If communication with the module is not possible set the module to INIT mode and use the a...

Page 23: ...nd There are two exceptions to this however the command Section 2 2 and the command Section 2 36 which is sent to all modules but in these cases the modules do not respond to the command Command Forma...

Page 24: ...m is B7h and so CHKSUM B7 3 The DCON command string with the checksum 012B7 CR Response 01200600 CR 1 The sum of the string 0 1 2 0 0 6 0 0 21h 30h 31h 32h 30h 30h 36h 30h 30h 1AAh 2 Therefore the che...

Page 25: ...Counter Edges for all Digital Input Channels 2 28 AAF AA Data Reads the Firmware Version Information for the Module 2 29 AAI AAS Reads the Status of the INIT Switch 2 30 AALS Data Reads the Status of...

Page 26: ...Digital Input Channel 2 68 Analog Input Command Set Command Response Description Section No Response Sends the Synchronized Sampling Command 2 2 AA Data Reads the Analog Input Data from all Channels 2...

Page 27: ...ears the Low Latch Values for all Analog Input Channels 2 57 AACLCi AA Clears the Status of the Low Alarm for a Specific Analog Input Channel 2 58 AACLi AA Clears the Low Latch Value for a Specific An...

Page 28: ...ms a Zero Calibration on a Specific Analog Output Channel 2 7 AA1N AA Performs a Span Calibration on a Specific Analog Output Channel 2 9 AA3NVV AA Trims the Calibration for a Specific Analog Output C...

Page 29: ...s that the Host is OK 2 36 AA0 AASS Reads the Status of the Host Watchdog 2 37 AA1 AA Resets the Status of the Host Watchdog Timeout 2 38 AA2 AAEVV Reads the Timeout Settings for the Host Watchdog 2 3...

Page 30: ...er to indicate a valid command Delimiter character to indicate an invalid command Note that if the Baud Rate or checksum settings are changed without first switching to INIT mode the module will retur...

Page 31: ...d was unsuccessful 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...

Page 32: ...command was successful containing the data in Engineering Units format that was stored when the synchronized sampling command was last issued The status byte of the response is 1 which means that it i...

Page 33: ...ion error or there is no module with the specified address Examples Command 01 Response 025 12 020 45 012 78 018 97 000 00 000 00 Reads data from the Analog Input channels of module 01 and returns a r...

Page 34: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 34 Related Topics Section 1 9 4 Analog Input Type Codes and Data Format...

Page 35: ...specified Analog Input channel See Section 1 9 4 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...

Page 36: ...s Host Watchdog flag is set The command will be ignored and the Analog Output will be set to the configured Safe value There will be no response if the command syntax is incorrect there is a communic...

Page 37: ...output value for Analog Output channel 8 of module 01 to 05 000 5 0 mA but returns no response indicating that channel 8 does not exist Related Commands Section 2 1 AANNTTCCFF Section 2 10 AA2 Sectio...

Page 38: ...x is incorrect there is a communication error or there is no module with the specified address Note The enable calibration command AAEV see Section 2 47 must be sent before this command is used See Se...

Page 39: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 39 Related Topics Section 1 8 1 Analog Input Calibration...

Page 40: ...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 see Section 2 47 must be sent b...

Page 41: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 41 Related Topics Section 1 8 2 Analog Output Calibration...

Page 42: ...correct there is a communication error or there is no module with the specified address Note The enable calibration command AAEV see Section 2 47 must be sent before this command is used See Section 1...

Page 43: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 43 Section 1 8 1 Analog Input Calibration...

Page 44: ...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 see Section 2 47 must be sent...

Page 45: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 45 Related Topics Section 1 8 2 Analog Output Calibration...

Page 46: ...and filter settings for the module See Section 1 9 3 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 w...

Page 47: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 47 Section 5 1 INIT Mode...

Page 48: ...an invalid command 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 mod...

Page 49: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 49 Related Commands Section 2 7 AA0N Section 2 9 AA1N Section 2 35 AAS1 Section 2 47 AAEV Related Topics Section 1 8 2 Analog Output Calibration...

Page 50: ...Data The synchronized sampling data See Section 1 9 4 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...

Page 51: ...uccessful and containing the data in Engineering Units format that was stored when the synchronized sampling command was last issued The status byte of the response is 0 which means that it is NOT the...

Page 52: ...e if the command syntax is incorrect there is a communication error or there is no module with the specified address Note The AAN Data command must be sent before this command is used Examples Command...

Page 53: ...ent since the module was powered on which denotes that there has been no module reset since the last AA5 command was sent 1 This is the first time the command has been sent since the module was powere...

Page 54: ...mmand AA CHKSUM CR Delimiter character to indicate a valid command Delimiter character to indicate an invalid command AA The address of the responding module in hexadecimal format 00 to FF There will...

Page 55: ...og Input channel where bit 0 corresponds to channel 0 and 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 There w...

Page 56: ...ails 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 Examples Command 011 10 000 Respons...

Page 57: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 57 Section 1 9 5 Analog Output Type Codes and Data Format...

Page 58: ...code AA The address of the responding module in hexadecimal format 00 to FF There will be no response if the command syntax is incorrect there is a communication error or there is no module with the s...

Page 59: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 59 Section 1 9 2 Analog Input Type Code Settings Section 1 9 4 Analog Input Type Codes and Data Format...

Page 60: ...if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 010 10 000 Response Sets the output for Analog Output channel 0 of m...

Page 61: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 61 Related Commands Section 2 5 AAN Data Section 2 13 AA4N Related Topics Section 1 9 5 Analog Output Type Codes and Data Format...

Page 62: ...e information relates to zero based 0 5 Rrr rr represents the Type Code used for the specified Analog Input channel See Section 1 9 2 for details of the data format There will be no response if the co...

Page 63: ...026 User Manual Rev 1 5 Date 2016 03 10 63 Section 2 3 AA Section 2 4 AAN Section 2 18 AA7CiRrr Related Topics Section 1 9 2 Analog Input Type Code Settings Section 1 9 4 Analog Input Type Codes and D...

Page 64: ...utput channel See Section 1 9 5 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 addr...

Page 65: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 65 Section 1 9 5 Analog Output Type Codes and Data Format...

Page 66: ...tion 1 9 6 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 Examples Command...

Page 67: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 67 Related Topics Section 1 9 5 Analog Output Type Codes and Data Format Section 1 9 6 Analog Output Slew Rate Control...

Page 68: ...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 019131 Response 01 Sets the configur...

Page 69: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 69 Related Topics Section 1 9 5 Analog Output Type Codes and Data Format Section 1 9 6 Analog Output Slew Rate Control...

Page 70: ...orresponds to channel 0 bit 1 corresponds to channel 1 etc If the bit is 0 it denotes that the channel is normal If the bit is 1 it denotes that the channel is under range There will be no response if...

Page 71: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 71 AA7CiRrr Related Topics Section 1 9 2 Analog Input Type Code Settings Section 1 9 4 Analog Input Type Codes and Data Format...

Page 72: ...g the detection results for the Analog Output channels 00 to 03 where bit 0 corresponds to channel 0 bit 1 corresponds to channel 1 etc If the bit is 0 it denotes that the channel is either disabled o...

Page 73: ...l 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 01L1 Response 030100 Reads the low latch data for m...

Page 74: ...sponds to channel 1 etc When the bit is 0 it denotes that the counter edge for the channel is falling and 1 denotes that the counter edge for the channel is rising There will be no response if the com...

Page 75: ...UM CR Delimiter character to indicate a valid command Delimiter character to indicate an invalid command AA The address of the responding module in hexadecimal format 00 to FF There will be no respons...

Page 76: ...character to indicate a valid command Delimiter character to indicate an invalid command AA The address of the responding module in hexadecimal format 00 to FF Data The firmware version information f...

Page 77: ...to indicate an invalid command 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...

Page 78: ...format 00 to FF Data The status of the latched Digital Output and Digital Input channels represented by a four digit hexadecimal value followed by 00 There will be no response if the command syntax is...

Page 79: ...een cleared Command 01L2 Response 01 Attempts to read the status of the high latched Digital Output and Digital Input channels of module 01 but returns a response indicating that the command was unsuc...

Page 80: ...aracter to indicate an invalid command AA The address of the responding module in hexadecimal format 00 to FF Data The name of the module as a string value There will be no response if the command syn...

Page 81: ...orted 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...

Page 82: ...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 Ex...

Page 83: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 83 Related Commands Section 2 33 AAP Related Topics Section 5 1 INIT Mode...

Page 84: ...x is incorrect there is a communication error or there is no module with the specified address Note If the accuracy of either the Analog Input or the Analog Output is not within the specifications the...

Page 85: ...host is OK Syntax CHKSUM CR Delimiter character 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 Re...

Page 86: ...es that a Host Watchdog timeout has occurred Bit 7 0 indicates that the Host Watchdog is disabled and 1 indicates that the Host Watchdog is enabled There will be no response if the command syntax is i...

Page 87: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 87 Section 2 36 Section 2 38 AA1 Section 2 39 AA2 Section 2 40 AA3ETT Related Topics Section 5 2 Dual Watchdog Operation...

Page 88: ...se if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 010 Response 0104 Reads the status of the Host Watchdog for modul...

Page 89: ...o digit hexadecimal value that represents the timeout value in tenths of a second For example 01 denotes 0 1 seconds and FF denotes 25 5 seconds There will be no response if the command syntax is inco...

Page 90: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 90 Section 5 2 Dual Watchdog Operation...

Page 91: ...indicate a valid command Delimiter character to indicate an invalid command AA The address of the responding module in hexadecimal format 00 to FF There will be no response if the command syntax is in...

Page 92: ...M 7026 User Manual Rev 1 5 Date 2016 03 10 92 Note When a Host Watchdog timeout occurs the Host Watchdog will be disabled In this case the AA3ETT command should be sent again to re enable the Host Wa...

Page 93: ...inactive and 1 denotes that the Digital Output power on is active SS A two digit hexadecimal value representing the status of the Digital Output safe value where bit 0 corresponds to Digital Output c...

Page 94: ...or module 01 and returns a response indicating that the command was successful with a value of 0102 which denotes that the power on value for Digital Output channel 0 is active and is inactive for all...

Page 95: ...if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 010 06 000 Response Sets the Analog Output value for Analog Output c...

Page 96: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 96 Related Commands Section 2 5 AAN Data Section 2 43 AA5N Related Topics Section 1 9 5 Analog Output Type Codes and Data Format...

Page 97: ...e is no module with the specified address Examples Command 010 06 000 Response Sets the Analog Output value for Analog Output channel 0 of module 01 to 06 000 6 0 V and returns a response indicating t...

Page 98: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 98 Related Topics Section 1 9 5 Analog Output Type Codes and Data Format...

Page 99: ...hannel 1 etc When the bit is 0 it denotes that the Digital Output safe value is inactive and 1 denotes that the Digital Output safe value is active Response Valid Command AA CHKSUM CR Invalid Command...

Page 100: ...1 and returns a response indicating that the command was successful with a value of 0102 which denotes that the power on value for Digital Output channel 0 is active and is inactive for all other chan...

Page 101: ...ous settings as indicated in the tables below 7 6 5 4 3 2 1 0 Reserved OA IA Key Description IA Bit 0 Specifies the active state of the Digital Input signal 0 An input value of 0 indicates that the in...

Page 102: ...e in inactive mode and returns a response indicating that the command was successful Command 01D Response 0101 Reads the miscellaneous settings for module 01 and returns a response indicating that the...

Page 103: ...e input is connected to a COM port 1 An input value of 0 indicates that the input is connected to a COM port An input value of 1 indicates that the input is floating OA Bit 1 Specifies the active stat...

Page 104: ...e and returns a response indicating that the command was successful Command 01D Response 0101 Reads the miscellaneous settings for module 01 and returns a response indicating that the command was succ...

Page 105: ...decimal 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 This command must be sent befo...

Page 106: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 106 Section 2 35 AAS1 Related Topics Section 1 8 Calibration...

Page 107: ...dule 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 01T10...

Page 108: ...ess 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...

Page 109: ...alue representing 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...

Page 110: ...ress 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 addres...

Page 111: ...iter character to indicate an invalid command 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 communicati...

Page 112: ...syntax is incorrect there is a communication error or there is no module with the specified address Example Command 01REC1 Response 0165535 Reads data from Digital Input channel 1 of module 01 and re...

Page 113: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 113 Section 2 68 AARECi...

Page 114: ...se if the command syntax is incorrect there is a communication error or there is no module with the specified address Examples Command 01RH0 Response 01 05 000 Reads the high latch value for Analog In...

Page 115: ...communication error or there is no module with the specified address Examples Command 01RAO Response 018000 Reads the current status of the alarms associated with module 01 and returns a response ind...

Page 116: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 116 Section 2 64 AAHI Data Ci Section 2 66 AARACi Section 2 67 AARAO Section 2 70 AARHCi...

Page 117: ...re is a communication error or there is no module with the specified address Examples Command 01RH1 Response 01 06 000 Reads the high latch value for Analog Input channel 1 of module 01 and returns a...

Page 118: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 118 Section 2 54 AACH Section 2 69 AARH Section 2 71 AARHi...

Page 119: ...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 01RL0 Response 01 05 000 Reads the low latch value f...

Page 120: ...a communication error or there is no module with the specified address Examples Command 01RAO Response 010020 Reads the current status of the alarms associated with module 01 and returns a response in...

Page 121: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 121 Section 2 65 AALO Data Ci Section 2 66 AARACi Section 2 67 AARAO Section 2 73 AARLCi...

Page 122: ...there is a communication error or there is no module with the specified address Examples Command 01RL1 Response 01 06 000 Reads the low latch value for Analog Input channel 1 of module 01 and returns...

Page 123: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 123 Section 2 57 AACL Section 2 72 AARL Section 2 74 AARLi...

Page 124: ...s incorrect there is a communication error or there is no module with the specified address Examples Command 01RAC0 Response 011 Reads the Alarm Type for Analog Input channel 0 of module 01 and return...

Page 125: ...026 M 7026 User Manual Rev 1 5 Date 2016 03 10 125 Section 2 63 AAEATCi Section 2 64 AAHI Data Ci Section 2 65 AALO Data Ci Section 2 66 AARACi Section 2 67 AARAO Section 2 70 AARHCi Section 2 73 AARL...

Page 126: ...the Digital Output channel is inactive and 1 denotes that the channel is active II A two digit hexadecimal value to denote the status of the Digital Input where bit 0 corresponds to Digital Input cha...

Page 127: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 127 Section 2 62 AADODD...

Page 128: ...lid command 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 wit...

Page 129: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 129 Related Commands Section 2 61 AADI...

Page 130: ...g 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 01...

Page 131: ...7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 131 Section 2 60 AADACi Section 2 64 AAHI Data Ci Section 2 65 AALO Data Ci Section 2 66 AARACi Section 2 67 AARAO Section 2 70 AARHCi Section 2 73 AARL...

Page 132: ...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 Ex...

Page 133: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 133 Related Topics Section 1 9 4 Analog Input Type Codes and Data Format...

Page 134: ...e 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 a...

Page 135: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 135 Related Topics Section 1 9 4 Analog Input Type Codes and Data Format...

Page 136: ...arm disabled 1 Momentary 2 Latched 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 01EAMC0...

Page 137: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 137 AARAO Section 2 70 AARHCi Section 2 73 AARLCi...

Page 138: ...t is 1 it denotes that there is an activated high alarm associated with the channel LL A two digit hexadecimal value representing the currently activated low alarms associated with the module where bi...

Page 139: ...ommand was successful Command 01RAO Response 010000 Reads the currently activated alarms associated with module 01 and returns a response indicating that the command was successful and that no alarms...

Page 140: ...5 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 01REC0 Response 0165535 Reads the counte...

Page 141: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 141 Related Commands Section 2 53 AACECi...

Page 142: ...2 1 See Section 1 9 4 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 Examp...

Page 143: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 143 Section 1 9 4 Analog Input Type Codes and Data Format...

Page 144: ...rmat See Section 1 9 4 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 Examp...

Page 145: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 145 AARAO Related Topics Section 1 9 4 Analog Input Type Codes and Data Format...

Page 146: ...tion 1 9 4 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 Examples Command...

Page 147: ...7026 User Manual Rev 1 5 Date 2016 03 10 147 Related Commands Section 2 1 AANNTTCCFF Section 2 54 AACH Section 2 56 AACHi Section 2 69 AARH Related Topics Section 1 9 4 Analog Input Type Codes and Dat...

Page 148: ...4 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 Examples Command 01RL Res...

Page 149: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 149 Related Topics Section 1 9 4 Analog Input Type Codes and Data Format...

Page 150: ...at See Section 1 9 4 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 Example...

Page 151: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 151 Related Topics Section 1 9 4 Analog Input Type Codes and Data Format...

Page 152: ...ection 1 9 4 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 Examples Comman...

Page 153: ...7026 User Manual Rev 1 5 Date 2016 03 10 153 Related Commands Section 2 1 AANNTTCCFF Section 2 57 AACL Section 2 59 AACLi Section 2 72 AARL Related Topics Section 1 9 4 Analog Input Type Codes and Dat...

Page 154: ...or more valuable information Function Code Description Section 02 0x02 Reads the status of the Digital Input channels 3 1 04 0x04 Reads the Analog Input channels 3 2 05 0x05 Writes to a single Digital...

Page 155: ...ds to channel 1 etc 04 05 Number of Input Channels N 2 Bytes N 1 to 5 Starting channel N Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x02 02 Byte Count 1 Byte 1 03 Data from Input Chan...

Page 156: ...Number of Input Channels N 2 Bytes N 1 to 6 starting channel N Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x04 02 Byte Count 1 Byte 2 x N 03 Data from Input Channels 2 x N Bytes Data...

Page 157: ...0x05 02 03 Starting Channel 2 Bytes 0 to 3 04 05 Data 2 Bytes FF00h for ON and 0000h for OFF Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x04 02 03 Byte Count 1 Byte 0 to 3 04 05 Data...

Page 158: ...channel 0 and 0x21 corresponds to channel 1 etc 04 05 Data 2 Bytes Analog Output value Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x06 02 03 Starting Channel 1 Byte 0x20 to 0x21 where...

Page 159: ...tput Channels N 2 Bytes N 1 to 2 starting channel N 06 Byte Count 1 Byte 2 x N 07 Data 2 Bytes Analog Output values Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x10 02 03 Starting Chan...

Page 160: ...ings 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 Information 3 4 7 37 0x25 Reads whether a Specific Channel is Enabled or Disabled 3 4 8...

Page 161: ...t 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x46 02 Sub function Code 1 Byte 0x00 Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x46 02 Sub function Code 1 Byte 0x00 03 06 Modul...

Page 162: ...New Address 1 Byte 1 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 The address that was set 1 Byte 0...

Page 163: ...5 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 The Baud Rate code see Section 1...

Page 164: ...for details 05 07 Reserved 3 Bytes 0x00 0x00 0x00 08 Protocol 1 Byte 0 DCON 1 Modbus RTU 09 10 Reserved 2 Bytes 0x00 0x00 11 Reserved 1 Bytes 0x00 Response 00 Address 1 Byte 1 to 247 01 Function Code...

Page 165: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 165 should be filled with zero or an incorrect number of bytes were received...

Page 166: ...0x46 02 Sub function Code 1 Byte 0x07 03 Reserved 1 Byte 0x00 04 Channel Number 1 Byte 0x00 to 0x05 Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x46 02 Sub function Code 1 Byte 0x07 0...

Page 167: ...3 Reserved 1 Byte 0x00 04 Channel Number 1 Byte 0x00 to 0x05 05 Type Code 1 Byte The Type Code see Section 3 6 for details Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x46 02 Sub funct...

Page 168: ...te 0x46 02 Sub function Code 1 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 to 0xFF 04 Minor Version 1 Byte...

Page 169: ...nction Code 1 Byte 0x25 Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x46 02 Sub function Code 1 Byte 0x25 03 Status Enabled disabled 1 Byte 0x00 to 0x0F the status of each channel wher...

Page 170: ...0x0F the 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 chann...

Page 171: ...0x46 02 Sub function Code 1 Byte 0x29 Response 00 Address 1 Byte 1 to 247 01 Function Code 1 Byte 0x46 02 Sub function Code 1 Byte 0x29 03 Miscellaneous Settings 1 Byte Bit 7 Filter Settings 0 60 Hz...

Page 172: ...laneous Settings 1 Byte Bit 7 Filter Settings 0 60 Hz Rejection 1 50 Hz Rejection Bit 6 Reserved Bit 5 Mode Settings 0 Normal Mode 1 Fast Mode Bits 4 to 0 Reserved Response 00 Address 1 Byte 1 to 247...

Page 173: ...257 Reads sets the Communication Protocol 0 DCON 1 Modbus RTU R W 00259 Reads sets the Filter Settings 0 60 Hz Rejection 1 50 Hz Rejection R W 00260 Reads sets the Host Watchdog Mode 0 The same as for...

Page 174: ...W 00281 Clears the low latch values for all Analog Input channels Write 1 to clear W 00284 Enables or disables calibration or reads the status of the calibration function 0 Disabled 1 Enabled R W 0028...

Page 175: ...r not Analog Input channels 0 to 5 are under range R 10241 10242 Reads the status of the wire connection for Analog Output channels 0 to 1 R 30001 30006 Reads the Analog Input value for channels 0 to...

Page 176: ...85 Reads the Module address The valid range is 0x1 to 0xF7 R W 40486 Reads writes the Baud Rate Bits 5 0 Baud Rate Bits 7 6 Reserved R W 40488 Reads writes the Response Delay Time in ms The valid rang...

Page 177: ...10000 10000 09 5 to 5 V 5000 5000 0A 1 to 1 V 10000 10000 0B 500 to 500 mV 5000 5000 0C 150 to 150 mV 15000 15000 0D 20 to 20 mA 20000 20000 1A 0 to 20 mA 0 20000 Type Code Analog Input Type F S F S 0...

Page 178: ...N 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...

Page 179: ...odule 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 EEPR...

Page 180: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 180...

Page 181: ...tchdog 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 oc...

Page 182: ...owing 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...

Page 183: ...M 7026 M 7026 User Manual Rev 1 5 Date 2016 03 10 183...

Page 184: ...e 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...

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

Reviews: