Delta AH500 — 6.22.2 Explanation of Ethernet Instructions

AH500 Programming Manual Symbol: S 1 : Remote email address Word S 2 : Email subject Word S 3 : Email body Word D : Completion of the instruction Bit 1. Users can send an email by setting S 1 , S 2 , and S 3 . 2. Before using the instruction, users have to accomplish the following setting in ISPSoft. Explanation:

 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. 4. Generally, the pulse instruction MSENDP is used.

6-518 API Instruction code Operand Function 2204 MSEND P S , S , S , D 1 2 3 Sending the email Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S 1           S 2         S 3         D        Pulse instruction 16-bit instruction (9 steps) 32-bit instruction AH500 AH500 - Operand Description Setting range S 1 Remote email address The value in S should be within the range between 1 and 1 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. S 2 Email subject The size of the email subject can be up to 16 words. S 3 Email body The size of the email body can be up to 64 words. D Completion of the instruction 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.