17.22 SMTPcSV (Mail Server Setting)
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
Starting address of the device area that stores the string data that indicates sender information and
S1
mail sending server information, or a character constant.
Starting address of the device area that stores the string data that indicates the authentication
S2
setting parameters, or a character constant.
Starting address of the device area that stores the string data that indicates the detailed setting
S3
parameters, or a character constant.
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
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-108
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
●
●
●
●
●
●
●
●
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
●
●
●
WUME-FP7CPUPGR-12
Index
modifie
r