SD Card / USB Flash Drive Mounting Functions
-
-
- AKD PDMM and PCMM use SD cards.
- PCMM2G uses a USB flash drive as removal media for File Management functions.
- PCMM2G uses an auto-mount feature for USB Flash Drive.
- With auto-mount enabled, removable media is automatically mounted upon insertion and safely unmounted upon removal.
- This eliminates the need to invoke mount and unmount functions before performing any file management tasks.
|
Name |
Use |
|---|---|
|
|
|
|
|
AKD PDMM / PCMM: Unmount the SD card. |
SD_ISREADY
- Verify the SD card is mounted.
|
Device |
Action |
Return Value |
Example |
||
|---|---|---|---|---|---|
|
AKD PDMM / PCMM |
Verify the SD card is mounted. |
|
OK := SD_ISREADY();
|
||
|
PCMM2G |
Verifies whether a USB flash drive is inserted. |
Returns TRUE if the USB flash drive is inserted. |
|||
|
Simulator |
Verify the SDCard folder exists here: C:\Users\[user's name]\AppData\Local\Kollmorgen\KAS\Sinope Simulator\Application\userdata\SDCard |
|
OK := SD_ISREADY();
|
SD_MOUNT
- Mount the SD card.
-
-
Recommended: Stop all motion before using SD_MOUNT.
|
Device |
Action |
Return Value |
Example |
||
|---|---|---|---|---|---|
|
AKD PDMM / PCMM |
Mount the SD card. |
|
OK := SD_MOUNT();
|
||
|
PCMM2G |
Verifies whether a USB flash drive is inserted. |
Returns TRUE if the USB flash drive is inserted. |
|||
|
Simulator |
This does not perform any action. |
It always returns TRUE. |
SD_UNMOUNT
- Unmount the SD card.
-
-
Recommended: Stop all motion before using SD_UNMOUNT.
|
Device |
Action |
Return Value |
Example |
||
|---|---|---|---|---|---|
|
AKD PDMM / PCMM |
Unmount the SD card. |
|
OK := SD_UNMOUNT();
|
||
|
PCMM2G |
This does not perform any action. |
It always returns TRUE. |
|||
|
Simulator |
This does not perform any action. |
It always returns TRUE. |




