Files Created Using The Cmcr Instruction; Related Sr Words And Bits - Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

File Operations: CMCR Instruction
Command Data
Response Data

5-3-3 Files Created Using the CMCR Instruction

5-3-4 Related SR Words and Bits

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.
In word S+0, specify the command data length +1. The maximum command
data length is 1,000 words.
S+0
Command data length (Number of words: BCD) $1 to $1001
S+1
S+2
S+1000
The response data varies depending on the CMCR process. For explanations of
the various processes, refer to Section 5-3-6 Using CMCR Processes.
• 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
The following table shows the SR words and bits that are related to CMCR
execution.
Word
Bit no.
SR 237
00 to 07
08 to 15
SR 252
00
01
03
04
Command data
Command data
Command data
16
– 1 ) can be read.
Function
Response code for operating level #0 after CMCR
execution.
Response code for operating level #1 after CMCR
execution.
Turns ON when there is an error after CMCR
execution for operating level #0.
ON when CMCR can be executed for operating
level #0.
Turns ON when there is an error after CMCR
execution for operating level #1.
ON when CMCR can be executed for operating
level #1.
Section 5-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents