It is possible to detect a USB memory stick and the volume name on an LMC078?
There is no direct function or variable showing that a USB key is available or not and the related root path. But you can use the following workaround:

depending on the status value you know
0 : USB key is mounted and the device has no partition table --> You must use ´usb2msd:0/' for the root path of the USB memory stick
-1 : USB key is mounted but the device has a partition table --> You must use ´usb2msd:1/' for the root path of the USB memory stick
-318 : USB key not mounted
depending on the status value you know
0 : USB key is mounted and the device has no partition table --> You must use ´usb2msd:0/' for the root path of the USB memory stick
-1 : USB key is mounted but the device has a partition table --> You must use ´usb2msd:1/' for the root path of the USB memory stick
-318 : USB key not mounted
發佈於: 施耐德電機Taiwan


需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。