Adding Device Module to the Project
Instantiation of the Device Module
The instantiation of this Device Module requires the Industrial Ethernet manager under the Ethernet interface of your controller.
Using Add Function From Template you can:
oSelect the fieldbus master which manages the device
oAssign the IP address for the device
oMap variables to physical inputs and outputs of your configuration
oAdjust initial values for selected variables which are part of the template
Variable selected for parameterization:
Variable |
Data type |
Default value |
Description |
---|---|---|---|
GVL_<name device module>.usiDefaultOpMode |
USINT (0..2) |
1 |
Default operation mode which will be selected automatically after initialization o0 = sleep mode o1 = read operation mode o2 = write operation mode |
GVL_<name device module>.c_usiDataSizeToReadWriteInst1 |
USINT (1..56) |
56 |
Size of the data in WORDs which shall be read from or written to the tag by the instruction block; range: 1 to 56 (56 is the limit per write instruction block) |