13.5.6.3.7 OB 1 - Create instance of the V1000 initialization
The FB 881 - VMC_InitV1000_RTU initializes the corresponding inverter drive with the
user data. Before an inverter drive can be controlled, it must be initialized.
1. Add a Call FB881, DB881 to OB 1.
ð
The block call is created and a dialog opens to specify the instance data block
‘VMC_InitV1000_RTU _881’ .
2. Confirm the query of the instance data block with [OK].
3. Specify the following parameters:
Call FB881, DB881
Ä
Chap. 13.5.7.10 ‘FB 881 - VMC_InitV1000_RTU - Modbus RTU initialization’ page 507
Execute := "A1_InitExecute" // The job is started with edge 0-1. IN: BOOL
Hardware := "A1_InitHardware" // Specification of the hardware, used
// 1: System SLIO CP040, 2: SPEED7 CPU
IN: BYTE
Laddr := "A1_InitLaddr" // Logical address when using CP040 IN: INT
UnitId := "A1_InitUnitId" // Modbus address of the V1000 IN: BYTE
UserUnitsVelocity := "A1_InitUserUnitsVel" // User unit for velocities:
// 0: Hz, 1: %, 2: RPM
IN: INT
UserUnitsAcceleration := "A1_InitUserUnitsAcc" // User units acceleration/deceleration
// 0: 0.01s, 1: 0.1s
IN: INT
MaxVelocityApp := "A1_InitMaxVelocityApp" // Max. velocity in user units IN: REAL
Done := "A1_InitDone" // Status job finished OUT: BOOL
Busy := "A1_InitBusy" // Status job in progress OUT: BOOL
Error := "A1_InitError" // Error feedback OUT: BOOL
ErrorID := "A1_InitErrorID" // Additional error information OUT: WORD
Axis := "A1_V1000".AxisData // Reference to the general axis data IN-OUT: UDT 879
V1000 := "A1_V1000".V1000Data // Reference to the drive-specific data IN-OUT: UDT 881
All parameters must be interconnected with the corresponding variables or operands. The
following input parameters must be pre-assigned:
n Hardware
Here specify the hardware you use to control your inverter drives:
– 1: System SLIO CP040 whose logical address is to be specified via Laddr.
– 2: SPEED7 CPU
n Laddr
– Logical address for the System SLIO CP040 (Hardware = 1). Otherwise, this
parameter is ignored.
n UnitId
– Modbus address of the V1000.
Input values
VIPA SPEED7
Motion control - Simple Motion Control Library
Usage inverter drive via Modbus RTU > Usage in Siemens TIA Portal
HB00 | OPL_SP7 | Operation list | en | 18-30 499