Part 1 specification – IAI America REXT User Manual

Page 162

Advertising
background image

0

Part 1 Specification

Chapter 3 Gateway R unit

138

Part 1 Specification

3.9.3.4 Preset Single Register (Query using FC = 06H)

Data is written to (changed in) a holding register in the slave.

The basic query/response structures and examples of queries are shown below.

(1) Basic Query/Response Structures

[1] Query format

The query message specifies the address of the holding register (gateway register) from which to start writing

(changing) data, and the data.

Data length of 1 holding register = 1 word = 2 bytes = 16 bits

Field name

RTU mode data

(8 bits)

Data length

(bytes)

Remarks

Header

None

-

Slave address

3F H

1

Fixed.

Function code

06 H

1

Starting address

(upper)

Arbitrary

Starting address

(lower)

Arbitrary

2

The address varies depending on the axis

arrangement.

New data (data written) (upper)

Arbitrary

New data (data written) (lower)

Arbitrary

2

Error check

(CRC)

16 bits

2

Based on calculation result

Trailer

None

-

Total bytes

8

[2] Response format

If the data has been changed (written) successfully, the response is the same as the query.

If invalid data has been sent, no response is returned.

-162-

Advertising
This manual is related to the following products: