14-11
Chapter 14
RS485 Communication
14.4 Description of Each Function code
14.4.1
Reading out the state of coil [01h]
• Read out the state of coil (ON/OFF).
(Example)
To read out the input terminal functions from 1 to 6 of the
inverter with slave address 8, the state of input terminals
are as shown in the right table.
Query
Field Name
Example (HEX)
1
Slave address *1)
08
2
Function code
01
3
Coil starting No. (high) *2)
00
4
Coil starting No. (low) *2)
06
5
Number of coils (high) *3)
00
6
Number of coils (low) *3)
06
7
CRC-16 (high)
5C
8
CRC-16 (low)
90
*1) A broadcasting cannot be executed.
*2) Note that the value of starting number is one less than
the actual number.
Specify the value of “(Coil No.) -1”.
*3) Where the number of readout coils is specified to value
0 or value exceeding 32, error code “03h” is returned.
*4) Data as much as the number of data bytes is
transferred.
• Data received as a response indicates the state of coils 7
to
14. The data “17h = 00010111b” received here is read
as shown below, letting coil 7 be the LSB.
In the last coil data, if the readout coil data extends to the
outside the range of defined coil, the coil data beyond the
range is transmitted as “0”.
• Coils 13 and 14 are OFF.
Response
Field Name
Example (HEX)
1
Slave address
08
2
Function code
01
3
Data bytes
01
4
Coil data *4)
17
5
CRC-16 (high)
12
6
CRC-16 (low)
1A
When the coil state readout command cannot be executed
normally, see “3.9 Exceptional Responses”.
Coil
14
13
12
11
10
9
8
7
Coil state
OFF
OFF
OFF
ON
OFF
ON
ON
ON
17h
0
0
0
1
0
1
1
1
Input terminal No.
1
2
3
4
5
6
Coil No.
7
8
9
10
11
12
Terminal state
ON
ON
ON OFF ON OFF
!
A
Содержание SJ Series
Страница 39: ...5 4 Chapter 5 Included Items Memo ...
Страница 52: ...6 13 Chapter 6 Installation Model P1 P1 200V class P1 02950 L P1 550L Dimension W mm H mm D mm 480 700 250 ...
Страница 55: ...6 16 Chapter 6 Installation Memo ...
Страница 91: ...7 36 Chapter 7 Wire Connection and Optional Devices Memo ...
Страница 135: ...9 40 Chapter 9 Operating Instructions Memo ...
Страница 145: ...10 10 Chapter 10 Test Run Memo ...
Страница 159: ...12 2 6 Chapter 12 Inverter Functions Memo ...
Страница 169: ...12 3 10 Chapter 12 Inverter Functions Memo ...
Страница 195: ...12 5 8 Chapter 12 Inverter Functions Memo ...
Страница 217: ...12 8 12 Chapter 12 Inverter Function Memo ...
Страница 287: ...12 10 32 Chapter 12 Inverter Functions Memo ...
Страница 303: ...12 11 16 Chapter 12 Inverter Functions Memo ...
Страница 349: ...12 15 8 Chapter 12 Inverter Function Memo ...
Страница 395: ...12 17 34 Chapter 12 Inverter Functions Memo ...
Страница 397: ...12 18 2 Chapter 12 Inverter Functions Memo ...
Страница 415: ...12 19 18 Chapter 12 Inverter Function Memo ...
Страница 581: ...15 10 Chapter 15 Optional Cassettes Memo ...
Страница 591: ...16 10 Chapter 16 ProDriveNext EzSQ Memo ...
Страница 642: ...18 49 Chapter 18 Tips FAQ Troubleshooting Memo ...
Страница 650: ...19 8 Chapter 19 Maintenance and Inspection Memo ...
Страница 661: ...20 11 Chapter 20 Specifications Model P1 P1 200V class 02950 L 550L Dimension W mm H mm D mm 700 480 250 ...
Страница 662: ...20 12 Chapter 20 Specifications Model P1 P1 400V class 01760 H 750H 02130 H 900H Dimension W mm H mm D mm 390 700 270 ...
Страница 663: ...20 13 Chapter 20 Specifications Model P1 P1 400V class 02520 H 1100H 03160 H 1320H Dimension W mm H mm D mm 480 740 270 ...
Страница 678: ...21 7 Chapter 21 Technical Notes SJ700D SJ P1 ND normal duty SJ700D 550LFF3 P1 02950 LFEF P1 550LFF ...
Страница 686: ...21 15 Chapter 21 Technical Notes SJ700B SJ P1 LD low duty VLD very low duty SJ700B 750LFF P1 02950 LFEF P1 550LFF ...
Страница 781: ...Appendix 1 70 Appendix 1 List of Parameters Memo ...