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
Starting address of the device area that stores the string data that indicates a setting number, or a
S
character constant.
D
Starting address of the device area that stores mail text
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
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
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
17.21 SMTPcBRD (Mail Text Read)
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
U
F
●
Index
modifie
r
●
17-105