background image

 

I-7088 and M-7088 User Manual, Rev: A1.2 7MH-026-A12 

90

Examples: 

Command: 

$01M 

Response: 

!017088 

Reads the name of module 01 and returns the name “7088”. 

Related Commands: 

Section 2.46 ~AAO(Name) 

 

Содержание I-7088

Страница 1: ...is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyri...

Страница 2: ...Counter Wiring Connections 11 1 5 Quick Start 12 1 6 Default Settings 14 1 7 Configuration Tables 15 2 DCON Protocol 16 2 1 AANNTTCCFF 21 2 2 AA 25 2 3 AAN 27 2 4 AA1cDD 29 2 5 AAAcDD 31 2 6 AA2 33 2...

Страница 3: ...2 33 AAI 87 2 34 AAM 89 2 35 AAP 91 2 36 AAPN 93 2 37 AAR 95 2 38 AAW 97 2 39 AAYS 99 2 40 AADODD 101 2 41 AADI 103 2 42 AAGN 105 2 43 AAPN Data 107 2 44 AAD 109 2 45 AADVV 111 2 46 AAO Name 113 2 47...

Страница 4: ...6 Set communication settings 142 3 3 5 Sub function 32 0x20 Read firmware version 144 3 3 6 Sub function 41 0x29 Read miscellaneous 145 3 3 7 Sub function 42 0x2A Write miscellaneous settings 146 3 4...

Страница 5: ...I 7088 will also automatically save the counter value to EEPROM if the power supply is interrupted or lost Refer to Section 1 7 for details Features Automatic hardware generation of PWM outputs witho...

Страница 6: ...the brightness of lamps Controlling the speed of fans More Information Refer to Chapter 1 of the I 7000 Bus Converter User Manual for more information regarding the following 1 1 I 7000 Overview 1 2...

Страница 7: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 7 1 1 Pin Assignments...

Страница 8: ...otection 4 kV Contact for each terminal and 8 kV Air for random points Isolation 2500 VDC Digital Input Channels 8 Type Sink Isolated ON Voltage Level 2 4 V 5 V OFF Voltage Level 1 V Max Max Frequency...

Страница 9: ...Dimensions 72mm x 122mm x 35mm W x L x H Power Input Voltage Range 10 30 VDC Power Consumption 2 4 W max Power Reverse Polarity Protection Yes 4 kV ESD 4 kV EFT and 3 kV Surge Protection Yes Environm...

Страница 10: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 10 1 3 Block Diagram...

Страница 11: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 11 1 4 Application Wiring 1 4 1 PWM Wiring Connections 1 4 2 DI Counter Wiring Connections...

Страница 12: ...01 4 Type 0132FFFFFFFF Enter Receive 01 5 Type 0162 Enter Receive 01 6 Type 012 Enter Receive 00000000 7 Type 01504 Enter Receive 01 8 Type 012 Enter Receive xxxxxxxx Step 1 Read the DI status channel...

Страница 13: ...01100000 2 Type 01C0D50 0 Enter Receive 0150 0 3 Type 01C0M1 Enter Receive 01 4 Type 01DO01 Enter Receive 01 Step 1 Set the frequency of PWM channel 0 to 100 KHz Step 2 Set the duty cycle of PWM chann...

Страница 14: ...Rev A1 2 7MH 026 A12 14 1 6 Default Settings The default settings are as follows Address 01 Baud Rate 9600 Checksum disabled Data 1 Start 8 Data 1 Stop no parity PWM Frequency 10 KHz PWM Duty Cycle 5...

Страница 15: ...ty and one stop bit 01 No parity and two stop bits 10 Even parity and one stop bit 11 Odd parity and one stop bit Configuration Code Table TT TT Input Range 50 Counter 52 Virtual Battery Backup Note F...

Страница 16: ...user command All commands sent to a module contain the ID address meaning that only the addressed module will respond The only exception to this is command Section 2 49 which is sent to all modules bu...

Страница 17: ...ing with the checksum 012B7 CR Response string 01200600 CR The sum of the string 0 1 2 0 0 6 0 0 21h 30h 31h 32h 30h 30h 36h 30h 30h 1AAh Therefore the checksum is AAh and so CHKSUM AA The response st...

Страница 18: ...ta Reads the count of a specific channel 2 3 AA1cDD Sets the output for a specific PWM channel 2 4 AAAcDD Sets the output for a specific PWM channel 2 5 AA3N AA Reads the max counter value of a specif...

Страница 19: ...the continuous mode for a specific channel 2 25 AACnP AA data Reads the PWM step value of a specific channel 2 26 AACnP data AA Sets the PWM step value for a specific channel 2 27 AACnT AAS Reads the...

Страница 20: ...og Command Sets Command Response Description Section No Response The Host is OK 2 49 AA0 AASS Reads the status of the Host Watchdog 2 50 AA1 AA Resets the status of the Host Watchdog 2 51 AA2 AAETT Re...

Страница 21: ...in hexadecimal format 00 to FF TT The new Type Code see Section 1 7 for details CC The new Baud Rate code see Section 1 7 for details For the I 7088 the rear slide switch must be moved to the INIT pos...

Страница 22: ...n the module will return an invalid command AA The address of the module in hexadecimal format 00 to FF There will be no response if the command syntax is incorrect there is a communication error or t...

Страница 23: ...turns an invalid response because it is not in INIT mode Command 0202520A00 Response 01 Changes the Baud Rate of module 02 to 115200bps and the module is in INIT mode The module returns a valid respon...

Страница 24: ...effect on the next power on reset 2 For the I 7088 changing the Baud Rate and checksum settings can only be achieved using software and are performed by using the following commands I Send an AATnn c...

Страница 25: ...ad 00 to FF Response Valid Command Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command Data The count data from all DI channe...

Страница 26: ...anual Rev A1 2 7MH 026 A12 26 Examples Command 01 Response 0000000800000090000000A000000B000000C00000 0D000000E0000000F Reads module 01 and returns the count of DI channel 0 8 channel 1 9 etc Related...

Страница 27: ...ased Response Valid Command Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if the specifi...

Страница 28: ...Examples Command 032 Response 00000008 Reads data from channel 2 of module 03 and returns a valid response Command 029 Response 02 Reads data from channel 9 of module 02 An error is returned because...

Страница 29: ...tatus of the PWM c Specifies the channel to be set DD 00 Sets the PWM output port to off 01 Sets the PWM output port to on Response Valid Command CHKSUM CR InValid Command AA CHKSUM CR Delimiter chara...

Страница 30: ...ev A1 2 7MH 026 A12 30 Examples Command 011201 Response Sets the output of PWM channel 2 to on and returns a valid response Related Commands Section 2 5 AAAcDD Section 2 40 AADODD Note This command is...

Страница 31: ...status of the PWM c Specifies the channel to be set DD 00 Sets the PWM output port to off 01 Sets the PWM output port to on Response Valid Command CHKSUM CR InValid Command AA CHKSUM CR Delimiter char...

Страница 32: ...ev A1 2 7MH 026 A12 32 Examples Command 01A201 Response Sets the output of PWM channel 2 to on and returns a valid response Related Commands Section 2 4 AA1cDD Section 2 40 AADODD Note This command is...

Страница 33: ...lid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF TT The Type Code of the module see Section...

Страница 34: ...012 Response 01500600 Reads the configuration of module 01 and returns a valid response Command 022 Response 02520600 Reads the configuration of module 02 and returns a valid response Related Commands...

Страница 35: ...ead zero based Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned i...

Страница 36: ...7088 User Manual Rev A1 2 7MH 026 A12 36 Examples Command 0130 Response 01FFFFFFFF Reads the maximum counter value of channel 0 at address 01 returns a value of 4294967295 Related Commands Section 2...

Страница 37: ...mum counter value N The channel to be set zero based Data 8 hexadecimal digits 00000001 to FFFFFFFF representing the maximum counter value Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM...

Страница 38: ...A1 2 7MH 026 A12 38 Examples Command 030FFFFFFFF Response 03 Sets the maximum counter value of counter 0 at address 03 to 4294967295 and returns a response indicating that the command was successful...

