Read Mail Text (Smtpcbrd) - Panasonic FP7 User Manual

Cpu unit enthernet expansion function
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

6.3.2.5 Read Mail Text (SMTPcBRD)

This reads the contents of mail texts.
 Instruction format
R0
 Operation unit (i)
There is no operation unit.
 List of operands
Operand
Description
S
Device address storing the specified number or character constant
D
Starting address storing the mail text
 Available devices (●: Available)
16-bit device
Operand
WX
WY
WR
S
D
 Processing
• It is used for reading the text creation form set to the mail text in the mail setting screen of
the setting tool.
When a mail text is not set, it cannot be read. Zero is stored in the number of bytes of the
starting address.
• Once a mail is sent, the text creation form will be damaged.
• CY (SR9) and SD29 are cleared to 0 when this instruction is completed successfully. It is set
when the operation ends abnormally. (Refer to the flag operation.)
• 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.
• Reads the mail text of the number specified by [S] to the device address specified by [D].
• Executable when the send request relay of the mail send control relay for the specified
number is 0: No Request.
(When requested, an operation error occurs.)
• 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.
SMTPcBRD
WL
WS
SD
DT
LD
UM
6.3 How to Use Event Mail Transmission
"ID0"
S
32-bit
Integer
device
TS
TE
WI
WO
IX
K
CS
CE
DT100
D
Real
num-
String
ber
U
H
SF
DF
" "
Index
modifier
6-37

Advertisement

Table of Contents
loading

Table of Contents