Outline - Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

Outline

5-1

Outline

Caution
!
Applicable PC Cards
File Operations
File Save Format
Accessing Data from
Personal Computers
46
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.
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).
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.
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.
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.
Section 5-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents