17.22 SMTPcSV (Mail Server Setting)
■
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.
SMTPcSV "name=fp7,from=abc@xxx.com,IPv4=192.168.1.1" "cram,account=abc,pass=xxx" "initial"
■
List of operands
Operand Description
S1
Starting address of the device area that stores the string data that indicates sender information and
mail sending server information, or a character constant.
S2
Starting address of the device area that stores the string data that indicates the authentication
setting parameters, or a character constant.
S3
Starting address of the device area that stores the string data that indicates the detailed setting
parameters, or a character constant.
■
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
" "
S1 ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ●
S3 ● ● ● ● ● ● ●
■
Outline of operation
● This instruction sets the information of the connected mail sending server and the sender.
■
Processing
● The mail sending server setting and the sender setting are configured in the CPU unit
according to specified parameters.
17.22 SMTPcSV (Mail Server Setting)
17-108 WUME-FP7CPUPGR-12