Panasonic FP7 Series Command Reference Manual page 997

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

Advertisement

● The instruction can be executed when the mail send request relays of the mail transmission
control relay and the mail send logging/trace control relay are 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.
● The initial value is set with the instruction when the server setting is not specified.
● After this instruction is executed, the PLC operates as shown in the following table.
Conditions
The power supply for the PLC is switched from OFF to ON.
The PLC is changed to
PROG mode.
● If an incorrect IP address is specified, the system relay SR9 (carry flag CY) is set and the
instruction is terminated without being executed.
● 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.
● 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 for operands. "Abcd", "ABCD" and "abcd"
are all synonymous. However, the source name, the mail address, the host name, the user
name, and the password 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
sender information and mail sending server information, or a character constant.
● A part of parameters can be omitted. The settings are not changed when parameters are
omitted partially.
● When omitting the part before a specified keyword, omit only "keyword" without omitting ",".
● When omitting the part after a specified keyword, omit both "," and "keyword".
● Specify a source name, a source e-mail address, the IP address or the host name of a mail
server, a port number, and the SSL3/TLS1 authentication setting within 256 one-byte
characters in total.
● It is prohibited to specify the same keyword redundantly. An error is caused in the case of
redundant specification.
WUME-FP7CPUPGR-12
17.22 SMTPcSV (Mail Server Setting)
Changes to RUN mode without rewriting the
configuration.
Changes to RUN mode after rewriting the
configuration.
Operation
Setting using the
configuration
Setting using instructions
Setting using the
configuration
17-109

Advertisement

Table of Contents
loading

Table of Contents