Mitsubishi MELSEC-Q Series User Manual page 398

Web server module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

8 DEDICATED INSTRUCTION
Function
[Operation at execution of FTPPUT instruction]
8 - 10
(1)
A tag data, logging data or user data file (binary/CSV) is transferred to the
specified destination FTP server.
(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 FTPPUT and
any other instruction (WMSEND, FTPGET, 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)
As the user data file, a file in the "/CF/USER/" directory of the Compact Flash
card can be specified.
(6)
The execution and normal/abnormal completion statuses of the FTPPUT
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
FTPPUT 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 FTPPUT
instruction.
Normally completed
Abnormally completed : Turns on in the END processing of the scan
(1)
When the FTPPUT 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
FTPPUT instruction
Completion device
Completion device +1
: Remains off.
where the FTPPUT instruction is completed, and
turns off in the next END processing.
END
Scan
Scan
processing
Instruction execution
File transfer
MELSEC-Q
END
END
Scan
processing
processing
When abnormally completed
8 - 10
TM

Advertisement

Table of Contents
loading

Table of Contents