2. Confirm the query of the instance data block with [OK].
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.4.2.11 Sequence of operations
1.
Select ‘Project è Compile all’ and transfer the project into your CPU. You can find
more information on the transfer of your project in the online help of the SPEED7
Studio.
ð
You can now take your application into operation via the existing communication
connection.
CAUTION!
Please always observe the safety instructions for your inverter
drive, especially during commissioning!
2. A watch table allows you to manually control the inverter drive. Double-click at
‘Project tree è ...CPU... è PLC program è Watch tables è Add watch table’.
3. Enter a name for the watch table such as ‘V1000’ and confirm with [OK]
ð
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 ‘Name’ 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 VIPA SPEED7 Studio
HB00 | OPL_SP7 | Operation list | en | 18-30 470