Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-96
16-6-5 Detailed explanation of drive special applications commands
API
RPR
S1 S2
Read servo parameter
139
P
Bit device Word device
16-bit command (5 STEP)
RPR Continuous
execution type
RPRP Pulse
execution type
32-bit command
- - - -
Flag signal: none
X Y M K H KnX KnY KnM T C D
S1
* *
*
S2
*
Notes on operand usage: none
S1
: Parameter address of data to be read.
S2
: Register where data to be
read is stored.
API
WPR
S1 S2
Write servo parameter
140
P
Bit device Word device
16-bit command (5 STEP)
WPR Continuous
execution type
WPRP Pulse
execution type
32-bit command
- - - -
Flag signal: none
X Y M K H KnX KnY KnM T C D
S1
* *
*
S2
* *
*
Notes on operand usage: none
S1
: Data to write to specified page.
S2
: Parameter address of data to be
written.
When the data in the M300 drive's parameter H01.00 is read and written to D0,
data from H01.01 will be read and written to D1.
When M0=On, the content of D10 will be written to the M300 drive Pr. 04.00
(first speed of multiple speed levels).
When the parameter has been written successfully, M1017=On.
The M300's WPR command does not support writing to the 20XX address, but
the RPR command supports reading of 21XX, 22XX.
Recommendation Take care when using the WPR command. When writing parameters, because
most parameters are recorded as they are written, these parameters may only be
revised 109 times; a memory write error may occur if parameters are written more
than (MS)10
6
or (MH)10
9
times.
Calculation of the number of times written is based on whether the written value is
modified. For instance, writing the same value 100 times at the same time counts as
writing only once.