EasyManua.ls Logo

Omron 3G3RX - Page 292

Omron 3G3RX
452 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-173
4-4 Communication Function
4
Functions
<Writing Into Multiple Holding Register [10h]>
Writes into consecutive multiple holding registers.
(Example)
Set acceleration time 1 (F002) to "3000 sec." for the Inverter with slave address 1.
The data resolution of the holding register "1103h, 1104h" of acceleration time 1 (F002) is 0.01 sec-
onds. To set to 3000 seconds, set data to "300000 (493E0h)".
If writing into multiple holding registers cannot be performed normally, refer to the "Exception
Response" section.
<Exception Response>
The master requires the response for a query except for broadcast. Though the Inverter should re-
turn a response corresponding with the query, it returns an exception response if the query has an
error.
The exception response has the field configuration shown in the following table.
The detailed field configuration is shown below. The function code of the exception response is the
value of the query function code to which 80h is added. The exception code shows the cause of
exception response.
Query Response
No. Field name
Example
(HEX)
No. Field name
Example
(HEX)
1 Slave address
*1
01 1 Slave address 01
2 Function code 10 2 Function code 10
3 Start address (MSB)
*2
11 3 Start address (MSB) 11
4 Start address (LSB)
*2
02 4 Start address (LSB) 02
5
Number of holding registers
(MSB)
00 5
Number of holding registers
(MSB)
00
6
Number of holding registers
(LSB)
02 6
Number of holding registers
(LSB)
02
7 Number of bytes
*3
04 7 CRC-16 (MSB) E5
8 Change data 1 (MSB) 00 8 CRC-16 (LSB) 34
9 Change data 1 (LSB) 04
10 Change data 2 (MSB) 93
11 Change data 2 (LSB) E0
12 CRC-16 (MSB) 9E
13 CRC-16 (LSB) 9F
*1. There is no response for broadcasting.
*2. Note that the start address is reduced by 1.
*3. Specifies the number of actual bytes to change, not the number of holding registers.
Field Configuration
Slave address
Function code
Exception code
CRC-16

Table of Contents

Other manuals for Omron 3G3RX

Related product manuals