Hitachi L700 SERIES Instruction Manual page 183

L700 series
Hide thumbs Also See for L700 SERIES:
Table of Contents

Advertisement

(v) Performing a loopback test [08h]
The loopback test function is used to check the communication between the external control system
(master) and the inverter (slave).
(Example)
When performing a loopback test with the inverter at slave address "1":
Query
Field name
1
Slave address (*1)
2
Function code
3
Diagnosis subcode (upper digit)
4
Diagnosis subcode (lower digit)
5
Data (upper digit)
6
Data (lower digit)
7
CRC-16 code (upper digit)
8
CRC-16 code (lower digit)
*1 This query cannot be broadcasted.
The diagnosis subcode only conforms to the echoing of query data (00h, 00h). It cannot be used for other
commands.
(vi) Writing data to multiple coils [0Fh]
This function rewrites data in sequential coils.
(Example)
When updating the status of the intelligent input terminals [1] to [6] of the inverter at slave address "5":
The status of the intelligent input terminals is updated to the status shown in the following table:
Query
Field name
1
Slave address (*1)
2
Function code
3
Starting coil number
(upper digit) (*2)
4
Starting coil number
(lower digit) (*2)
5
Number of coils (upper digit)
6
Number of coils (lower digit)
7
Number of data bytes (*3)
8
Updating data (upper digit) (*3)
9
Updating data (lower digit) (*3)
10
CRC-16 code (upper digit)
11
CRC-16 code (lower digit)
*1 If this query is broadcasted, no inverter will return any
response.
*2 Note that the starting coil number is 1 less than the
actual coil number of the coil to which the data is to be
written first.
*3 The updating data consists of the upper and lower digits.
Even when updating an odd number of data bytes, add
1 to the number of data bytes to make it an even
number before specifying the number of data bytes.
If the function to write data to multiple coils cannot be executed normally, the inverter will return an
exception response. For details, see Item (viii), "Exception response."
Sample setting
(hexadecimal)
01
08
00
00
Arbitrary
Arbitrary
CRC
CRC
Intelligent input terminal
Coil number
Terminal status
Sample setting
(hexadecimal)
05
0F
00
06
00
06
02
17
00
DB
3E
Chapter 4 Explanation of Functions
Response
Field name
1
Slave address
2
Function code
3
Diagnosis subcode (upper digit)
4
Diagnosis subcode (lower digit)
5
Data (upper digit)
6
Data (lower digit)
7
CRC-16 code (upper digit)
8
CRC-16 code (lower digit)
1
2
3
4
7
8
9
10
ON
ON
ON
OFF
Response
Field name
1
Slave address
2
Function code
3
Starting coil number (upper digit)
4
Starting coil number (lower digit)
5
Number of coils (upper digit)
6
Number of coils (lower digit)
7
CRC-16 code (upper digit)
8
CRC-16 code (lower digit)
4 - 121
Sample setting
(hexadecimal)
Arbitrary
Arbitrary
CRC
CRC
5
6
11
12
ON
OFF
Sample
setting
(hexadecimal)
01
08
00
00
05
0F
00
06
00
06
34
4C

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents