E6581738
- 34 -
6.4.
Example 4. Change the VF-MB1/S15 parameter
When access to VF-MB1/S15 parameter, set “1000” to the PNU.
* This procedure changes the value of VF-MB1/S15 EEPROM.
6.4.1.
Write Request data table (Change, set 7 to VF-MB1/S15 parameter
f130
)
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, High byte **
0x03
Parameter Address (Byte 4)
Parameter number, Low byte **
0xE8
Parameter Address (Byte 5)
VF-MB1/S15 Parameter number, High byte
0x01
Parameter Address (Byte 6)
VF-MB1/S15 Parameter number, Low byte
0x30
Parameter Value (Byte 1)
Format *
0x42
Parameter Value (Byte 2)
Number of Value
0x01
Parameter Value (Byte 3)
Value, High byte
0x00
Parameter Value (Byte 4)
Value, Low byte
0x07
* Refer to Appendix.
** Parameter number is fixed to 0x03E8 (1000) for accessing to VF-MB1/S15 parameter.
6.4.2.
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
Request Header (Byte 3)
Axis (mirrored)
0x01
Request Header (Byte 4)
Number of Parameters
0x01
* Refer to Appendix.
6.4.3.
Read Response data table (negative,at set 256 to
f130
)
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
Request Header (Byte 3)
Axis (mirrored)
0x01
Request Header (Byte 4)
Number of Parameters
0x01
Parameter Value (Byte 1)
Format * (= 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 *
0x02
* Refer to Appendix.