Access Control Setting; Functions Of File Transfer; Command Format - Mitsubishi Electric MELSEC iQ-R Series User Manual

Motion module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Variable/Structure name
FileTransfer_State
FileTransfer_DriveOperating

Access control setting

Set the availability of data transfer by the file transfer function using the engineering tool.
• Set the access permission to each data by the WORD value shown below.
Bit
0
1
2 to 15
• For details of the access permission required for command execution, refer to specifications of each command.
• The access control setting read at the last is enabled at the execution timing of the file transfer function.
When it is executed at boot, the setting at the previous power disconnection is enabled.

Functions of file transfer

Operations to be specified by the file transfer function are as follows.
Function (Command
string)
Data delete (delete)
Environmental variable
specification (pathset)

Command format

Specify the command to be specified by the file transfer function with the following formats.
[Command] [Argument 1] [Argument 2] [Argument 3]
• For details of argument, refer to the description of each command.
• For a delimiter between commands and arguments, write a space.
• Multiple commands can be specified by using a newline code (\\n) as a delimiter. The number of commands to be specified
at the same time is not restricted.
Writing example:
copy /rom/$MOTPRJ$/*.csv /sdc/$MOTPRJ$/ \\n file /rom/sdc/$MOTPRJ$/
• For details of path that can be specified as an argument, refer to the following.
Page 499 Path setting
• If a space is included in the path, round the path with double quotation (").
• The path is not case-sensitive.
• When "//" is written before a command, the command is ignored. If the next command exists, the execution continues.
• When the command is error, the execution ends.
• When the command format is abnormal, an error occurs and the execution ends.
• For the operation to the file set with the read only attribute, refer to the following.
Page 501 Operation that can be executed
19 FILE CONTROL
506
19.2 File Transfer Function
Name
File transfer executing state
Drive operating
Meaning
Read permission (1: Allowed, 0: Prohibited)
Write permission (1: Allowed, 0: Prohibited)
Empty (Set 0.)
Operation
Deletes the specified file or the specified folder.
Specifies the data path to be used by each function.
It can read the file stored in another folder and start the
system without change of the user drive.
Details
Displays the execution state of file transfer.
0: Ready (Waiting for the request)
1: Executing (Executing)
-1: Error_ (Error occurrence)
The flag that is TRUE while the operation to the drive is executed.
Remark

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents