
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
347
OPEN_PCMCIA_VFAT
3469
Unit type = function block (FB)
Contained in the library:
ifm_PDM_FILE_Vxxyyzz.LIB
Available for the following devices:
- PDM360: CR1050, CR1051, CR1060 (from device version 4.12 on)
Symbol in CoDeSys:
Description
3502
OPEN_PCMCIA opens the VFAT file system of the inserted PCMCIA card (integrates the PCMCIA
card) as directory
/pcmcia
.
The Linux system must integrate a newly inserted removable storage device into its file system to read
and edit the contents. This is done with the following function via a command:
'/dev/hda1 on /pcmcia type vfat (rw)$N'
.
Parameters of the inputs
3498
Parameter
Data type
Description
INIT
BOOL
TRUE (in the 1st cycle):
unit is executed
FALSE:
during further processing of the program
Parameters of the outputs
3499
Parameter
Data type
Description
PCMCIA_STATE
STRING(80)
only informal: mount status
OPEN_ERROR
BOOL
TRUE:
mount status file is not readable:
Integration of the card failed.
FALSE:
mount status file is readable.
PCMCIA_READY BOOL
TRUE:
PCMCIA card integrated:
Files in the path
/pcmcia
can be read and processed.
FALSE:
PCMCIA card not integrated