3. Specify the following parameters:
Call FB880, DB880
Ä
Chap. 13.5.7.9 ‘FB 880 - VMC_WriteParameter_RTU - Modbus RTU write parameters’ page 507
Execute := "A1_WrParExecute" // The job is started with edge 0-1. IN: BOOL
StartAddress := "A1_WrParStartAddress" // Start address of the 1. register IN: INT
Quantity := "A1_WrParQuantity" // Number of registers to write IN: INT
Done := "A1_WrParDone" // Status job finished IN: REAL
Busy := "A1_WrParBusy" // Status job in progress OUT: BOOL
Error := "A1_WrParError" // Error feedback OUT: BOOL
ErrorID := "A1_WrParErrorID" // Additional error information OUT: BOOL
Data := P#DB98.DBX0.0 BYTES 8 // Location of the parameter data OUT: WORD
Axis := "A1_V1000".AxisData // Reference to the general axis data IN-OUT: UDT 879
13.5.5.3.11 Sequence of operations
1.
Safe your project with ‘Station è Safe and compile’.
2. Transfer your project to your CPU.
ð
You can take your application into operation now.
CAUTION!
Please always observe the safety instructions for your inverter
drive, especially during commissioning!
3. A watch table allows you to manually control the inverter drive. To create a watch
table, choose ‘PLC è Monitor/Modify variables’.
ð
The watch table is created and opened for editing.
4. First adjust the waiting time between 2 jobs. This is at least 200ms for a V1000
inverter drive. For this enter in the watch table at ‘Symbol’ the designation
‘ComWaitCycles’ as ‘Decimal’ and enter at ‘Control value’ a value between 200
and 400.
To increase performance, you can later correct this to a smaller
value as long as you do not receive a timeout error (80C8h). Please
note that some commands, such as MoveVelocity, can consist of
several jobs.
VIPA SPEED7
Motion control - Simple Motion Control Library
Usage inverter drive via Modbus RTU > Usage in Siemens SIMATIC Manager
HB00 | OPL_SP7 | Operation list | en | 18-30 485