beautypg.com

Appendix d. reference, Appendix d.1. data types, Appendix d.2. single writes – FieldServer FS-8700-08 User Manual

Page 21

background image

FS-8700-01 Modbus RTU/ASCIIFS-8700-01_Modbus_RTU.doc Driver Manual

Page 21 of 21

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com

Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]

Appendix D. Reference

Appendix D.1. Data Types

If Node parameter Address_Type is set as ADU or PDU, then Data_Type must be specified as follows

For Address_Type ADU :

Address range Data_Type

Function Code (Write) Function Code (Read)

1 - 65536

Coil

15

1

1 – 65536

Discrete_Input

n/a.

2

1 – 65536

Input_Register

n/a.

4

1 - 65536

Holding_Register 16

3


For Address_Type PDU :

Address range Data_Type Function Code (Write) Function Code (Read)
0 - 65535

FC01

15

1

0 – 65535

FC02

n/a.

2

0 – 65535

FC04

n/a.

4

0 – 65535

FC03

16

3


For Address_Type Modicon_5digit

When a Modbus address range is specified, a particular Data Type is implied. The defaults are as follows:

Address range Data_Type

Function Code (Write) Function Code (Read)

00001 - 09999 Coil

5,15

1

10001 - 19999 Discrete_Input

n/a.

2

30001 - 39999 Input_Register

n/a.

4

40001 - 49999 Holding_Register 6,16

3

Appendix D.2. Single Writes

If writing multiple registers the write function will 16

If writing multiple coils the write function will 15

If writing a single register the write function will be 6 unless Write_FNC parameter is set to “Multiple’

If writing a single coil the write function will be 5 unless Write_FNC parameter is set to “Multiple’

This manual is related to the following products: