![Omron CS1W-ETN01 Operation Manuals Download Page 169](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528169.webp)
8-1
Section
Overview of Mail Function
158
•
IP address (decimal notation)
•
Subnet mask (decimal notation)
•
ID address conversion method
The optional information that can be sent is shown in the following table. Differ-
ent information can be selected with each mail trigger, and it is also possible to
make multiple selections. (The selections are specified in the CPU Bus Unit Sys-
tem Setup.) If not even one is selected, however, no e-mail will be sent even
when the trigger condition is met.
Item
Contents
User-created information
User-created information is data set by the user, in ASCII, in the CPU Unit’s memory. A
maximum of 1,024 bytes of data is sent from the user-created information address set in the
CPU Bus Unit Area. If there is a null code (00 Hex) in the data, however, only the data up to
that point will be sent.
The data set by the user is sent just as it is, and the code is not converted. The relevant
words are always read by the Ethernet Unit, so the contents of the mail can be changed by
changing the contents of the words.
Error log information
The error log information includes the entire error log in RAM. A maximum of 64 records can
be saved. For details, refer to 10-3 Error Log.
Status information
The following data is sent.
(1) Open/closed status of UDP sockets 1 to 8
(2) TCP status of TCP sockets 1 to 8
(3) Unit error information
(4) Counter information
•
Total number of receive packets
•
Total number of receive errors
•
Total number of send packets
•
Total number of send errors
•
Total number of send collisions
The Ethernet Unit processes error log and status data in ASCII so that it can be
easily read as e-mail.
Note Set user-created information in ASCII.
8-1-2 Mail Triggers
The user can select any of the following trigger conditions for e-mail. The desig-
nation is made in the CPU Bus Unit System Setup. The particular information to
be sent can be selected individually for each trigger condition.
Name
Trigger condition
Contents
User mail
When Mail Send
Switch turns ON.
Mail is sent when the Mail Send Switch set in the words allocated to the CPU
Bus Unit in the CIO Area turns from OFF to ON (leading edge).
Error mail
When an error is
recorded in the error
log.
Mail is sent when an error occurs and is recorded in the error log.
Periodic mail
Fixed time intervals
Mail is sent each time the interval set in the CPU Bus Unit Area elapses. The
interval can be set to anything from 10 minutes to 10 days.
8-1-3 Sending Mail
To send mail only as required, use the Mail Send Switch (bit 3) from among the
Unit Control Switches in the CIO Area words allocated to the CPU Bus Unit.
When the Ethernet Unit detects that the Mail Send Switch has turned ON, the
mail transmission is started according to the mail settings that have previously
been made in the CPU Bus Unit System Setup.
Optional Information
Triggered by Mail Send
Switch