17.27 SMTPcCTL (Mail Transmission Control)
■
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.
SMTPcCTL "ID0" "ENABLE"
■
List of operands
Operand Description
S1
Starting address of the device area that stores the string data that indicates a control target, or a
character constant.
S2
Starting address of the device area that stores the string data that indicates the control content
(send enabled/disabled/canceled), 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 ● ● ● ● ● ● ●
■
Outline of operation
● This instruction configures the settings for enabling, disabling, or canceling the sending of
mail.
● Before executing this instruction, use the "17.24 SMTPcSET (Mail Transmission Setting)"
instruction or the programming tool software "FPWIN GR7" to configure event mail settings.
(when control targets are specified with send numbers)
● Before executing this instruction, use the "17.25 SMTPcLOG (Logging/Trace Mail Setting)"
instruction or the programming tool software "FPWIN GR7" to configure logging/trace mail
settings. (when control targets are specified with LOG numbers)
● It takes some time to accept the processing of the transfer cancel request. After executing
the instruction, check the transfer status to see if the transfer stops. For details on checking
17.27 SMTPcCTL (Mail Transmission Control)
WUME-FP7CPUPGR-12 17-139