26
YASKAWA
SIEP C730600 86F MECHATROLINK-II Technical Manual
■
PRM_WR: 02 (Hex.) (Write Parameter)
Byte
Command
Response
1
PRM_WR
PRM_WR
2
0
ALARM
3, 4
STATUS
5, 6
NO
NO
7
SIZE
SIZE
8 - 15
DATA
DATA
16
WDT
RWDT
The PRM_WR command is used to write the drive internal parameters.
To save the setting value in the drive EEPROM, set the CONFIG_MOD in the CONFIG command to 1. For
details, refer to the section describing the CONFIG command.
In the following case, a warning is generated and the command is ignored.
•
If a register number (NO) fault occurs: Data setting warning (A.94)
•
If SIZE is an odd number or is not between 2 and 8: Data setting warning (A.94)
•
Data upper/lower limit fault: Data setting warning (A.94)
•
While using the keypad to change settings: Command warning (A.95)
•
If not in phase 2 or 3: Command warning (A.95)
•
During an undervoltage fault: Command warning (A.95)
The register number (NO) is the same as the register number that is set and referenced in MEMOBUS/Modbus
transfers. Set the lower byte (LSB) before setting the upper byte (MSB). Refer to the drive technical manual for
more information.
Set the values for DATA from lower byte (LSB) to upper byte (MSB). For SIZE, set the number of bytes to be
written as an even number. You can specify eight bytes.
The values for the NO, SIZE, and DATA in the response are copies of values in the command.
Example when writing in C1-01 (200 (Hex.))
Table 8.2 Example when writing in C1-01 (200 (Hex.))
Byte
Command (Hex.)
Response (Hex.)
5
00
00
6
02
02
7
02
02
8
Setting value (Lower byte)
Setting value (Lower byte)
9
Setting value (Upper byte)
Setting value (Upper byte)
■
ID_RD: 03 (Hex.) (Read ID Number)
Byte
Command
Response
1
ID_RD
ID_RD
2
0
ALARM
3, 4
STATUS
5
DEVICE_CODE
DEVICE_CODE
6
OFFSET
OFFSET
7
SIZE
SIZE
8 - 15
0
ID
16
WDT
RWDT
The ID_RD command reads the product information as ID data to read the ID of a device.
,
, and
show the applicable DEVICE_CODE.