Program Area-File Transfer: 22 0C - 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-41 PROGRAM AREA–FILE TRANSFER: 22 0C
Execution Conditions
Command Format
22
0C
Command
Parameter
code
code
Directory
Absolute directory
length
path
Response Format
Parameters
224
Absolute directory path (command)
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.
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
The clock data upon completion of a parameter area to file memory transfer
will be recorded as the date of the file that has been transferred.
A file can be transferred to the I/O table only when the CPU Unit is in PRO-
GRAM mode.
This command cannot be executed if any other device holds the access right.
Files cannot be overwritten when transferring data from the parameter area to
file memory.
Compares or transfers data between the program area and the file memory.
Access right at
other device
No
RUN mode
OK (See note 2.)
Note
1. Data can be transferred from the program area to the file memory.
2. Data cannot be transferred from file memory to the program area in these
modes.
FF
FF
00
00
Program
Beginning word
No.
Program area specification
22
0C
Command
End code
code
Parameter code (command)
Specify the transfer/compare method as follows:
0000 (hex)
Data transfer from the program area to the file memory.
UM read
DIP switch UM write
protection
OK
MONITOR mode
OK (See note 2.)
00
00
FF
FF
FF
No. of bytes
Data length
Section 5-3
Network write
protection
protection
No (See Note 1.)
PROGRAM mode
OK
FF
12 bytes
Disk No.
File name
File specification
No

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents