ORSO2001 Posted August 9, 2019 Report Share Posted August 9, 2019 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 Link to comment Share on other sites More sharing options...
NoamM Posted August 11, 2019 Report Share Posted August 11, 2019 Hi ORSO2001, What are the UDFB input values when you call "Copy/Move file"? Link to comment Share on other sites More sharing options...
ORSO2001 Posted August 11, 2019 Author Report Share Posted August 11, 2019 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 Link to comment Share on other sites More sharing options...
NoamM Posted August 12, 2019 Report Share Posted August 12, 2019 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? Link to comment Share on other sites More sharing options...
ORSO2001 Posted August 12, 2019 Author Report Share Posted August 12, 2019 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... Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted August 12, 2019 MVP 2023 Report Share Posted August 12, 2019 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 Link to comment Share on other sites More sharing options...
ORSO2001 Posted August 12, 2019 Author Report Share Posted August 12, 2019 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... Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted August 12, 2019 MVP 2023 Report Share Posted August 12, 2019 We eagerly await the "duhhh" explanation! cheers, Aus Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now