Join us today!

Notifications
Clear all

Get the full root of the HMI Server

1 Posts
1 Users
0 Likes
168 Views
Posts: 2
Topic starter
(@maijkelhartman)
Active Member
Joined: 5 months ago

Greetings,

I am working on an application in which both the PLC instance and the HMI server are running on the same device. I want the PLC to read a JSON file. The workflow is that the file is uploaded to the HMI server, and then the file location is send to the plc, so it can read the file.

 

The problem that I am having is that I am unable to send the 'full' filepath to the PLC. I can only send the path from the root of where the HMI server is installed. What i need to send it C:/PathToHMIServer/JSONFiles/FileThatPLCShouldRead.JSON. How can I get the beckhoff supplied File Explorer HMI control to also include the red C:/PathToHMIServer part?

Reply
Share: