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:

  • Select the fieldbus master which manages the device

  • Assign the IP address for the device

  • Map variables to physical inputs and outputs of your configuration

  • Adjust initial values for selected variables which are part of the template

Variable selected for parameterization:

Variable

Data type

Initial value

Description

GVL_<name device module>.usiDefaultOpMode

USINT

1

Default operation mode which will be selected automatically after initialization

  • 0 = sleep mode

  • 1 = read operation mode

  • 2 = write operation mode

GVL_<name device module>.c_usiDataSizeToReadWriteInst1

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)

GVL_<name device module>.c_sAddr

STRING

'3{0.0.0.0}1'

IP address (RFID smart antenna) configuration used by the communication function blocks in the program.

Format: '<communication link>{<IP address A.B.C.D>:<port>}<UnitID>'

NOTE: If the <port> is not included in the string, the default '502' is used.