Function to update in the Robox control flash a parameter file, reading values directly from the drives via CANopen DS301. Starting from the objects described in the command file, a parameter file containing the definition and value of these objects is generated.
Syntax |
i32 co_par_upload (string nameCmdFile, i32 nWs, i32 flagBrk [, string nameParFile="/FA/PAX_%d.DCF"] [, string comment=""]) |
||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nameCmdFile |
Full name of the command file |
||||||||||||||||||||||||||||||||||
nWs |
Number of workstations on which you want to operate |
||||||||||||||||||||||||||||||||||
flagBrk |
Location to be used to abort the current execution. Any value different than 0 will cause the execution to abort. WARNING: The handling of aborting this function using this variable must be done in another task. |
||||||||||||||||||||||||||||||||||
nameParFile |
String containing the name of the file to be included in the DCF file. (optional, default "/FA/PAX_%d.DCF"). The syntax for these parameters is "-F filename," where filename is the name of the parameters file complete with path |
||||||||||||||||||||||||||||||||||
comment |
String containing a comment to be inserted in the DCF file. (optional, default "") The syntax for these parameters is "-C comments" where comments are comments of up to 240 characters without LF (Line Feed) |
||||||||||||||||||||||||||||||||||
Result |
Meaning of the returned values:
|
||||||||||||||||||||||||||||||||||
Validity |
Task |
||||||||||||||||||||||||||||||||||
Note |