13.5.4.2.8 OB 1 - Create instance axis control V1000
With the FB 882 - VMC_AxisControlV1000_RTU you can control an inverter drive, which
is serially connected via Modbus RTU and check its status.
1. Add a Call FB882, DB882 to OB 1.
ð
The block call is created and a dialog opens to specify the instance data block
‘VMC_AxisControlV1000_RTU _882’ .
2. Confirm the query of the instance data block with [OK].
3. Specify the following parameters:
Call FB882, DB882
Ä
Chap. 13.5.7.11 ‘FB 882 - VMC_AxisControlV1000_RTU - Modbus RTU Axis control’ page 509
AxisEnable := "A1_AxisEnable" // Activation of the axis IN: BOOL
AxisReset := "A1_AxisReset" // Command: Reset error of the V1000. IN: BOOL
StopExecute := "A1_StopExecute" // Command: Stop - Stop axis IN: BOOL
MvVelocityExecute := "A1_MvVelocityExecute" // Command: MoveVelocity (velocity control) IN: BOOL
Velocity := "A1_Velocity" // Parameter: Velocity setting for MoveVelocity IN: REAL
AccelerationTime := "A1_AccelerationTime" // Parameter: Acceleration time IN: REAL
DecelerationTime := "A1_DecelerationTime" // Parameter: Deceleration time IN: REAL
JogPositive := "A1_JogPositive" // Command: JogPos IN: BOOL
JogNegative := "A1_JogNegative" // Command: JogNeg IN: BOOL
JogVelocity := "A1_JogVelocity" // Parameter: Velocity setting for jogging IN: REAL
JogAccelerationTime := "A1_JogAccelerationTime" // Parameter: Acceleration time for jogging IN: REAL
JogDecelerationTime := "A1_JogDecelerationTime" // Parameter: Deceleration time for jogging IN: REAL
AxisReady := "A1_AxisReady" // Status: Axis ready OUT: BOOL
AxisEnabled := "A1_AxisEnabled" // Status: Activation of the axis OUT: BOOL
AxisError := "A1_AxisError" // Status: Axis error OUT: BOOL
AxisErrorID := "A1_AxisErrorID" // Status: Additional error information for AxisError OUT: WORD
DriveError := "A1_DriveError" // Status: Error on the inverter drive OUT: BOOL
ActualVelocity := "A1_ActualVelocity" // Status: Current velocity OUT: REAL
InVelocity := "A1_InVelocity" // Status target velocity OUT: BOOL
CmdDone := "A1_CmdDone" // Status: Command finished OUT: BOOL
CmdBusy := "A1_CmdBusy" // Status: Command in progress OUT: BOOL
CmdAborted := "A1_CmdAborted" // Status: Command aborted OUT: BOOL
CmdError := "A1_CmdError" // Status: Command error OUT: BOOL
CmdErrorID := "A1_CmdErrorID" // Status: Additional error information for CmdError OUT: WORD
CmdActive := "A1_CmdActive" // Status: Active command OUT: INT
DirectionPositive := "A1_DirectionPositive" // Status: Direction of rotation positive OUT: BOOL
DirectionNegative := "A1_DirectionNegative" // Status: Direction of rotation negative OUT: BOOL
Axis := "A1_V1000".AxisData // Reference to the general axis data IN-OUT: UDT 879
V1000 := "A1_V1000".V1000Data // Reference to the general axis data
// of the inverter drive
IN-OUT: UDT 881
AxisComData := "ComDataSlaves".Slaves.Slave(1) // Reference to the communication data IN-OUT: UDT 878
VIPA SPEED7
Motion control - Simple Motion Control Library
Usage inverter drive via Modbus RTU > Usage in VIPA SPEED7 Studio
HB00 | OPL_SP7 | Operation list | en | 18-30 468