5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-255
The value of POS is 30,000, and the val 0.
20 is s the abs single- et will be
are the value in D0 (the value in high-spee with the value in D2 when M3 is ON.
5. M ic rted
T ck su 0D
5.12 mparis
ue of VEL is 10,00
Af
ter M
Comp
et to ON, olute speed motion s
d counter 0)
started.
odules wh
he motion c
h are suppo
ontrol function blo
T_HCnt pports DVP20PM0 and DVP20PM00M.
.2 Setting High-speed Co on
1. M
T Compare is use gh-speed comparison. The value of the
put pin indicates a comparator number, the value of the Source input pin indicates a source,
f the CmpMode input pin indicates a comparison condition, and the value of the
otion control function block
he motion control function block T_ d to start hi
Channel in
the value o
OutputDevice indicates an output device.
2. Input pins/Output pins
Input pin
Name Function
Data
type
Setting value Time when a value is valid
Channel
Comparator
number
WORD 0~7
The value of the Channel input pin is
valid when there is a transition in the
Enable input pin’s signal from low to
high.
Enable
The motion
control function
block is enabled
when there is a
transition in the
Enable input pin’s
signal from low to
high.
BOOL True/False -
Source Source WORD
mcCmpAxis1: 0
mcCmpAxis2: 1
mcCmpAxis3: 2
mcCmpC200: 4
mcCmpC204: 5
The value of the Source input pin is
valid when there is a transition in the
Enable input pin’s signal from low to
high.
CmpMode
Comparison
condition
WORD
1: =
2: ≧
3: ≦
The value of the CmpMode input pin
is valid when there is a transition in
the Enable input pin’s signal from
low to high.
OutputDevice Output device WORD
mcCmpCLR0: 0
mcCmpCLR1: 1
mcCmpY2: 2
mcCmpY3: 3
mcCmpRstC200: 4
mcCmpRstC204: 5
The value of the OutputDevice input
pin is valid when there is a transition
in the Enable input pin’s signal from
low to high.
OutputMode Output mode BOOL
mcCmpSet: True
mcCmpRst: False
The value of the OutputMode input
pin is valid when there is a transition
in the Enable input pin’s signal from
low to high.