Mitsubishi MELSEC-Q Series User Manual page 415

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

Advertisement

8 DEDICATED INSTRUCTION
Send data
Device
Item
(S2) + 0
Written data
to
(S2) + n
Function
Precaution
8 - 27
Specify the data to be written.
1 The setting side is as follows.
• User
: Data are set by the user before execution of the dedicated instruction.
• System : The execution result of the dedicated instruction is stored by the
programmable controller CPU.
2 Refer to Section 9.3 for the error code.
(1)
The device data of the programmable controller CPU are written to the user data
file of the Compact Flash card in binary or CSV format.
(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 accessed by WFWRITE and any other
instruction (WMSEND, FTPPUT, FTPGET, 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 WFWRITE
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
WFWRITE 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
WFWRITE instruction.
Normally completed : Remains off.
Abnormally completed: Turns on in the END processing of the scan where
(1)
The data written at the CSV setting are decimal values.
When word is specified: -32768 to 32767
When byte is specified: -128 to 127
Setting data
the WFWRITE instruction is completed, and turns
off in the next END processing.
MELSEC-Q
Setting
Setting side
range
( 1)
0
User
to
FFFF
H
TM
8 - 27

Advertisement

Table of Contents
loading

Table of Contents