5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-252
The motion control function block named FB Ox motion subroutine is executed. The
motion control function block named FB2 is s of an M-code is checked.
Set Execute to True the G- in t o
before the execution of t -codes Ox s
status of the M-code which is being executed. When an M-code is execut
is used to clear the M-code which is executed.
1 is set so that an
et so that the status
he Ox motion subr
motion subroutine
. Execute
he G
codes
in the
utine specified. Set Execute1 to True
pecified is complete. Check the
ed, Valid is set to True. CLR
5. Modules which are supported
The motion control function block T_Mcode supports DVP20
5.12 er ol
1 High-speed Counter
PM0
0D and DVP20PM00M.
Oth Motion Contr Function Blocks
5.12.
1. Moti trol
The motion co ck T_HCnt is used to start a high-speed counter. The value of the
Channel input s a counter number, and the value of the InputType input pin indicates an
The ExtRstEN input pin is used to set an external reset switch. The value of the
InitialValue input pin is tial value in the counter specified, and ountValue output
p
T igh-speed counters in a DVP-20PM series motion controller are shown
on con function block
ntrol function blo
pin indicate
input pulse type.
the ini the value of the C
in is the value in the counter specified.
he input terminals for the h
below.
START0 DOG0 LSN0 PG0+ START1 DOG1
24G +24V S/S0 STOP0 LSP0 PG0- S/S1
B1- CLR0- CLR1- FP0- RP0-
FP1-
CLR0+ CLR1+ FP0+ RP0+ FP1+A0+ B0+ A1+ B1+
A1-B0-
A0-
DVP-20PM
The input terminals in the solid frame are for high-speed counter 0, and the input terminals in the dotted
frame are for high-speed counter 1.