Chapter 7 Second Development PlatformVP3000
383
API Instruction code Operand Function
323 D WPRA P S
1
, S
2
Write parameters of drive (in RAM
only)
Type
Operand
Bit devices Word devices
16-bit instruction (5 steps)
WPRA
Continuous
execution
type
WPRAP
Pulse
execution
type
32-bit instruction (9 steps)
DWPRA
Continuous
execution
type
DWPRAP
Pulse
execution
type
Associated flag:
M1016 parameters written error
M1017 parameters written successfully
X Y M K H KnX KnY KnM T C D
S
1
S
2
Caution for using operand: none
Description
S
1
: the data to be written
S
2
: the parameter address for writing data
Example
Read Pr.C2-17 data of VP3000 and write into D0, read Pr.C2-18 data and write into D1.
When M0 = ON, write the content of D10 into VP3000’s Pr.C1-23 (multi-speed 1).
If parameters are written successfully, M1017 = ON.