NOVA electronics Inc.
MCX514 -
61
-
61
-
2.6.1
Activation Factor
16 activation factors are provided for synchronous actions as shown in the table below.
Table 2.6-1 Activation Factors
Code (Hex)
Synchronous action
set 0
SYNC0
Synchronous action
set 1
SYNC1
Synchronous action
set 2
SYNC2
Synchronous action
set 3
SYNC3
Description
1
MR0 object changed
to True
MR1 object changed
to True
MR2 object changed
to True
MR3 object changed
to True
1
2
The internal timer is up
2
3
Start of driving
3
4
Start of driving at constant speed area in acceleration / deceleration driving
3
5
Termination of driving at constant speed area in acceleration / deceleration driving
3
6
Termination of driving
3
7
Start of split pulse
4
8
Termination of split pulse
4
9
Output of split pulse
4
A
nPIO0 input signal
↑ nPIO1 input signal ↑ nPIO2 input signal ↑ nPIO3 input signal ↑
5
B
nPIO0 input signal
↓ nPIO1 input signal ↓ nPIO2 input signal ↓ nPIO3 input signal ↓
6
C
nPIO4 input Low
and nPIO0 input ↑
nPIO5 input Low
and nPIO1 input ↑
nPIO6 input Low
and nPIO2
input ↑
nPIO7 input Low
and nPIO3 input ↑
7
D
nPIO4 input Hi
and nPIO0 input ↑
nPIO5 input Hi
and nPIO1 input ↑
nPIO6 input Hi
and nPIO2 input ↑
nPIO7 input Hi
and nPIO3 input ↑
8
E
nPIO4 input Low
and nPIO0 input ↓
nPIO5 input Low
and nPIO1 input
↓
nPIO6 input Low
and nPIO2 input ↓
nPIO7 input Low
and nPIO3 input ↓
9
F
nPIO4 input Hi
and nPIO0 input ↓
nPIO5 input Hi
and nPIO1 input ↓
nPIO6 input Hi
and nPIO2 input ↓
nPIO7 input Hi
and nPIO3 input ↓
10
0
NOP
11
Description 1: MRm object changed to True
It is activated when the comparative object of a multi-purpose register (MRm register) meets the comparison condition.
As shown in the table, the MRm register corresponding to 4 synchronous action sets is fixed. The comparative object
and comparison condition can be set by multi-purpose register mode setting command (20h). For instance, when the
comparative object of MR0 register is set to the logical position counter (LP) and comparison condition is set to
“comparative object
≧
MRm”, if the value of the logical position counter is equal to or larger than MR0 value, it will be
activated. If comparison condition is already True when the synchronous action is enabled, the synchronous action is not
activated at that time. After it returns to False, and then if it again changes to True, the synchronous action will be
activated.
Description 2: The internal timer is up
It is activated when the internal timer is up. The timer value can be set by timer value setting command (16h). The timer
can be started by timer-start command (73h) or the other synchronous action sets.
Description 3: Change of driving state
As shown below, it is activated when the change of a driving state occurs during the driving.
Speed
Time
Acceleration / Deceleration Driving
S- curve Acceleration / Deceleration Driving
Driving start
Start constant
speed driving
Terminate
constant speed driving
Driving finish
Start constant
speed driving
Terminate
constant speed driving
Speed
Time
Driving start
Driving finish
Fig. 2.6-6 Activation Factor regarding Driving State