ModbusDIO
ModbusDIO
Warranty
All products manufactured by ICP DAS are under
warranty regarding defective materials for a period of
one year from the date of delivery to the original
purchaser.
Warning
ICP DAS assumes no liability for damages resulting
from the use of this product. ICP DAS reserves the
right to change this manual at any time without
notification. The information furnished by ICP DAS is
believed to be accurate and reliable. However, no
responsibility is assumed by ICP DAS for its use, or for
any infringements of patents or other rights of third
parties resulting from its use.
Copyright
Copyright 1999 - 2004 ICP DAS. All rights
reserved.
Trademark
The names are used for identification only may be
registered trademarks of their respective companies.
Date: 2005/7/1
Table of Contents
1. Introduction......................................................................................................... 3
1.1 More Information........................................................................................ 3
2. Modbus RTU Protocol ........................................................................................ 4
2.1 01 (0x01) Read coils ................................................................................... 5
2.2 02 (0x02) Read discrete inputs ................................................................... 8
2.3 03 (0x03) Read multiple registers............................................................. 10
2.4 04 (0x04) Read multiple input registers.................................................... 12
2.5 05 (0x05) Write single coils...................................................................... 14
2.6 15 (0x0F) Write multiple coils.................................................................. 16
2.7 70 (0x46) Read/Write Module Settings .................................................... 18
2.6.1 Sub-function 00 (0x00) Read Module Name.................................... 19
2.6.2 Sub-function 04 (0x04) Set Module Address.................................... 20
2.6.3 Sub-function 05 (0x05) Read Communication Settings ................... 21
2.6.4 Sub-function 06 (0x06) Set Communication Settings ...................... 23
2.6.5 Sub-function 32 (0x20) Read Firmware Version .............................. 25
2.6.6 Sub-function 33 (0x21) Set Digital Input Count Edge ..................... 26
2.6.7 Sub-function 34 (0x22) Read Digital Input Count Edge .................. 27
2.6.8 Sub-function 39 (0x27) Set Power-on Value .................................... 28
2.6.9 Sub-function 40 (0x28) Read Power-on Value ................................. 29
2.6.10 Sub-function 41 (0x29) Set DI/O active status ................................. 30
2.6.11 Sub-function 42 (0x2A) Read DI/O active status ............................. 32
3. Recently-added DCON commands................................................................... 33
3.1 $AAP................................................................................................. 34
3.2 $AAPN.............................................................................................. 36
3.3 ~AAD................................................................................................ 38
3.4 ~AADVV .......................................................................................... 40
3.5 ~AAI ................................................................................................. 42
3.6 ~AATnn............................................................................................. 44
4. Hardware information and DCON Protocol ..................................................... 47
1. Introduction
The I-7000 series is a family of network data
acquisition and control modules, providing
analog-to-digital, digital-to-analog, digital input/output,
timer/counter and other functions. The modules can
be remotely controlled using a set of commands,
which we call the DCON protocol. Communication
between the module and the host is in ASCII format
via an RS-485 bi-directional serial bus standard. Baud
Rates are software programmable and transmission
speeds of up to 115.2K baud can be selected. The
functionality of the M-7000 series is the same as the
I-7000 series, with the exception that the M-7000
series offers extended support for the Modbus RTU
protocol.
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte Function code + 0x80
02 Exception code 1 Byte 01
If a CRC mismatch occurs, the module will not respond.
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x01
02 ~ 03 Starting 2 0x0000~0x001F for DO readback
channel Bytes value
numbers
0x0020~0x003F for DI value
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x01
02 Byte count 1 Byte 1
03 Output channel 1 Byte Refer to page 6 for the details of
readback value the value
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x81
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
M-7067/M-7067D:
0x0000~0x 0006 for DO readback value
Valid starting
0x0040~0x0046 for DO Latch high value
channel
0x0060~0x0066 for DO Latch low value
M-7055/M-7055D:
0x0000~0x 0007 for DO readback value
0x0020~0x0027 for DI value
Valid starting 0x0040~0x0047 for DI Latch high value
channel 0x0048~0x004F for DO Latch high value
0x0060~0x0067 for DI Latch low value
0x0068~0x006F for DO Latch low value
M-7052/M-7052D:
0x0020~0x0027 for DI value
Valid starting
0x0040~0x0047 for DI Latch high valuee
channel
0x0060~0x0067 for DI Latch low value
M-7053/M-7053D:
0x0020~0x002F for DI value
Valid starting
0x0040~0x004F for DI Latch high value
channel
0x0060~0x006F for DI Latch low value
M-7041/M-7041D:
0x0020~0x002D for DI value
Valid starting
0x0040~0x004D for DI Latch high value
channel
0x0060~0x006D for DI Latch low value
M-7051/M-7051D:
0x0020~0x002F for DI value
Valid starting
0x0040~0x004F for DI Latch high value
channel
0x0060~0x006F for DI Latch low value
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x02
02 ~ 03 Starting 2 0x0000 ~ 0x001F
channel Bytes
04 ~ 05 Input channel 2 0x0001 ~ 0x0020
number Bytes
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x02
02 Byte count 1 Byte 1
03 Input channel 1 Byte Refer to the page 8 for details of
data the value.
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x82
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D:
Valid starting
0x0000~0x 0003 for DI value
channel
M-7055/M-7055D:
Valid starting
0x0000~0x 0007 for DI value
channel
M-7053/M-7053D:
Valid starting
0x0000~0x000F for DI value
channel
M-7041/M-7041D:
Valid starting
0x0000~0x000D for DI value
channel
M-7051/M-7051D:
Valid starting
0x0000~0x000F for DI value
channel
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x03
02 ~ 03 Starting 2 0x0000 ~ 0x001F
channel Bytes
numbers
04 ~ 05 Input channel 2 0x0001 ~ 0x0020
number Bytes
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x03
02 Byte count 1 Byte 1
03~ Input channel *N x 2 Each channel can record a
count value Bytes maximum count value up to
65535 (0xFFFF).
*N = Number of input channels
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x83
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D:
Valid starting
0x0000~0x 0003 for DI count value
channel
M-7052/M-7052D:
Valid starting
0x0000~0x 0007 for DI count value
channel
M-7053/M-7053D:
Valid starting
0x0000~0x000F for DI value
channel
M-7041/M-7041D:
Valid starting
0x0000~0x000D for DI value
channel
M-7051/M-7051D:
Valid starting
0x0000~0x000F for DI value
channel
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x04
02 ~ 03 Starting 2 0x0000 ~ 0x001F
channel Bytes
numbers
04 ~ 05 Input channel 2 0x0001 ~ 0x0020
number Bytes
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x04
02 Byte count 1 Byte 1
03~ Input channel *N x 2 Each channel can record the
count value Bytes maximum count value up to
65535 (0xFFFF).
*N = Number of input channels
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x84
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D:
Valid starting
0x0000~0x 0003 for DI count value
channel
M-7052/M-7052D:
Valid starting
0x0000~0x 0007 for DI count value
channel
M-7053/M-7053D:
Valid starting
0x0000~0x000F for DI value
channel
M-7041/M-7041D:
Valid starting
0x0000~0x000D for DI value
channel
M-7051/M-7051D:
Valid starting
0x0000~0x000F for DI value
channel
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x05
02 ~ 03 Output channel 2 0x0000 ~ 0x001F
numbers Bytes
0x0100 to clear the latch value
0x0200~0x0220 to clear the DI
count value
04 ~ 05 Output value 2 A value of 0xFF00 sets the output
Bytes to ON. A value of 0x0000 sets it to
OFF. All other values are illegal
and will not affect the coil.
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x05
02 ~ 03 Output channel 2 The value is the same as byte 02
numbers Bytes and 03 of the Request
04 ~ 05 Output value 2 The value is the same as byte 04
Bytes 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 the Modbus standard for
more details.
M-7067/M-7067D:
0x0000~0x 0006 for DO output
Valid starting
channel 0x0100 to clear the DO latch value. If setting this
channel to ON, the latch value will become 0.
M-7055/M-7055D:
0x0000~0x 0007 for DO output
Valid output 0x0100 to clear the DIO latch value. If setting this
channel channel to ON, the latch value will become 0.
0x0200~0x0207 to clear the DI count value
M-7052/M-7052D:
0x0100 to clear the DI latch value. If setting this
Valid output
channel to ON, the latch value will become 0.
channel
0x0200~0x0207 to clear the DI count value
M-7053/M-7053D:
0x0100 to clear the DI latch value. If setting this
Valid output
channel to ON, the latch value will become 0.
channel
0x0200~0x020F to clear the DI count value
M-7041/M-7041D:
0x0100 to clear the DI latch value. If setting this
Valid output
channel to ON, the latch value will become 0.
channel
0x0200~0x020D to clear the DI count value
M-7051/M-7051D:
0x0100 to clear the DI latch value. If setting this
Valid output
channel to ON, the latch value will become 0.
channel
0x0200~0x020F to clear the DI count value
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x0F
02 ~ 03 Starting 2 0x0000 ~ 0x001F for DO output
channel Bytes 0x0200~0x0220 to clear the DI
numbers count value
04 ~ 05 Output channel 2
number Bytes 0x0001 ~ 0x0020
06 Byte count 1 Byte 1
07 Output value 1 Byte A bit corresponds to a channel.
When the bit is 1 it denotes that
the value of the channel that was
set is ON. If the bit is 0 it denotes
that the value of the channel that
was set is OFF.
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x0F
02 ~ 03 Starting 2 The value is the same as byte 02
channel Bytes and 03 of the Request
numbers
04 ~ 05 Input channel 2 The value is the same as byte 04
number Bytes and 05 of the Request
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x8F
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
M-7067/M-7067D:
Valid starting
0x0000~0x0006 for DO output
channel
M-7055/M-7055D:
Valid starting 0x0000~0x0007 for DO output
channel 0x0200~0x0207 to clear the DI count value
M-7052/M-7052D:
Valid starting
0x0200~0x0207 to clear the DI count value
channel
M-7053/M-7053D:
Valid starting
0x0200~0x020F to clear the DI count value
channel
M-7041/M-7041D:
Valid starting
0x0200~0x020D to clear the DI count value
channel
M-7051/M-7051D:
Valid starting
0x0200~0x020F to clear the DI count value
channel
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
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 Bytes 0x00 0x70 0x60 0x00 for
M-7060/M-7060D modules
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
2/M-7052D
Request
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x04
03 Address 1 Byte 1 ~ 247
04~ 06 Reserved 3 Bytes 0x00 0x00 0x00
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x04
0: OK
03 Set address result 1 Byte
Others: error
04~ 06 Reserved 3 Bytes 0x00 0x00 0x00
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
Refer to the Modbus standard for
02 Exception code 1 Byte
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x05
03 Reserved 1 Byte 0x00
04 Baud Rate 1 Byte Refer to Table 1. below
05~ 07 Reserved 3 Bytes 0x00 0x00 0x00
08 Mode 1 Byte 0: DCON protocol
1: Modbus RTU protocol
09~10 Reserved 2 Bytes 0x00 0x00
Note: This information is the data saved in the EEPROM and will be
used for the next power-on reset. It is not the currently used settings.
Baud Rate settings:
Value 03 04 05 06 07 08 09 0A
Baud Rate 1200 2400 4800 9600 19200 38400 57600 115200
Table 1.
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x06
03 Reserved 1 Byte 0x00
04 Baud Rate 1 Byte 0: OK,
others: error
05~ 07 Reserved 3 Bytes 0x00 0x00 0x00
08 Mode 1 Byte 0: OK,
others: error
09~10 Reserved 2 Bytes 0x00 0x00
Note: The new Baud Rate and protocol will be effective after the next
power-on reset.
Supported module
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
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 version 1 Byte 0x00~0xFF
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x21
03 Edge setting value 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 the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7055/M-7055D/M-7051/M-7051D/M-705
2/M-7052D/M-7053/M-7053D/M-7041/M-7041D
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x22
03 Edge setting value 1 Byte *0x00~0x0F
*1 = rising edge, 0 = falling edge. For example 0x03 denotes that
channels 0~1 are set as rising edge and channels 2~3 are set as
falling edge.
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7055/M-7055D/M-7051/M-7051D/M-705
2/M-7052D/M-7053/M-7053D/M-7041/M-7041D
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 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 the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D
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
*0x00~0x0F for M-7060/M-7060D
0x00~0x7F for M-7067/M-7067D
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
Refer to the Modbus standard for
02 Exception code 1 Byte
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/
Key Description
OAS DO active status
0: output value 1 for relay active
output value 0 for relay inactive
1: output value 0 for relay active
output value 1 for relay inactive
IAS DI active status
0: input value 1 for non-signal or the low voltage;
input value 0 for high voltage
1: input value 0 for non-signal or the low voltage;
input value 1 for high voltage
Table 2.
Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0x46
02 Sub-function code 1 Byte 0x29
0: OK
03 Power-on value 1 Byte
others: error
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Note: After using the command, the DIO active status will immediately
change and will simultaneously clear the DI count and latch values.
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
*0x00~0x03 for M-7060/M-7060D
0x00 and 0x02 for M-7067/M-7067D
Error Response
00 Address 1 Byte 1 ~ 247
01 Function code 1 Byte 0xC6
02 Exception code 1 Byte Refer to the Modbus standard for
more details.
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Description:
Reads the communication protocol information.
Syntax:
$AAP[CHKSUM](CR)
$ Delimiter character
AA Address of the module to be read (00 to FF)
P Command to read the communication protocol
Response:
Valid Response: !AASC[CHKSUM](CR)
Invalid Response: ?AA[CHKSUM](CR)
! Delimiter character for a valid response
? Delimiter character for an invalid response
AA Address of the responding module (00 to FF)
S The protocols supported by the module
0: only DCON protocol is supported
1: both the DCON and Modbus RTU protocols are
supported
C The current protocol that is saved in the EEPROM
that will be used at the next power-on reset
0: the protocol set in the EEPROM is DCON
1: the protocol set in the EEPROM is Modbus RTU
Examples:
Command: $01P Response: !0110
Reads the communication protocol of module 01 and
returns a response of 10 meaning that it supports both
the DCON and Modbus RTU protocols and the
protocol that will be used at the next power-on reset is
DCON.
Related Commands:
Section 3.2 $AAPN
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Description:
Sets the communication protocol.
Syntax:
$AAPN[CHKSUM](CR)
$ Delimiter character
AA Address of the module to be read (00 to FF)
P Command to read the communication protocol
N 0: DCON protocol
1: Modbus RTU protocols
Before using this command, the rear slide switch
must be in the INIT position. The new protocol is
saved in the EEPROM and will be effective after
the next power-on reset.
Response:
Valid Response: !AASC[CHKSUM](CR)
Invalid Response: ?AA[CHKSUM](CR)
! Delimiter character for a valid response
? Delimiter character for an invalid response
AA Address of the responding module (00 to FF)
Examples:
Command: $01P1 Response: ?01
Sets the communication protocol of module 01 to
Modbus RTU and returns an invalid response because
the module is not in INIT mode.
Command: $01P1 Response: !01
Sets the communication protocol of module 01 to
Modbus RTU and returns a valid response.
Related Commands:
Section 3.1 $AAP
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Description:
Reads the DI/O active status.
Syntax:
~AAD[CHKSUM](CR)
~ Delimiter character
AA Address of the module to be read (00 to FF)
D Command to read the DI/O active status
Response:
Valid Response: !AAFL[CHKSUM](CR)
Invalid Response: ?AA[CHKSUM](CR)
! Delimiter character for a valid response
? Delimiter character for an invalid response
AA Address of the responding module (00 to FF)
VV A two-digit hexadecimal value indicating the DI/O
active status.
Examples:
Command: ~01D Response: !0100
Reads the communication protocol of module 01 and
returns a response of 00. Please refer to Table 2 on
page 23 for more details regarding DI/O active status
values.
Related Commands:
Section 3.2 ~AADVV
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Description:
Sets the DI/O active status.
Syntax:
~AADVV[CHKSUM](CR)
~ Delimiter character
AA Address of the module to be read (00 to FF)
D Command to set the DI/O active status.
VV A two-digit hexadecimal value indicating the DI/O
active status.
Response:
Valid Response: !AA[CHKSUM](CR)
Invalid Response: ?AA[CHKSUM](CR)
! Delimiter character for a valid response
? Delimiter character for an invalid response
AA Address of the responding module (00 to FF)
Examples:
Command: ~01D00 Response: !01
Sets the DI/O active value of module 01 as 00 and
returns a valid response.
Related Commands:
Section 3.3 ~AAD
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Note: After using this command, the DIO active status will
immediately change and will clear the DI count and latch
values simultaneously.
Description:
The Soft INIT command is used to enable modification of the
Baud Rate and checksum settings using software only.
Syntax:
~AAI[CHKSUM](CR)
~ Delimiter character
AA Address of the module to be read (00 to FF)
I Command to set the Soft INIT
Response:
Valid Response: !AA[CHKSUM](CR)
Invalid Response: ?AA[CHKSUM](CR)
! Delimiter character for a valid response
? Delimiter character for an invalid response
AA Address of the responding module (00 to FF)
Examples:
Command: ~01I Response: !01
Sets the soft INIT of module 01 and returns a valid
response.
Related Commands:
Section 3.6 of the “7000 DIO Manual” ~AATnn,
Section 2.1 of the “7000 DIO Manual” %AANNTTCCFF
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D
Description:
Sets the soft INIT timeout value.
Syntax:
~AATnn[CHKSUM](CR)
~ Delimiter character
T Command to set the soft INIT timeout value
nn Two hexadecimal digits representing the time out
value in seconds. The maximum timeout value is
60 seconds. When changing the Baud Rate or
checksum settings without adjusting the INIT* pin,
the ~AAI and %AANNTTCCFF commands should
be sent consecutively and the time interval
between the two commands should be less than
the soft INIT timeout. If the soft INIT timeout is 0,
then the Baud Rate and checksum settings cannot
be changed using software only. The power-on
reset value of the soft INIT timeout is 0.
Response:
Valid Response: !AA[CHKSUM](CR)
Invalid Response: ?AA[CHKSUM](CR)
! Delimiter character for a valid response
? Delimiter character for an invalid response
AA Address of the responding module (00 to FF)
Examples:
Command: ~01I Response: !01
Sets the soft INIT of module 01 and returns a valid
response.
Command: %0101400700 Response: ?01
Attempts to change the Baud Rate of module 01 to
19200 without first adjusting the INIT * pin. The
module returns an invalid response because the soft
INIT timeout value is 0.
Command: ~01T10 Response: !01
Sets the soft INIT time out value of module 01 to 16
seconds and returns a valid response.
Command: ~01I Response: !01
Sets the soft INIT of module 01 and returns a valid
response.
Command: %0101400700 Response: !01
Attempts to change the Baud Rate of module 01 to
19200 without first adjusting the INIT * pin. The
module returns an invalid response because the soft
INIT time out value is 0.
Related Commands:
Section 3.5 of the “7000 DIO Manual” ~AAI,
Section 2.1 of the “7000 DIO Manual” %AANNTTCCFF
Supported modules
M-7060/M-7060D/M-7067/M-7067D/M-7055/M-7055D/M-705
1/M-7051D/M-7052/M-7052D/M-7053/M-7053D/M-7041/M-7
041D