Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 247

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

Advertisement

FINS Commands
Comments
0001 (hex)
Data transfer from the file memory to the program area.
0002 (hex)
Data compared.
Program number and beginning word (command)
Always FFFF (hex).
Beginning word (command)
Always 00000000 (hex).
Number of bytes (command)
Specify the number of data bytes to be transferred or compared. Always
FFFFFFFF (hex).
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 name of the file to be transferred or compared. For details on the
configuration, refer to page 168.
Data length (response)
When data is transferred, the data length parameter indicates the number of
bytes that have been transferred. When data is compared, this parameter indi-
cates the amount of data that was compared with no errors, or the number of
bytes compared in a normal completion.
Directory length (response)
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 (response)
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 program area to file memory transfer will
be recorded as the date of the file that has been transferred.
This command cannot be executed if any other device holds the access right
or when memory is write-protected via pin 1 of the DIP switch on the front
panel of the CPU Unit.
PROGRAM AREA–FILE TRANSFER (command code 220C) cannot be exe-
cuted when the CPU Unit is in the RUN or MONITOR mode.
Files cannot be overwritten when transferring data from the program area to
file memory.
When the "prohibit save to protected memory card and program transfer (PLC
to computer)" setting is enabled, PROGRAM AREA - FILE TRANSFER can-
not be executed.
When the "prohibit overwriting of protected program" setting is enabled, FILE -
PROGRAM AREA TRANSFER cannot be executed.
Section 5-3
225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents