ICP DAS USA M-7065 User Manual Download Page 100

 

 

M-7065 User’s Manual

 

Ver2.0, Dec. /200

8

 

---

100

 

Supported modules : 

M-7065

 

Valid starting 

channel 

DO : 0x00 00~0x0004 

DI : 0x0020~0x0 023 

High Latched DI Channel : 0x0040~0x00 43 

Low Latched DI Channel : 0x0060~0x0063 

Safe Value : 0x0080~0 x008 4 

Power On Value : 0x00A0~0x0 0A4  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Summary of Contents for M-7065

Page 1: ...the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibil...

Page 2: ...am 9 1 5 Wire Connection 10 1 6 Quick Start 11 1 7 Default Settings 16 1 8 Configuration Tables 16 1 9 DI O Data Format Table 17 2 DCON Protocol 18 2 1 AANNTTCCFF 22 2 2 24 2 3 AA00 Data 26 2 4 AA0A D...

Page 3: ...84 2 31 AA4V 86 2 32 AA5V 88 2 33 AARDvv 90 2 34 AARD 92 3 Modbus RTU Protocol 94 3 1 01 0x01 Read coils 97 3 2 02 0x02 Read discrete inputs 101 3 3 03 0x03 Read multiple registers 103 3 4 04 0x04 Rea...

Page 4: ...d Digital Input Count Edge 129 3 8 8 39 0x27 Set Power on Value 131 3 8 9 40 0x28 Read Power on Value 133 3 8 10 40 0x29 Set DI O Active Status 134 3 8 11 42 0x2A Read DI O Active Status 136 3 8 12 53...

Page 5: ...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 2 Kbps can be selected The functio...

Page 6: ...Ver2 0 Dec 2008 6 1 1 More Information For more information regarding the I 7000 series please refer to chapter 1 of the I 7000 Bus Converter User s Manual as shown below or visit the ICP DAS website...

Page 7: ...M 7065 User s Manual Ver2 0 Dec 2008 7 1 2 Pin Assignment...

Page 8: ...n 3750Vrms Relay Output Channels 5 Relay Type Form A relay SPST N O Contact Rating AC 250V 5A DC 30V 5A Operating Time Max 6ms Release Time Min 3ms Surge Strength 4 000VAC Insulation Resistance 1000MO...

Page 9: ...065 1 3W max I 7065D Environment Operating Temperature 25 to 75 C Storage Temperature 40 to 85 C Humidity 5 to 95 non condensing Ordering information M 7065 4 channel Isolated Digital Input and 5 chan...

Page 10: ...M 7065 User s Manual Ver2 0 Dec 2008 10 1 5 Wire Connection Input Type Dry Contact TTL CMOS NPN Output PNP Output Output Type Relay Collector Relay ON Relay OFF...

Page 11: ...tool Active X ftp ftp icpdas com pub cd 8000cd napdos driver dcon_activex DDE server ftp ftp icpdas com pub cd 8000cd napdos driver dcon_dde DLL ftp ftp icpdas com pub cd 8000cd napdos driver dcon_dl...

Page 12: ...uration to fit with your application After double clicking the icon the following screen will be shown All ICPDAS I M 7000 modules supported by the current version of the DCON utility software that ar...

Page 13: ...cd 8000cd napdos 7000 manual modbusdio pdf The Configuration command structure of the Modbus RTU is as follows n This value depends on the Sub function code Please refer to the Modbus DIO User s Manua...

Page 14: ...To only set the DO value of channel 2 to 1 the following command should be sent 01 05 00 02 FF 00 2D FA The Configuration command structure of the Modbus ASCII is as follows Command Format Response F...

Page 15: ...acters LRC Calculation All characters except for Leading Character and delimiter CR LF are added with a carry being discarded Total value is converted to binary notation is converted to 2 s complement...

Page 16: ...9600 bps n 8 1 Checksum Disabled 1 8 Configuration Tables Baud Rate Setting CC 7 6 5 4 3 2 1 0 Parity Baud Rate Code Parity bit6 bit7 Code 00 01 10 11 Parity n 8 1 n 8 2 e 8 1 o 8 1 Baud Rate Code bi...

Page 17: ...updated when there is a rising edge in the input signal Note The reserved bits should be zero 1 9 DI O Data Format Table The data format of the response of the AA4 AA6 and AALS commands is the First...

Page 18: ...ds to the modules contain the ID address meaning that only the addressed module will respond The only exception to this is commands Section 2 2 and Section 2 26 which are sent to all modules but in bo...

Page 19: ...y 0FFh Example Command string 012 CR 1 Sum of the string 0 1 2 24h 30h 31h 32h B7h 2 Therefore the checksum is B7h and so CHKSUM B7 3 The command string with the checksum 012B7 CR Response string 0120...

Page 20: ...AA5 AAS Reads the Reset Status 2 10 AA6 Data Reads the Digital I O Status 2 11 AAC AA Clears the Latched DI Status 2 12 AACN AA Clears the Digital InputCounter 2 13 AAF AA Data Reads the firmware Ver...

Page 21: ...26 AA0 AASS Reads the Status 2 27 AA1 AA Resets the Status 2 28 AA2 AAVV Reads the Timeout Settings 2 29 AA3EVV AA Sets the Timeout Settings 2 30 AA4V AA Data Reads the PowerOn Safe Value 2 31 AA5V AA...

Page 22: ...ormat 00 to FF NN New address of the module in hexadecimal format 00 to FF TT Type code should be 40 for DIO module CC Baud Rate code should be 0A for DIO FF Used to set the counter update direction a...

Page 23: ...d Commands Section 2 8 AA2 2 24 AAI 2 25 AATnn Related Topics Section 1 1 Configuration Tables There will be no response if the command syntax is incorrect there is a communication error or there is n...

Page 24: ...ore the data for later retrieval Syntax CHKSUM CR Delimiter character Synchronized sampling command Response There is no response with this command To access the data another command AA4 must be sent...

Page 25: ...is the first time the synchronized data has been read after the previous command Digital Output 0x0C Digital Input 0x03 Command 014 Response 00C0300 Sends a command to read the synchronized data The s...

Page 26: ...ital output value of the lower eight channels DO0 DO7 Data A two digit hexadecimal value where bit 0 corresponds to DO0 bit 1 corresponds to DO1 etc When the bit is 1 it denotes that the digital outpu...

Page 27: ...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 010006 Response Sets DO0 DO3 to off DO1 D...

Page 28: ...M 7065 User s Manual Ver2 0 Dec 2008 28 Related Commands Section 2 4 AA0A Data 2 5 AA1cDD 2 6 AAAcDD 2 11 AA6 2 19 AA 2 20 AA Data...

Page 29: ...module to be set 00 to FF 0A Command to set the digital output value DO0 DO31 AA0A Data DO0 DO7 AA0B Data DO8 DO15 AA0C Data DO16 DO23 AA0D Data DO24 DO31 Data A two digit hexadecimal value where bit...

Page 30: ...iter character watchdog timeout has occurred the digital output channel s are set to safe value and the digital output value that was sent is ignored There will be no response if the command syntax is...

Page 31: ...ual Ver2 0 Dec 2008 31 Command 010A0F Response Sets DO0 DO1 DO2 DO3 to on Command 020A00 Response Sets DO0 DO1 DO2 DO3 to off Related Commands Section 2 3 AA00 Data 2 5 AA1cDD 2 6 AAAcDD 2 11 AA6 2 19...

Page 32: ...00 to FF 1 Command to set a single digital output channel of the lower eight channels c Specifies the digital output channel to be set 0 to 7 DD 00 set the digital output channel to off 01 set the di...

Page 33: ...value that was sent is ignored 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 021001 Res...

Page 34: ...odule to be set 00 to FF A Command to set a single digital output channel DO0 DO31 AAAcDD DO0 DO7 AABcDD DO8 DO15 AACcDD DO16 DO23 AADcDD DO24 DO31 c Specifies the digital output channel to be set 0 7...

Page 35: ...red the digital output channel s are set to safe value and the digital output value that was sent is ignored There will be no response if the command syntax is incorrect there is a communication error...

Page 36: ...FF N The channel to be read 0 to F Response Valid Command Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command An invalid command is returned if t...

Page 37: ...ere is a communication error or there is no module with the specified address Examples Command 011 Response 0100005 Reads data from channel 1 of module 01 and the returned counter value is 00005 Comma...

Page 38: ...he module configuration Response Valid Command AATTCCFF CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00 to...

Page 39: ...module with the specified address Examples Command 012 Response 01400A80 Reads the configuration of module 01 FF Sets the counter update 80 Reads the counter update Rising Edge 00 Reads the counter up...

Page 40: ...ess of the module to be set 00 to FF 4 Command to read the synchronized data Response Valid Command S CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid comm...

Page 41: ...d 014 Response 10F0000 Reads the synchronized data for module 01 The module returns the synchronized data and sets the status byte to 1 to indicate that this is the first time the synchronized data ha...

Page 42: ...M 7065 User s Manual Ver2 0 Dec 2008 42 Related Commands Section 2 2...

Page 43: ...mand AAS CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00 to FF S Reset status of the module 1 This is the f...

Page 44: ...ith the specified address Examples Command 015 Response 011 Reads 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...

Page 45: ...annels Response Valid Command Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00 to FF Data Status of the...

Page 46: ...gital input output channel status of module 01 Digital Output 0x1F Command 016 Response 070F00 Reads the digital input output channel status of module 01 Digital Output 0x07 Digital Iutput 0x0F Relate...

Page 47: ...00 to FF C Command to clear the status of the latched digital input channels Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid co...

Page 48: ...mmand 01C Response 01 Sends the command to clear the status of the latched digital input channels of module 01 and returns a valid response Command 01L0 Response 093F00 Sends the command to read the s...

Page 49: ...C Command to clear the digital input counter N The channel to be cleared 0 to F Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid...

Page 50: ...r data from channel 1 of module 01 and the returned counter value is 00009 Command 01C1 Response 01 Clears the counter value of channel 1 of module 01 and returns a valid response Command 011 Response...

Page 51: ...d to read the firmware version Response Valid Command AA Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module...

Page 52: ...M 7065 User s Manual Ver2 0 Dec 2008 52 Examples Command 01F Response 0102 00 Reads the firmware version of module 01 and shows that it is version 02 00...

Page 53: ...F L Command to read the latched status S 0 read the low latched status 1 read the high latched status Response Valid Command Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command D...

Page 54: ...address Examples Command 016 Response Sets DO1 2 to on DO0 3 to off Command 01C Response 01 Sends the command to clear the status of the latched digital input channels of module 01 and returns a vali...

Page 55: ...2008 55 Related Commands Command 01L1 Response 060000 Sends the command to read the status of the high latched digital input channels of module 01 High Latched DI 0x00 High Latched DO 0x06 Section 2 1...

Page 56: ...mand to read the module name Response Valid Command AA Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00...

Page 57: ...M 7065 User s Manual Ver2 0 Dec 2008 57 Related Commands Section 2 21 AAO Name Command 01M Response 017065 Reads the module name of module 01 and returns the name...

Page 58: ...o read the communication protocol Response Valid Command AASC CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module...

Page 59: ...rect there is a communication error or there is no module with the specified address Examples Command 01P Response 0130 Reads the communication protocol of module 01 and returns a response of 30 meani...

Page 60: ...set the communication protocol N 0 DCON 1 Modbus RTU 3 Modbus ASCII Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA...

Page 61: ...he communication protocol of module 01 to Modbus RTU and returns a valid response Related Commands Command 01P1 Response 01 Sets the communication protocol of module 01 to Modbus RTU and returns an in...

Page 62: ...d Command Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00 to FF Data Status of the digital input outpu...

Page 63: ...Reads the digital input output port status of module 02 and returns 030F which denotes that RL1 RL2 RL3 and RL4 are on and IN1 IN2 IN3 and IN4 are on Related Commands Section 2 3 AA00 Data 2 4 AA0A Da...

Page 64: ...o the digital output channels Bit 0 of the value corresponds to DO0 and bit 1 of the value corresponds to DO1 etc When the bit is 1 it denotes that the digital output channel is on and 0 denotes that...

Page 65: ...lue and the digital output value that was sent is ignored 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 E...

Page 66: ...mand to set the module name Name New name of the module max 6 characters Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command...

Page 67: ...01M Response 017065 Reads the name of module 01 and returns the name 7065 Command 01OM7065 Response 01 Sets the name of module 01 to be M7065 and returns a valid response Command 01M Response 01M7065...

Page 68: ...I O active status Response Valid Command AAVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00 to FF VV A tw...

Page 69: ...relay active 0 output value 1 for relay inactive IAS DI Active Status 0 input value 1 for non signal or the low voltage 0 input value 0 for high voltage 1 input value 0 for non signal or the low volta...

