beautypg.com

Modbus remote i/o communication module rtu-485, 5function codes rtu-485 supports – Delta Electronics Communication Module RTU-485 User Manual

Page 10

background image

Modbus Remote I/O Communication Module RTU-485

DVP-PLC Application Manual

8

Communication

address

Attribute

Content

Explanation

H’001C R

Model code of the 5

th

special module

The model code of the 5

th

special module

connected to RTU-485.

H’001D R

Model code of the 6

th

special module

The model code of the 6

th

special module

connected to RTU-485.

H’001E R

Model code of the 7

th

special module

The model code of the 7

th

special module

connected to RTU-485.

H’001F R

Model code of the 8

th

special module

The model code of the 8

th

special module

connected to RTU-485.

4.4 Error

Codes

Code

Indication

Explanation

0001

Incorrect function code

RTU-485 does not support this function code.

0002

Incorrect operand address

The address of a certain device is not within the

range, orthe data written into it are incorrect.

0003

Incorrect data

The data read/written exceed the maximum length.

0004

RTU-485 STOP

RTU-485 in STOP mode.

000B

Incorrect communication format

The length of data received by RTU-485 is too short.

000C

Incorrect communication format

The length of data received by RTU-485 is too long.

5

Function Codes RTU-485 Supports

RTU-485 complies with the standard Modbus protocol, supporting 7 function codes, which are H’01, H’02, H’03,

H’05, H’06, H’0F and H’10. Please refer to the standard Modbus protocol for the specific data format of each

function code.

Code

Function

Data type

Applicable address

H’01

Reading the output status of bit

device.

bit

DO area: H’0500 ~ H’057F

H’02

Reading the input status of bit

device

word bit

DI area: H’0400 ~ H’047F

Area for special functions: H’0000 ~ H’001F

CR for the 1

st

special module: H’1600 ~ H’1630

CR for the 2

nd

special module: H’1640 ~ H’1670

CR for the 3

rd

special module: H’1680 ~ H’16B0

CR for the 4

th

special module: H’16C0 ~ H’16F0

CR for the 5

th

special module: H’1700 ~ H’1730

CR for the 6

th

special module: H’1740 ~ H’1670

CR for the 7

th

special module: H’1780 ~ H’16B0

H’03 Reading

register

bit

CR for the 8

th

special module: H’17C0 ~ H’17F0

H’05

Writing single datum into bit

device

bit

DO area: H’0500 ~ H’057F

RTU-485 RUN/STOP mode: H’0003

H’06

Writing single datum into register

word

Applicable to CR with R/W attribute in the 1

st

~ 8

th

special module

H’0F

DO area: H’0500 ~ H’057F

H’10

Writing many data into bit device

bit

Applicable to CR with R/W attribute in the 1

st

~ 8

th

special module