Страница 39: ...character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF S The reset status of the module 0 This is not the first time the command has...

Страница 40: ...ds the reset status of module 01 The response shows that it is the first time the AA5 command has been sent since the module was powered on Command 015 Response 010 Reads the reset status of module 01...

Страница 41: ...value where bit 0 corresponds to channel 0 and bit 1 corresponds channel 1 etc When the bit is 0 it denotes that the channel is disabled and 1 denotes that the channel is enabled Response Valid Comma...

Страница 42: ...ual Rev A1 2 7MH 026 A12 42 Examples Command 0153A Response 01 Enables the DI counter for channels 1 3 4 and 5 of module 01 and disables all other channels The module returns a valid response Related...

Страница 43: ...R InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF VV A two digit hexadecimal value wher...

Страница 44: ...2 7MH 026 A12 44 Examples 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...

Страница 45: ...unter N Specifies the channel to be reset zero based Response Valid Command AAVV CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid comma...

Страница 46: ...2 7MH 026 A12 46 Examples Command 0160 Response 01 Resets the counter 0 of module 01 to the preset value and returns a valid response indicating that the command was successful Related Commands Secti...

Страница 47: ...0 bit 1 corresponds channel 1 etc When the bit is 0 it means that the channel is inactive and 1 means that the channel has been reset Response Valid Command AAVV CHKSUM CR InValid Command AA CHKSUM CR...

Страница 48: ...6 A12 48 Examples Command 01601 Response 01 Resets the counter 0 of module 01 to the preset value and returns a valid response indicating that the command was successful Related Commands Section 2 42...

Страница 49: ...the channel to be read zero based Response Valid Command AAS CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid comman...

Страница 50: ...unication error or there is no module with the specified address Examples Command 0170 Response 010 Reads the status of the overflow flag for counter 0 of module 01 and returns a response indicating t...

Страница 51: ...ommand AAS CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if the specified channel is incorrec...

Страница 52: ...Rev A1 2 7MH 026 A12 52 Examples Command 018 Response 010 Read the configuration of the LED and returns a response indicating the LED is showing the count for DI channel 0 Related Commands Section 2...

Страница 53: ...Shows the count of channels 0 7 8 Rotates mode 9 Host control mode Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an...

Страница 54: ...M 7088 User Manual Rev A1 2 7MH 026 A12 54 Examples Command 0181 Response 01 Sets the LED to show the count for DI channel 1 and returns a valid response Related Commands Section 2 15 AA8V Section 2 1...

Страница 55: ...D display Data 5 decimal digits 1 decimal point Max 99999 Min 0 0000 Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an...

Страница 56: ...r Manual Rev A1 2 7MH 026 A12 56 Examples Command 0199999 Response 01 Displays 99999 when the configuration LED is set to Host Control mode and returns a valid response Related Commands Section 2 15 A...

Страница 57: ...read the power down count Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the...

Страница 58: ...7088 User Manual Rev A1 2 7MH 026 A12 58 Examples Command 01B Response 0110 Reads the power down count for module 01 and returns a response indicating that has happened 16 times Related Commands Secti...

Страница 59: ...be read 00 to FF BR The command to clear the power down count Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an inval...

Страница 60: ...indicating that has happened 16 times Command 01BR Response 01 Clears the power down count of module 01 and returns a valid response indicating that the command was successful Command 01B Response 010...

Страница 61: ...the duty cycle value Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is ret...

Страница 62: ...and 01C0D Response 0150 0 Reads the duty cycle value for PWM channel 0 of module 01 and returns a value of 50 Command 01C1D Response 0133 3 Reads the duty cycle value for PWM channel 1 of module 01 an...

Страница 63: ...the duty cycle value Data The duty cycle value for the specified channel 00 1 to 99 9 Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Deli...

Страница 64: ...onse 0150 0 Sets the duty cycle value for PWM channel 0 of module 01 to 50 and returns the true output value of 50 Command 01C1D33 4 Response 0133 3 Sets the duty cycle of PWM channel 1 of module 01 t...

Страница 65: ...frequency value Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned...

Страница 66: ...01C0F Response 01500000 Reads the frequency value for PWM channel 0 of module 01 and returns a value of 500 KHz Command 01C2F Response 01000001 Reads the frequency value for PWM channel 2 of module 0...

Страница 67: ...the frequency value Data The frequency value for the specified channel 000001 to 500000 Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command De...

Страница 68: ...500 KHz The duty cycle value will be automatically set to 50 0 Command 01C2F340000 Response 01333333 Sets the frequency value for PWM channel 2 of module 01 to 340 KHz and returns the actual frequenc...

Страница 69: ...ead the continuous mode Response Valid Command AAS CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is retur...

Страница 70: ...the PWM continuous mode of channel 0 and returns a response indicating that it is disabled Command 01C1M Response 011 Reads the PWM continuous mode of channel 1 and returns a response indicating that...

Страница 71: ...us mode S 0 Disables the PWM continuous mode 1 Enables the PWM continuous mode If the PWM continuous mode is enabled the step value for PWM will be automatically set to 1 Response Valid Command AA CHK...

Страница 72: ...nnel 0 to enabled and returns a valid response The PWM step value will be automatically set to 1 Command 01C1M0 Response 01 Sets the PWM continuous mode of channel 1 to disabled and returns a valid re...

Страница 73: ...ommand to read the PWM step value Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid co...

Страница 74: ...C0P Response 01001A Reads the PWM step value for channel 0 and returns a value of 26 steps Command 01C1P Response 011000 Reads the PWM step value for channel 1 and returns a value of 4096 steps Relate...

Страница 75: ...ommand to set the PWM step value Data The PWM steps 0001 to FFFF When set to more than 1 step the PWM continuous mode will be automatically set to disabled Response Valid Command AA CHKSUM CR InValid...

Страница 76: ...lue for channel 0 to 1 and returns a valid response Command 01C1P001A Response 01 Sets the PWM step value for channel 1 to 4096 steps and returns a valid response The PWM continuous mode for channel 1...

Страница 77: ...hardware trigger Response Valid Command AAS CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is returned if...

Страница 78: ...eturns a response indicating that the PWM channel 0 trigger will start when the rising edge of the DI is received Command 01C1T Response 010 Reads the status of the hardware trigger for PWM channel 1...

Страница 79: ...dware trigger S 0 Disables the hardware trigger 1 Enables the trigger start 2 Enables the trigger stop Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid...

Страница 80: ...nd returns a valid response When the rising edge of the DI is received the status of the PWM will be set to trigger stop Command 01C1T0 Response 010 Sets the status of the hardware trigger for PWM cha...

Страница 81: ...d the PWM synchronization status Response Valid Command AAS CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command...

Страница 82: ...Reads the synchronization status of PWM channel 0 and returns a response indicating that it is enabled Command 01C1N Response 010 Reads the synchronization status of PWM channel 1 and return a respon...

Страница 83: ...et the PWM synchronization S 0 Disables the PWM synchronization 1 Enables the PWM synchronization Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid comma...

Страница 84: ...1 Response 01 Sets the synchronization status for PWM channel 0 to enabled and returns a valid response Command 01C1N0 Response 01 Sets the synchronization status for PWM channel 1 to disabled and ret...

Страница 85: ...mmand to read the firmware version Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The addre...

Страница 86: ...A1 2 7MH 026 A12 86 Examples Command 01F Response 01A2 0 Reads the firmware version of module 01 and shows that it is version A2 0 Command 02F Response 02B1 1 Reads the firmware version of module 02...

Страница 87: ...atus of the INIT switch of the module Response Valid Command AAS CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The addres...

Страница 88: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 88 Examples Command 01I Response 010 Reads the status of the INIT switch of module 01 The response shows that the INIT switch is in the INIT position...

Страница 89: ...command to read the module name Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address...

Страница 90: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 90 Examples Command 01M Response 017088 Reads the name of module 01 and returns the name 7088 Related Commands Section 2 46 AAO Name...

Страница 91: ...esponse Valid Command AASC CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF S...

