![Nova Electronics MCX514 User Manual Download Page 241](http://html1.mh-extra.com/html/nova-electronics/mcx514/mcx514_user-manual_1710400241.webp)
NOVA electronics Inc. MCX514 -
228
-
228
-
7.7
Synchronous Action Operation Commands
Synchronous action operation commands are used to enable, disable or activate a synchronous action.
There are 4 synchronous action sets: SYNC0
,
1
,
2
,
3, and any of synchronous action sets can be enabled, disabled or activated at
the same time.
For synchronous action operation commands, set the operation command code to the four D7~D4 bits of WR0 command register
and set the synchronous action set which the user wants to operate to the four D3~D0 bits of WR0. That is, when the user wants to
enable the synchronous action, set 8h to D7~D4, and when to disable it, set 9h to D7~D4, and when to activate it, set Ah to D7~D4.
D3~D0 are corresponding to four synchronous action sets: SYNC3, SYNC2, SYNC1, SYNC0, and set 1 to the bit corresponding
to the synchronous action set.
D7
D6
D5
D4
H
L
D15
D14
D13
D12
D11
D10
D9
D8
D3
D2
D1
D0
WR0
0
0
0
0
Synchronous action
operation command code
SYNC0
SYNC1
SYNC2
SYNC3
Designation of SYNC3~0
8h:Enable, 9h:Disable, Ah:Activation
1:Set
Axis Assignment
These commands are without writing data and executed by writing the axis assignment and command code into WR0 command
register.
[Note]
•
It requires 125 nSEC (maximum) to access the command code of synchronous action operation commands when
CLK=16MHz. Please write the next command after this period of time.
7.7.1
Synchronous Action Enable Setting
Code
Command
81
h
~8F
h
Synchronous action enable setting
This command sets to enable each synchronous action set which is specified by the lower 4-bit of the command code.
Before the synchronous action enable setting, the mode setting for the synchronous action set which the user wants to enable must
be set by synchronous action SYNC3~0 setting command (29h~26h).
Example
:
To enable the synchronous action sets SYNC0 and SYNC2 in X-axis, write 0185h into WR0.
The enable / disable state of synchronous action SYNC3~0 can be checked by Page 1 of RR3 register.
When resetting, all of SYNC3~0 will be disabled.
[Note]
•
By using PIO signal setting 2/other settings command (22h), when the synchronous action activated by an error is
disabled by the setting (D7
:
ERRDE bit = 1) and when an error occurs (n-ERR bit of RR0 register is 1.), this command
cannot be set to enable the synchronous action. Write the synchronous action enable setting command after clearing
n-ERR bit by such as error/finishing status clear command (79h).