Menu

Chapter 6: Connecting to PLC

This example uses the connection of the SX5064 IIoT machine in MetaFacture as an example to introduce how to connect a PLC in MetaFacture . When you need to connect other models of IIoT machines or third-party PLCs, you can refer to this example.

Section 1: AI machines are connected to the Internet

1.Add PLC device description file, refer to Add Device

2.Create a new standard project , select the newly installed IIoT device in the [Device] drop-down list, and click [OK].

 

3.Confirm that the IIoT machine is connected to the network and is in the same network segment as the computer where MetaFacture is installed.

 

4.In MetaFacture , double-click [ Device ] in the device window. On the Device page that opens

Method 1 : Enter the IP address of the PLC and press Enter

Method 2 : Click [Scan Network] and select the corresponding device in the pop-up scan results

 

5.(Optional) After the PLC is successfully connected, you can rename the device to facilitate future device scanning. Click [Device] > [Rename active device], enter a custom device name, and click [OK].

 


Section 2: The IIoT device is not connected to the Internet

1.connect the IIoT device to the computer where MetaFacture is installed.

2.Set the computer Ethernet IP address and the IIoT machine eth0 IP ( Lan 1 port, IIoT machine default 192.168.1.200) in the same network segment

3. Open the [Device] page, click [Scan Network] to scan out the device or enter the IP address of the IIoT device 192.168.1.200, and press Enter.

 

Last modified: 2024-12-16