Страница 92: ...Response 0110 Reads which communication protocol is being used by 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...

Страница 93: ...nd the rear slide switch must be in the INIT position see Section A 1 for details The new protocol is saved in the EEPROM and will be effective after the next power on reset Response Valid Command AAS...

Страница 94: ...e 01 Sets the communication protocol for 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 for mod...

Страница 95: ...be reset 00 to FF R The command to reset the PWM Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA...

Страница 96: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 96 Examples Command 01R Response 01 Resets the PWM and stops all of the outputs and returns a valid response...

Страница 97: ...accessed 00 to FF W The command to save the PWM configuration Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an inval...

Страница 98: ...98 Examples Command 01W Response 01 Saves the PWM configuration for all channels into the EEPROM and returns a valid response After the next power on the PWM configuration will be automatically loade...

Страница 99: ...d to set the PWM synchronization S 0 Stops the PWM synchronization 1 Starts the PWM synchronization Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid com...

Страница 100: ...H 026 A12 100 Examples Command 01Y1 Response 01 Starts the PWM output that has been set to synchronized and returns a valid response Command 01Y0 Response 01 Stops the PWM output that has been set to...

Страница 101: ...re bit 0 corresponds to PWM channel 0 and bit 1 corresponds to PWM channel 1 etc When the bit is 0 it denotes that the PWM output port is off and 1 denotes that the PWM output port is on Response Vali...

Страница 102: ...channel 0 to on channel 1 to on channel 2 to off channel 3 to off channel 4 to on and channel 5 to on and the module returns a valid response Related Commands Section 2 41 AADI Note When a Host Watchd...

Страница 103: ...d Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF OO A two digit hexadecimal value where bit 0...

Страница 104: ...there is no module with the specified address Examples Command 01DI Response 0101F0 Reads the status of the PWM and DI and returns a response indicating that PWM channel 0 is active and the others ar...

Страница 105: ...el to be read zero based Response Valid Command AA Data CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command An invalid command is...

Страница 106: ...al Rev A1 2 7MH 026 A12 106 Examples Command 01G0 Response 0100000000 Reads the preset count value for counter 0 of module 01 and returns a response indicating that the preset value is 0 Related Comma...

Страница 107: ...e of the DI counter N Specifies the channel to be set zero based Data 8 hexadecimal digits 00000000 to FFFFFFFE representing the preset count value Response Valid Command AA CHKSUM CR InValid Command...

Страница 108: ...Rev A1 2 7MH 026 A12 108 Examples Command 01P000000000 Response 01 Sets the preset count value for counter 0 of module 01 to 0 and returns a response indicating that the command was successful Relate...

Страница 109: ...aracter for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF VV A two digit hexadecimal value where bit 0 corresponds to the active status of...

Страница 110: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 110 Examples Command 01D Response 0101 Reads the miscellaneous settings of module 01 and returns a value of 01 Related Commands Section 2 45 AADVV...

Страница 111: ...of the DI as indicated below The other bits are reserved 0 Input value 1 for non signal or low voltage Input value 0 for high voltage 1 Input value 1 for high voltage Input value 0 for non signal or l...

Страница 112: ...I 7088 and M 7088 User Manual Rev A1 2 7MH 026 A12 112 Examples Command 01D01 Response 01 Sets the miscellaneous settings of module 01 and returns a valid response Related Commands Section 2 44 AAD...

Страница 113: ...he command to set the name of the module Name The new name of the module max 6 characters Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delim...

Страница 114: ...2 7MH 026 A12 114 Examples Command 01O7088 Response 01 Sets the name of module 01 to 7088 and returns a valid response Command 01M Response 017088 Reads the name of module 01 and returns the name 708...

Страница 115: ...SUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command TT Two hexadecimal digits to represent the response time value in milliseconds Th...

Страница 116: ...D10 Response 01 Sets the response time to 16 milliseconds and returns a valid response Command 01RD Response 0110 Reads the response time and returns a value of 16 milliseconds The response will be se...

