3. Assign the following parameters for the sample project:
ð
CALL FB "VMC_AxisControlV1000PWM" ,
"VMC_AxisCtrlV1000PWM_885"
I_ChannelNumberPWM :="Ax1_I_ChannelNumberPWM"
I_MA_Alarm :="Ax1_MA_Alarm"
I_P1_Ready :="I_P1_Ready"
MaxVelocityDrive :=1.000000e+002
AxisEnable :="Ax1_AxisEnable"
AxisReset :="Ax1_AxisReset"
StopExecute :="Ax1_StopExecute"
MvVelocityExecute :="Ax1_MvVelExecute"
JogPositive :="Ax1_JogPositive"
JogNegative :="Ax1_JogNegative"
Velocity :="Ax1_Velocity"
I_S1_ForwardRun :="Ax1_S1_ForwardRun"
I_S2_ReverseRun :="Ax1_S2_ReverseRun"
I_S4_AlarmReset :="Ax1_S4_AlarmReset"
MinUserVelocity :="Ax1_MinUserVelocity"
MaxUserVelocity :="Ax1_MaxUserVelocity"
AxisReady :="Ax1_AxisReady"
AxisEnabled :="Ax1_AxisEnabled"
AxisError :="Ax1_AxisError"
AxisErrorID :="Ax1_AxisErrorID"
DriveError :="Ax1_DriveError"
CmdActive :="Ax1_CmdActive"
CmdDone :="Ax1_CmdDone"
CmdBusy :="Ax1_CmdBusy"
CmdAborted :="Ax1_CmdAborted"
CmdError :="Ax1_CmdError"
CmdErrorID :="Ax1_CmdErrorID"
The addresses of I_P1_Ready and I_MA_Alarm are derived from the addresses
of the inputs which are connected to the digital outputs of the drive. These can
be determined via the sub module ‘-X25 DI/DIO’ of the CPU.
The addresses of I_S1_ForwardRun, I_S2_ReverseRun and I_S4_AlarmReset
are obtained from the addresses of the outputs which are connected to the dig-
ital inputs of the drive. These can be determined via the sub module ‘-X25 DI/
DIO’ of the CPU.
1. Choose the Siemens SIMATIC Manager and transfer your project into the CPU.
ð
You can take your application into operation now.
CAUTION!
Please always observe the safety instructions for your drive,
especially during commissioning!
2. Bring your CPU into RUN and turn on your drive.
ð
The FB 885 - VMC_AxisControlV1000PWM is executed cyclically.
3. As soon as AxisReady = TRUE, you can use AxisEnable to enable the drive.
4. You now have the possibility to control your drive via its parameters and to check its
status.
Ä
Chap. 13.4.7.1 ‘FB 885 - VMC_AxisControlV1000_PWM - Axis control
over PWM’ page 449
Sequence of operations
VIPA SPEED7
Motion control - Simple Motion Control Library
Usage inverter drive via PWM > Usage in Siemens SIMATIC Manager
HB00 | OPL_SP7 | Operation list | en | 18-30 442