Mitsubishi Electric MELSEC Q Series User Manual page 432

Programmabale web server module
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

8 DEDICATED INSTRUCTION
Function
[Operation at execution of FTPGET instruction]
8 - 14
(1)
A user data file (binary/CSV) is transferred from the specified source FTP server
to the Web server module.
(2)
Executing the same instruction during execution of the instruction is not allowed.
(The second instruction will not be processed.)
In this case, even if an error is detected, the completion device ((D) + 0) and
completion status indication flag ((D) + 1) do not turn on.
(3)
An error may occur if the same file is concurrently accessed by FTPGET and
any other instruction (WMSEND, FTPPUT, WFWRITE, WFREAD, WFDEL).
Before executing instructions, provide interlocks between the dedicated
instructions that will access the same file.
(4)
This instruction is not available for interrupt programs.
(5)
The file is transferred to the "/CF/USER/" directory of the CompactFlash card.
(6)
If a file of the same file name already exists, the old file is overwritten by the new
file.
(7)
The execution and normal/abnormal completion statuses of the FTPGET
instruction can be confirmed using the completion device ((D) + 0) and
completion status indication flag ((D) + 1).
(a)
Completion device ((D) + 0)
This device turns on in the END processing of the scan for which the
FTPGET instruction is completed, and turns off in the next END processing.
(b)
Completion status indication flag ((D) + 1)
This device turns on/off according to the completion status of the FTPGET
instruction.
Normally completed
Abnormally completed : Turns on in the END processing of the scan
When the FTPGET instruction is completed, the completion device (bit device)
set in ((D) + 0) turns on in the END processing of the completed scan, and turns
off in the next END processing.
When an error occurs, the completion device set in ((D) + 1) turns on and an
error code is stored into the completion status (word device) set in ((S) + 1).
Sequence program
FTPGET instruction
Completion device
Completion device +1
: Remains off.
where the FTPGET instruction is completed, and
turns off in the next END processing.
END
Scan
Scan
processing
Instruction execution
OFF
OFF
File transfer
MELSEC-Q
END
END
Scan
processing
processing
ON
ON
When abnormally completed
8 - 14

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71ws96

Table of Contents