Страница 117: ...sent the response time value in milliseconds The value must be less than or equal to 1E For example 01 denotes 1 millisecond and 1A denotes 26 milliseconds Response Valid Command AA CHKSUM CR InValid...

Страница 118: ...RD10 Response 01 Sets the response time to 16 milliseconds and returns a valid response Command 01RD Response 0110 Reads the response time and returns a value of 16 milliseconds The response will be s...

Страница 119: ...ules that the Host is OK Syntax CHKSUM CR Delimiter character The Host OK command Response No response Examples Command No response Sends a Host OK command to all modules Related Commands Section 2 50...

Страница 120: ...A CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF SS Two hexadecimal digits that represent the status of t...

Страница 121: ...100 Reads the status of the Host Watchdog of module 01 and returns 00 meaning that the Host Watchdog is disabled and no Host Watchdog timeout has occurred Command 020 Response 0204 Reads the status of...

Страница 122: ...to be reset 00 to FF 1 The command to reset the timeout status of the Host Watchdog Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter...

Страница 123: ...ccurred Command 011 Response 01 Resets the timeout status of the Host Watchdog of module 01 and returns a valid response Command 010 Response 0100 Reads the status of the Host Watchdog of module 01 an...

Страница 124: ...TT CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid command Delimiter character for an invalid command AA The address of the responding module 00 to FF E 0 The Host Watchdog is d...

Страница 125: ...the Host Watchdog timeout value of module 01 and returns FF which denotes that the Host Watchdog is enabled and the Host Watchdog timeout value is 25 5 seconds Related Commands Section 2 49 Section 2...

Страница 126: ...les the Host Watchdog 1 Enables the Host Watchdog TT Two hexadecimal digits to represent the timeout value in tenths of a second for example 01 denotes 0 1 seconds and FF denotes 25 5 seconds Response...

Страница 127: ...Watchdog timeout value of module 01 The module returns 164 which denotes that the Host Watchdog is enabled and the Host Watchdog timeout value is 10 0 seconds Related Commands Section 2 49 Section 2 5...

Страница 128: ...ter character AA The address of the module to be set 00 to FF I The command to set the software INIT Response Valid Command AA CHKSUM CR InValid Command AA CHKSUM CR Delimiter character for a valid co...

Страница 129: ...1I Response 01 Sets the software INIT of module 01 and returns a valid response Related Commands Section 2 1 AANNTTCCFF Section 2 55 AATnn Related Topics Section A 1 INIT Mode Note The AATnn command s...

Страница 130: ...the Baud Rate and checksum settings without altering the position of the INIT pin the AAI and AANNTTCCFF commands should be sent consecutively and the time interval between the two commands should be...

Страница 131: ...Response 01 Sets the software INIT of module 01 and returns a valid response Command 0101500700 Response 01 Attempts to change the Baud Rate of module 01 to 19200 without first altering the position o...

Страница 132: ...e 01 to 19200 without first altering the position of the INIT pin The module returns a valid response Related Commands Section 2 1 AANNTTCCFF Section 2 54 AAI Related Topics Section A 1 INIT Mode Note...

Страница 133: ...he Modbus RTU protocol The communication Baud Rates range from 1200bps to 115200bps The number of data bits is fixed to 8 The following Modbus functions are supported Function Code Description Section...

Страница 134: ...corresponds to channel 0 0x01 corresponds to PWM channel 1 etc 04 05 Number of input channels 2 Bytes N 1 to 8 Starting channel N This should be less than or equal to 0x08 Response 00 Address 1 Byte 1...

Страница 135: ...135 Error Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x82 02 Exception code 1 Byte 02 The starting channel is out of range 03 The starting channel number of input channels is out of r...

Страница 136: ...high word of channel 0 etc 04 05 Number of input channels N 2 Bytes N 1 to 8 Starting channel N should be less than or equal to 0x08 Response 00 Address 1 Byte 1 to 247 01 Function code 1 Byte 0x04 02...

Страница 137: ...3 3 1 04 0x04 Sets the module address 3 3 2 05 0x05 Reads the communication settings 3 3 3 06 0x06 Sets the communication settings 3 3 4 32 0x20 Reads the firmware version 3 3 5 41 0x29 Reads the misc...

