Mitsubishi L02CPU User Manual page 219

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

(3) Function
• This instruction stores the e-mail address stored in the destination e-mail address setting number in
selected by
+0 in the device specified by
S1
• If the e-mail address is not registered in the destination e-mail address setting number, "00
• When two or more registered e-mail addresses are set in one destination setting number, "," is automatically
inserted as a delimiter between the addresses.
• "00
" (NULL) is stored at the end of the obtained character string.
H
• The result of the SP.MLGETADR instruction can be checked with the completion device,
• Completion device
SP.MLGETADR instruction completes, and turns off during the next END processing.
• Completion device
instruction.
State
When
completed
Remains off.
normally
Turns on during END processing of the scan where the SP.MLGETADR instruction completes, and turns off during the next
When
END processing.
completed with
an error
When the instruction is completed with an error, an error code is stored in the completion status of
(4) Error
Each of the following events results in an operation error, and the error flag (SM0) turns on and an error code is
stored in SD0.
• An instruction is used in a CPU module with a serial number (first five digits) of "16111" or earlier.
• A device which cannot be specified is specified.
is other than 1 to 16.
S2
• The device specified by
(5) Program example
This sample program stores control data in D100 and gets the e-mail address of destination setting No.10 of the
parameter setting to D200.
and later.
D1
+0: This device turns on during END processing of the scan where the
D2
+1: This device turns on or off according to the result of the SP.MLGETADR
D2
,
, or
exceeds the range of the number of device points.
D1
D2
S1
CHAPTER 15 E-MAIL SEND/RECEIVE FUNCTION
Description
Specifying destination e-mail address
as "E-mail address registered in CPU
module internal memory
Specifying device data length
Acquiring e-mail address of
Destination No.10
S2
" is stored in
.
D1
H
+0 and
+1.
D2
D2
15
+1.
S1
(Error code: 4002)
(Error code: 4004)
(Error code: 4101)
(Error code: 4101)
217

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents