Panasonic FP7 Series Command Reference Manual page 1019

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

Advertisement

● Before executing this instruction, use the "SMTPcADD (Destination Group Setting)"
instruction or the programming tool software "FPWIN GR7" to configure logging/trace mail
settings.
Processing
● The logging/trace mail settings of [S2] to [S4] are stored in the logging/trace setting area that
is specified by [S1].
● The instruction can be executed when the mail send request relay is OFF (0: No request). As
an execution condition of the instruction, insert a program that checks the state of the mail
send request relay. The state of the mail send request relay can be read with the ETSTAT
instruction. Store the state that is read in a device such as an internal relay. An operation
error occurs if this instruction is executed when the send request relay is ON.
● 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] to [S4], specify the starting address of the device area that stores the string data
that 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.
● The number of characters should not exceed 256.
● Both upper and lower case characters can be used. "Abcd", "ABCD" and "abcd" are all
synonymous. However, the subject, the mail text, and the attachment file name are case-
sensitive.
● This instruction is not available in interrupt programs.
Operand [S1] setting
● Specify the starting address of the device area that stores the string data that indicates a
logging/trace number (string), or a character constant.
Setting
Settings
item
Target LOG
S1
number
(Note 1)
Upper and lower case characters can be used for specifying keywords.
Operand [S2] setting
● Specify the starting address of the device area that stores the string data that indicates a
subject and a destination group number (string), or a character constant.
● More than one destination group number can be specified simultaneously (maximum 8).
Numbers are specified with bits.
WUME-FP7CPUPGR-12
17.25 SMTPcLOG (Logging/Trace Mail Setting)
Specify a target LOG number (0 to 15). Specify the keyword
"LOG=" at the beginning.
LOG=x
Setting
range
0 to 15
17-131

Advertisement

Table of Contents
loading

Table of Contents