Mail Transmission Function
6.3.2.4 Set Mail Text (SMTPcBDY)
Set specified texts to the mail text.
Instruction format
R0
Operation unit (i)
There is no operation unit.
List of operands
Operand
Description
S1
Device address storing the specified number or character constant
S2
Device address storing text
Available devices (●: Available)
16-bit device
Operand
WX
WY
WR
S1
●
●
●
S2
●
●
●
Processing
• CY (SR9) and SD29 are cleared to 0 when this instruction is completed successfully. It is set
when the operation ends abnormally.
• Select the ET-LAN unit built in the CPU and the connection number with the UNITSEL
instruction before executing the instruction.
• Make the event mail setting before executing the instruction.
• This instruction is not available in interrupt programs.
• The text specified by [S2] is set to the mail text of the number specified by [S1].
• Executable when the mail send control relay for the specified number is 0: No Request.
(When requested, an operation error occurs.)
* The unit configuration data of Ethernet never be rewritten.
When the unit configuration data has been already set, it is overwritten and the data
becomes invalid.
• It is executable when the Ethernet initialization active (X61) is OFF. If it is ON when
executing the instruction, an error is set to CY flag and it becomes no operation.
6-34
SMTPcBDY
WL
WS
SD
DT
LD
UM
●
●
●
●
●
●
"ID5"
S1
32-bit
Integer
device
TS
TE
WI
WO
IX
K
CS
CE
DT200
S2
Real
num-
String
ber
U
H
SF
DF
" "
●
Index
modifier
●