SD Card Mounting Functions
Function - Mounting an SD card.
Name |
Use |
---|---|
Verify the SD card is mounted. |
|
Mount the SD card. |
|
Unmount the SD card. |
SD_ISREADY
- Verify the SD card is mounted.
Device |
Action |
Return Value |
Example |
||
---|---|---|---|---|---|
AKD PDMM |
Verify the SD card is mounted. |
|
OK := SD_ISREADY();
|
||
PCMM2G |
SD Card is not supported by PCMM2G. This does not perform any action. |
It always returns FALSE. |
|||
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 |
Mount the SD card. |
If the mount is successful, the return value is TRUE. If the mount is not successful, the return value is FALSE. |
OK := SD_MOUNT();
|
||
PCMM2G |
SD Card is not supported by PCMM2G. This does not perform any action. |
It always returns FALSE. |
|||
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 |
Unmount the SD card. |
If the unmount is successful, the return value is TRUE. If the unmount is not successful, the return value is FALSE. |
OK := SD_UNMOUNT();
|
||
PCMM2G |
SD Card is not supported by PCMM2G. This does not perform any action. |
It always returns FALSE. |
|||
Simulator |
This does not perform any action. |
It always returns TRUE. |