Adding Device Module to the Project
Instantiation of the Harmony_Wireless_ModbusTCP_1
The instantiation of this Device Module requires a controller with an Ethernet interface and the Modbus TCP protocol supported. The IP address of the wireless receiver must be provided to the corresponding variable which is used in the program code. This variable is of type Constant and its value can be set within the Add Function From Template dialog box. A later modification of this value is possible too.
Variables selected for IP address parameter:
Variable |
Data type |
Default value |
Description |
---|---|---|---|
Prg_<module name>.c_sAddr |
3{0.0.0.0} |
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. |
Instantiation of the Harmony_Wireless_ModbusTCP_2
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