![Nova Electronics MCX514 Скачать руководство пользователя страница 203](http://html1.mh-extra.com/html/nova-electronics/mcx514/mcx514_user-manual_1710400203.webp)
NOVA electronics Inc. MCX514 -
190
-
190
-
7.2
Commands for Writing Data
Commands for writing data is used for setting driving parameters such as acceleration, drive speed, drive pulse number…
When more than one axis is specified, it is possible to set the same data in specified axes simultaneously.
If the data length is 2 bytes, WR6 register can be used. If the data is 4 bytes, the high word data can be written into register WR7
and the low word into register WR6. Then, the axis assignment and command code will be written into register WR0 for
execution.
Writing data for registers WR6 and WR7 is binary and 2's complement is used for negative numbers. Each data should be set
within the permitted data range. If the setting data is out of range, operation cannot be done correctly.
[Note]
•
It requires 125 nSEC (maximum) to access the command code when CLK=16MHz. Please do not write the next
command or data during the period of time.
•
Except acceleration offset (AO), logical position counter maximum value (LX) and real position counter maximum
value (RX), other parameters are unknown at reset. So, please set proper values for those driving related parameters
before the driving starts.
•
The unit described in each speed parameter and timer value is for when input clock (CLK) is 16MHz. Please see
Appendix B for parameter calculation formula when input clock (CLK) is other than 16MHz.
7.2.1
Jerk Setting
Code
Command
Symbol
Data Range
Data Length
(byte)
00
h
Jerk setting
JK
1
~
1,073,741,823
4
A jerk setting value is a parameter that determines the acceleration increasing / decreasing rate per unit in S-curve
acceleration/deceleration. The unit of the setting value is pps/sec
2
.
Jerk = JK [pps/sec
2
]
In S-curve acceleration/deceleration driving (WR3/D1=0) where acceleration and deceleration are symmetrical, this jerk is also
used at deceleration.
7.2.2
Deceleration Increasing Rate Setting
Code
Command
Symbol
Data Range
Data Length
(byte)
01
h
Deceleration Increasing Rate Setting
DJ
1
~
1,073,741,823
4
This deceleration increasing rate value is a parameter used to determine a deceleration speed increase/decrease rate per unit time
in S-curve acceleration/deceleration driving (WR3/D1= 1) where acceleration and deceleration are non-symmetrical. The unit of
the setting value is pps/sec
2.
Deceleration Increasing Rate = DJ [pps/sec
2
]
In S-curve acceleration/deceleration driving (WR3/D1=0) where acceleration and deceleration are symmetrical, the deceleration
increasing rate value is not used.