-> Hier kostenlos registrieren
Bitte Hilfe !!! 
Ich habe dieser fehler mit mein program und Bachmann Datei Library.
Error 4010 : PLC_PRG (1) : Type mismatch: Cannot convert 'STRING(11)' to 'FILE_PATH'.
System :
- Codesys M-PLC
- Bachmann Controller aber ich benutze noch die simulation mode.
- Structure : text

Ich habe dieser fehler mit mein program und Bachmann Datei Library.
Error 4010 : PLC_PRG (1) : Type mismatch: Cannot convert 'STRING(11)' to 'FILE_PATH'.
System :
- Codesys M-PLC
- Bachmann Controller aber ich benutze noch die simulation mode.
- Structure : text
Code:
[PROGRAM PLC_PRG
VAR
My_Req: BOOL;
My_RetCode: DINT;
My_FileToDelete : FILE_PATH ;
My_FILE_Del: FILE_Del;
END_VAR
My_FileToDelete :='d:\list.txt';
My_FILE_Del(Req := My_Req, FileToDelete := My_FileToDelete);
/CODE]
Danke