Log File; Drive Operation; Precautions - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

Log file

When the file transfer function is executed, the log file (filelog.txt/filelog.bak) is stored in the directory (Default is user root) that
the environmental variable FILE_TRANS_LOG indicates at the timing of the execution completion. When the environmental
variable is changed by pathset command, the log file is created to the path after change.
The capacity of the log file can be specified by System.PrConst.FileTransfer_LogCapacity and the operation depends on the
setting value as follows.
FileTrasfer_LogCapacity
(file transfer log capacity)
setting
-1
0
1 to 2048[kB]
When the log file (filelog.txt) error is detected, the warning "Log file create disabled warning" (warning code: 0F01H) is output.

Drive operation

When the drive image operation (while the file or restore command is executed), execute the target drive in the unmounted
status. Note that not to access the file stored in the drive in operation with System.Md.FileTransfer_DriveOperating as an
interlock.
While the drive image is operated, the following bits of System.Md.FileTransfer_DriveOperating becomes TRUE.
• bit0: User drive
• bit1: System drive
• bit2: RAM drive
• bit3: Latch drive
• bit4 to bitF: Reserved

Precautions

• Note that the writing to the file that is being used by the control during PLC ready [Y0] ON may cause unexpected
operation. Besides, reading of the file that is being operated by each function may cause lost of the data consistency.
Therefore, check the file is not operated and execute the file transfer function.
• The file transfer function is used when the project data is read or written from the engineering tool. While the project data is
operated by the engineering tool, note that not write to System.Cd.FileTransfer_Execute and
System.Cd.FileTransfer_Command.
• Note that the CPU module must not be reset and that the power must not be turned OFF during the file transmission. If the
power is turned OFF or the CPU module is reset during the file transmission and the processing is forced interrupted, the
file being transmitted may be broken.
• After the drive restoration, turn the power OFF or reset the CPU module once.
19 FILE CONTROL
508
19.2 File Transfer Function
Log create operation
Create a new file in each file transfer execution.
The existing filelog.txt is renamed to filelog.bak.
Not created.
Add writing to a file in each file transfer execution.
When filelog.txt exceeds the file capacity, filelog.txt is created after filelog.txt is renamed to filelog.bak.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd78g32Rd78g64Rd78ghvRd78g4Rd78ghwRd78g8 ... Show all

Table of Contents