Delta AH500 Programming Manual page 685

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

API
Instruction code
2204
MSEND
Device X
Y
M
S
1
S
2
S
3
D
Symbol:
Explanation:
1.
Users can send an email by setting S
2.
Before using the instruction, users have to accomplish the following setting in ISPSoft.
PLC Parameter Setting→Ethernet-Basic→Setting the IP addres and the netmask
address
PLC Parameter Setting→Ethernet-Advance→Email→Setting the SMTP server, the port,
the local email address, and the SMTP subject
PLC Parameter Setting→Ethernet-Advance→Email and Trigger Configuration→Setting
the email address
If the account identification is required,
PLC Parameter Setting→Ethernet-Advance→Email→Setting the user name and the
password
3.
The email is set as follows.
Operand
Description
Remote email
S
1
address
S
Email subject
2
S
Email body
3
Completion of
D
the instruction
4.
Generally, the pulse instruction MSENDP is used.
Operand
S
, S
, S
P
1
2
3
S
T
C
HC
D
Pulse instruction 16-bit instruction (9 steps) 32-bit instruction
AH500
: Remote email address
S
1
: Email subject
S
2
: Email body
S
3
D : Completion of the instruction
, S
, and S
1
2
The value in S
256.
The values of bit0~bit7 set in ISPSoft indicate the remote
email addresses. (Users can set eight email addresses in
ISPSoft.) The remote email address is 1 if the value of bit0 is
1, the remote email address is 2 if the value of bit1 is 1, and by
analogy, the remote email address is 8 if the value of bit7 is 1.
If users want to send an email, they have to set the values of
bit0~bit7 in ISPSoft.
The size of the email subject can be up to 16 words.
The size of the email body can be up to 64 words.
After the execution of the instruction is complete, the bit is ON.
If the execution of the instruction is abnormal, the next bit is
ON.
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
, D
Sending the email
L
SM SR
E
AH500
.
3
Setting range
should be within the range between 1 and
1
Function
PR
K
16# "$"
DF
-
Word
Word
Word
Bit
6 - 5 1 7

Advertisement

Table of Contents
loading

Table of Contents