Sending Mails With Instructions; Mail Send Request (Smtpcreq) - Panasonic FP7 User Manual

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

Advertisement

6.3.3 Sending Mails with Instructions

When "Instruction" is specified as a send trigger, even mail transmission is requested and the
transmission status is checked.
Instruction
SMTPcREQ
SMTPcCTL

6.3.3.1 Mail Send Request (SMTPcREQ)

• Requests to send a mail.
• CY (SR9) and SD29 are cleared to 0 when this instruction is executed. (Set when an
Ethernet cable is disconnected or Ethernet is initialized.)
• Check if "X69: Mail send preparation done" is ON before executing the instruction.
• It is necessary to specify 6.3.2.3 Mail Transmission Settings (SMTPcSET) or the event mail
setting by 6.3.1 Setting with Tool Software.
 Instruction format
R0
X69
 Operation unit (i)
• There is no operation unit.
 List of operands
Operand
Description
S
Specify the device address storing the transfer number (0-15) or a constant.
 Available devices (●: Available)
16-bit device
Operand
WX
WY
WR
S
 Processing
• Turns ON the send request relay of the transmission number specified by [S].
• It is executable when the Ethernet cable disconnection (X60) is OFF. If it is OFF when
executing the instruction, an error is set to CY flag and it becomes no operation.
• It is executable when the Ethernet initialization done (X61) is OFF. If it is ON when
executing the instruction, an error is set to CY flag and it becomes no operation.
• It can be executed when the SMTP client preparation done (X69) is ON. If it is OFF when
executing the instruction, an operation error occurs.
Requesting event mail transmission
Controlling transmission
WL
WS
SD
DT
LD
UM
6.3 How to Use Event Mail Transmission
Application
SMTPcREQ
32-bit
Integer
device
TS
TE
WI
WO
IX
K
CS
CE
U0
S
Real
num-
String
ber
U
H
SF
DF
" "
Index
modifier
6-51

Advertisement

Table of Contents
loading

Table of Contents