
Starting up fieldbus communication and programming the ABB PLC (one-drive system)
80
Program velocity (MC_MoveVelocity)
This Function Block commands a never ending controlled motion at a specific
velocity.
By clicking the Box tool button, insert a new box. Replace the default text AND with
MC_MoveVelocity. Name the block, for example, movevelo1, Class: VAR, Type:
MC_MoveVelocity. Name the Execute input velo1, Class: VAR_GLOBAL, Type:
BOOL.
Define inputs Velocity, Acceleration and Deceleration with numeric values as
shown in the window below, or declare them static values in the main program local
variable list by writing, for example, the following lines to the list.
Acceleration: LREAL:=1000;
Deceleration: LREAL:=1000;
Velocity1: LREAL:=200;
(Note: For editing the variable list, double-clicking PLC_PROG(PRG) in the POUs
field, see page 74.)
Name Direction either POSITIVE or NEGATIVE.
Leave Jerk and BufferMode blank.
Input Axis defines the controlled axis. Name it axis1.
See the next page.
Tool/Step
Programming actions
Comentarios a estos manuales