Use FileSystemAccess to operation the files in a remote PC

Hello, 

One issue I have is that I try to use FileSystemAccess Addon to read a .txt file from an remote PC with a same IP network segment,

at first I map the virtual drive into an Network drive Z:\ ,

and then input the path to the ParCmd.Name, command is as below:

FileSystemAccess.ParCmd.Name := 'Z:\test\Target\test3.txt';

but the FileSystemAccess Addon reply me an error: "ADS: File or target not found."

I want to know if there are some methods to read a file in drive of a remote PC(e.g. change some parameters or use another addon),

I need your Help, thanks!

 

Addon Version:1.0.6.0

Best reply by nexidator

It is impossible to access mapped network drives or volumes created by a subst command from the TwinCAT runtime. The reason is that TwinCAT operates on a system driver level. You will need to copy the file to the PLC target system before you can access it from TwinCAT.

View original
5 replies
Resolved