Chapter 4 Explanation of Functions
4 - 135
(iii) Writing data to a specified coil [05h]
This function writes data to a specified coil
The following table shows the updating of the coil status.
Coil status
OFF
→
ON
ON
→
OFF
Updating data (upper digit)
FFh
00h
Updating data (lower digit)
00h
00h
(Example)
When sending an operation command to the inverter at slave address "10":
To start the inverter operation, "03" must be set in parameter "A002". Coil 1 is used to turn on an operation
command.
If the function to write data to a coil cannot be executed normally, the inverter will return an exception
response. For details, see Item (viii), "Exception response."
(iv) Writing data to a specified register [06h]
This function writes data to a specified register.
(Example)
When setting "50 Hz" as the base frequency setting (A003) in the inverter at slave address "5":
Since register "1203h" to store the base frequency setting (A003) has a data resolution of 1 Hz, specify
"50" (0032h) as the updating data to set "50 Hz".
If the function to write data to a specified register 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)
0A
2 Function
code
05
3
Starting coil number
(upper digit) (*2)
00
4
Starting coil number
(lower digit) (*2)
00
5
Updating data (upper digit)
FF
6
Updating data (lower digit)
00
7
CRC-16 code (upper digit)
8D
8
CRC-16 code (lower digit)
41
*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 be read first.
Response
Field name
Sample setting
(hexadecimal)
1 Slave
address
0A
2 Function
code
05
3
Starting coil number (upper
digit)
00
4
Starting coil number (lower
digit)
00
5
Updating data (upper digit)
FF
6
Updating data (lower digit)
00
7
CRC-16 code (upper digit)
8D
8
CRC-16 code (lower digit)
41
Query
Field name
Sample setting
(hexadecimal)
1
Slave address (*1)
05
2 Function
code
06
3
Starting register number
(upper digit) (*2)
12
4
Starting register number
(lower digit) (*2)
02
5
Updating data (upper digit)
00
6
Updating data (lower digit)
32
7
CRC-16 code (upper digit)
AD
8
CRC-16 code (lower digit)
23
*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 be read first.
Response
Field name
Sample setting
(hexadecimal)
1 Slave
address
05
2 Function
code
06
3
Starting register number
(upper digit)
12
4
Starting register number
(lower digit)
02
5
Updating data (upper digit)
00
6
Updating data (lower digit)
32
7
CRC-16 code (upper digit)
AD
8
CRC-16 code (lower digit)
23
Summary of Contents for SJ700B SERIES
Page 15: ...Contents xiii Index Index Index 1 ...
Page 17: ......
Page 22: ......
Page 45: ......
Page 59: ......
Page 223: ......
Page 237: ......
Page 245: ......
Page 251: ...Chapter 7 Specifications 7 6 SJ700B 450 to 550HFF 5 Cable hole φ41 ...
Page 253: ......