EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 497

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Copy all blocks from the library into the ‘Program blocks’ of the Project tree 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.6.3.3 Create OB 100 for serial communication
1.
Click at ‘Project tree è ...CPU...PLC program è Program blocks
è Add new block’.
ð
The dialog ‘Add block’ is opened.
2. Enter OB 100 and confirm with [OK].
ð
OB 100 is created and opened.
3. 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’ .
4. Confirm the query of the instance data block with [OK].
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
TimeOut := W#16#1FFF // Error wait time: 1FFFh (high selected) IN: WORD
Valid := "ModbusConfigValid" // Configuration OUT BOOL
Error := "ModbusConfigError" // Error feedback OUT BOOL
ErrorID := "ModbusConfigErrorID" // Additional error information OUT: WORD
Copy blocks into project
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 497

Table of Contents

Related product manuals