![background image](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026338.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
Saving, reading and converting data in the memory
338
11.1.3
COPY_USB_TO_PDM
10107
Unit type = program (PRG)
Contained in the library:
ifm_PDM360NG_USB_Vxxyyzz.Lib
Available for the following devices:
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
10109
COPY_USB_TO_PDM copies a file from a connected USB memory device to the PDM memory.
Parameters of the inputs
10110
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
unit is executed
FALSE:
unit is not executed
> POU inputs and outputs are not active
COPY
BOOL
TRUE:rising edge of the press of a key
starts the copy process
FALSE:
this function is not executed
USB_PATH
STRING (80)
USB path; is provided by USB_STORAGE_HANDLER (
→
LOCAL_PATH
STRING (80)
Path in the PDM memory
Typical:
/home
or
/data
USB_FILE
STRING (80)
Filename of the file to be copied
(wildcards
?
and
*
also allowed)
Parameters of the outputs
10105
Parameter
Data type
Description
COMMAND
STRING (80)
Full Linux command (for control purposes)
DONE
BOOL
Copy process was successful
RET_VALUE
INT
Linux return value (for control purposes)