EasyManua.ls Logo

YASKAWA FSDrive-MV1000 Series - Message Format; Message Content; Slave Address; Function Code

YASKAWA FSDrive-MV1000 Series
260 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
C.7 Message Format
YASKAWA ELECTRIC TOEP C710687 02B FSDrive-MV1000 Instructions 233
MEMOBUS/Modbus
Communications
C
C.7 Message Format
u Message Content
In MEMOBUS/Modbus communications, the master sends commands to the slave, and the slave responds. The message
format is configured for both sending and receiving as shown below, and the length of data packets depends on the
command (function) content.
u Slave Address
The slave address in the message defines the note the message is sent to. Use addresses between 0 and FF (hex). If a
message with slave address 0 is sent (broadcast), the command from the master will be received by all slaves. The slaves
do not provide a response to a broadcast type message.
u Function Code
The three types of function codes are shown in the table below.
u Data
Configure consecutive data by combining the MEMOBUS/Modbus register address (test code in case of a loopback test)
and the data the register contains. The data length changes depending on the command details.
A drive MEMOBUS/Modbus register always has a data length of two bytes. Therefore data written into drive registers
must also always have a length of two bytes. Register data read out from the drive will always consist of two bytes.
u Error Check
The drive uses a CRC-16 (cyclic redundancy check, checksum method) for checking data validity. Use the procedure
described below when calculating the CRC-16 checksum for command data or when verifying response data.
n
Command Data
When the drive receives data, it calculates the CRC-16 checksum from the data and compares it to the CRC-16 value
received within the message. Both must match before a command is processed.
The starting value for CRC-16 calculations must be FFFFH (i.e., all 16 bits equal 1) in the MEMOBUS/Modbus
communications.
Function
Code
Function Name
Data Length (bytes)
Command Message Response Message
Minimum Maximum Minimum Maximum
03H Read MEMOBUS/Modbus registers 8 8 7 37
08H Loopback test 8888
10H Write to multiple MEMOBUS/Modbus registers 11 41 8 8
SLAVE ADDRESS
FUNCTION CODE
DATA
ERROR CHECK

Table of Contents

Other manuals for YASKAWA FSDrive-MV1000 Series

Related product manuals