Forum Discussion

SantiJaureguialde's avatar
SantiJaureguialde
Copper Contributor
Dec 02, 2023

Hololens 2 app reading data from PLC

Hello, I am working on an application for my final project.

 

The application is very simple, I work with a PLC S7 1200 to obtain data from the DB variables of the program and represent this data in Hololens 2.

 

The PLC will be connected via ethertnet to a Wifi router.

For the communication with the plc from unity, I use a library called S7netplus. In the simulation inside unity it works correctly as the PC is connected to the router and I get the data from the PLC.

 

The problem comes when importing the application to the hololens 2. When trying to communicate with the ip of the PLC it never works. We have realised that it is not possible to ping the glasses from the computer.

 

If someone could help me I would be very grateful.

 

Resources