How can we help you today?

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:
FC_GetFreeDiskSpace
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

Schneider Electric Ireland

Explore more

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Search topic-related frequently asked questions to find answers you need.