5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-205
Value output pin
Name Function
Data
type
Output range Update
InputFreq
Frequency
of input
pulses
DWORD K0~K2,147,483,647
When the motion control function
block is executed, the value of the
InputFreq output pin is updated
repeatedly.
Please refer to the description of the motion control function block T_Peri_SCamIn for more information
about the MasterOffset input pin, the MasterDelay input pin, the MasterScaling input pin, the
SlaveScaling input pin, and the EndOfProfile output pin.
Signal
The steps of stopping noncyclic electronic cam motion are as follows.
A. At the time T1, the Enable input pin is set to True (a noncyclic electronic cam is started).
B. After the time T2 elapses, the input terminal used to start noncyclic electronic cam motion will be
set to ON. (If the value of the Signal input pin is K1, Start0 will be used to start noncyclic electronic
cam motion. If the value of the Signal input pin is K2, PG0 will be used to start noncyclic electronic
cam motion.) The value of the EndOfProfile output pin will be cleared after one scan cycle. After the
noncyclic electronic cam motion is started, the motion of the slave axis specified will follow the
motion of the master axis specified in accordance with the cam chart selected.
C. After the time T3 elapses, the EndOfProfile output pin will be set to True. The value of the
EndOfProfile output pin will be cleared automatically after one scan cycle.
D. After the time T4 elapses, the input terminal used to start the noncyclic electronic cam motion will
be set to ON. Users have to notice that more than 5 milliseconds elapses before PG0’signal or
Start0’s signal goes from low to high.
Starting
Enable input pin is set to True.)
a noncyclic electronic cam
(The
A cam cycle is complete.
EndOfProfile output pin)(
Position of
the master axis
Displacement of
the slave axis
T1
T2
Start
T3
> 5ms
T4
Signal used to start a noncyclic
electronic cam motion (PG0 or Start0)
ExecuteTimes
The ExecuteTimes input pin is used to control the number of times noncyclic electronic cam motion is
executed. If the value of the ExecuteTimes input pin is greater than H8000, there will be cyclic
electronic cam motion. If the value of the ExecuteTimes input is 1, noncyclic electronic cam motion will
be executed once. If the value of the ExecuteTimes input pin is 2, noncyclic electronic cam motion will
be executed twice.
The value of the ExecuteTimes input pin is 1.
N
oncyclic electronic
cam is started
Position of
the master axis
Displacement of
the slav e axis
The number of the ExecuteTimes input pin is 2.
N
oncyclic electronic
cam is started.
Position of
the master axis
Displacement of
the slave axis