50
•
(Operating) Level
Setting to “0” specifies level #0; setting to “1” specifies level #1.
•
Control Code Enable
When bit 11 of word C+0 is ON (i.e., set to “1”), the control codes in words C+1
through C+7 are transmitted to the PC Card Unit.
•
Port Number
The port number varies depending on the process number. For explanations of
the various processes, refer to 5-3-6 Using CMCR Processes.
•
Process Number
The process number specifies a CMCR process (from 1 to 4).
•
Control Code
The control code specifies the filename for writing, reading, comparison, or
searching.
Command Data
In word S+0, specify the command data 1. The maximum command
data length is 1,000 words.
Command data length (Number of words: BCD) $1 to $1001
Command data
Command data
•
•
•
Command data
S+0
S+1
S+2
S+1000
Response Data
The response data varies depending on the CMCR process. For explanations of
the various processes, refer to Section 5-3-6 Using CMCR Processes.
5-3-3 Files Created Using the CMCR Instruction
•
Maximum Number of Files per Card
The entire card may be used, but this depends on the FAT size of the card.
•
Maximum Size for One File
The entire card may be used, but the offset setting is up to 65,535. A file size of
up to 4,294,967,295 bytes (2
16
– 1 ) can be read.
5-3-4 Related SR Words and Bits
The following table shows the SR words and bits that are related to CMCR
execution.
Word
Bit no.
Function
SR 237
00 to 07
Response code for operating level #0 after CMCR
execution.
08 to 15
Response code for operating level #1 after CMCR
execution.
SR 252
00
Turns ON when there is an error after CMCR
execution for operating level #0.
01
ON when CMCR can be executed for operating
level #0.
03
Turns ON when there is an error after CMCR
execution for operating level #1.
04
ON when CMCR can be executed for operating
level #1.
File Operations: CMCR Instruction
Section 5-3
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: ......