13.5.5.3.2 Copy blocks into project
1. Go to the service area of www.vipa.com.
2. Download the Simple Motion Control library from the download area at ‘VIPA Lib’ .
3.
Open the dialog window for ZIP file selection via ‘File è Retrieve’.
4. Select the according ZIP file and click at [Open].
5. Specify a target directory in which the blocks are to be stored and start the unzip
process with [OK].
Open the library after unzipping and drag and drop all the blocks of ‘V1000 Modbus
RTU’ into ‘Blocks’ of your project:
n FB 876 - VMC_ConfigMaster_RTU
n FB 877 - VMC_ComManager_RTU
n FB 878 - VMC_RWParameterSys_RTU
n FB 879 - VMC_ReadParameter_RTU
n FB 880 - VMC_WriteParameter_RTU
n FB 881 - VMC_InitV1000_RTU
n FB 882 - VMC_AxisControlV1000_RTU
n FB 60 - SEND
n FB 61 - RECEIVE
n FB 72 - RTU MB_MASTER
n FC 216 - SER_CFG
n FC 217 - SER_SND
n FC 218 - SER_RCV
n UDT 877 - VMC_ComSlavesRTU_REF
n UDT 878 - VMC_ComObjectRTU_REF
n UDT 879 - VMC_AxisRTU_REF
n UDT 881 - VMC_ConfigV1000RTU_REF
n SFB 4 - TON
13.5.5.3.3 Create OB 100 for serial communication
1.
In your project, click at ‘Blocks’ and choose ‘Context menu è Insert new object
è Organization block’.
ð
The dialog ‘Properties Organization block’ opens.
2. Add the OB 100 to your project.
3. Open the OB 100.
4. Add a Call FB876, DB876 to the OB 100.
ð
The block call is created and a dialog opens to specify the instance data block
‘VMC_ConfigMaster_RTU_876’ .
5. Specify the following parameters:
Call FB876, DB876
Ä
Chap. 13.5.7.5 ‘FB 876 - VMC_ConfigMaster_RTU - Modbus RTU CPU interface’ page 504
Baudrate := B#16#09 // Baud rate: 09h (9600bit/s) IN: BYTE
CharLen := B#16#03 // Number data bits: 03h (8bit) IN: BYTE
Parity := B#16#00 // Parity: 0 (none) IN: BYTE
StopBits := B#16#01 // Stop bits: 1 (1bit) IN: BYTE
Include library
Copy blocks into project
Create interrupt OBs
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 479