NOVA electronics Inc.
MCX514 -
54
-
54
-
【
Program Example in X axis
】
// WR2 Register setting
WR0
←
011Fh Write
// Select X axis
WR2
←
0800h Write
// Home signal logical setting: XSTOP1: Low active
// Enables hardware limit
// Input signal filter mode setting
WR6
←
0A0Fh Write
// D11
~
D8 1010 Filter delay: 512
μ
sec
// D2
1 XSTOP1 signal: Enables the filter
WR0
←
0125h Write
// Writes a command
// Automatic home search mode setting 1
WR6
←
8037h Write
// D15 1 Step
4
execution/non-execution:
Execution
// D14 0 Step
3
LP clear
Disable
// D13 0 Step
3
RP clear
Disable
// D12 0 Step
3
DCC output:
Disable
// D11 0 Step
3
search direction
:
-
// D10 0 Step
3
execution/non-execution:
Non-execution
// D9 0 Step
2
LP clear
Disable
// D8 0 Step
2
RP clear
Disable
// D7 0 Step
2
DCC output
:
Disable
// D6 0 Step
2
detection signal
:
STOP1
// D5 1 Step
2
search direction
:
-
direction
// D4 1 Step
2
execution/non-execution
:
Execution
// D3,2 0,1 Step
1
detection signal
:
STOP1
// D1 1 Step
1
search direction
:
-
direction
// D0 1 Step
1
execution/non-execution
:
Execution
WR0
←
0123h Write
// Writes a command
// Automatic home search mode setting 2
WR6
←
0000h Write
// D15 0
// D14 0
// D13 0
// D12 0
// D11 0
// D10
~
8 0 Timer value
// D7 0 Timer between steps
Disable
// D6
~
4 0 DCC pulse width
// D3 0 DCC pulse logic
// D2 0 At the termination of home search, LP clear
Disable
// D1 0 At the termination of home search, RP clear
Disable
// D0 0 Step
2&3
Disable
WR0
←
0124h Write
// Writes a command
// High-speed home search and low-speed home search setting
WR6
←
7318h Write
// Acceleration/deceleration
:
95,000 PPS/SEC
WR7
←
0001h Write
WR0
←
0102h Write
WR6
←
03E8h Write
// Initial speed
:
1000 PPS
WR7
←
0000h Write
WR0
←
0104h Write
WR6
←
4E20h Write
// Speed of step 1 and 4
:
20000 PPS
WR7
←
0000h Write
WR0
←
0105h Write
WR6
←
01F4h Write
// Speed of step 2
:
500 PPS
WR7
←
0000h Write
WR0
←
0114h Write
// Offset pulse setting
WR6
←
0DACh Write
// Offset driving pulse count
:
3500
WR7
←
0000h Write
WR0
←
0106h Write
// Starts execution of automatic home search
WR0
←
015Ah Write