17.25 SMTPcLOG (Logging/Trace Mail 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.
SMTPcLOG "LOG=0" "GRPNO=0,SUBJECTAUTO" "Send log files" "INFO=NONE,ATT=NONE"
■
List of operands
Operand Description
S1
Starting address of the device area that stores the string data that indicates a target LOG number,
or a character constant.
S2
Starting address of the device area that stores the string data that indicates a subject and a
destination group number, or a character constant.
S3
Starting address of the device area that stores the string data that indicates mail text, or a character
constant.
S4
Starting address of the device area that stores the string data that indicates the settings for text
auto generation and file attachments, 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 ● ● ● ● ● ● ●
S4 ● ● ● ● ● ● ●
■
Outline of operation
● This instruction configures the mail transmission settings for when determining a file in
logging/trace.
17.25 SMTPcLOG (Logging/Trace Mail Setting)
17-130 WUME-FP7CPUPGR-12