17.21 SMTPcBRD (Mail Text Read)
■
Ladder diagram
(Note 1) The above figure shows the case that S1=U100 (built-in ET-LAN in the CPU unit) and S2=U1
(connection number 1) are specified by the UNITSEL instruction. Set a desired value for [S2].
(Note 2) By copying and pasting the following text in the instruction list box of FPWIN GR7, the operand part of
the above program can be input.
SMTPcBRD "ID0" DT0
■
List of operands
Operand Description
S
Starting address of the device area that stores the string data that indicates a setting number, or a
character constant.
D Starting address of the device area that stores mail text
■
Devices that can be specified (indicated by ●)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S ● ● ● ● ● ● ●
D ● ● ● ● ● ● ●
■
Outline of operation
● This instruction reads the contents of mail texts.
■
Processing
● The instruction is used to read the text creation form that is set for mail text in the mail setting
screen of the setting tool. When a mail text is not set, it cannot be read. Zero is stored in the
number of bytes of the starting address.
● The mail text for the number that is specified by [S] is read and stored in the device address
that is specified by [D].
● The instruction can be executed when the mail send request relay for the specified setting
number is OFF (0: No request). As an execution condition of the instruction, insert a program
that checks the state of the mail send request relay. The state of the mail send request relay
17.21 SMTPcBRD (Mail Text Read)
WUME-FP7CPUPGR-12 17-105