Chapter 7. Usage of Various Functions
7-105
6) Speed control operation (POSVEL)
Function block Description
Input
REQ: Executes POSVEL function block
CH: Sets the channel (0 ~ 1)
DIR : Sets operation direction (0:Forward, 1:Reverse)
VEL : Velocity (5 ~ 100,000 pps)
Output
DONE: Turns On after the function block is executed without error, and
turns Off if an error occurs or there is no execution command.
STAT: Displays error status
(1) Functions
• When input condition turns on (rising edge), corresponding Ch. starts speed control by designated direction and speed.
(2) Example program
• When input condition (%MX000) turns on, Ch. 0 starts speed control from the rising edge to the designated direction with
100kpps.
• Speed can be changed by POSSOR instruction.
• Operation stops after deceleration by POSCTR instruction.