17.24 SMTPcSET (Mail Transmission Setting)
17.24 SMTPcSET (Mail Transmission 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.
SMTPcSET "ID=0,TRIG=BITON,R0" "GRPNO=0,SUBJECTAUTO" "Test" "INFO=NON,ATT=NONE"
■
List of operands
Operand
Description
Starting address of the device area that stores the string data that indicates a setting number and a
S1
send trigger, or a character constant
Starting address of the device area that stores the string data that indicates the destination group
S2
number and the subject of the mail to be sent, or a character constant.
Starting address of the device area that stores the string data that indicates the text of the mail to
S3
be sent, or a character constant.
Starting address of the device area that stores the string data that indicates the attached data
S4
specification of the mail to be sent, or a character constant.
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S1
●
●
S2
●
●
S3
●
●
S4
●
●
■
Outline of operation
● This instruction configures the mail transmission settings.
● Before executing this instruction, use the
instruction or the programming tool software "FPWIN GR7" to configure event mail settings.
17-120
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
"17.23 SMTPcADD (Destination Group Setting)"
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
U
F
●
●
●
●
WUME-FP7CPUPGR-12
Index
modifie
r