Industry Online Support
Technical Forum
4/8/2010 10:43 AM | |
Joined: 9/6/2007 Last visit: 1/26/2025 Posts: 81 Rating:
|
Dear all: I use a script in MP277 to write a csv file to a PC by ethernet. In MP277: 1. I already set the IP address. In PC: 1. I also set the IP address. 2. I share my folder to everyone. I always pingMP277 and the pc each other.Theyresponse bothok. But I always get the script error.(error code :20010, can't find the network path) The followingis my script code: ************************************************************ path = "\\angusyhluo\MP277folder\" & Year(Now) & Month(Now) & Day(Now) & "_" & Hour(Now) & Minute(Now)& Second(Now)& ".csv" Set fso = CreateObject("FileCtl.File") fso.Open path ,2 *********************************************** PS:1.my pc's name is "angusyhluo" and "MP277folder" ismy sharing folder in my drive D . 2.I also change the path to the flash in MP277. this scriptcan work. So this script is correct . Do Iforget some setting ? Tks. |
4/13/2010 2:26 PM | |
Joined: 5/13/2008 Last visit: 12/18/2019 Posts: 836 Rating:
|
Hi Angus, forcreating an own csv archive solution, please refer to these FAQ's: http://support.automation.siemens.com/WW/view/en/28937150 http://support.automation.siemens.com/WW/view/en/22700160 It is very important to have a "name resolution" for the panel (I guess, this is your main problem): http://support.automation.siemens.com/WW/view/en/13336639 |
mfG / Best regards |
|
4/16/2010 5:01 AM | |
Joined: 9/6/2007 Last visit: 1/26/2025 Posts: 81 Rating:
|
Hi...body: I finish thesetting of name resolution. I can ping PC's name from Panel to PC. It's ok. Ialways get a Logon windows when the Panel want towrite file to PC. (Please see the attached picture) I use administrator to logon but it always pop up. Finally,it willshow logon fail window. My setting is following: Panel: the username is administrator in the Network ID on the Panel. PC: Myshared folder is for everyone and it's permission is full control. I also add a user administrator for this shared folder. It alsois full control. (Ps: the administrator is show (\\mypcname\administrator\)).Is it wright ? Do I neglect something ? Tks. |
Follow us on