Chapter 4 Explanation of Functions
(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":
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:
Intelligent
input
terminal
1 2 3 4 5 6
Coil
number
7 8 9 10
11
12
Terminal
status
ON ON ON OFF ON OFF
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."
Query
Field name
Sample setting
(hexadecimal)
1
Slave address (*1)
01
2 Function
code
08
3
Diagnosis subcode (upper digit)
00
4
Diagnosis subcode (lower digit)
00
5
Data (upper digit)
Arbitrary
6
Data (lower digit)
Arbitrary
7
CRC-16 code (upper digit)
CRC
8
CRC-16 code (lower digit)
CRC
*1 This query cannot be broadcasted.
Response
Field name
Sample setting
(hexadecimal)
1 Slave
address
01
2 Function
code
08
3
Diagnosis subcode (upper
digit)
00
4
Diagnosis subcode (lower digit)
00
5
Data (upper digit)
Arbitrary
6
Data (lower digit)
Arbitrary
7
CRC-16 code (upper digit)
CRC
8
CRC-16 code (lower digit)
CRC
Query
Field name
Sample setting
(hexadecimal)
1
Slave address (*1)
05
2 Function
code
0F
3
Starting coil number
(upper digit) (*2)
00
4
Starting coil number
(lower digit) (*2)
06
5
Number of coils (upper digit)
00
6
Number of coils (lower digit)
06
7
Number of data bytes (*3)
02
8
Updating data (upper digit)
(*3)
17
9
Updating data (lower digit) (*3)
00
10
CRC-16 code (upper digit)
DB
11
CRC-16 code (lower digit)
3E
*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
Response
Field name
Sample
setting
(hexadecimal)
1 Slave
address
05
2 Function
code
0F
3
Starting coil number (upper digit)
00
4
Starting coil number (lower digit)
06
5
Number of coils (upper digit)
00
6
Number of coils (lower digit)
06
7
CRC-16 code (upper digit)
34
8
CRC-16 code (lower digit)
4C
4 - 139
Содержание SJ700-055HFF2
Страница 15: ...Contents xiii Appendix Appendix A 1 Index Index Index 1 ...
Страница 17: ......
Страница 22: ......
Страница 43: ...Chapter 2 Installation and Wiring 2 21 ...
Страница 48: ......
Страница 51: ...Chapter 3 Operation 3 3 ...
Страница 63: ......
Страница 152: ...Chapter 4 Explanation of Functions 4 89 H034 H234 ...
Страница 161: ...Chapter 4 Explanation of Functions 4 98 ...
Страница 219: ...Chapter 4 Explanation of Functions 4 156 ...
Страница 232: ......
Страница 244: ......
Страница 252: ......
Страница 258: ...Chapter 7 Specifications SJ700 550 LFF2 LFUF2 5 Cable hole φ41 7 6 ...
Страница 260: ......