E6581738

6.2.Example 2. Change the PROFIdrive parameter

6.2.1.Write Request data table (Change, set 0 to PNU 927 (0x039F))

Field

Description

Value

Header (DU0)

Function number

0x5F

Header (DU1)

Slot number (0)

0x00

Header (DU2)

Index (47)

0x2F

Header (DU3)

Length

0x0E

Request Header (Byte 1)

Request Reference

0x01

Request Header (Byte 2)

Request ID (0x02: Change) *

0x02

Request Header (Byte 3)

Axis

0x01

Request Header (Byte 4)

Number of Parameters

0x01

Parameter Address (Byte 1)

Attribute

0x10

Parameter Address (Byte 2)

Number of Elements

0x01

Parameter Address (Byte 3)

Parameter number (PNU), High byte

0x03

Parameter Address (Byte 4)

Parameter number (PNU), Low byte

0x9F

Parameter Address (Byte 5)

Subindex (IND), High byte

0x00

Parameter Address (Byte 6)

Subindex (IND), Low byte

0x00

Parameter Value (Byte 1)

Format *

0x06

Parameter Value (Byte 2)

Number of Value

0x01

Parameter Value (Byte 3)

Values, High byte

0x00

Parameter Value (Byte 4)

Values, Low byte

0x00

* Refer to Appendix.

 

 

Read Response data table (positive)

 

 

 

 

Field

Description

Value

Header DU0

Function number

0x5E

Header DU1

Slot number (0)

0x00

Header DU2

Index (47)

0x2F

Header DU3

Length

0x04

Request Header (Byte 1)

Request Reference (mirrored)

0x01

Request Header (Byte 2)

Response ID (0x02: Positive)

0x02

Request Header (Byte 3)

Axis (mirrored)

0x01

Request Header (Byte 4)

Number of Parameters

0x01

6.2.2.Read Response data table (negative, set 2 to PNU 927)

Field

Description

Value

Header DU0

Function number

0x5E

Header DU1

Slot number (0)

0x00

Header DU2

Index (47)

0x2F

Header DU3

Length

0x08

Request Header (Byte 1)

Request Reference (mirrored)

0x01

Request Header (Byte 2)

Response ID (0x82: Negative) *

0x82

Request Header (Byte 3)

Axis (mirrored)

0x01

Request Header (Byte 4)

Number of Parameters

0x01

Parameter Value (Byte 1)

Format (0x44: Error) *

0x44

Parameter Value (Byte 2)

Numner of Vlaues

0x01

Parameter Value (Byte 3)

Error number, High byte

0x00

Parameter Value (Byte 4)

Error number, Low byte

0x01

* Refer to Appendix.

- 32 -

Page 34
Image 34
Toshiba VF-MB1/S15 instruction manual Example 2. Change the PROFIdrive parameter, 0x02, 0x9F, 0x82, 0x44