Mitsubishi Electric MELSEC Q Series User Manual page 423

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

Advertisement

8 DEDICATED INSTRUCTION
Device
Item
(S1) + 12
Clock data
(S1) + 13
(Set only when
(S1) + 14
an error occurs)
(S1) + 15
(S1) + 16
to
File name
(S1) + 21
Send data
Device
Item
(S2) + 0
to
Send data
(S2) + n
Function
CPU module
WMSEND "Un" (S1) (S2)
8 - 5
Upper 8 bit: Month (01
to 12
H
digits of the year
Upper 8 bit: Hour (00
to 23
H
Upper 8 bit: Second (00
H
Upper 8 bit: Year (00
to 99
H
Lower 8 bit: Day of the week (00
Specify a file name with a character string when attaching a user data
file.
• Specify a name (8 characters) + period + extension (3 characters)
within the specified number of characters.
• When omitting an extension, also omit a period (".").
Specify the data (subject + main text) of the e-mail to be sent.
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)
An e-mail is sent to the destination e-mail address .
(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 WMSEND and
any other instruction (FTPPUT, 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 CompactFlash card
can be specified.
Setting data
), Lower 8 bit: Year (00
H
), Lower 8 bit: Day (01
H
to 59
), Lower 8 bit: Minute (00
H
), First 2 digits of the year
H
(Sun.) to 06
(Sat.))
H
H
Setting data
Web server module
(D)
Destination No. = E-mail address
Tag/Logging No.
= Tag data or logging data
File name
= user data file (binary/CSV)
Setting
range
to 99
) Last 2
H
H
to 31
)
H
H
to 59
)
H
H
String
Setting
range
Mail server
Destination e-mail address
Subject
Main text
Attached file
MELSEC-Q
Setting side
( 1)
System
User
Setting side
( 1)
User
8 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71ws96

Table of Contents