C.8 message examples, Reading converter memobus/modbus register contents, Loopback test – Yaskawa D1000 Series Power Regenerative Converter User Manual

Page 217

Advertising
background image

C.8 Message Examples

YASKAWA ELECTRIC TOEP C710656 07C YASKAWA Power Regenerative Converter - D1000 Instruction Manual

217

MEMO

BUS/Mod

bus

Co

mmunica

tion

s

C

C.8 Message Examples

Below are some examples of command and response messages.

Reading Converter MEMOBUS/Modbus Register Contents

Using the function code 03H (Read), a maximum of 16 MEMOBUS/Modbus registers can be read out at a time.

The following table shows message examples when reading error details and data link status from the slave 2 converters.

Loopback Test

Function code 08H performs a loopback test that returns a response message with exactly the same content as the
command message. The response message can be used to check communications between the master and slave.
User-defined test code and data values can also be set.

The following table shows a message example when performing a loopback test with the slave 1 converter.

Command Message

Response Message (normal)

Slave Address

02H

Slave Address

02H

Function Code

03H

Function Code

03H

Starting No.

Upper

00H

Data Quantity

04H

Lower

21H

1st storage register

Upper

00H

Data Quantity

Upper

00H

Lower

00H

Lower

02H

Next storage register

Upper

00H

CRC-16

Upper

94H

Lower

00H

Lower

32H

CRC-16

Upper

C9H

Lower

33H

Command Message

Response Message (normal)

Response Message (fault)

Slave Address

01H

Slave Address

01H

Slave Address

01H

Function Code

08H

Function Code

08H

Function Code

88H

Test Code

Upper

00H

Test Code

Upper

00H

Error Code

01H

Lower

00H

Lower

00H

CRC-16

Upper

86H

Data

Upper

A5H

Data

Upper

A5H

Lower

50H

Lower

37H

Lower

37H

CRC-16

Upper

DAH

CRC-16

Upper

DAH

Lower

8DH

Lower

8DH

TOEP_C710656_07C_2_0.book 217 ページ 2015年1月9日 金曜日 午後6時23分

Advertising