Hitachi MICRO-EHV+ Applications Manual page 129

Table of Contents

Advertisement

MV_PLS_Start
FB name
Description
MV_PLS_Start
This function block is to output pulse train for position control. Pulse train stops after specified number
of pulses have been completed.
Name
Type
xExecute
BOOL
byChannel
BYTE
xMode
BOOL
dwFrequency
DWORD
dwPulses
DWORD
Initial_FQ
WORD
w
wAccel_ratio
WORD
wDecel_ratio
WORD
xDone
BOOL
xError
BOOL
Note: If this function block is executed while pulse train output in operation, all the parameters are overwritten.
Frequency
wAccel_ratio
dwFrequency
wInitial_FQ
xExecute
xDone
Output status
I/O
IN
A rising edge starts the execution.
IN
Channel number (1 to 3)
IN
0: Without ramp
1: With ramp
IN
Frequency of pulse train outputs (20 to 100,000 [Hz])
IN
The number of pulses
0 to 4,294,967,295 (direction disabled)
-2,147,483,648 to 2,147,483,647 (direction enabled)
IN
Initial frequency (20 to 65,535[Hz])
IN
Acceleration ratio (1 to 65,535 [Hz/100ms])
IN
Deceleration ratio (1 to 65,535 [Hz/100ms])
OUT
Execution done successfully
OUT
Error occurred
xMode=1
wDecel_ratio
dwPulses
= area
= distance
Ta
Td
Descriptions
xMode=0
dwPulses
= area
= distance
dwFrequency [Hz]  wInitial_FQ [Hz]
wAccel_ratio =
dwFrequency [Hz]  wInitial_FQ [Hz]
wDecel_ratio =
3 – 69
Chapter 3
Programming
If ramp is not used (xMode=0),
set 0 or leave as no connection.
Time
10Ta [s]
10Td [s]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents