Chapter 3 Programming
3
– 69
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
I/O
Descriptions
xExecute
BOOL
IN
A rising edge starts the execution.
byChannel
BYTE
IN
Channel number (1 to 3)
xMode
BOOL
IN
0: Without ramp
1: With ramp
dwFrequency
DWORD
IN
Frequency of pulse train outputs (20 to 100,000 [Hz])
dwPulses
DWORD
IN
The number of pulses
0 to 4,294,967,295 (direction disabled)
-2,147,483,648 to 2,147,483,647 (direction enabled)
w
Initial_FQ
WORD
IN
Initial frequency (20 to 65,535[Hz])
If ramp is not used (xMode=0),
set 0 or leave as no connection.
wAccel_ratio
WORD
IN
Acceleration ratio (1 to 65,535 [Hz/100ms])
wDecel_ratio
WORD
IN
Deceleration ratio (1 to 65,535 [Hz/100ms])
xDone
BOOL
OUT
Execution done successfully
xError
BOOL
OUT
Error occurred
Note: If this function block is executed while pulse train output in operation, all the parameters are overwritten.
Frequency
dwPulses
= area
= distance
dwFrequency
wInitial_FQ
wAccel_ratio
wDecel_ratio
xExecute
Time
Output status
xDone
xMode=1
xMode=0
dwPulses
= area
= distance
Td
Ta
dwFrequency [Hz]
wInitial_FQ [Hz]
10
Ta [s]
wAccel_ratio =
dwFrequency [Hz]
wInitial_FQ [Hz]
10
Td [s]
wDecel_ratio =
Summary of Contents for EH-A14EDR
Page 6: ...MEMO ...
Page 10: ...MEMO ...
Page 141: ...Chapter 3 Programming 3 81 Program ...
Page 166: ...Chapter 5 Maintenance 5 4 MEMO ...
Page 170: ...Appendix A1 4 MEMO ...