Loop-Back Test - Function Code 08H - YASKAWA CIMR-E7U Series Technical Manual

Drive parameter access
Table of Contents

Advertisement

Loop-Back Test – Function Code 08H
The Loop-Back Test is used to verify that the communications parameters for the E7 drive have been set correctly and that the connection is
correct. The message should be constructed exactly as shown below. If everything is set and connected correctly, the received response will
match the response shown below.
Loop-Back Test - 08h
The Loop-Back test function (08h) is used for checking signal transmission between master and slaves. The command message format is shown
below.
Each E7 drive slave address is set via. parameter H5-01. Valid slave addresses must be in the range of 1 to 20 hex (1 to 32 dec) and entered as a
hexadecimal number. No two slaves may have the same address. The master addresses the slave by placing the slave address in the slave address
field of the message. In the command message above, the slave is addressed at 01h. Broadcast address 0 is not valid for Loop-Back test
commands.
The function code of this message is 08h (Loop-Back test).
The test code must be set to 0000h. This function specifies that the data passed in the command message is to be returned (looped back) in the
response message.
The Data section contains arbitrary values.
A CRC-16 value is generated from a calculation including the message slave address, function code, test code, and data. The procedure for
calculating a CRC-16 is described at the end of this chapter. When the slave receives the command message it calculates a CRC-16 value and
compares it to the CRC-16 of the command message. If the two CRC-16 values are identical and the Slave Address is correct, the slave
processes command message. If the two CRC-16 values are not identical, the slave will discard the command message and not respond.
If the command message has a valid slave address, function code, test code, data and CRC-16, the slave will respond with the normal response
message. If the command message has an invalid function code, test code, and/or data, the slave will respond with a fault response message. If
the command message has an invalid slave address or CRC-16, no response will be returned.
Table 2.8 - Loop-Back Command Message
Description
Slave Address
Function Code
Upper
Test Code
Lower
Upper
Data
Lower
Upper
CRC-16
Lower
Message Formats 2-8
Data
01h
08h
00h
00h
A5h
37h
DAh
8Dh

Advertisement

Table of Contents
loading

This manual is also suitable for:

E7

Table of Contents