Hitachi SJ700D-370HFEF3 — объяснение функций записи данных в катушки и регистры [206/288]

Hitachi SJ700D-550HFEF3 [206/288] 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
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 (ix), "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 (ix), "Exception response."
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
Updating data (upper digit)
6
Updating data (lower digit)
7
CRC-16 code (upper digit)
8
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 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
1
Slave address (*1)
2
Function code
3
Starting register number
(upper digit) (*2)
4
Starting register number
(lower digit) (*2)
5
Updating data (upper digit)
6
Updating data (lower digit)
7
CRC-16 code (upper digit)
8
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 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

Содержание

Узнайте, как записывать данные в катушки и регистры с помощью функций. Пошаговые примеры и объяснения помогут вам понять процесс и избежать ошибок.

Скачать