Step 3. transfer the cpu bus unit setup settings – Omron CS CJ1W-ETN21 User Manual

Page 56

Advertising
background image

32

Example Application

Section 2-9

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

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

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

• Send E-mails periodically at Fixed Intervals

Example: Send an e-mail every 10 minutes.

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.

Tab

Item

Setting

Send Mail

Mail trigger type

Word value change

Area: W
Address: 300
Bit: 00
State: Rising

Tab

Item

Setting

Send Mail

Mail trigger type

ETN condition (at error storage)

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.)

Tab

Item

Setting

Send Mail

Mail trigger type

Periodic timer

Interval time

10 min

Advertising