6. Function blocks6.1 Manufacturer function blocks6.1.7 Other function blocks6.1.7.1 AL - Alarm function blockGeneraleasyE4 base devices provide 32 alarm function blocks, AL01through AL32. One e-mail with a defined subject and a defined160-character message text can be sent with each functionblock.This means that a maximum of 32 different messages can besent to any recipient of your choice. The subject and the mes-sage text are both defined in the parameters for the AL functionblock.The program triggers the actual sending.Operating principleIn order for the e-mails to be sent, the LAN port on a suitable network must be con-figured and connected.A rising edge at function block input T_ will cause the message to be sent. In order forthis to work, however, function block output BY must equal to 0.Message sending starts after each rising edge at T. A maximum of three send attemptswill be made per trigger.If the e-mail is sent successfully, there will be corresponding feedback signals at BYand E1. Otherwise, the job will be aborted, also with corresponding feedback signals atBY and E1.Deactivating the function block will not result in e-mail sending operation being aborted.BY will have a state of 1 as long as the job is in progress, preventing any new send jobsfrom being accepted. If the send job is not completed successfully, an error will besignaled at function block output E1 with E1 = 1.The recipients and the e-mail server settings need to be set in the hardware con-figuration.To do this, a base device needs to be selected in the Project view and the relevant para-meters must be configured under the E-Mail tab.For more information on this topic, please refer to → "E-mail function", page 562.The function block and its parametersFunction block inputsDescription Note(Bit)easyE4 11/18 MN050009 EN www.eaton.com 349