Prm_wr: 02h (write parameter sub-command) – Yaskawa SI-ET3 User Manual

Page 27

Advertising
background image

9 Main Command

YASKAWA ELECTRIC SIEP C730600 62B 1000-Series Option SI-ET3 Technical Manual

27

Example: Reading C1-01 (200H)

‹

PRM_WR: 02H (Write Parameter Sub-Command)

The PRM_WR command is used to write a parameter by specifying the parameter number, data size, and parameter data.
The command can be used in communication phases 2 and 3. The CONFIG command must be sent to set up after the
parameters are written. Refer to the drive instruction manual for details of MEMOBUS/Modbus register numbers.

PRM_RD Response

Byte

Response

Description

0

PRM_RD (01H)

Command code

1

RWDT

Watchdog data

2

CMD_STAT

Refer to

Command Status (CMD_STAT) on page 24

.

If the SIZE data is invalid or MEMOBUS/Modbus register number does not exist, “9” is set for CMD_ALM.

3
4

NO

MEMOBUS/Modbus register number (Lower) set in the command.

5

MEMOBUS/Modbus register number (Upper) set in the command.

6

SIZE

The SIZE is the same as the register number set in MEMOBUS/Modbus transfers.

7

Reserved (0)

0 is set.

8

PARAMETER

Sets the data read in the byte set in the command. The option stores the data read for PARAMETER from
lower byte (LSB) to upper byte (MSB). 0 is stored when the field is not used.
0 is stored in PARAMETER when command error occurs.

9

10

x
x

31

Byte

Command

Response

4

00H

00H

5

02H

02H

6

02H

02H

7

00H

00H

8

00H

Value set to C1-01 (Lower)

9

00H

Value set to C1-01 (Upper)

PRM_WR Command

Byte

Command

Description

0

PRM_WR (02H)

Command code

1

WDT

Watchdog data

2

CMD_CTRL

Refer to

Command Control (CMD_CTRL) on page 24

.

3
4

NO

MEMOBUS/Modbus register number (Lower)

5

MEMOBUS/Modbus register number (Upper)

6

SIZE

Set the data size in byte.
Available setting values are 2, 4, 6, and 8

7

Reserved (0)

Not used

8

PARAMETER

Specify the lower byte (LSB) before the upper byte (MSB) in the size set in the SIZE.

9

10

x
x

31

PRM_WR Response

Byte

Response

Description

0

PRM_WR (02H)

Command code

1

RWDT

Watchdog data

Advertising