!
46
5-1
Outline
The PC Card Unit allows data, such as CIO, DM, and EM data, to be transferred
between a memory card mounted in the PC Card Unit and the C200HX/HG/HE
CPU. File read/write operations are performed using the CMCR instruction
executed in the ladder program in the C200HX/HG/HE. Refer to 4-1 Before
Installing a PC Card Unit for details on allocating a function code to CMCR.
Caution
When using the PC Card, be sure to observe the following precautions.
•
Insert or eject the PC Card for at least 10 seconds after it is inserted or ejected.
(That is, don’t eject the PC Card for at least 10 seconds after it is inserted and
don’t insert the the PC Card for at least 10 seconds after it is ejected.)
•
Don’t eject the PC Card while it is being accessed (while either the CARD1
indicator or CARD2 indicator is lit).
Applicable PC Cards
The PC Card Unit has two PCMCIA 2.1-compliant PC card interface slots, in
which two type-I or type-II PC cards or one type-III PC card can be mounted.
Memory cards on the market, such as SRAM, ATA, and FLASH memory cards,
can be used.
Before purchasing memory cards (SRAM, FLASH, or ATA), always make sure
that they can be used with PHOENIX PCM Plus 3.2.
File Operations
The CMCR instruction (CARD MACRO) is used to transfer data between the PC
Card Unit and the C200HX/HG/HE CPU.
If the user specifies the memory address from which data is to be read, the num-
ber of words, and a file name, data in C200HX/HG/HE memory can be written to
the specified file in the memory card. Similarly, files can be written from the
memory card to C200HX/HG/HE memory. C200HX/HG/HE files can also be
compared and searched.
The PC Card Unit also supports saving data with words separated by commas
(CSV) as the file format, allowing data to be processed with commercially avail-
able spreadsheet software.
File Save Format
Data can be saved in any of the following three file format. Select the appropriate
format for your purpose.
•
Single word comma separated value (CSV) format
The contents of the specified words are saved in ASCII format. The data for
each word is separated by a comma (4-byte ASCII characters).
•
Double word CSV format
The contents of the specified words are saved in ASCII format. The data for
each pair of words is separated by a comma (8-byte ASCII characters).
•
Binary format
The contents of the specified words are saved directly in a file.
Specify the save format in the control data when programming the CMCR
instruction. Refer to 5-3 File Operations: CMCR Instruction for details.
Data stored in a memory card in a PC Card Unit can be accessed from a per-
sonal computer. Conversely, data stored in a personal computer can be written
to the PC Card Unit and then accessed by the PC.
Accessing Data from
Personal Computers
Outline
Section 5-1
Summary of Contents for SYSMAC C200HW-PCS01-EV1
Page 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Page 4: ......
Page 6: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 34: ......
Page 38: ......
Page 60: ......
Page 80: ......
Page 82: ......
Page 88: ......
Page 120: ......
Page 148: ......
Page 178: ......
Page 214: ......
Page 220: ......
Page 232: ......
Page 234: ......
Page 236: ......
Page 238: ......
Page 240: ......