beautypg.com

Delta RMC151 User Manual

Page 485

background image

6 Communication

Object Instance 0x01 (1)

The Data Table Object supports the following services:

Service

ID

Service

Name

Description

0x4B

(75)

Read (LSB

First)

Read one or more registers from the RMC. All multi-byte values

are encoded least-significant byte (LSB) first.

0x4C

(76)

Write (LSB

First)

Writes one or more registers to the RMC. All multi-byte values are

encoded least-significant byte (LSB) first.

0x4D

(77)

Read (MSB

First)

Read one or more registers from the RMC. All multi-byte values

are encoded most-significant byte (MSB) first.

0x4E (78) Write (MSB

First)

Writes one or more registers to the RMC. All multi-byte values are

encoded most-significant byte (MSB) first.

Notice that there are really only two services: read and write. However, because there

are two standards for encoding multi-byte data, both LSB-first and MSB-first versions of

each service are provided.
The following sections describe the format of the CIP requests and responses for the

service types. Notice that the first six bytes of the requests and the first four bytes of the

response in the charts that follow make up the standard CIP message routing header.

Therefore your PLC or HMI may already build this part of the packet for you.

Read (LSB or MSB First) Request:

Offset

Type

1

Size Field Name Description

0

USINT

1

Service

Must be 0x4B (LSB First) or 0x4D (MSB First).

1

USINT

1

Path Size

Must be 0x02.

2

USINT[4]

4

Path

Must be 0x20 0xC0 0x24 0x01.

6

UINT

2

File

Register file in the RMC to read.

8

UINT

2

Element

First element to read from the specified file.

10

UINT

2

Count

Number of DINTs or REALs to read.

1

The byte order of multi-byte fields is determined by the Read service selected. For

service 0x4B (Read LSB First), the least-significant byte must be sent first. For service

0x4D (Read MSB First), the most-significant byte must be sent first.

Read (LSB or MSB First) Response:

Offset

Type

1

Size Field Name

Description

0

USINT

1

Reply Service

Will be 0xCB (LSB First) or

0xCD (MSB First).

1

USINT

1

Reserved

Will be 0

2

USINT

1

General Status

See below. Zero (0) means success.

3

USINT

1

Additional Status

Size

Will be 0

4

DINT or

REAL

4

Register0

Value of first register

8

DINT or

REAL

4

Register1

Value of second register

:

:

:

:

:

4+4xN

DINT or

REAL

4

RegisterN

Value of Nth register

deltamotion.com

465

This manual is related to the following products: