FC6A SERIES M ICROSMART ALL- IN-ONE TYPE COMMUNICATION M ANUAL FC9Y-B173010-110: S END E-MAIL FUNCTIONIntroductionThis chapter describes the EMAIL instruction that sends preregistered e-mails.OverviewThe HMI-Ethernet port of the HMI module supports the send E-mail function.Up to 255 types of e-mails can be sent by executing the EMAIL instruction.EMAIL Instruction (Send E-mail)The EMAIL instruction sends an e-mail.Operation DetailsWhen the input to the EMAIL instruction is on, the EMAIL instruction sends an e-mail specified by S1. Once the FC6A SeriesMicroSmart receives a response from the sending e-mail server, the completion output specified by D1 is turned on, and theoperation status (operation transition state and error code) is stored in the device specified by D2. D2+1 is reserved for thesystem.The EMAIL instruction is executed when the input to the instruction is on. When this input continues to be on, the same EMAILinstruction is executed after the e-mail is sent. To avoid this, use the EMAIL instruction in combination with the SOTU (singleoutput up) instruction or the SOTD (single output down) instruction so that the EMAIL instruction start input is on for only onescan. For the SOTU instruction and the SOTD instruction, see Chapter 4 "SOTU and SOTD (Single Output Up and Down)" in the"FC6A Series MicroSmart LAD Programming Manual".In order to use the EMAIL instruction, you must configure the settings such as e-mail server name on E-mail Settings in HMIModule Configuration and create the FC6A Series MicroSmart e-mails in advance.Valid Devices*1 Special data registers cannot be used.*2 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 FC6A Series MicroSmart receives a reply from thesending e-mail server, the completion output bit is turned on. The completion output bit is also turned on when there is no replyfrom 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 the dataregister specified by D2. The operation status is stored in D2. D2+1 is reserved for the system. Data registers D0000 to D7998,and D10000 to 55998 can be specified.Note: 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 1 - 255 -D1 Destination 1 Completion output - X X*2 - - - - - -D2 Destination 2 Operation status - - - - - - X*1 - -