Loopback Test (08H); Write In Several Holding Registers (10H); Function Code 08H Message Example; Function Code 10H Message Example - YASKAWA F7 User Manual

Hide thumbs Also See for F7:
Table of Contents

Advertisement

http://www.aotewell.com

Loopback Test (08H)

The loopback test returns the command message directly as the response message without changing the contents to check the
communications between the master and slave. Set user-defined test code and data values.
The following table shows a message example when performing a loopback test with the slave 1 Drive.
Command Message
Slave address
Function code
Higher
Test Code
Lower
Higher
Data
Lower
Higher
CRC-16
Lower

Write In Several Holding Registers (10H)

Write the specified data to the registers from the specified addresses. The written data must be consecutive, starting from the
specified address in the command message: Higher 8 bits, then lower 8 bits, in storage register address order. The following
table shows an example of a message when a forward run command and a speed command of 60.0Hz has been set in slave 1 by
the PLC.
Set the number of data specified using command messages as quantity of specified messages x 2. Handle
IMPORTANT
response messages in the same way.
Command Message
Slave Address
Function Code
Higher
Start
Address
Lower
Higher
Quantity
Lower
No. of data
Higher
Lead data
Lower
Higher
Next data
Lower
Higher
CRC-16
Lower
Tel: +(86) 755 8660 6182
Response Message
(During Normal Operation)
01H
Slave address
08H
Function code
00H
Test Code
00H
A5H
Data
37H
DAH
CRC-16
8DH
Fig D.8 Function Code 08H Message Example
Response Message
(During Normal Operation)
01H
Slave Address
10H
Function Code
00H
Start
Address
01H
00H
Quantity
02H
04H
CRC-16
00H
01H
02H
58H
63H
39H
Fig D.9 Function Code 10H Message Example
Communications D - 9
Aotewell
01H
08H
Higher
00H
Lower
00H
Higher
A5H
Lower
37H
Higher
DAH
Lower
8DH
01H
10H
Higher
00H
Lower
01H
Higher
00H
Lower
02H
Higher
10H
Lower
08H
* No. of data = 2 x (quantity)
Aotewell
Email: Sales@aotewell.com
Response Message
(During Error)
Slave address
01H
Function code
88H
Error Code
01H
Higher
86H
CRC-16
Lower
50H
Response Message
(During Error)
Slave Address
01H
Function Code
90H
Error code
02H
Higher
CDH
CRC-16
Lower
C1H
http://www.aotewell.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents