Omron SYSMAC C200HW-PCU01 Operation Manual page 68

Pc card unit
Table of Contents

Advertisement

File Operations: CMCR Instruction
Command Data
Response Data
Response Codes
52
Bit 10 0:
Puts a comma between the data for each word.
1:
Puts a comma between the data for every two words (double-
length words).
• Control Code
Write the hexadecimal values for the drive and filename for the file to be writ-
ten. The extension must be written in three characters. Shift JIS 1-byte alpha-
numeric code is used.
If there are already directories on the card, a directory can be specified.
Slot 1 is drive G, and slot 2 is drive H.
Data
Offset
length
• Data Length
The data length (including the data length and offset designations) is specified
by the number of words. Specify a number from 1 to 1001 in BCD.
• Offset
The transmission data offset is specified by the number of elements (i.e., the
number of words for binary and single-word comma separation, or the number
of double-length words double-word comma separation). Specify a number
from 0 to FFFF in hexadecimal.
When adding data to a file, all numbers other than 0 have the same meaning
(i.e., add to the end of the file).
Single-word comma separation, binary:
Double-word comma separation:
• Write Data
The data to be written to the file. The maximum amount of data depends on the
type of file created, as follows:
Single-word comma separation, binary:
Double-word comma separation:
There is no response data.
00:
Normal completion.
01:
Offset or file size error (e.g., offset + size exceeds file size).
02:
Disk full, file output error, or file type error.
03:
File does not exist.
Write data
Specified number of words.
Specified number of elements.
999 words
998 words (449 elements)
Section 5-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents