Jump to content
Sign in to follow this  
ORSO2001

"Move/Copy File" Ladder function return status is always 1

Recommended Posts

Dear,
I'm trying to copy a file from a DOK to the SD; the status stay always at 1 and never change (and the file is not copied). The function is "called" by a HMI button that set a bit...in the same ladder rung this bit is reset...then is called just one time.

If something in the UDFB was not set properly I should had a negative value...but this doesn't happens.  What can be?

thnaks

Share this post


Link to post
Share on other sites

Hi NoamM,

Just to be clear I am using static values in each field ...not tags...the file that i want copy from DOK to SD is not inside a folder...and are:

field A -> Copy Move File Enum.CopyDOKFileToSD

field B -> #"Media/Docs/"

field C -> #"960XXX.pdf"

field D -> #""

field E -> #"960XXX.pdf"

field F -> #1

Share this post


Link to post
Share on other sites

Hi ORSO2001,
I just checked "Move/Copy File" Ladder function in the last version (V.26.90)  with the same parameters you are using and everything is working as expected.
What UniLogic version are you using? What Firmware? 

Share this post


Link to post
Share on other sites

Hi NoamN,

yes I am using the 26.90 version; I also used the same function in the past without problem.

I don't know why this time stay always at "1"...no progress no error.

in these next days I will check again...

Share this post


Link to post
Share on other sites

Hi Orso, have you checked that the microSD is fully in place OK?   Have you tried another card?   Size/Speed/Capacity?   Over the years I have had some that were faulty and needed replacement.....no amount of using manufacturer's programs would get them going.

cheers, Aus

Share this post


Link to post
Share on other sites

Hi Ausman,

I think that the SD is ok because the DT that I am using are stored well and also the DOK is ok because if I move the files using the "file browser" this works fine...then is something that is happens when I call this specific UDFB.

I am sure that I am wrong something but I don't understood what...later I will check...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...