Page 70: ...DI O active status VV A two digit hexadecimal value indicating the DI O active status Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an i...

Page 71: ...alue 0 for relay active 0 output value 1 for relay inactive IAS DI Active Status 0 input value 1 for non signal or the low voltage 0 input value 0 for high voltage 1 input value 0 for non signal or th...

Page 72: ...er character AA Address of the module to be set 00 to FF I Command to set the Sort INIT Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an...

Page 73: ...ud Rate of module 03 to 19200 without first adjusting the INIT pin The module returns an invalid reponse because the soft INIT timeout value is 0 Command 03T10 Response 03 Set the soft INIT time out v...

Page 74: ...l Ver2 0 Dec 2008 74 Related Commands Command 0301400740 Response 03 Attempts to change the Baud Rate of module 01 to 19200 without first adjusting the INIT pin The module returns an in valid response...

Page 75: ...value nn Two hexadecimal digits representing the time out value in seconds The maximum timeout value is 60 seconds Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a val...

Page 76: ...escription Informs all modules that the host is OK Syntax CHKSUM CR Delimiter character Host OK command Response No response Examples Command Response No response Related Commands Section 2 27 AA0 2 2...

Page 77: ...AASS CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 00 to FF SS Two hexadecimal digits that represent the ho...

Page 78: ...there is a communication error or there is no module with the specified address Examples Command 030 Response 0304 Reads the host watchdog status of module 03 and returns 04 meaning that a host watchd...

Page 79: ...lated Commands Command 030 Response 0380 Reads the host watchdog status of module 03 and returns 08 meaning that the host watchdog is enabled Sents to clear watchdog timeout value Section 2 26 2 28 AA...

Page 80: ...be set 00 to FF 1 Command to reset the host watchdog timeout status Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA A...

Page 81: ...Response 0304 Reads the host watchdog status of module 03 and shows that a host watchdog timeout has occurred Command 031 Response 03 Resets the host watchdog timeout status of module 03 and returns a...

Page 82: ...the host watchdog timeout value Response Valid Command AAEVV CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of the responding module 0...

Page 83: ...munication error or there is no module with the specified address Examples Command 032 Response 03190 Reads the host watchdog timeout value of module 03 and returns 0x90 which denotes that the host wa...

Page 84: ...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 timeout value in tenths of a second for example...

Page 85: ...d 013164 Response 01 Enables the host watchdog of module 01 and sets the host watchdog timeout value to 10 0 seconds The module returns a valid response Command 012 Response 01164 Reads the host watch...

Page 86: ...the power on DO value or the safe DO value V P Power On Value S Safe Value Response Valid Command AA Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid...

Page 87: ...Dec 2008 87 Related Commands Examples Command 034P Response 030700 Reads the power on DO value of module 03 and returns 0700 Command 034S Response 030F00 Reads the safe DO value of module 03 and retu...

Page 88: ...00 to FF 5 Command to set the power on value or the safe DO value V P Power On Value S Safe Value Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimit...

Page 89: ...1 DO2 to on DO3 to off Command 035P Response 03 Sets the power on DO value and the module returns a valid response Command 03F Response Sets DO0 DO1 DO2 DO3 to on Command 035S Response 03 Sets the saf...

Page 90: ...mmand to set the Response Delay Time of a module vv Response Delay Time 0 30 in 1ms Response Valid Command AA CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an inva...

Page 91: ...l Ver2 0 Dec 2008 91 Related Commands Section 2 34 AARD Examples Command 03RD1E Response 03 Sets the Response Delay Time the value is 1E 30ms Command 03RD Response 0300 Reads the Response Delay Time t...

Page 92: ...read the Response Delay Time of a module 0 30 in 1ms Response Valid Command AA Data CHKSUM CR Invalid Command AA CHKSUM CR Delimiter for a valid command Delimiter for an invalid command AA Address of...

Page 93: ...Ver2 0 Dec 2008 93 Related Commands Section 2 33 AARDvv Examples Command 03RD1E Response 03 Sets the Response Delay Time the value is 1E 30ms Command 03RD Response 0300 Reads the Response Delay Time...

Page 94: ...R W 40486 bits 5 0 Baud rate Baud rate valid range 0x03 0x0A bits 7 6 00 no parity 1 stop bit 10 even parity 1 stop bit 11 odd parity 1 stop bit R W 00264 Clear Latched DI O W 00513 Clear DI Count W 4...

Page 95: ...an use AO and DO command to clear host watchdog timeout status R W 00261 1 enable 0 disable host watchdog R W 40489 Host watchdog timeout value 0 255 in 0 1s R W 00257 Protocol 0 DCON 1 Modbus R W 002...

Page 96: ...ngle coils 3 5 0x06 Write multiple registers 3 6 0x0F Write multiple coils 3 7 0x46 Read Write module settings 3 8 If the function specified in the message is not supported then the module responds as...

Page 97: ...x01 02 03 Starting channel numbers or address mapping 2 Byte DO 0x0000 0x001F DI 0x0020 0x003F DI O Latch High 0x0040 0x005F DI O Latch Low 0x0060 0x007F Safe Value 0x0080 0x009F Power On Value 0x00A0...

Page 98: ...s 1 Byte 1 247 01 Function code 1 Byte 0x81 02 Exception code 1 Byte Refer to Modbus standard for more details Examples Command 05 01 00 00 00 05 FD 8D Response 05 01 01 1F 11 70 Reads digital output...

Page 99: ...watchdog s mode Command 05 01 01 10 00 01 FC 77 Response 05 01 01 01 91 78 Reads reset status of modules Command 05 01 01 04 00 01 BC 73 Response 05 01 01 00 50 B8 Reads host watchdog setting enabled...

Page 100: ...0 Dec 2008 100 Supported modules M 7065 Valid starting channel DO 0x0000 0x0004 DI 0x0020 0x0023 High Latched DI Channel 0x0040 0x0043 Low Latched DI Channel 0x0060 0x0063 Safe Value 0x0080 0x0084 Pow...

Page 101: ...02 03 Starting channel numbers 2 Byte DI 0x0000 0x001F 04 05 Input channel number 2 Byte 0x0001 0x0020 Bit count Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x02 02 Byte Count 1 Byte Byte...

Page 102: ...0 0x0003 Examples Command 05 02 00 00 00 04 78 4D Response 05 02 01 0F E0 BC Reads digital iutput value Command Byte 2 3 00 00 starting channel numbers Byte 4 5 00 04 input channel number Byte 6 7 78...

Page 103: ...1 247 01 Function code 1 Byte 0x03 02 03 Starting channel numbers or address mapping 2 Byte Reads DI count value 0x0000 0x001F Reads module address 0x01E4 Reads firmware version 0x01E0 Reads module na...

Page 104: ...esponse 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x83 02 Exception code 1 Byte Refer to Modbus standard for more details Examples Command 05 03 01 E2 00 02 64 45 Response 05 03 04 70 65 00 00 B...

Page 105: ...0 15 00 15 00 15 00 15 00 15 00 15 00 15 00 15 2D 56 Reads DI count of modules Command 05 03 01 E7 00 01 34 45 Response 05 03 02 00 00 49 84 Reads modbus response delay time Command 05 03 01 EB 00 01...

Page 106: ...M 7065 User s Manual Ver2 0 Dec 2008 106 Supported modules M 7065 Valid starting channel DI Count Value 0x0000 0x0003...

Page 107: ...1 247 01 Function code 1 Byte 0x04 02 03 Starting channel numbers or address mapping 2 Byte Reads DI count value 0x0000 0x001F Reads module address 0x01E4 Reads firmware version 0x01E0 Reads module na...

Page 108: ...or Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x83 02 Exception code 1 Byte Refer to Modbus standard for more details Examples Command 05 04 01 E2 00 02 D1 85 Response 05 04 04 20 60 00...

Page 109: ...0 0x0005 Command 05 04 01 E7 00 01 81 85 Response 05 04 02 00 00 48 F0 Reads modbus response delay time Command 05 04 01 EB 00 01 41 86 Response 05 04 02 00 00 48 F0 Reads the host watchdog timeout va...

Page 110: ...47 01 Function code 1 Byte 0x05 02 03 Output channel numbers 2 Byte DO 0x0000 0x001F Clear DI count value 0x0200 0x021F Safe Value 0x0080 0x009F Power On Value 0x00A0 0x00BF Clear Latched 0x0107 Set W...

Page 111: ...as byte 04 and 05 of the Request Error Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x85 02 Exception code 1 Byte Refer to Modbus standard for more details Examples Command 05 05 00 83 FF...

