WEB S ERVER CPU MODULE U SER ’S MANUAL FC9Y-B1278 10-110: E-MAILIntroductionThis chapter describes how to use the e-mail functions in the Web server CPU module. The EMAIL instruction sends ane-mail that is configured in WindLDR.EMAIL (Send E-mail)The EMAIL instruction sends an e-mail.SymbolOperation DetailsWhen the input to the EMAIL instruction is on, the EMAIL instruction sends an e-mail specified by S1. Once the Webserver CPU module receives a response from the sending e-mail server, the completion output specified by D1 is turnedon, and the operation status (operation transition state and error code) is stored in the device specified by D2. D2+1 isreserved for the system.In order to use EMAIL instructions, the e-mail settings, such as e-mail server name, should be configured in the FunctionArea Settings. E-mails to send should also be configured in the E-mail Editor dialog box.The EMAIL instruction is executed when the input to the instruction is on. While the input to the EMAIL instruction is on,the EMAIL instruction is continuously executed. To avoid executing the EMAIL instruction continuously, a transitionaloff-to-on SOTU or on-to-off SOTD instruction should be used.Valid Devices*1: Special internal relays cannot be used.Devices in EMAIL InstructionS1 (Source 1)Specify the e-mail number. A constant or data register can be specified.D1 (Destination 1)Specify an internal relay or output as the completion output bit. When the Web server CPU module receives a reply fromthe sending e-mail server, the completion output bit is turned on. The completion output bit is also turned on whenthere is no reply from the sending e-mail server within the timeout.D2 (Destination 2)Specify a data register as the operation status. Destination 2 occupies two consecutive data registers starting with thedata register specified by D2. The operation status is stored in D2. D2+1 is reserved for the system. Data registers D0 toD1998, D2000 to D7998, and D10000 to D49998 can be specified.Notes:• When the system program version is 100, do not specify the same e-mail number in multiple EMAIL instructions. When thesystem program version is 100 and a data register is specified as S1, do not store the same e-mail number used by the otherEMAIL instructions in the user program to the data register.• When a data register is specified as S1, do not change the data register value while EMAIL instruction is executed.Device Function I Q M R T C D Constant RepeatS1 Source 1 E-mail number - - - - - - X 1 - 255 -D1 Destination 1 Completion output - X *1 - - - - - -D2 Destination 2 Operation status - - - - - - X - -Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com