
Model IR4000M
21
1.4.12 Set CH1 Address (000Fh, Read/Write)
A Read returns the Modbus Channel 1 address for the IR4000 unit. A Write
changes the address to the requested address. The range of addresses you can
specify is from 1 to 247 decimal.
1.4.12.1 Exceptions
If the ID is not within range, an exception response message is returned.
1.4.13 Baud Rate for CH1 (0010h, Read/Write)
A Read command returns the current baud rate setting the IR4000 Modbus
Channel 1. A Write command changes the setting to the baud rate specified by
the code (see table). The code is stored in the register’s Low Data Byte; the
High Data Byte is not used.
The factory default is 19,200.
Table 10. Baud Rate Codes
Code
Function
Access
03
19200 Read/Write
02
9600
Read/Write
01
4800
Read/Write
00
2400
Read/Write
1.4.13.1 Exceptions
If you try to Write a value that is not one of the codes shown above, an illegal
data value (03) exception code is returned in the data field of an Exception
Response message.
1.4.14 Data Format for CH1 (0011h, Read/Write)
A Read returns the current data format for Modbus Channel 1. A Write changes
the setting to the data format specified by the code (see below). The code is
stored in the register’s Low Data Byte; the High Data Byte is not used.
Table 11. Data Format Codes
Code
Format
Data Bits
Parity
Stop Bits
Access
00
8-N-1
8
None
1
Read/Write
01
8-E-1
8
Even
1
Read/Write
02
8-O-1 8 Odd 1 Read/Write
03
8-N-2
8
None
2
Read/Write
1.4.14.1 Exceptions
If you specify a code that is not listed above, an illegal data value (03) exception
code is returned in the data field of an Exception Response message.