Example Application

 

Section 2-9

 

Example: Send e-mail when W300 bit 00 goes from OFF to ON.

 

 

 

 

 

Tab

Item

Setting

 

 

 

 

 

Send Mail

Mail trigger type

Word value change

 

 

 

Area: W

 

 

 

Address: 300

 

 

 

Bit: 00

 

 

 

State: Rising

 

• Send when an Event is Recorded in the Ethernet Unit's Error Log

 

 

 

 

 

Tab

Item

Setting

 

Send Mail

Mail trigger type

ETN condition (at error storage)

 

 

 

 

 

• Send when there is a Change in the CPU Unit's Status

 

 

 

 

 

Tab

Item

Setting

 

 

 

 

 

Send Mail

Mail trigger type

CPU condition

 

 

 

(Conditions are occurrence of a

 

 

 

non-fatal error, occurrence of a

 

 

 

fatal error, or change of the operat-

 

 

 

ing mode.)

 

 

 

 

Send E-mails periodically at Fixed Intervals Example: Send an e-mail every 10 minutes.

Tab

Item

Setting

 

 

 

Send Mail

Mail trigger type

Periodic timer

 

 

 

 

Interval time

10 min

 

 

 

2-9-3 Step 3. Transfer the CPU Bus Unit Setup Settings

Select Transfer to PLC from the Options Menu and click the Yes Button. The settings will be transferred to the CPU Bus Unit Setup Area in the CPU Unit.

2-9-4 Step 4. Automatic Transmission when Send Condition is Satisfied

When the send condition is satisfied, the e-mail is sent to the destination mail address automatically.

When necessary, check the status of the Mail Send Function by checking the Send Mail Status words (m and m+17 of the DM Area words allocated to the Ethernet Unit as a CPU Bus Unit) from the ladder program. The send condi- tion's 3 status bits will be 001 when mail is being sent and 010 when the trans- mission has been completed normally.

32

Page 56
Image 56
Omron CJ1W-ETN21 Transfer the CPU Bus Unit Setup Settings, Automatic Transmission when Send Condition is Satisfied