CHAPTER 4: MAINTENANCE AND TROUBLESHOOTING
SNAP PAC R-Series Controller User’s Guide
43
Storing and Accessing Data or Files
When inserted into the controller and accessed from a PC using FTP or PAC Control, the card appears as a
directory in the controller’s file system named:
sdcard0
Just like a PC might show a thumb drive as a
directory named Removable Disk (E:), for example, the controller shows the card as a directory named
sdcard0.
IMPORTANT:
Do NOT try to create this directory. When you look at the card in the controller, the card appears as
a directory named sdcard0. When you look at the card in a card reader attached to your PC, you see the card reader’s
directory instead. When the card is in a card reader, you are already in the root of the card (that is, you are already
inside the sdcard0 directory).
For example, suppose you are looking at a card in a SNAP PAC controller with IP address 10.192.54.241. You
can see that this controller has three files in its regular file system, plus the card:
Within the
sdcard0
directory on the controller (or the root if the card is in a card reader), you can create
other directories and create or add files. For a card formatted with FAT16, you can have up to 512 files or
directories in the root directory, and each subdirectory can have up to 65,534 files. Cards formatted with FAT32
have no restrictions on the number of files in the root. Note filename requirements in
When the card is in the controller, you can access files on the card through PAC Control commands and from a
PC using FTP.
Use PAC Control commands
just as you would with any other file in the controller’s file system. For help, see
“Using the Control Engine’s File System” in the
(form 1700). Remember to include the
card’s directory name in the path in the file communication handle, for example:
file:a,/sdcard0/VoltLog.txt
Note that the path separator is a forward slash (/), not a backward slash (\).
You can also use the FTP communication handle in PAC Control to manipulate files. See the section “Moving
Files via FTP,” also in the
To move files to or from a PC
, use any standard FTP software. (Don’t use PAC Manager as the FTP client, as it
cannot see directories within the controller’s file system). Remember to include the card’s directory name, for
example:
ftp://192.168.1.1/sdcard0/
microSD/SDHC card
Files in PAC’s file system
Содержание SNAP PAC R SERIES
Страница 2: ......
Страница 8: ...SNAP PAC R Series Controller User s Guide vi...
Страница 72: ...TROUBLESHOOTING I O MODULES FREQUENTLY ASKED QUESTIONS SNAP PAC R Series Controller User s Guide 64...
Страница 78: ...SNAP POWER SUPPLIES SNAP PAC R Series Controller User s Guide 70...
Страница 82: ...SNAP PAC R Series Controller User s Guide 74...