Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: jay.mason@victaulic.com on December 04, 2025, 10:22:08 AM

Title: SD card mounted indicator
Post by: jay.mason@victaulic.com on December 04, 2025, 10:22:08 AM
Question, is the FS Media Mounted bit controlled by a physical switch in the PLC?

What I am attempting to do is place the SD card on an extension located in a feedthrough
So that the electrical enclosure remains closed but the technician can remove the SD card and access the data file.  I want to use a status bit to indicate weather the card is present. The $SDCardFS.mounted status bit is on when the extension is plugged in it does not notice weather the actual card is inserted .
Is there another status bit that looks at the actual SD Card? If so what is the bit name.
Thank you
Jay

Title: Re: SD card mounted indicator
Post by: BobO on December 04, 2025, 12:56:29 PM
Question, is the FS Media Mounted bit controlled by a physical switch in the PLC?

What I am attempting to do is place the SD card on an extension located in a feedthrough
So that the electrical enclosure remains closed but the technician can remove the SD card and access the data file.  I want to use a status bit to indicate weather the card is present. The $SDCardFS.mounted status bit is on when the extension is plugged in it does not notice weather the actual card is inserted .
Is there another status bit that looks at the actual SD Card? If so what is the bit name.
Thank you
Jay

.MediaMounted should be indicating the software status of the drive, not the presence or absence of the card. .MediaInstalled should be indicating the presence of the card. If .MediaMounted is true when there is no card in the extension something isn't working as expected.
Title: Re: SD card mounted indicator
Post by: pbw on December 09, 2025, 10:55:49 AM
I had the same issue doing the exact thing you are describing....I monitored both $SDCardFS.MediaInstalled....and....$SDCardFS.MediaMounted
Title: Re: SD card mounted indicator
Post by: franji1 on December 09, 2025, 11:49:18 AM
Can you show status (Ladder or Data View $SDCardFS showing "USEFUL multiline" detail) of the 3 situations showing .MediaMounted and .MediaInstalled states when

Extension cable not plugged in
Extension cable plugged in without media
Extension cable plugged in with media