EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 465

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...
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
You create the symbolic variables via ‘Context menu è Create / edit symbol’. Here you
can assign the corresponding operands via a dialog.
13.5.4.2.4 Create data block for Modbus slave
For each inverter drive, which is serially connected via Modbus RTU, a data block must
be created.
1.
For this click at ‘Project tree è ...CPU... è PLC program è Program blocks
è Add new block’.
ð
The dialog ‘Add block’ is opened.
2. Select the block type ‘DB block’ and assign it the name "A1_V1000". The DB
number can freely be selected such as DB 100. Specify DB 100 and create this as
a global DB with [OK].
ð
The block is created and opened.
3. In "A1_V1000" create the following variables:
n ‘AxisData’ from Type UDT 879 - VMC_AxisRTU_REF
n ‘V1000Data’ from Type UDT 881 - VMC_ConfigV1000RTU_REF
Symbolic variable
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 465

Table of Contents

Related product manuals