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
336
Parameters of the outputs
10094
Parameter
Data type
Description
USB_PATH
STRING (80)
Path of the active USB device
USB_IDX
BYTE
Index of the active USB device (1...16)
NUMBER_USB_DEVICES
WORD
Number of all connected USB devices
SELECTED_DEVICE
WORD
Index of the selected USB device
REMOVE_RESULT
INT
Result of the command "remove USB device"
(
following table)
USB_INSERTED
BOOL
TRUE:
> 1 USB device connected
FALSE: no USB device connected
Possible results for REMOVE_RESULT:
Value
dec | hex
Description
001
01
FB execution was finished without error - USB device is removed
242
F2
Error: Removing is not possible
Possible cause: file still open