EasyManua.ls Logo

Emotiontek MCU 2 Axis - Page 21

Emotiontek MCU 2 Axis
204 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 14 -
Chapter 2. MC Programming
Fig.2.2 Pulse pause function
<Pause until the number of pulses set in a DO variable value is entered from the external
encoder by a “DWL 0” command. Set a parameter P63, and if M80.5 is‘0’, a pulse pause
function is used.>
Fig.2.3 Accumulated pulse pause function
<Pause until the number of pulses set in a DO variable value is accumulatively entered from
an encoder by a “DWL 0”command. If the accumulated pulse number is greater than “DWL
0”value, then the next command is executed without pulse pause. The number of accumulated
pulses is initialized to ‘0’ when the MC program starts.
Set the parameter P62 or the parameter P63, and if M80.5 is‘1’, then use the accumulated
pulse dwell function.>
VEL 0
MOV P0
DWL 0
VEL 1
MOV P1
Velocit
y
Time
F0
F1
Current position
P0
p
osition P1 position
Pulse pause
VEL 0
MOV P0
DWL 0
VEL 1
MOV P1
Speed
Time
F0
F1
Current position
P0
p
osition P1
p
osition
Accumulated pulse pause