Page 112: ...ts host watchdog mode Mode 1 Command 05 05 01 03 00 00 3D B2 Response 05 05 01 03 00 00 3D B2 Sets host watchdog mode Mode 0 Command 05 05 01 04 FF 00 CD 83 Response 05 05 01 04 FF 00 CD 83 Sets host...

Page 113: ...Value 0x0080 0x0085 Power On Value 0x00A0 0x00A5 Byte 2 3 01 00 Protocol Bit 0 Byte 4 5 FF 00 Protocol bit1 bit0 11 01 00 Modbus ASCII Modbus RTU DCON Command 05 05 01 01 FF 00 DD 82 Response 05 05 01...

Page 114: ...lay time 0x01E7 Clear watchdog timeout count 0x01EB Sets watchdog timeout value 0x01E8 04 05 Register value 2 Byte Register value Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 06 02 03 Addr...

Page 115: ...e delay time 0 30 in 1ms Command Byte 2 3 01 E7 Address mapping Byte 4 5 00 10 delay 16 ms Response Byte 1 06 Function Code Command 05 06 01 E8 00 C8 08 10 Response 05 06 01 E8 00 C8 08 10 Sets host w...

Page 116: ...e 0x00A0 0x00BF 04 05 Output channel number 2 Byte 0x0001 0x0020 Bit count 06 Byte Count 1 Byte B bit count 7 8 07 Output value 2 Byte A bit corresponds to a channel When the bit is 1 it denotes that...

Page 117: ...Refer to Modbus standard for more details Examples Command 05 0F 00 A1 00 03 01 07 72 BF Response 05 0F 00 A1 00 03 45 AC Sets Safe value DO1 DO3 Command 05 0F 00 00 00 03 01 FF CE E4 Response 05 0F...

Page 118: ...M 7065 User s Manual Ver2 0 Dec 2008 118 Supported modules M 7065 Valid starting channel DO 0x0000 0x0005 Clear DI Count Value 0x0200 0x0203 Safe Value 0x0080 0x0085 Power On Value 0x00A0 0x00A5...

Page 119: ...ttings 3 8 3 06 0x06 Set the communication settings 3 8 4 32 0x20 Read the firmware version 3 8 5 33 0x21 Set the DI count edge 3 8 6 34 0x22 Read DI count edge setting value 3 8 7 39 0x27 Set the DO...

Page 120: ...46 02 Sub Function code 1 Byte 0x00 Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x00 03 06 Module name 4 Byte 0x00 0x70 0x65 0x00 for M 7065 Error Respons...

Page 121: ...02 Sub Function code 1 Byte 0x04 03 Address 1 Byte 1 247 04 06 Reserved 3 Byte 0x00 0x00 0x00 Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x00 03 Address...

Page 122: ...6 02 Sub Function code 1 Byte 0x05 03 Reserved 1 Byte 0x00 Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x05 03 Protocol support 1 Byte 0 1 Modbus RTU 3 Mo...

Page 123: ...08 123 Error Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0xC6 02 Exception code 1 Byte Refer to Modbus standard for more details Examples Command 02 46 05 00 Response 02 46 05 03 0A 00 00...

Page 124: ...46 02 Sub Function code 1 Byte 0x06 03 Reserved 1 Byte 0x00 04 Baud Rate 1 Byte 0x0A 05 Reserved 1 Byte 0x00 06 Parity 1 Byte 0 N81 1 N82 2 E81 3 O81 07 Reserved 1 Byte 0x00 08 Protocol Mode 1 Byte 0...

Page 125: ...tocol Mode 1 Byte 0 OK Others Error 09 10 Reserved 2 Byte 0x00 0x00 Error Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0xC6 02 Exception code 1 Byte Refer to Modbus standard for more detai...

Page 126: ...ub Function code 1 Byte 0x20 Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x20 03 Major version 1 Byte 0x00 0xFF 04 Minor version 1 Byte 0x00 0xFF 05 Build...

Page 127: ...ue 1 Byte 0x00 0xFF DI8 DI15 05 Edge setting value 1 Byte 0x00 0xFF DI16 DI23 06 Edge setting value 1 Byte 0x00 0xFF DI24 DI31 1 rising edge 0 falling edge For example 0x03 denotes that channels 0 1 a...

Page 128: ...ual Ver2 0 Dec 2008 128 Examples Command 01 46 21 FF B8 1D Response 01 46 21 00 F8 5D Sets digital input count edge Rising edge Examples Command 01 46 22 92 79 Response 01 46 22 FF B8 ED Reads digital...

Page 129: ...on code 1 Byte 0x46 02 Sub Function code 1 Byte 0x22 03 Edge setting value 1 Byte 0x00 0xFF DI0 DI7 04 Edge setting value 1 Byte 0x00 0xFF DI8 DI15 05 Edge setting value 1 Byte 0x00 0xFF DI16 DI23 06...

Page 130: ...Manual Ver2 0 Dec 2008 130 Examples Command 05 46 21 3F B9 7D Response 05 46 21 00 F9 6D Sets DI0 DI5 count edge Rising edge Examples Command 05 46 22 D3 B8 Response 05 46 22 3F B9 8D Reads digital in...

Page 131: ...r on Value 1 Byte 0x00 0xFF DOI0 DO7 04 Power on Value 1 Byte 0x00 0xFF DO8 DO15 05 Power on Value 1 Byte 0x00 0xFF DO16 DO23 06 Power on Value 1 Byte 0x00 0xFF DO24 DO31 Response 00 Address 1 Byte 1...

Page 132: ...5 User s Manual Ver2 0 Dec 2008 132 Examples Command 05 46 27 0F BA C9 Response 05 46 27 00 FA CD Sets DO0 DO3 power on value Examples Command 05 46 28 53 BF Response 05 46 28 0F BF 39 Reads power on...

Page 133: ...ode 1 Byte 0x28 Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x28 03 Power on Value 1 Byte 0x00 0xFF DOI0 DO7 04 Power on Value 1 Byte 0x00 0xFF DO8 DO15 0...

Page 134: ...I O Active Status 1 Byte 0x00 0x03 7 6 5 4 3 2 1 0 Reserved OAS IAS Key Description OAS DO Active Status 0 output value 1 for relay active 0 output value 0 for relay inactive 1 output value 0 for rela...

Page 135: ...ve Status 1 Byte 0 OK Others Error Error Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0xC6 02 Exception code 1 Byte Refer to Modbus standard for more details Examples Command 01 46 29 02 7...

Page 136: ...1 Byte 0x46 02 Sub Function code 1 Byte 0x2A Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x2A 03 DI O Active Status 1 Byte 0x00 0x03 Error Response 00 Add...

Page 137: ...lay inactive 1 output value 0 for relay active 0 output value 1 for relay inactive IAS DI Active Status 0 input value 1 for non signal or the low voltage 0 input value 0 for high voltage 1 input value...

Page 138: ...e 1 Byte 0x46 02 Sub Function code 1 Byte 0x35 Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x35 03 Response Delay Time 1 Byte Data Error Response 00 Addre...

Page 139: ...M 7065 User s Manual Ver2 0 Dec 2008 139 Examples Command 01 46 35 D2 77 Response 01 46 35 1E 77 55 Reads modbus response delay time 30ms...

Page 140: ...ss 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 Byte 0x36 03 Response Delay Time 1 Byte Data Response 00 Address 1 Byte 1 247 01 Function code 1 Byte 0x46 02 Sub Function code 1 By...

Page 141: ...used to flag the start of a command and each command is ended with a CR LF combination The LRC characters are appended to the command preceding the CR LF characters Command Format Leading Character Mo...

Page 142: ...M 7065 User s Manual Ver2 0 Dec 2008 142 Example Modbus RTU 01 46 00 12 60 Modbus ASCII 014600B9 CR LF 1 hexadecimal 01h 46h 00h 47h 2 2 s complement B9h LRC...

Page 143: ...unknown To help avoid this problem the M 7065 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 oper...

Page 144: ...ircuit 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 netwo...

Page 145: ...AA5 command This can be used to check whether the module had been reset When the AA5 command responds that the reset status is cleared that means the module has not been reset since the last AA5 comma...

Page 146: ...us is cleared The host watchdog timeout status is saved in the EEPROM The status is not changed even after power on reset It can be cleared only by the reset host watchdog timeout status command AA1 S...

Page 147: ...digital input channel of a module the input signal of the key stroke is a pulse signal as shown in the following figure If we just use the read digital input status command to read the signal and we c...

Reviews: