EasyManua.ls Logo

Delta VP3000 Series - Page 391

Delta VP3000 Series
714 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 7 Second Development Platform VP3000
382
API Instruction code Operand Function
140 D WPR P S
1
, S
2
Write parameters of drive
Type
Operand
Bit devices Word devices
16-bit instruction (5 steps)
WPR
Continuous
execution
type
WPRP
Pulse
execution
type
32-bit instruction (9 steps)
DWPR
Continuous
execution
type
DWPRP
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
Suggestion
Note that when you use WPR instruction and write in parameters, most parameters are
recorded at the same time of writing, and these parameters allows 10
9
times for change. A
memory write error may occur if parameters are written more than 10
9
times.
The following commonly used parameters have been specially processed, so there is no limit
to the number of write times.
1. PLC application parameters: L1-00–L1-49, L2-00–L2-49
2. The source selection of PLC mode control digital terminal, bit0–bit1: L0-07–L0-08
3. Acceleration time 1: Pr.C2-00
4. Deceleration time 1: Pr.C2-01
5. Acceleration time 2: Pr.C2-02
6. Deceleration time 2: Pr.C2-03
7. Acceleration time 3: Pr.C2-04
8. Deceleration time 3: Pr.C2-05
9. Acceleration time 4: Pr.C2-06
10. Deceleration time 4: Pr.C2-07
11. JOG acceleration time 4: Pr.C3-01
12. JOG deceleration time 4: Pr.C3-02
The calculation of write times is based on the written value whether is being changed or not.
For example, write the same value 100 times at the same time counts as once only.
If you are not sure that the use of WPR instruction in PLC writing, we recommend you use
WPRA instruction.

Table of Contents

Related product manuals