Mitsubishi Electric MELSEC Q Series User Manual page 424

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

Advertisement

8 DEDICATED INSTRUCTION
[Operation at execution of WMSEND instruction]
Error
8 - 6
(6)
The execution and normal/abnormal completion statuses of the WMSEND
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
WMSEND 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 WMSEND
instruction.
Normally completed : Remains off.
Abnormally completed: Turns on in the END processing of the scan where
(1)
When the WMSEND 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 ((S1) + 1).
Sequence program
WMSEND instruction
Completion device
Completion device +1
(2)
The name of the file attached to the e-mail sent by the WMSEND instruction is as
follows.
For tag data : TAG . CSV (
For logging data (current file): File name set in the logging setting
For logging data (saved file) : Saved file name
(3)
When sending the logging data or user data file, do not delete the target file until
its transmission is completed.
A transmission error will occur if the target data, i.e., the data to be sent, is
deleted before completion of the transmission.
When deleting, execute it after the completion device ((D) + 0) has turned on.
When the dedicated instruction is abnormally completed, the abnormal completion
signal ((D) + 1) turns on and a corresponding error code is stored into the completion
status ((S1) + 1).
Check the error status according to the error code and take corrective action.
Refer to Section 9.3 for the error code.
the WMSEND instruction is completed, and turns
off in the next END processing.
END
Scan
Scan
processing
Instruction execution
OFF
OFF
E-mail sending
indicates tag setting No.)
MELSEC-Q
END
END
Scan
processing
processing
ON
ON
When abnormally completed
8 - 6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71ws96

Table of Contents