Panasonic FP7 Series Command Reference Manual page 1028

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

17.27 SMTPcCTL (Mail Transmission Control)
the transfer status, refer to the
HTTP/SMTP)"
Processing
● The instruction controls whether to enable, disable, or cancel mail sending for the target [S1]
according to the specification of the control content [S2].
● This instruction can be executed when the Ethernet initialization active flag (X61) is OFF. As
an execution condition of the instruction, insert a program that checks the status of the flag
(X61). If this instruction is executed when the flag (X61) is ON, the system relay SR9 (carry
flag CY) is set and the instruction is terminated without being executed.
● When the instruction is completed successfully, the system relay SR9 (carry flag CY) and the
system data register SD29 (Ethernet communication error code) are cleared.
Precautions for programming
● Insert the UNITSEL instruction immediately before this instruction and specify the unit (built-
in ET-LAN in the CPU unit) and the connection number.
● For [S1] and [S2], specify the starting address of the device storing the string data which
indicates the set parameters or a character constant. When specifying a device area for an
operand, set string data using the SSET instruction in advance. However, the ESSET
instruction cannot be used because the format is different.
● Both upper and lower case characters can be used. "Abcd", "ABCD" and "abcd" are all
synonymous.
Operand [S1] setting
Setting
Settings
item
Control
S1
target
Operand [S2] setting
Setting
Settings
item
Control
S2
content
Setting example
Settings
Exam
When enabling the sending of
ple 1
send number 5
Exam
When disabling all sending
ple 2
17-140
"17.3 ETSTAT (Acquiring Ethernet Unit Information: FTP/
instruction.
1) When specifying an individual send
number
2) When specifying an individual LOG
number
3) When specifying all send numbers and
all LOG numbers
1) When enabling sending
2) When disabling sending
3) When canceling sending
S1
"ID5"
"ALL"
Specify "IDx" with x being a value from 0
to 15.
Specify "LOGx" with x being a value from
0 to 15.
Specify "ALL".
Specify "ENABLE".
Specify "DISABLE".
Specify "CANCEL".
S2
"ENABLE"
"DISABLE"
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents