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 è Edit symbol’. Here you can
assign the corresponding operand via a dialog.
13.5.5.3.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.
In your project, click at ‘Blocks’ and choose ‘Context menu è Insert new object
è Data block’.
ð
The dialog ‘Add block’ is opened.
2. Specify the following parameters:
n Name and type
– The DB number as ‘Name’ can freely be chosen, such as DB 100. Enter
DB 100.
– Set ‘Shared DB’ as the ‘Type’ .
n Symbolic name
– Enter "A1_V1000".
Confirm your input with [OK].
ð
The block is created.
3. Open DB 100 "A1_V1000" by double-clicking.
4. In "A1_V1000" create the following variables:
n ‘AxisData’ of type UDT 879 - VMC_AxisRTU_REF
n ‘V1000Data’ of type UDT 881 - VMC_ConfigV1000RTU_REF
13.5.5.3.5 Create data block for all Modbus slaves
For the communication data of the inverter drives, which are serially connected via
Modbus RTU, a common data block is to be created.
1.
In your project, click at ‘Blocks’ and choose ‘Context menu è Insert new object
è Data block’.
ð
The dialog ‘Add block’ is opened.
2. Specify the following parameters:
n Name and type
– The DB number as ‘Name’ can freely be chosen, such as DB 99. Enter DB
99.
– Set ‘Shared DB’ as the ‘Type’ .
n Symbolic name
– Enter "ComDataSlaves".
Confirm your input with [OK].
ð
The block is created.
Symbolic variable
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 480