M moumie Level-1 Beiträge 8 Reaktionspunkte 0 18 September 2015 #1 Hi , How can I create a folder with Structured text. In codesys I am using the SyslibFi library, but with that I can only create file. Suppose I want to create a folder or directory named 'Docs'. Var FileOk := DWORD; End Var FileOk := SysFileOpen( 'Docs/', 'w') ; FileOk return 0 meaning failure to create 'Docs'
Hi , How can I create a folder with Structured text. In codesys I am using the SyslibFi library, but with that I can only create file. Suppose I want to create a folder or directory named 'Docs'. Var FileOk := DWORD; End Var FileOk := SysFileOpen( 'Docs/', 'w') ; FileOk return 0 meaning failure to create 'Docs'
M marcel_ Level-1 Beiträge 65 Reaktionspunkte 6 22 September 2015 #2 CoDeSys does also provie the SysDir libary, I think that is what you are looking for.
OP M moumie Level-1 Beiträge 8 Reaktionspunkte 0 22 September 2015 #3 marcel_ schrieb: CoDeSys does also provie the SysDir libary, I think that is what you are looking for. Zum Vergrößern anklicken.... Thank you marcel_ it is exactly what I am looking for. But unfornately I don't have it in codesys library manager. Please where can I donwload a copy of this library.
marcel_ schrieb: CoDeSys does also provie the SysDir libary, I think that is what you are looking for. Zum Vergrößern anklicken.... Thank you marcel_ it is exactly what I am looking for. But unfornately I don't have it in codesys library manager. Please where can I donwload a copy of this library.
M marcel_ Level-1 Beiträge 65 Reaktionspunkte 6 23 September 2015 #4 According to the naming sheme I see that you are using V2.3, is that correct? The Vendor of the plc provided me theese libaries. It is a while ago, currently I am only using V3.5.
According to the naming sheme I see that you are using V2.3, is that correct? The Vendor of the plc provided me theese libaries. It is a while ago, currently I am only using V3.5.
N nl_tmp Level-2 Beiträge 37 Reaktionspunkte 6 23 September 2015 #6 Beitrag gelöscht Zuletzt bearbeitet: 4 April 2016