background image

MODBUS FUNCTION CODES & SUPPORTED CODES

 

Data and Control Functions

CODE NAME

01

Read Coil Status

X

Digital output from the slave

02

Read Input Status

X

Status of digital inputs to the slave

03

Read Holding Registers

X

General purpose register within the slave

04

Read Input Registers

X

Collected data from the field by the slave

05

Force Single Coil

X

Digital output from the slave

06

Preset Single Registers

X

General purpose register within the slave

07

Read Exception Status

08

Diagnostics

X

09

Program 484

10

Poll 484

11

Fetch Comm. Event Counter

Fetch a status word and an event counter

12

Fetch Comm. Event Log

A status word, an event counter, a message count and a field of event bytes

13

Program Controller

14

Poll Controller

15

Force Multiple Coils

X

Digital output from the slave

16

Preset Multiple Registers

X

General purpose register within the slave

17

Report Slave ID

Slave type / ‘RUN’ status

18

Program 884/M84

19

Reset Comm. Link

20

Read General Reference

21

Write General Reference

22

Mask Write 4X Register

23

Read/Write 4X Register

24

Read FIFO Queue

 

Exception Codes

CODE NAME

01

Illegal Function

X

Function code is not allowable for the slave

02

Illegal Data Address

X

Address is not available within the slave

03

Illegal Data Value

X

Data is not valid for the function

04

Slave Device Failure

05

Acknowledge

06

Slave Device Busy

07

Negative Acknowledge

08

Memory Parity Error

 

Diagnostic Subfunctions

CODE NAME

00

Return Query Data

X

Loop back test

01

Restart Comm. Option

X

Reset the slave and clear all counters

02

Return Diagnostic Register

X

Contents of the diagnostic data (2 bytes)

03

Change ASCII Input Delimiter

X

Delimiter character of ASCII message

04

Force Listen Only Mode

X

Force the slave into Listen Only Mode

R5-NM1

5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201  Fax: +81(6)6659-8510  E-mail: [email protected]

EM-6104  Rev.8  P. 4 / 7

Summary of Contents for R5-NM1

Page 1: ...nit where it is subjected to continuous vibration Do not subject the unit to physical impact Environmental temperature must be within 10 to 55 C 14 to 131 F with relative humidity within 30 to 90 RH i...

Page 2: ...MODE RTU Binary ASCII 8 OFF ON 1 Bit assignment according to Parity and Data Mode setting DATA MODE START DATA PARITY STOP RTU 1 8 1 1 1 8 None 2 ASCII 1 7 1 1 1 7 None 2 FRONT DIP SW Node Address ADD...

Page 3: ...ECTOR DA DB DG SLD FG To Other Modbus Devices Note The FG terminal is not connected with the FG of the power supply module model R5 PS WIRING INSTRUCTIONS EURO TYPE CONNECTOR TERMINAL Modbus Applicabl...

Page 4: ...within the slave 17 Report Slave ID Slave type RUN status 18 Program 884 M84 19 Reset Comm Link 20 Read General Reference 21 Write General Reference 22 Mask Write 4X Register 23 Read Write 4X Register...

Page 5: ...T 4 Module 4 Ai 1 INT 16 Module 16 Ai 1 INT 17 18 Module 1 Ai 1 Float 19 20 Module 2 Ai 1 Float 21 22 Module 3 Ai 1 Float 23 24 Module 4 Ai 1 Float 47 48 Module 16 Ai 1 Float Holding Registers 4X 1 Mo...

Page 6: ...hen there is an error in one or more channels the bit corresponding to the channels turns to 1 The bit corresponding to unmounted channels turns to 1 DC current output modules check output wire breakd...

Page 7: ...eger section of raw data is directly converted into the data For example 135 4 F is con verted into 135 Negative values are represented in 2 s complements 0 15 4 POINT DISCRETE DATA models R5 DA4 DC4...

Reviews: