■
Processing
● This instruction specifies the destination group name specified by [S2] and the destination
address specified by [S3] and [S4], for the destination group number specified by [S1].
● 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.
● 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 [S1] to [S4], 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.
● Upper and lower case characters can be used for operands which character constant can be
specified. "Abcd", "ABCD" and "abcd" are all synonymous. However, the destination group
name, the destination address, the host name, and the domain 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
destination group number (string), or a character constant.
Setting item Settings
Setting
range
S1
Destination group
number
Specify a destination group number.
Specify the keyword “GRPNO=” at the beginning.
GRPNO=Destination group number
0 to 7
(Note 1) Upper and lower case characters can be used for specifying keywords.
Setting example
Exam
ple 1
S1 “GRPNO=0”
Settings Destination group number: 0
Exam
ple 2
S1 "GrpNo=7"
Settings Destination group number: 7
17.23 SMTPcADD (Destination Group Setting)
17-116 WUME-FP7CPUPGR-12