Hitachi SJ700B Series Instruction Manual page 192

Sj700b series inverter
Hide thumbs Also See for SJ700B Series:
Table of Contents

Advertisement

(4) Explanation of function codes
(i) Reading the coil status [01h]
This function reads the coil status (on or off).
(Example)
When reading the status of the intelligent input terminals [1] to [6] of the inverter at slave address "8":
Assume that the intelligent input terminals are in the status as shown below.
Intelligent input terminal
Coil number
Terminal status
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)
(*3)
6
Number of coils (lower digit) (*3)
7
CRC-16 code (upper digit)
8
CRC-16 code (lower digit)
*1 This query cannot be broadcasted.
*2 Note that the starting coil number is 1 less than the
actual coil number of the coil to be read first.
*3 If 0 or a value more than 32 is specified as the number
of coils to be read, the inverter will respond with error
code "03h".
The data received in the response indicates the status of coils 7 to 14. Read the received data (17h =
00010111b) as shown below. The least-significant bit indicates the status of coil 7.
Coil number
Coil status
If the query has specified the reading of an undefined coil, the data on the said coil is represented by "0" in
the response.
If the function to read the coil status cannot be executed normally, the inverter will return an exception
response. For details, see Item (viii), "Exception response."
1
2
3
4
7
8
9
10
ON
ON
ON
OFF
Sample setting
(hexadecimal)
08
01
00
06
00
06
5C
90
14
13
12
OFF
OFF
OFF
4 - 133
Chapter 4 Explanation of Functions
5
6
11
12
Coils 13 and 14 are off.
ON
OFF
Response
Field name
1
Slave address
2
Function code
3
Number of data bytes
4
Coil data (*4)
5
CRC-16 code (upper digit)
6
CRC-16 code (lower digit)
*4 The data as many as the specified number of data
bytes is transferred.
11
10
9
ON
OFF
ON
Sample setting
(hexadecimal)
08
01
01
17
12
1A
8
7
ON
ON

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents