This function is used to rename a file present on the CF of the motion control.
Syntax |
i32 f_rename (string oldPathName, string newPathName) |
||||||
---|---|---|---|---|---|---|---|
oldPathName |
Current name of the file including folder |
||||||
newPathName |
Desired name of the file including folder. Destination folder must be the same |
||||||
Result |
Returns:
|
||||||
Validity |
Task |
||||||
Note |
If functions regarding compact flash management are used, it is recommended that bit 14 of the sys_cfg variable (0x00004000) be imposed to 1, to enable the use of safety routines for flash write/read |
Example of use:
|