Страница 138: ...ddress 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 Module name...

Страница 139: ...w 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 Set address result 1 Byte 0 OK Othe...

Страница 140: ...sponse 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 0x03 0x0A Baud Rate code see Section 1 10 for details 05 Res...

Страница 141: ...aved 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 1 to 247 01 Function code 1 Byte 0xC6 02 Exception code 1 Byte 03...

Страница 142: ...Sub function code 1 Byte 0x06 03 Reserved 1 Byte 0x00 04 Baud Rate 1 Byte 0x03 0x0A Baud Rate code see Section 1 10 for details 05 Reserved 1 Byte 0x00 06 Parity 1 Byte 0x00 No parity 1 stop bit 0x01...

Страница 143: ...1 Byte 0x00 06 Parity 1 Byte 0 OK Others error 07 Reserved 1 Byte 0x00 08 Mode 1 Byte 0 OK Others error 09 10 Reserved 2 Bytes 0x00 0x00 Note The new Baud Rate and protocol will be effective after th...

Страница 144: ...1 to 247 01 Function code 1 Byte 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 0...

Страница 145: ...2 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 The checksum settings and the input r...

Страница 146: ...aneous settings 1 Byte The checksum settings and the input range settings of the module see Section 1 7 for details Note Reserved fields are filled with zeros Response 00 Address 1 Byte 1 to 247 01 Fu...

Страница 147: ...l 0 DCON 1 Modbus RTU R W 00260 Modbus Host Watchdog mode 0 The same as I 7000 series modules 1 The AO and DO command will clear Host Watchdog timeout status R W 00261 Host Watchdog 0 Disabled 1 Enabl...

Страница 148: ...30016 DI count 30001 low word of channel 0 30002 high word of channel 0 etc R 30769 30776 PWM burst count Condition PWM mode burst PWM status stop R 30481 Firmware version low word R 30482 Firmware v...

Страница 149: ...e 0x03 0x04 0x05 0x06 Baud 1200 2400 4800 9600 Code 0x07 0x08 0x09 0x0A Baud 19200 38400 57600 11520 0 Bits 7 6 00 No parity 1 stop bit 01 No parity 2 stop bits 10 Even parity 1 stop bit 11 Odd parity...

Страница 150: ...settings are as follows Address 00 Baud Rate 9600 Checksum Disabled Data Format 1 Start 8 Data 1 stop If the INIT pin is disconnected from the GND pin the I 7000 module will be automatically configur...

Страница 151: ...sent by the host to clear the module status to 0 and then the module will accept AADO commands again 3 The PWM configuration will be loaded from EEPROM after being powered on for the first time 4 Afte...

Страница 152: ...Examples If the frequency is 500000Hz Supports a duty cycle of 50 only If the frequency is 333333Hz Supports duty cycles of 33 3 and 66 6 only If the frequency is 400000Hz Modifies the frequency to 3...

Страница 153: ...nown To help avoid this problem the I 7000 and M 7000 series has a special mode called INIT mode When the module is powered on in INIT mode the configuration of the module is reset to the default sett...

Страница 154: ...cessed by connecting the INIT terminal to the GND terminal New I 7000 and M 7000 modules have an INIT switch located on the rear of the module to allow easier access to INIT mode For these modules INI...

Страница 155: ...e function that monitors the operating status of the host Its purpose is to prevent problems due to network communication errors or host malfunctions When a Host Watchdog timeout occurs the module wil...

Страница 156: ...assing ESD allowing enhanced static protection ESD capabilities and ensures that the module is more reliable Either of the following options will provide a better protection for the module 1 If the mo...

Страница 157: ...t can easily be connected to the earth ground Each rail is made of stainless steel which is stronger than those made of aluminum There is a screw at one end and a ring terminal is included as shown in...

Страница 158: ...Rate etc One minor drawback is that there are no visual indications of the configuration of the module New I 7000 and M 7000 modules include node information areas that are protected by a cover as sh...

Страница 159: ...d to check whether the module has recently been reset When 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...

Отзывы: