Multitech MA420 Spezifikationen Seite 178

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 186
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 177
sigmadue - IEC 61131-3 Function Block Library
170
5-3-37 SEND_EMAIL
FB Prototype
SEND_EMAIL
Input parameters
Output parameters
Description
This function block implements the functions used by an e-mail client to establish
a connection with a SMTP server in order to send an e-mail message.
ENABLE/CONFIRM Management
The communication between an SMTP Client and Server is established on a TCP/
IP connection by exchanging some messages in a standardized sequence. The
time needed to realize and complete the sequence depends from some factors as
the connection speed, the server answering time, the functions supported by the
server and the dimension of the inputs. To avoid delays in the PLC program
execution cycle time, the function block is designed to execute the sequence of
activities cyclically with the FB “calls”. For these reasons it is important to define
the different synchronization mechanisms to control:
- when to start sending the message;
- when the sending process ended correctly;
- when a problem occurred during the process;
- when to abort the operations.
The parameters ENABLE and CONFIRM provide the correct functionalities in
order to manage these situations. The FB does not execute any operations until
the input ENABLE change to TRUE, then the process goes on until the output
CONFIRM become TRUE. At this point, it is necessary to call at least one time the
FB with the input ENABLE at FALSE in order to reset the sending sequence and
to be ready to send a new message. At any time, it is possible to reset the
message sending procedure by changing the ENABLE input value to FALSE.
Input Type Description
ENABLE BOOL Command to enable the operations
SERVER_ADDR STRING SMTP server address (45)
PORT UINT SMTP server connection port
USER_NAME STRING User name for the mail account (32)
PASSWORD STRING Password for the mail account (32)
TIME_DATE STRING Email sending date and time (20)
MAIL_FROM STRING Sender name (45)
RCPT_TO STRING Receiver addresses (250)
SUBJECT STRING Message subject (250)
MESSAGE STRING Message text (250)
Output Type Description
CONFIRM BOOL Confirm of the operation
ERR_CODE UINT Error code
ENABLE
SERVER_ADDR
PORT
USER_NAME
PASSWORD
TIME_DATE
MAIL_FROM
RCPT_TO
SUBJECT
MESSAGE
BOOL
STRING(45)
UINT
STRING(32)
STRING(32)
STRING(20)
STRING(45)
STRING(250)
STRING(250)
STRING(250)
¡
¡
¡
¡
¡
¡
¡
¡
¡
¡
BOOL
UINT
CONFIRM
ERR_CODE
¡
¡
Seitenansicht 177

Kommentare zu diesen Handbüchern

Keine Kommentare

Calculated Industries 8030 manuals

Owner’s manuals and user’s guides for Calculators, organizers Calculated Industries 8030.
We providing 1 pdf manuals Calculated Industries 8030 for download free by document types: User Manual






More products and manuals for Calculators, organizers Calculated Industries

Models Document Type
5025 User Manual   Calculated Industries 5025 User Manual, 48 pages
5070-A Pocket Reference Guide User Manual   Calculated Industries 5070-A Pocket Reference Guide User Manual, 45 pages
5065 User Manual   Calculated Industries 5065 User Manual, 71 pages
5070-B Pocket Reference Guide User Manual   Calculated Industries 5070-B Pocket Reference Guide User Manual, 46 pages
5070-A User Guide User Manual   Calculated Industries 5070-A User Guide User Manual, 66 pages
5070-B User Guide User Manual   Calculated Industries 5070-B User Guide User Manual, 66 pages
5070-B User Guide User Manual   Calculated Industries 5070-B User Guide Manual del usuario, 70 pages
5070-A User Guide User Manual   Calculated Industries 5070-A User Guide Manual del usuario, 69 pages
4315 User Manual   Calculated Industries 4315 User Manual, 56 pages
4320 User Manual   Calculated Industries 4320 User Manual, 51 pages
4325 User Manual   Calculated Industries 4325 User Manual, 53 pages
4325 User Manual   Calculated Industries 4325 Manual del usuario, 53 pages
4019 User Manual   Calculated Industries 4019 User Manual, 40 pages
4019 User Manual   Calculated Industries 4019 Manual del usuario, 42 pages
4018 User Manual   Calculated Industries 4018 User Manual, 38 pages
4018 User Manual   Calculated Industries 4018 Manual del usuario, 40 pages
4090 User Manual   Calculated Industries 4090 User Manual, 123 pages
4020 User Manual   Calculated Industries 4020 User Manual, 39 pages
4015 User Manual     Calculated Industries 4015 User Manual, 84 pages
4020 User Manual   Calculated Industries 4020 Manual del usuario, 40 pages