Parameter Area-File Transfer: 22 0B - Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

FINS Commands
Comments
5-3-40 PARAMETER AREA–FILE TRANSFER: 22 0B
Execution Conditions
Command Format
22
0B
Command
Parameter
code
code
222
Disk number (command)
The classification of the file memory where the file to be transferred or com-
pared is registered is specified as follows:
8000 (hex):
Memory card
8001 (hex):
EM file memory
File name (command)
Specify the file to be transferred or compared. For details on the configuration,
refer to page 168.
Directory length
Indicates the length of the absolute directory path. The maximum number of
characters is 65. To specify the root directory as the absolute directory path,
specify 0000 (hex) as the directory length.
Absolute directory path
Indicates the absolute path from the root directory. It begins with \ (5C hex),
and the drive name and colon (:) are not required. "\" is used to delimit the
lower directory. It is not required at the end of the final absolute path. No set-
ting is required to specify the root directory itself.
MEMORY AREA–FILE TRANSFER (command code 220A) can be executed
regardless of the CPU Unit mode. It is the user's responsibility to program
steps to prohibit this command from being executed when the CPU Unit is in
RUN mode if such protection is necessary. Execute CPU UNIT STATUS
READ (command code 0601) to read the CPU Unit's mode. (Refer to 5-3-17
CPU UNIT STATUS READ: 06 01.)
If data is written to the Timer/Counter PV Area, the Completion Flags will not
be turned OFF.
The CPU Unit clock data upon completion of MEMORY AREA–FILE TRANS-
FER (command code 220A) will be recorded as the date of the file that has
been transferred.
Files cannot be overwritten when transferring data from a memory area to file
memory.
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
Compares or transfers data between the parameter area and the file memory.
Access right at
other device
No
RUN mode
OK (See note.)
Note Data cannot be transferred from file memory to the parameter area.
Parameter
Beginning
No. of
area code
address
items
Parameter area specification
UM read
DIP switch UM write
protection
protection
OK
OK (See note.)
MONITOR mode
OK (See note.)
12 bytes
Disk No.
File name
File specification
Section 5-3
Network write
protection
No
PROGRAM mode
OK
Directory
Absolute directory
length
path

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents