User’s Manual

Ethernet Interface Module

IM 34M06H24-01E

Applicable Modules: Model Code

Model Name

F3LE01-5T F3LE01-0T

Ethernet Interface Module Ethernet Interface Module

F3LE11-0T

Ethernet Interface Module

IM 34M06H24-01E Yokogawa Electric Corporation

3rd Edition

Blank Page

i

Applicable Product:  Range-free-controller FA-M3 -

Model Name: F3LE01-5T, F3LE01-0T, F3LE11-0T

-

Name: Ethernet Interface Module

The document number and document model code for this manual are given below. Refer to the document number in all communications; also refer to the document number or the document model code when purchasing additional copies of this manual. Document No. Document Model Code

: :

IM 34M06H24-01E DOCIM

Media No. IM 34M06H24-01E (CD) 3rd Edition : May 2009 (AR) All Rights Reserved Copyright © 2009, Yokogawa Electric Corporation

IM 34M06H24-01E

3rd Edition : May 2009-00

ii

Important  About This Manual -

This Manual should be passed on to the end user.

-

Before using the controller, read this manual thoroughly to have a clear understanding of the controller.

-

This manual explains the functions of this product, but there is no guarantee that they will suit the particular purpose of the user. Under absolutely no circumstances may the contents of this manual be transcribed or copied, in part or in whole, without permission. The contents of this manual are subject to change without prior notice.

-

Every effort has been made to ensure accuracy in the preparation of this manual. However, should any errors or omissions come to the attention of the user, please contact the nearest Yokogawa Electric representative or sales office.

 Safety Precautions when Using/Maintaining the Product -

The following safety symbols are used on the product as well as in this manual.

Danger. This symbol on the product indicates that the operator must follow the instructions laid out in this user’s manual to avoid the risk of personnel injuries, fatalities, or damage to the instrument. Where indicated by this symbol, the manual describes what special care the operator must exercise to prevent electrical shock or other dangers that may result in injury or the loss of life.

Protective Ground Terminal. Before using the instrument, be sure to ground this terminal.

Function Ground Terminal. Before using the instrument, be sure to ground this terminal.

Alternating current. Indicates alternating current.

Direct current. Indicates direct current.

IM 34M06H24-01E

3rd Edition: May 2009-00

iii The following symbols are used only in the user’s manual.

WARNING Indicates a “Warning”. Draws attention to information essential to prevent hardware damage, software damage or system failure.

CAUTION Indicates a “Caution” Draws attention to information essential to the understanding of operation and functions.

TIP Indicates a “TIP” Gives information that complements the present topic.

SEE ALSO Indicates a “SEE ALSO” reference. Identifies a source to which to refer. -

-

-

-

For the protection and safe use of the product and the system controlled by it, be sure to follow the instructions and precautions on safety stated in this manual whenever handling the product. Take special note that if you handle the product in a manner other than prescribed in these instructions, the protection feature of the product may be damaged or impaired. In such cases, Yokogawa cannot guarantee the quality, performance, function and safety of the product. When installing protection and/or safety circuits such as lightning protection devices and equipment for the product and control system as well as designing or installing separate protection and/or safety circuits for fool-proof design and fail-safe design of processes and lines using the product and the system controlled by it, the user should implement it using devices and equipment, additional to this product. If component parts or consumable are to be replaced, be sure to use parts specified by the company. This product is not designed or manufactured to be used in critical applications which directly affect or threaten human lives and safety — such as nuclear power equipment, devices using radioactivity, railway facilities, aviation equipment, air navigation facilities, aviation facilities or medical equipment. If so used, it is the user’s responsibility to include in the system additional equipment and devices that ensure personnel safety. Do not attempt to modify the product.

 Exemption from Responsibility -

-

Yokogawa Electric Corporation (hereinafter simply referred to as Yokogawa Electric) makes no warranties regarding the product except those stated in the WARRANTY that is provided separately. Yokogawa Electric assumes no liability to any party for any loss or damage, direct or indirect, caused by the use or any unpredictable defect of the product.

IM 34M06H24-01E

3rd Edition: May 2009-00

iv  Software Supplied by the Company -

Yokogawa Electric makes no other warranties expressed or implied except as provided in its warranty clause for software supplied by the company.

-

Use the software with one computer only. You must purchase another copy of the software for use with each additional computer. Copying the software for any purposes other than backup is strictly prohibited.

-

Store the original media, such as floppy disks, that contain the software in a safe place.

-

Reverse engineering, such as decompiling of the software, is strictly prohibited. No portion of the software supplied by Yokogawa Electric may be transferred, exchanged, or sublet or leased for use by any third party without prior permission by Yokogawa Electric.

IM 34M06H24-01E

3rd Edition: May 2009-00

v  General Requirements for Using the FA-M3 Controller  Avoid installing the FA-M3 controller in the following locations: -

Where the instrument will be exposed to direct sunlight, or where the operating temperature exceeds the range 0C to 55C (32F to 131F).

-

Where the relative humidity is outside the range 10 to 90%, or where sudden temperature changes may occur and cause condensation.

-

Where corrosive or flammable gases are present. Where the instrument will be exposed to direct mechanical vibration or shock.

-

Where the instrument may be exposed to extreme levels of radioactivity.

 Use the correct types of wire for external wiring: -

Use copper wire with temperature ratings greater than 75C.

 Securely tighten screws: -

Securely tighten module mounting screws and terminal screws to avoid problems such as faulty operation. Tighten terminal block screws with the correct tightening torque as given in this manual.

 Securely lock connecting cables: -

Securely lock the connectors of cables, and check them thoroughly before turning on the power.

 Interlock with emergency-stop circuitry using external relays: -

Equipment incorporating the FA-M3 controller must be furnished with emergencystop circuitry that uses external relays. This circuitry should be set up to interlock correctly with controller status (stop/run).

 Ground for low impedance: -

For safety reasons, connect the [FG] grounding terminal to a Japanese Industrial Standards (JIS) Class D Ground*1 (Japanese Industrial Standards (JIS) Class 3 Ground). For compliance to CE Marking, use braided or other wires that can ensure low impedance even at high frequencies for grounding. *1 Japanese Industrial Standard (JIS) Class D Ground means grounding resistance of 100  max.

 Configure and route cables with noise control considerations: -

Perform installation and wiring that segregates system parts that may likely become noise sources and system parts that are susceptible to noise. Segregation can be achieved by measures such as segregating by distance, installing a filter or segregating the grounding system.

 Configure for CE Marking Conformance: -

For compliance to CE Marking, perform installation and cable routing according to the description on compliance to CE Marking in the “Hardware Manual” (IM34M6C11-01E).

IM 34M06H24-01E

3rd Edition: May 2009-00

vi  Keep spare parts on hand: -

Stock up on maintenance parts including spare modules, in advance.

 Discharge static electricity before operating the system: -

Because static charge can accumulate in dry conditions, first touch grounded metal to discharge any static electricity before touching the system.

 Never use solvents such as paint thinner for cleaning: -

Gently clean the surfaces of the FA-M3 controller with a cloth that has been soaked in water or a neutral detergent and wringed. Do not use volatile solvents such as benzine or paint thinner or chemicals for cleaning, as they may cause deformity, discoloration, or malfunctioning.

 Avoid storing the FA-M3 controller in places with high temperature or humidity: -

-

Since the CPU module has a built-in battery, avoid storage in places with high temperature or humidity. Since the service life of the battery is drastically reduced by exposure to high temperatures, take special care (storage temperature should be from –20C to 75C). There is a built-in lithium battery in a CPU module and temperature control module which serves as backup power supply for programs, device information and configuration information. The service life of this battery is more than 10 years in standby mode at room temperature. Take note that the service life of the battery may be shortened when installed or stored at locations of extreme low or high temperatures. Therefore, we recommend that modules with built-in batteries be stored at room temperature.

 Always turn off the power before installing or removing modules: -

Failing to turn off the power supply when installing or removing modules, may result in damage.

 Do not touch components in the module: -

In some modules you can remove the right-side cover and install ROM packs or change switch settings. While doing this, do not touch any components on the printed-circuit board, otherwise components may be damaged and modules may fail to work.

IM 34M06H24-01E

3rd Edition: May 2009-00

vii  Waste Electrical and Electronic Equipment Waste Electrical and Electronic Equipment (WEEE), Directive 2002/96/EC (This directive is only valid in the EU.) This product complies with the WEEE Directive (2002/96/EC) marking requirement. The following marking indicates that you must not discard this electrical/electronic product in domestic household waste. Product Category With reference to the equipment types in the WEEE directive Annex 1, this product is classified as a “Monitoring and Control Instrumentation” product. Do not dispose in domestic household waste. When disposing products in the EU, contact your local Yokogawa Europe B. V. office.

IM 34M06H24-01E

3rd Edition: May 2009-00

viii

Introduction  Overview of the Manual This user’s manual describes the specifications, use and communications protocol of the Ethernet Interface Module, which is to be installed in an I/O slot of the FA-M3. The manual consists of 3 sections, namely: Part A, common part (IM34M06H24-02E); Part B, F3LE01-5T and -0T (IM34M06H24-01E); and Part C, F3LE11-0T (IM34M06H2403E). When using F3LE01-5T or -0T read Part A and Part B; when using F3LE11-0T, read Part A and Part C of this manual. Applicable Module F3LE01-5T and -0T F3LE11-0T

Refer to: Part A, “Common” Part B, “F3LE01-5T and -0T” Part A, “Common” Part C, “F3LE011-0T”

 How to Read the Manual For commands and their responses, read - Personal Computer Link Commands (IM34M6P41-01E) In addition, refer to relevant manuals for specific equipment to be connected. For individual sequence CPU modules, please refer to the following manuals:

 For functions of F3SP66 and F3SP67 -

Sequence CPU – Functions (for F3SP66-4S, F3SP67-6S) (IM34M6P14-01E) Sequence CPU – Network Functions (for F3SP66-4S, F3SP67-6S) (IM34M6P14-02E)

 For functions of F3SP28, F3SP38, F3SP53, F3SP58, and F3SP59 -

Sequence CPU Modules – Functions (for F3SP28-3N/3S, F3SP38-6N/6S, F3SP53-4H/4S, F3SP58-6H/6S, F3SP59-7S) (IM34M6P13-01E)

 For functions of F3SP05, F3SP08, F3SP21, F3SP25, and F3SP35 -

Sequence CPU – Functions (for F3SP21, F3SP25 and F3SP35) (IM34M6P12-02E)

 For CPU module instructions -

Sequence CPU Modules – Instructions (IM34M6P12-03E)

 For creating ladder programs -

FA-M3 Programming Tool WideField2 (IM34M6Q15-01E)

 Specifications and Layout*1 of the FA-M3, Mounting and Wiring, Testing, Maintenance and Inspection, and System-wide Restrictions for Mounting Modules *1: See specific manuals for products other than the power module, base module, I/O module, cables, and terminal block units.

-

Hardware Manual (IM34M6C11-01E) IM 34M06H24-01E

3rd Edition: May 2009-00

ix

Copyrights and Trademarks  Copyrights Copyrights of the programs and online manual included in this CD-ROM belong to Yokogawa Electric Corporation. This online manual may be printed but PDF security settings have been made to prevent alteration of its contents. This online manual may only be printed and used for the sole purpose of operating this product. When using a printed copy of the online manual, pay attention to possible inconsistencies with the latest version of the online manual. Ensure that the edition agrees with the latest CD-ROM version. Copying, passing, selling or distribution (including transferring over computer networks) of the contents of the online manual, in part or in whole, to any third party, is strictly prohibited. Registering or recording onto videotapes and other media is also prohibited without expressed permission of Yokogawa Electric Corporation.

 Trademarks The trade and company names that are referred to in this document are either trademarks or registered trademarks of their respective companies.

IM 34M06H24-01E

3rd Edition: May 2009-00

Blank Page

TOC-1

FA-M3 Ethernet Interface Module IM 34M06H24-01E 3rd Edition

CONTENTS Applicable Product ....................................................................................i Important ...................................................................................................ii Introduction............................................................................................viii Copyrights and Trademarks ...................................................................ix

PART-A

Common (F3LE01-5T, -0T, F3LE11-0T)

A1. Overview .....................................................................................A1-1 A1.1

Features..................................................................................................A1-2 Accessing the Sequence CPU from Remote Nodes (Higher-level Link Service) .................................................................A1-2 Remote Control (Remote Programming Service)...............................A1-3 Event-driven Operation (Event Transmission Service).......................A1-4 Data Transmission by E-mail (E-mail Service) ...................................A1-5

A1.2

Software Configuration.........................................................................A1-6

A2. System Configuration ................................................................A2-1 Connection Using 10BASE5...............................................................A2-1 Connection Using 10BASE-T .............................................................A2-2 Connection Using 100BASE-TX.........................................................A2-3

A3. Specifications .............................................................................A3-1 Model and Suffix Codes......................................................................A3-1 Compatible CPU Modules ..................................................................A3-1 General Specifications ........................................................................A3-1 A3.1

Components and Functions................................................................A3-2 A3.1.1 F3LE01-5T .................................................................................A3-2 Appearance and Components............................................................A3-2 Functions of Components...................................................................A3-2 A3.1.2 F3LE01-0T .................................................................................A3-5 Appearance and Components............................................................A3-5 Functions of Components...................................................................A3-5 A3.1.3 F3LE11-0T .................................................................................A3-8 Appearance and Components............................................................A3-8 Functions of Components...................................................................A3-8

A3.2

External Dimensions........................................................................... A311 F3LE01-5T........................................................................................ A3-11 F3LE01-0T........................................................................................ A3-11 F3LE11-0T ........................................................................................A3-12 IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-2 A3.3

I/O Relays and Registers ...................................................................A3-13 A3.3.1 F3LE01-5T and -0T..................................................................A3-13 I/O Relays .........................................................................................A3-13 Registers...........................................................................................A3-14 A3.3.2 F3LE11-0T ...............................................................................A3-17 I/O Relays .........................................................................................A3-17 Registers...........................................................................................A3-18

A4. Setting Up the Module ...............................................................A4-1 A4.1

Attaching/Detaching the Module..........................................................A4-1 Attaching the Module ..........................................................................A4-1 Detaching the Module.........................................................................A4-1 Attaching the Module in Intense Vibration Environments ...................A4-2

A4.2

Setup before Operation .....................................................................A4-3 A4.2.1 Setup Procedure ........................................................................A4-3 A4.2.2 Setting Switches.........................................................................A4-4 IP Address Switches ...........................................................................A4-4 Condition Switches .............................................................................A4-5 A4.2.3 External Wiring...........................................................................A4-7 Connecting Communications Cable ...................................................A4-7 Wiring of Power Supply ......................................................................A4-8 Shielding .............................................................................................A4-9 A4.2.4 Loop back Test .........................................................................A4-12

A5. Higher-Level Link Service .........................................................A5-1 A5.1

Overview.................................................................................................A5-1

A5.2

Specifications ........................................................................................A5-2 A5.2.1 Functional Specifications ...........................................................A5-2 Data Format and Port Number ...........................................................A5-2 Write Protection ..................................................................................A5-2 A5.2.2 Communications Protocols ........................................................A5-3 Communications Using TCP/IP Protocol............................................A5-3 Communications Using UDP/IP Protocol ...........................................A5-4

A5.3

Network Frame Formats ......................................................................A5-5 A5.3.1 Communications Data Format ...................................................A5-5 A5.3.2 Higher-level Link Data Frames ..................................................A5-5 Data Frame in ASCII Format ..............................................................A5-5 Data Frame in Binary Format .............................................................A5-8

A5.4

Response Exit Codes.........................................................................A5-11 A5.4.1 Exit Codes................................................................................ A5-11 A5.4.2 Detailed Error Codes................................................................A5-12

A5.5

Specifying Devices.............................................................................A5-13 A5.5.1 Specifying a Device in the ASCII Format .................................A5-13 A5.5.2 Specifying Devices in the Binary Format .................................A5-14 Device Attribute.................................................................................A5-14 Device Number .................................................................................A5-14 IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-3 A5.5.3 List of Supported Devices ........................................................A5-15

A6. Remote Programming Service ..................................................A6-1 A6.1

Overview.................................................................................................A6-1

A6.2

Functional Specifications.....................................................................A6-1

A6.3

Setup.......................................................................................................A6-2 Setting IP Address ..............................................................................A6-2 Routing Setup .....................................................................................A6-2

A6.4

Reference ...............................................................................................A6-2 Connecting with WideField2 ...............................................................A6-2

A7. Troubleshooting .........................................................................A7-1 A7.1

First Checks ...........................................................................................A7-1

A7.2

When RDY LED Is Not Lit .....................................................................A7-2

A7.3

When ERR LED Is Lit ............................................................................A7-3

Index A.........................................................................................Index A-1

IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-4

PART-B

F3LE01-5T, -0T

B1. Event Transmission Service......................................................B1-1 B1.1

Overview.................................................................................................B1-1

B1.2

Specifications ........................................................................................B1-2 B1.2.1 Functional Specifications ...........................................................B1-2 B1.2.2 Transmission Formats................................................................B1-2 Transmitting Event Using Direct Designation .....................................B1-3 Transmitting Event Using Indirect Designation...................................B1-3 B1.2.3 Communication Protocols ..........................................................B1-4 Communications Using TCP/IP Protocol............................................B1-4 Communications Using UDP/IP Protocol ...........................................B1-5

B1.3

Network Frame Formats ......................................................................B1-6 B1.3.1 Communications Data Format ...................................................B1-6 B1.3.2 Event Frame...............................................................................B1-6 B1.3.3 Response Formats.....................................................................B1-7 Direct Designation ..............................................................................B1-7 Indirect Designation ............................................................................B1-7

B1.4

Transmission Procedure .....................................................................B1-9 B1.4.1 Line Initialization.......................................................................B1-10 Setting up Initialization Data ............................................................. B1-11 Line Initialization Request.................................................................B1-12 Line Initialization Exit Codes.............................................................B1-13 B1.4.2 Line Termination.......................................................................B1-14 Line Termination Request .................................................................B1-14 B1.4.3 Transmission ............................................................................B1-15 Setting Transmission Data................................................................B1-16 Setting Data Using Direct Designation .............................................B1-16 Setting Data Using Indirect Designation...........................................B1-17 Transmission Request ......................................................................B1-18 Receiving a Response......................................................................B1-18 Event Transmission Exit Codes........................................................B1-19

B1.5

Sample Programs................................................................................B1-20 B1.5.1 Sample Program for Direct Designation Mode ........................B1-20 B1.5.2 Sample Program for Indirect Designation Mode......................B1-23

B2. Routing........................................................................................B2-1 B2.1

Overview.................................................................................................B2-1

B2.2

Specifications ........................................................................................B2-1 B2.2.1 Functional Specifications ...........................................................B2-1

B2.3

Setup Procedure....................................................................................B2-2 B2.3.1 Setting Routing Data ..................................................................B2-3 Control Information .............................................................................B2-3 Table Entry..........................................................................................B2-4 B2.3.2 Routing Data Registration ..........................................................B2-5

IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-5 Routing Registration Relays ...............................................................B2-5 Routing Table Setup Exit Codes.........................................................B2-6 B2.3.3 Changing Routing Data..............................................................B2-7 B2.4

Sample Program....................................................................................B2-8

Index B.........................................................................................Index B-1

IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-6

PART-C

F3LE11-0T

C1. E-mail Service.............................................................................C1-1 C1.1

Overview.................................................................................................C1-1 E-mail Transmission Using Sequence Program.................................C1-1 E-mail Transmission Using Automatic CPU Monitoring......................C1-1 Communications with WideField2 Using E-mails ...............................C1-2

C1.2

Specifications ........................................................................................C1-3

C1.3

Setup.......................................................................................................C1-4

C1.4

E-mail Transmission Using Sequence Program ................................C1-4 C1.4.1 Format of Mail Body ...................................................................C1-4 Transmission without Conversion.......................................................C1-4 Convert to CSV Format Before Transmission ....................................C1-5 Convert Specified Device Data to CSV Format Before Transmission.......................................................................................C1-5 C1.4.2 Transmission Procedure ............................................................C1-7 Setting Transmission Parameters.......................................................C1-8 Setting Transmission Data..................................................................C1-9 Transmission Request Relay and Transmission Completed Relays ............................................................................ C1-11 Transmission Completion Status ......................................................C1-12 C1.4.3 Sample Programs ....................................................................C1-13 Transmission without Data Conversion ............................................C1-14 Convert to CSV Format before Transmission...................................C1-17 Convert Specified Device Data to CSV Format before Transmission.....................................................................................C1-20

C1.5

E-mail Transmission Using Automatic CPU Monitoring .................C1-23 C1.5.1 Transmission Criteria ...............................................................C1-23 C1.5.2 E-mail Body Text Specifications ...............................................C1-23 C1.5.3 Setup Procedure ......................................................................C1-24 C1.5.4 E-mail Contents........................................................................C1-25 Header 1/Header 2 ...........................................................................C1-25 CPU Information n ............................................................................C1-25

C1.6

E-mail Communications with WideField2 .........................................C1-29 C1.6.1 See Also ...................................................................................C1-29 C1.6.2 Blocking Incoming E-mail.........................................................C1-29 Using a Sequence Program .............................................................C1-29 Using a Password.............................................................................C1-29 C1.6.3 Error Messages........................................................................C1-30

C2. Performing Setup Using a WWW Browser...............................C2-1 Network Environment Setup...............................................................C2-1 E-mail Setup .......................................................................................C2-1 Automatic CPU monitoring Setup.......................................................C2-1 C2.1

Connection Procedure..........................................................................C2-2 Network Setup ....................................................................................C2-2

IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-7 Starting WWW Browser ......................................................................C2-2 URL Setup ..........................................................................................C2-3 Entering User Name and Password ...................................................C2-3 Language Setup .................................................................................C2-4 C2.2

Network Environment Setup ................................................................C2-5 C2.2.1 Setup Screen .............................................................................C2-5 C2.2.2 Setup Items ................................................................................C2-6 C2.2.3 Setup Procedure ........................................................................C2-8

C2.3

E-mail Setup..........................................................................................C2-9 C2.3.1 E-mail Environment Setup .........................................................C2-9 Setup Screen ......................................................................................C2-9 Setup Items.......................................................................................C2-10 C2.3.2 Setup for WideField2 Connection ............................................C2-12 Setup Screen ....................................................................................C2-12 Setup Items.......................................................................................C2-13 C2.3.3 Automatic CPU Monitoring Setup ............................................C2-14 Setup Screen ....................................................................................C2-14 Setup Items.......................................................................................C2-15 C2.3.4 Setup Procedure ......................................................................C2-16

C2.4

Changing Password...........................................................................C2-17 C2.4.1 Setup Screen ...........................................................................C2-17 C2.4.2 Setup Items ..............................................................................C2-18 C2.4.3 Setup Procedure ......................................................................C2-18

C3. Performing Setup Using a Sequence Program........................C3-1 Network Environment Setup...............................................................C3-1 E-mail Setup .......................................................................................C3-1 Automatic CPU monitoring Setup.......................................................C3-1 Reading Setting Parameters ..............................................................C3-1 C3.1

Network Environment Setup ................................................................C3-2 C3.1.1 Setup Items ................................................................................C3-2 C3.1.2 Setup Procedure ........................................................................C3-4 Setting Parameters .............................................................................C3-5 Setup Request and Setup Completed Relays....................................C3-6 Network Environment Setup Completion Status ................................C3-7 C3.1.3 Sample Program ........................................................................C3-8

C3.2

E-mail Setup........................................................................................C3-10 C3.2.1 Setup Items ..............................................................................C3-10 C3.2.2 Setup Procedure ......................................................................C3-13 Setting Parameters ...........................................................................C3-14 Setup Request and Setup Completed Relays..................................C3-15 E-mail Setting Completion Status .....................................................C3-16 C3.2.3 Sample Program ......................................................................C3-17

IM 34M06H24-01E

3rd Edition: May 2009-00

TOC-8 C3.3

Automatic CPU Monitoring Setup......................................................C3-21 C3.3.1 Setup Items ..............................................................................C3-21 C3.3.2 Setup Procedure ......................................................................C3-23 Setting Parameters ...........................................................................C3-24 Setup Request and Setup Completed Relays..................................C3-25 Automatic CPU Monitoring Setup Completion Status ......................C3-26 C3.3.3 Sample Program ......................................................................C3-27

C3.4

Reading Parameter Values .................................................................C3-31 C3.4.1 Items Read...............................................................................C3-31 C3.4.2 Read Procedure .......................................................................C3-34 Read Request and Read Completed Relays ...................................C3-35 Current Parameters Readout Areas .................................................C3-36 C3.4.3 Sample Program ......................................................................C3-38

Index C.........................................................................................Index C-1 Revision Information .................................................................................i

IM 34M06H24-01E

3rd Edition: May 2009-00

FA-M3 Ethernet Interface Module PART-A Common (F3LE01-5T, -0T, F3LE11-0T) IM 34M06H24-02E 2nd Edition

IM 34M06H24-02E

2nd Edition: May 2009-00

Blank Page



A1-1

A1. Overview The Ethernet interface module, F3LE01-5T, -0T or F3LE11-0T, can be connected to IEEE802.3-compliant networks (10BASE-5, 100BASE-TX or 10BASE-T). Including the module into a network allows data exchange between nodes, such as personal computers and workstations, on a network, using the TCP/IP or UDP/IP protocol.

WAN

Ethernet

FA1001.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00

A1-2



A1.1

Features

 Accessing the Sequence CPU from Remote Nodes (Higher-level Link Service) - Allows reading to and writing from all FA-M3 CPU module devices. Reads from and write to devices of the CPU module in bit units or word units. - Provides remote run and stop control. -

The sequence program can be started or stopped from a remote node. Supports loading and saving of programs. Allows replacement of the sequence program from a remote node as and when required by reading and writing from the remote node.

-

-

Allows retrieval of information in the sequence CPU. A user can read various information about the sequence program (program name, size, block name etc.) and error log information. Dispenses with the need to create communications programs. Requests for data communications are all processed by a remote node. Responses to requests are automatically returned by this module. There is no need to create or modify any special-purpose sequence program for data communications.

-

Selectable data formats A user can select either ASCII or binary code for data communications.

Command

Ethernet Response

FA1101.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00



A1-3

 Remote Control (Remote Programming Service) -

Supports communications via an Ethernet (TCP/IP) using the FA-M3 programming tool WideField2. A user can upload or download programs, monitor devices or perform online editing from a PC on the network using the FA-M3 programming tool WideField2.

-

Dispenses with the need to create a sequence program. Using the FA-M3 programming tool WideField2 removes any need to create or modify special-purpose sequence programs for data communications

WideField2

Ethernet Router WAN/ LAN

WideField2 Router

Ethernet Monitor/ Debug

Monitor/Debug

FA1102.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00



A1-4

 Event-driven Operation (Event Transmission Service) This service is available only with F3LE01-5T and -0T. - Event (data) transmission to remote nodes A user can transmit data (128 bytes maximum) to specified nodes. -

F3LE01-0T

Data transmission from remote nodes. A user can receive data (128 bytes maximum) from a remote node as the response to an event transmission

Event Transmission

Ethernet Response

FA1103.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00



A1-5

 Data Transmission by E-mail (E-mail Service) This service is available only with F3LE11-0T. -

-

E-mail transmission using a sequence program The user can send an e-mail from a sequence program. Up to 2048 bytes of data can be sent in the body of the mail. E-mail transmission using automatic monitoring Without creating a sequence program, a user can set up the system to automatically transmits emails based on changes in the status of a sequence CPU.

E-mail Transmission

Mail Server

Mail Server

FA1104.VSD

-

Transmission using WideField2 Communications with the FA-M3 Programming Tool WideField2 can be achieved via e-mail using the SMTP/POP3 protocol. With this, a user can read from or write to sequence devices, upload or download a sequence program, perform sampling trace etc. and other operations. WideField2

E-mail Transmission

Mail Server Ethernet

Mail Server

FA1105.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00

A1-6



A1.2

Software Configuration The Ethernet Interface Module conforms to the ISO reference model and provides standard and proprietary protocols for each layer.

Sequence CPU

Interface Between Sequence CPU

Application Layer

Host Link Serv ice

Ev ent Transmission Serv ice

E-mail Serv ice Remote Programming Serv ice SMTP/POP3 HTTP

Trans port Layer

TCP,UDP

Network Layer

IP,ICMP,ARP

Data Link Layer

Ethernet

Phys ical Layer

10BASE5/10BASE-T/100BASE-TX FA1201.VSD

Figure A1.1 Software configuration

IP

:

Internet Protocol

TCP UDP

: :

Transmission Control Protocol User Datagram Protocol

ICMP ARP

: :

Internet Control Message Protocol Address Resolution Protocol

SMTP POP3

: :

Simple Mail Transmission Protocol Post Office Protocol 3

HTTP

:

HyperText Transfer Protocol

The Ethernet Interface Module adopts parts of software from the Regents of University of California.

IM 34M06H24-02E

2nd Edition: May 2009-00

A2-1



A2. System Configuration This section describes the instruments required to configure a network system.

 Connection Using 10BASE5 10BASE5 is an Ethernet connection method using coaxial cables. The transmission rate is 10Mbps. To connect an instrument such as a PC to the network, connect it to a transceiver using a transceiver cable (AUI cable) and connect the transceiver to the network coaxial cable. 10BASE5

Transceiver

Terminating Resistance

Transceiver Cable

FA2001.VSD

Only the F3LE01-5T can be connected directly to a transceiver cable. A media converter is required for connecting F3LE01-0T or F3LE11-0T to a transceiver cable.

CAUTION Use 10BASE5 coaxial cables, transceivers, terminating resistors and transceiver cables that conform to the Ethernet (10BASE5) specifications. The distance between two transceivers should be an integral multiple of 2.5 m. The maximum allowable length for the transceiver cable is 50 m.

IM 34M06H24-02E

2nd Edition: May 2009-00

A2-2



 Connection Using 10BASE-T 10BASE-T is an Ethernet connection method using twisted-pair cables. The transmission rate is 10 Mbps. In a 10BASE-T network, PCs are connected to a hub using a star topology. HUB Twisted-pair Cable

FA2002.VSD

CAUTION Use hubs and twisted-pair cables that conforms to the Ethernet (10BASE-T) specifications. Up to 4 segments are allowed for cascade connections to the hub. The maximum allowable length of the twisted-pair cables is 100 m.

IM 34M06H24-02E

2nd Edition: May 2009-00

A2-3



 Connection Using 100BASE-TX 100BASE-TX is another Ethernet connection method using twisted-pair cables. The transmission rate is 100Mbps. In a 100BASE-TX network, PCs are connected to a hub using a star topology. HUB Twisted-pair Cable

FA2003.VSD

Only the F3LE11-0T can be used in a 100BASE-TX connection. The F3LE01-5T and -0T cannot be used for a 100BASE-TX connection.

CAUTION Use hubs and twisted-pair cables that conforms to the Ethernet (100BASE-TX) specifications. Up to 2 segments are allowed in the cascade connection of the hub. The maximum allowable length for the twisted-pair cables is 100 m .

IM 34M06H24-02E

2nd Edition: May 2009-00

Blank Page

A3-1



A3. Specifications  Model and Suffix Codes Suffix Code

Style Code

Option Code

F3LE01

-5T

……

……

F3LE01

-0T

……

……

F3LE11

-0T

……

……

Model

Remarks 10Mbps 10BASE5/10BASE-T 10Mbps 10BASE-T 10Mbps/100Mbps 10BASE-T/100BASE-TX

 Compatible CPU Modules The following table shows the CPU modules compatible with the F3LE01-5T, -0T and F3LE11-0T modules. F3SP05 F3SP08 F3SP21 F3SP25 F3SP28 F3SP35 F3SP38 F3SP53 F3SP58 F3SP59 F3SP66 F3SP67

F3LE01-5T

























F3LE01-0T

























F3LE11-0T

























 General Specifications Specifications F3LE01-5T F3LE01-0T F3LE11-0T 10BASE5 10BASE-T 10BASE-T 10BASE-T 100BASE-TX Access Control CSMA/CD Transmission Speed 10Mbps 100Mbps Transmission Method Baseband Maximum Segment 500 m 100 m*1 Length Maximum Distance 2500 m – between Nodes Largest Connection 100 nodes 4 cascade segments max. 2 cascade Configuration per segment segments max. Protocol TCP, UDP, IP, ICMP, ARP SMTP, POP3, HTTP1.0 Transmission Specifications

Item

Number of Modules that can be Mounted Internal Current Consumption External Power Supply Fuse External Dimensions Weight Operating Temperature Operating Humidity Operating Environment Storage Temperature Storage Humidity *1 *2 *3

Total number of modules with similar functions: 2 max. for F3SP05, F3SP08,F3SP21 6*3 max. for F3SP25, F3SP28, F3SP35, F3SP38, F3SP53, F3SP58, F3SP59, F3SP66 and F3SP67 350 mA 500 mA 12V – 2A time lag fuse (Built-in to power terminal, – non-replaceable) 28.98 (W) X 100 (H) X 83.2 (D) mm *2 130 g 130 g 0 °C to 55 °C 10 to 90% RH (non-condensing) Must be free of corrosive gases, flammable gases and heavy dust. -20 °C to 75 °C 10 to 90% RH (non-condensing)

Distance between hub and module Excluding protrusions The module cannot be mounted in a subunit.

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-2



A3.1

Components and Functions

A3.1.1

F3LE01-5T

 Appearance and Components Front View

Right-side View

RDY SND RCV ERR LE01-5T

Indication LED

ETHER

T

AUI

Operating Condition Setup Switch

10BASE-T Connector

AUI (For 10BASE5) Connector

IP Address Setup Switch

(Note) Right-side view shows the internal view after the cover is removed.

External Power Supply Terminals

+

FA3111.VSD

Figure A3.1 Components

 Functions of Components  LED Indicators The LEDs display the operating status of the module. Name (Color) RDY (Green) SND (Green) RCV (Green) ERR (Red)

Description Internal circuitry status Data transmission status Data reception status Operating status

On

Blinking

Off

Normal

Error

Transmitting data

Not transmitting data No carrier detected Normal

Carrier detected Operating failure

 AUI Connector This connector is used for connecting to a transceiver cable.

 10BASE-T Connector This connector is used for connecting to a 10BASE-T (UTP/STP) connection.

IM 34M06H24-02E

2nd Edition: May 2009-00



A3-3

CAUTION The 10BASE-T connector and the AUI connector cannot be used simultaneously. Do not connect cables to these connectors at the same time.

 External Power Supply Terminals When using the AUI connector, external power source is required to supply power to the transceiver via the AUI connector. No external power is required when using the 10BASE-T connector.

See Also IEEE802.3 Requirements: Transceiver input voltage: 12V -6% to 15V +5% DC resistance for transceiver cable: 40Ω / km max., 50m max. Current consumption for transceiver: 500 mA max. Considering the voltage drop of 0.4V for this module, external power should be in the range of 12.68V to 15.75V. However, note that the input voltage of some IEEE802.3-compatible transceivers is not within the range of 12V -6% to 15V +5%.

 IP Address Switch This is a 16-position rotary switch for setting the IP address. Example: Setting the IP address to 192.168.250.210 F C

D

A 0

2 8

Hexa decimal

C0 ↑

Decimal

192

A8 ↑ 168

A FA ↑ 250

D2 ↑ 210 FA3112.VSD

CAUTION Do not touch the components inside the module when setting the IP address switch. you Doing so may damage the components or lead to module failure.

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-4



 Operating Condition setting switches These are switches for setting the operating conditions Number 1 2 3 4 5 6

Function Data format Write protection

OFF ASCII Disabled

Always off Line processing on TCP timeout Loopback test

7 8



ON Binary Enabled

Factory Setting ASCII OFF Disabled OFF





OFF

Close

Do not close

Close

OFF

Normal mode

Test mode

Normal mode

OFF

CAUTION Do not touch the components inside the module when setting the condition setting switches. Doing so may damage the components or lead to module failure.

 MAC Address The MAC address of the module is labeled on the left face of the module. ETHERNET MODEL

:F3LE01

SUFFIX

:-5T

STYLE

:S1

REV

:00.00

SUPPLY

:12VDC 500mA 500mA :12VDC

INPUT

:-

OUTPUT

:-

MAC ID

00006401D000 ___

NO.

Ethernet address: A unique 12-digit hexadecimal number is assigned to every Ethernet interface module. FA3113.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-5



A3.1.2

F3LE01-0T

 Appearance and Components Front View RDY LNK COM ERR LE01-0T

Righ-side View Indication LED

ETHER

Operating Condition Setup Switch

T

10BASE-T Connector

IP Address Setup Switch (Note) Right-side view shows the internal view after the cover is removed.

FG Terminal

FG SHIELD

Shield Terminal FA31211.VSD

 Functions of Components  LED Indicators The LEDs display the operating status of the module. Name (Color) RDY (Green) LNK (Green) COM (Green) ERR (Red)

Description

On

Blinking

Off

Internal circuitry status

Normal

Error

Network status

Connected

Not connected

Data transmission status Operating status

Carrier detected Operating failure

No carrier detected Normal

 10BASE-T Connector This connector is used for connecting to a 10BASE-T (UTP/STP) connection.

 SHIELD Terminal The SHIELD terminal is connected to the SHIELD wire of the 10BASE-T connector. It is isolated from the FG terminal of the power module.

 FG Terminal The FG terminal is connected to the FG terminal of the power supply module.

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-6



 IP Address Switch This is a 16-position rotary switch for setting the IP address. Example: Setting the IP address to 192.168.250.210 F

D

C A 0

2 8

Hexa decimal Decimal

C0 ↑ 192

A8 ↑ 168

A FA ↑ 250

D2 ↑ 210 FA3122.VSD

CAUTION Do not touch the components inside the module when setting the IP address. Doing so may damage the components or lead to module failure.

 Condition setting switches These are switches for setting the operating conditions. Number 1 2

Function Data format Write protection

OFF ASCII Disabled

ON Binary Enabled

Factory Setting ASCII OFF Disabled OFF

3 4 5

Always off







OFF

6 7 8

Line processing on TCP timeout Loopback test

Close

Do not close

Close

OFF

Normal mode

Test mode

Normal mode

OFF

CAUTION Do not touch the components inside the module when setting the condition setting switches. Doing so may damage the components or lead to module failure.

IM 34M06H24-02E

2nd Edition: May 2009-00



A3-7

 MAC Address The MAC address of the module is labeled on the left face of the module.

MODEL

ETHERNE ETHERNET T :F3LE11 :F3LE01

SUFFIX

:-0T

STYLE RE REV V SUPPLY

:S1

INPUT

:-

OUTPUT

:-

MAC ID

000064 _ _ _ 00006401D001

:00.00 :-

NO.

Ethernet address: A unique 12-digit hexadecimal number is assigned to every Ethernet interface module.

FA31231.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-8



A3.1.3

F3LE11-0T

 Appearance and Components Front View

Righ-side View

RDY LNK COM ERR LE11-0T

Indication LED

ETHER

Operating Condition Setup Switch

TX

10BASE-T/100BASE-TX Connector

IP Address Setup Switch (Note) Right-side view shows the internal view after the cover is removed.

FG Terminal

FG SHIELD

Shield Terminal FA3121.VSD

 Functions of Components  LED Indicators The LEDs display the operating status of the module. Name (Color) RDY (Green) LNK (Green) COM (Green) ERR (Red)

Description

On

Blinking

Off

Internal circuitry status

Normal

Error

Network status

Connected

Not connected

Data transmission status Operating status

Carrier detected Operating failure

No carrier detected Normal

 10BASE-T/100BASE-TX Connector This connector is used for connecting to a 10BASE-T/100BASE-TX (UTP/STP) connection.

 SHIELD Terminal The SHIELD terminal is connected to the SHIELD wire of the 10BASE-T/100BASE-TX connector. It is isolated from the FG terminal of the power module.

 FG Terminal The FG terminal is connected to the FG terminal of the power supply module.

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-9



 IP Address Switch This is a 16-position rotary switch for setting the IP address. Example: Setting the IP address to 192.168.250.210 F

D

C A 0

2 8

Hexa decimal Decimal

C0 ↑ 192

A8 ↑ 168

A FA ↑ 250

D2 ↑ 210 FA3122.VSD

CAUTION Do not touch the components inside the module when setting the IP address. Doing so may damage the components or lead to module failure.

 Condition setting switches These are switches for setting the operating conditions. Number 1 2

Function Data format Write protection

OFF ASCII Disabled

ON Binary Enabled

Factory Setting ASCII OFF Disabled OFF

3 4 5

Always off

6 7 8

Loopback test



Normal mode



Test mode



OFF

Normal mode

OFF

CAUTION Do not touch the components inside the module when setting the condition setting switches. Doing so may damage the components or lead to module failure.

IM 34M06H24-02E

2nd Edition: May 2009-00



A3-10

 MAC Address The MAC address of the module is labeled on the left face of the module.

MODEL

ETHERNE ETHERNET T :F3LE11

SUFFIX

:-0T

STYLE RE REV V SUPPLY

:S1

INPUT

:-

OUTPUT

:-

MAC ID

000064 ___ 00006401D001

:00.00 :-

NO.

Ethernet address: A unique 12-digit hexadecimal number is assigned to every Ethernet interface module.

FA3123.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00



A3.2

A3-11

External Dimensions

 F3LE01-5T PU SH

Unit: mm

12.1

28.9 2

83.2

RDY SND RCV ERR LE01-5T

ETHER

T

100

AUI

+ FA3201.VSD

Figure A3.2 External Dimensions

 F3LE01-0T Unit: mm

11.3

28.9 2

83.2

RDY LNK COM ERR LE01-0T

ETHER

100

T

FG SHIELD

FA32021.VSD

Figure A3.3 External Dimensions

IM 34M06H24-02E

2nd Edition: May 2009-00



A3-12

 F3LE11-0T Unit: mm

11.3

28.9 2

83.2

RDY LNK COM ERR LF11-0T

ETHER

100

TX

FG SHIELD

FA3202.VSD

Figure A3.4 External Dimensions

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-13



A3.3

I/O Relays and Registers

A3.3.1

F3LE01-5T and -0T

 I/O Relays Input Relay

Description

Output Relay

X001

Line 1 initialization completed

Y033

Line 1 initialization request

X002

Line 1 initialization error

Y034

Line 1 transmission request

X003

Line 2 initialization completed

Y035

Line 2 initialization request

X004

Line 2 initialization error

Y036

Line 2 transmission request

X005 X006 X007

Y037 Reserved

X008 X009 X010 X011 X012

Y038 Y039 Y040

Line 1 transmission completed Line 1 transmission error Line 2 transmission completed Line 2 transmission error

Y041 Y042 Y043 Y044

X013

Y045

X014

Y046

X015

Y047

X016

Y048

X017

Y049

X018

Y050

X019

Y051

X020

Y052

X021 X022

Reserved

Y054 Y055

X024

Y056

X025

Y057

X026

Y058

X027

Y059

X028

Y060

X029

Y061

X030

X032

Reserved

Y053

X023

X031

Description

Y062 Routing registration completed Routing registration error

Y063 Y064

Routing registration request

: Slot number

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-14



 Registers Data position no. 1 MAC address 2 3

Item

Description

R/W

Module MAC address Data position no.

0000 64xx xxxx 3 2 1

R

Module IP address

4 IP address 5

Data position no.

6

Condition setting switch 1

7

Condition setting switch 2

8

Condition setting switch 3

9

Condition setting switch 4

10

Condition setting switch 5

www.xxx.yyy.zzz 5 4

0→OFF 1→ON

R

R

11

Condition setting switch 6

12

Condition setting switch 7

13 14 to 16 17 18 to 24 25

Condition setting switch 8

Event transmission line 1 initialization exit code

R

26 27 to 64 65

Event transmission line 2 initialization exit code

R

66

Reserved

69 70 to 71 72



Routing table setup exit code

R

Reserved







Reserved



Subnet mask Subnet mask Data position no.

67 68



www.xxx.yyy.zzz 66 65

W

Default gateway IP address Default gateway IP address Data position no.

Hop count

R: Read register

W

0: Direct connection Others: Via router

W





Reserved Number of table entries

www.xxx.yyy.zzz 68 67

0 to 8

W

W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-15



Data position no. 73

Item

Description

Destination IP address

Host flag 0: Network address 1: Host address

Gateway IP address

Destination IP address

78

Hop count

Data position no.

79

Host flag

Host flag

74 75

Table entry 1

76 77

Table entry 2

82

Destination IP address Data position no.

84

Hop count

85

Host flag

86 Table entry 3

88

Destination IP address

90

Hop count

91

Host flag

92 Table entry 4

94

Destination IP address

96

Hop count

97

Host flag

98 Table entry 5

100

Destination IP address Gateway IP address

101 102

Hop count

103

Host flag

104 105

Table entry 6

106

Destination IP address Gateway IP address

107 108

Hop count

109

Host flag

110 111 112 113 114

W

Gateway IP address

95

99

Hop count 0: Direct connection Others: Via router

Gateway IP address

89

93

www.xxx.yyy.zzz n+1 n

Gateway IP address

83

87

www.xxx.yyy.zzz n+1 n

Gateway IP address

80 81

R/W

Table entry 7

Destination IP address Gateway IP address Hop count

R: Read register

W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-16



Data position no. 115

Item

Table 8

118

Reserved

265 267

W

Transmission mode

0: Direct 1: Indirect

W W –







Exit code Response data Transmission data size

R CPU number Device type First device number

Response data Transmission data size

310 311 to 320

W

Reserved

Line 1 transmission data

W

W

306

309

www.xxx.yyy.zzz 266 265

0: UDP/IP 1: TCP/IP

Transmission data

308

Data position no.



Protocol type

294 295 to 304 305

307

W –

Reserved

290

293

W

0: Direct 1: Indirect

Response monitoring time

271

292

0:UDP/IP 1:TCP/IP

Transmission mode

Remote port number Line 2 initialization data

270

291

Protocol type

Destination IP address

266

W W

Reserved

264

272 273 to 288 289

www.xxx.yyy.zzz 258 257

Response monitoring time

263

269

Data position no.



Remote port number Line 1 initialization data

262

268

– Destination IP address

259 261

W

Hop count

258 260

Destination IP address Gateway IP address

119 120 121 to 256 257

R/W

Host flag

116 117

Description

W

Number of devices Reserved

Exit code

Line 2 transmission data

R CPU number Device type First device number

Transmission data

W

Number of devices Reserved

R: Read register

W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-17



A3.3.2

F3LE11-0T

 I/O Relays Input Relay

X001 X002 X003 X004 X005 X006 X007 X008 X009 X010 X011 X012 X013 X014 X015 X016 X017 X018

Description

Output Relay

Description

Reserved

Y033 Y034 Y035 Y036 Y037 Y038 Y039 Y040 Y041 Y042 Y043 Y044 Y045 Y046 Y047 Y048

Reserved

E-mail transmission request ACK E-mail transmission completed

Y049 Y050

Reserved Request to reject incoming e-mails Reserved Request to read setup parameters

X019

Rejecting incoming e-mails

Y051

X020

Reserved Read setup parameters completed

Y052

X021 X022 X023 X024 X025 X026 X027 X028 X029 X030 X031 X032

Reserved Setup network environment completed Setup E-mail completed Setup CPU automatic monitoring completed

Reserved

E-mail transmission request

Y053 Y054 Y055 Y056 Y057 Y058 Y059 Y060 Y061 Y062 Y063 Y064

Reserved Request to setup network environment Request to setup e-mail Request to setup CPU automatic monitoring

Reserved

: Slot number

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-18



 Registers Data position no. 1 MAC address 2 3 4

Item

Description Module MAC address 0000 64xx xxxx Data position no. 3 2 1

Data position no.

6 to 16 17

Condition setting switch 1

18

Condition setting switch 2

19

Condition setting switch 3

20

Condition setting switch 4

21

Condition setting switch 5

22

Condition setting switch 6

23

Condition setting switch 7

24 25 to 384 385 to 512 513 to 576 577

Condition setting switch 8

579 580 581 582 583 584 585 to 960 961 962 to 1024

R

Module IP address

IP address

5

578

R/W

Reserved

www.xxx.yyy.zzz 5 4



R



0→OFF 1→ON

R



Reserved



Destination mail address

256 bytes max.

W

Subject:

128 bytes max.

W

Transmission mode Transmission completion status

0: Direct 1: CSV 2: Indirect

W

When Data position no. 577= 0, Transmission data byte size

When Data position no. 577=1, Number of data items

Reserved

R When Data position no. 577=2, Number of data items Reserved CPU number Device attribute

W W W

Device number

W

Reserved Bank register

– 0 to 31

Reserved R: Read register

– W





W: Write register

 Bank Registers Register numbers 1025 to 2048 require bank switching using the bank register. The bank register must be set before accessing these register numbers. The bank register is write-only and cannot be read.

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-19



 Bank 0 -

Network Environment

Data position no.

1025

Item

1028 1029 1030 1031 1032 1033 to 1064 1065 to 1096 1097 to 1128 1129 to 1160 1161 1162 to 1192

R/W

Subnet mask

Subnet mask

1026 1027

Description

Data position no.

www.xxx.yyy.zzz 1026 1025

W

Default gateway IP address Default gateway IP address

www.xxx.yyy.zzz Data position no. 1028 1027 Primary DNS server IP address www.xxx.yyy.zzz Data position no. 1030 1029 Secondary DNS server IP address www.xxx.yyy.zzz Data position no. 1032 1031

W

Local host name

64 bytes max.

W

Domain name

64 bytes max.

W

Primary domain suffix

64 bytes max.

W

Secondary domain suffix

64 bytes max.

W

Primary DNS server IP address

Secondary DNS server IP address

Network environment setup completion status

W

R

Reserved

-

W





Description

R/W

E-mail Environment

Data position Item no. 1193 to Mail address 1320 1321 SMTP port number 1322 SMTP server address specification method If register 1323 number 1322=0, If register number 1324 IP address SMTP server 1322=1, 1325 Server name to Reserved 1354 1355 to Bcc mail address 1482 1483 POP3 port number 1484 POP3 server address specification method If register 1485 number 1484=0, If register number 1486 IP address POP3 server 1484=1, 1487 Server name to Reserved 1516 R: Read register

256 bytes max.

0: IP address

W

1: Server name

If IP address, SMTP server IP address www.xxx.yyy.zzz Data position no. 1324 1323

W W

W

If server name, 64 bytes max.

256 bytes max.

W W W

0: IP address 1: Server name If IP address, POP3 server IP address www.xxx.yyy.zzz Data position no. 1486 1485 If server name, 64 bytes max.

W

W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00



Data position no. 1517 to 1532 1533 to 1548 1549 1550 to 1556 1557 to 1564 1565 1566 1567 1568 to 1588

Item

R/W

POP3 account

32 bytes max.

W

POP3 password

32 bytes max.

W

Mail checking interval

1 to 1440 (minutes)

W

Reserved





WideField2 password

16 bytes max.

W

Temporary mail checking interval Temporary mail checking cycles E-mail setup completion status

(minutes) (cycles)

W W R

Reserved

Data position no. 1589 1590 1591 1592 1593 to 1720 1721 to 1784 1785 to 1816 1817 to 1848 1849 1850 1851 to 2048

Description

A3-20





Description

R/W

CPU Automatic Monitoring Item

CPU 1 monitoring flag CPU 2 monitoring flag CPU 3 monitoring flag CPU 4 monitoring flag

W W W R

Destination mail address

256 bytes max.

W

Subject

128 bytes max.

W

Header 1

64 bytes max.

W

Header 2

64 bytes max.

W

Monitoring interval Setup completion status

0 to 1440 (minutes)

W R

Reserved





Item

Description

R/W

 Bank 1 Data position no. 1025 Transmission data to 2048 R: Read register

W W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00

A3-21



 Bank 31 -

Network Environment

Data position no.

1025

Item

1028 1029 1030 1031 1032 1033 to 1064 1065 to 1096 1097 to 1128 1129 to 1160 1161 to 1192

Data position no.

1324 1325 to 1354 1355 to 1482 1483 1484 1485 1486 1487 to 1516

R

www.xxx.yyy.zzz Data position no. 1028 1027 Primary DNS server IP address www.xxx.yyy.zzz Data position no. 1030 1029 Secondary DNS server IP address www.xxx.yyy.zzz Data position no. 1032 1031

R

Local host name

64 bytes max.

R

Domain name

64 bytes max.

R

Primary domain suffix

64 bytes max.

R

Secondary domain suffix

64 bytes max.

R

Primary DNS server IP address

Secondary DNS server IP address

Reserved

R

R





Description

R/W

E-mail Environment

Data position no.

1321 1322 1323

www.xxx.yyy.zzz 1026 1025

Default gateway IP address Default gateway IP address

-

1193 to 1320

R/W

Subnet mask

Subnet mask

1026 1027

Description

Item

Local mail address SMTP port number SMTP server address specification method If register number 1322=0, If register number IP address SMTP server 1322=1, Server name Reserved

256 bytes max.

R

0: IP address 1: Server name

R R

If IP address, SMTP server IP address www.xxx.yyy.zzz Data position no. 1324 1323

R

If server name, 64 bytes max.

Bcc mail address

256 bytes max.

POP3 port number POP3 server address specification method If register number 1484=0, If register number IP address POP3 server 1484=1, Server name Reserved R: Read register

R R R

0: IP address 1: Server name If IP address, POP3 server IP address www.xxx.yyy.zzz Data position no. 1486 1485 If server name, 64 bytes max.

R

W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00



Data position no. 1517 to 1532 1533 to 1548 1549 1550 to 1556 1557 to 1564 1565 1566 1567 to 1588

Item

R/W

POP3 account

32 bytes max.

R

POP3 password

32 bytes max.

R

Mail checking interval

1 to 1440 (minutes)

R

Reserved





WideField2 password

16 bytes max.

R

Temporary mail checking interval Temporary mail checking cycles

(minutes) (cycles)

R R

Reserved

Data position no. 1589 1590 1591 1592 1593 to 1720 1721 to 1784 1785 to 1816 1817 to 1848 1849 1850 to 2048

Description

A3-22





Description

R/W

CPU Automatic Monitoring Item

CPU 1 monitoring flag CPU 2 monitoring flag CPU 3 monitoring flag CPU 4 monitoring flag

R R R R

Destination mail address

256 bytes max.

R

Subject

128 bytes max.

R

Header 1

64 bytes max.

R

Header 2

64 bytes max.

R

Monitoring interval

0 to 1440 (minutes)

R

Reserved





R: Read register W: Write register

IM 34M06H24-02E

2nd Edition: May 2009-00

A4-1



A4. Setting Up the Module A4.1

Attaching/Detaching the Module

 Attaching the Module Figure A4.1 shows how to attach this module to the base module. First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module. Push the top of the module toward the base module until the anchor/release button clicks into place. Always switch off the power before attaching or detaching the module.

Base Module

Anchor pin

Ethernet Interface Module

FA4101.VSD

Figure A4.1 Attaching/Detaching the Module

CAUTION DO NOT bend the connector on the rear of the module by force during the above operation. If the module is pushed with improper force, the connector may bend causing an error.

 Detaching the Module To remove this module from the base module, reverse the above operation. Press the anchor/release button on the top of this module to unlock it and tilt the module away from the base module.

IM 34M06H24-02E

2nd Edition: May 2009-00



A4-2

 Attaching the Module in Intense Vibration Environments If the module is used in intense vibration environments, fasten the module with a screw. Use screws of type listed in the table below. Insert these screws into the screw holes on top of the module and tighten them with a Phillips screwdriver. A clearance of approximately 80mm between the module and the duct above it is necessary to allow the screwdriver to access the screw. Required Screw Binding head machine screw M4 of 12 to 15 mm long, or washer screw of 14-15mm long.

FA4102.VSD

Figure A4.2 Tightening Module Using Screws

CAUTION Do not overtighten the module fixing screw.

IM 34M06H24-02E

2nd Edition: May 2009-00



A4.2

Setup before Operation

A4.2.1

Setup Procedure

A4-3

The following figure shows a procedure flowchart for setting up an FA-M3 system using the Ethernet Interface Module. Startup

Establish the overall system configuration

Setup Ethernet Interface Module Setup the switches Set to test mode

See Section A4.2.2 "Setting the Switches"

Cabling and connecting

Power on

Loopback test

See Section A4.2.4 "Loopback Test"

Power off

Setup Ethernet Interface Module Setup the switches Set to normal mode

See Section A4.2.2 "Setting the Switches"

Power On

Start FA4211.VSD

Figure A4.3 Setup Flowchart

IM 34M06H24-02E

2nd Edition: May 2009-00



A4.2.2

A4-4

Setting Switches This section describes the switches to be set before attaching this module to the base module of FA-M3. Figure A4.4 shows the names and locations of the switches.

 F3LE01-5T

 F3LE01-0T, F3LE11-0T

Operating Condition Setting Switches

IP address switches

FA4221.VSD

Figure A4.4 Locations of the Switches

 IP Address Switches This 16-position rotary switches, located on the side of the module (inside the cover), can be used to set the IP address of the module. The IP address is set in hexadecimal values as shown in Figure A4.5. The factory setting is 0.0.0.0. F C

D

A 0

2 8

A

Hexa decimal

C0

A8

FA

Decimal

192

168

250

D2 210 FA4222.VSD

Figure A4.5 Setting up an IP Address

IM 34M06H24-02E

2nd Edition: May 2009-00

A4-5



 Condition Switches The operating conditions of the module can be set using the DIP switches located on the side of the module (inside the cover).

Figure A4.1 Operating Condition Switches Setting Switch No. 1 2

Function

OFF

ON

Data format Write protection

ASCII Disabled

Binary Enabled

Always set to OFF

Not settable

Reserved

3 4 5 6 7

Line processing on TCP timeout*

Close

Do not close

8

Operation mode

Normal mode

Test mode

* This function is available only for F3LE01-5T.

 Data Format Sets the data format for using the higher-level link service (port No.: 12289/$3001) from a remote node. OFF : ASCII ON : Binary This setting is not applicable when the higher-level link service is not used.

 Write Protection Enables or disables the writing of data into sequence devices and downloading of programs using the higher-level link service from a remote node. OFF : Protection disabled ON : Protection enabled This setting is not applicable when the higher-level link service is not used.

 Line Processing on TCP Timeout In the TCP/IP protocol, timeout occurs when no ACK is returned during communications. This setting specifies the processing for the TCP connection when timeout occurs. OFF : Close ON : Do not close Normally, the setting should be OFF (Close). If the setting is ON, connection cannot be closed unless there is a request from a remote node to close the connection. This setting is applicable only to F3LE01-5T and -0T. For F3LE11-0T, connection is closed when TCP timeout occurs.

IM 34M06H24-02E

2nd Edition: May 2009-00



A4-6

 Operation Mode Sets the operation mode when the power is on. OFF : Normal mode ON : Test mode In Test mode, the module performs a loop back test. The RDY LED turns on if the loop back test terminates normally. The ERR LED turns on if the test fails. After a loop back test in Test mode, all functions of the module are disabled. The switch should normally be set to Normal mode (OFF).

CAUTION Do not perform a loop back test with the sequence CPU mounted.

IM 34M06H24-02E

2nd Edition: May 2009-00



A4.2.3

A4-7

External Wiring

 Connecting Communications Cable  10BASE5 Transceiver Cable Connection Transceiver Cable Connection

Connect the transceiver cable to AUI connector, with the protrusion fitted in the retainer hole

Slide the retainer to clamp the transceiver cable FA4231.VSD

Figure A4.6 Transceiver Cable Connection Flowchart

 10BASE-T/100BASE-TX Cable Connection Twisted-pair cable connection

Connect the twisted-pair cable to connector for 10BASE-T/100BASE-TX FA4232.VSD

Figure A4.7 10BASE-T/100BASE-TX Cable Connection Flowchart

CAUTION Do not connect a transceiver cable and a twisted-pair cable at the same time. Adequate safety measures should be adopted when laying the Ethernet cables. We recommend that you commission a professional contractor to lay the Ethernet cables.

IM 34M06H24-02E

2nd Edition: May 2009-00



A4-8

 Wiring of Power Supply  F3LE01-5T Power supply to the transceiver is required for 10BASE5 connections. Apply a 12V DC supply to the external power supply terminals. Some types of transceiver require no power supply. Power supply is also not required for 10BASE-T connections. Use an AWG28-16 or equivalent cable for the power supply. Tighten the fixing screws for the power cable with an appropriate torque of 0.8 N•m.

Screw Cramp FA4233.VSD

Figure A4.8 Wiring of Power Supply

CAUTION Turn on the power with the transceiver cable connected. Connecting or disconnecting the transceiver cable with the power on may lead to system failure.

See Also IEEE802.3 specifies: Transceiver input voltage: Transceiver DC resistance: Transceiver power consumption:

12V-6% to 15V+5% 40Ω/km, 50m maximum 500mA maximum

Taking into consideration the 0.4 V voltage drop for the F3LE01-5T, the target external power supply is 12.68V to 15.75V. However, note that the input voltage of some IEEE802.3-compatible transceivers do not fall within the range of 12V-6% to 15V+5%.

 F3LE01-0T, F3LE11-0T No wiring for power supply is required.

IM 34M06H24-02E

2nd Edition: May 2009-00

A4-9



 Shielding  F3LE01-5T When the Ethernet Interface Module is attached to the base module, the shield wire of the transceiver and the connector shell are connected to the aluminum chassis and the FG terminal of the power module. To enhance shielding effect, perform grounding according to the procedure (for compliance to CE marking) described in subsequent pages. Figure A4.9 shows the internal wiring of the module.

LAN Controller

Transformer T Receiving Signal Transmitting Signal

AUI

Transformer Collision Signal

Transmitting Signal Receiving Signal

FUSE 2A

FG

12V+ 12VFA4236.VSD

(Front View of the connector) Figure A4.9 F3LE01-5T Connector Internal Wiring

IM 34M06H24-02E

2nd Edition: May 2009-00

A4-10



 F3LE01-0T, F3LE11-0T When using a shielded twisted-pair cable (STP), ground the shield of the wire as required. The shield of the cable is connected to the shell of the 10BASE-T/100BASE-TX connector, and the shell is connected to the shield terminal located inside the module. There are two ways to ground the shielded wire. To enhance the shielding effect, perform grounding according to the procedure (for CE marking compliance) described on the next page. -

For connection to the aluminum chassis of the base module and the FG terminal of the power supply module through the module: Connect the shield terminal of the module and the FG terminal at the connector.

-

For direct connection not through the module: Connect the shield terminal of the module directly to the inner plate of a low-impedance panel or the GND terminal inside a panel enclosure. Use an AWG28-16 or equivalent cable for grounding. Tighten the fixing screws for grounding appropriately with a torque of 0.8 N•m.

Screw Cramp

FA4234.VSD

Figure A4.10 Grounding

-

Attaching the Connector to the Module. Attach the connector to the module as shown in Figure A 4.11. Tighten the fixing screws appropriately with a torque of 0.25 N•m.

Screw Cramp

Screw Cramp

FA4235.VSD

Figure A4.11 Attaching the Connector to the Module

IM 34M06H24-02E

2nd Edition: May 2009-00



A4-11

Figure A4.12 shows the internal wiring of the module.

LAN Controller

Transformer T TX Receiving Signal Transmitting Signal

FG SHIELD FG

FA4237.VSD

(Front view of the connector) Figure A4.12 F3LE01-0T or F3LE11-0T Connector Internal Wiring

 CE Marking Conformance -

Use a shielded cable for conforming equipment incorporating the Ethernet Interface Module to CE Marking. Remove part of the cable insulation to expose the shield, ground and secure the shield with an FG clamp. Shielded Cable

Remove part of the insulation and secure with an FG clamp

F3LE01-5T F3LE01-0T F3LE11-0T

Screw the clamp to the metal plate of the panel enclosure to ground it

IM 34M06H24-02E

2nd Edition: May 2009-00

A4-12



A4.2.4

Loop back Test The Ethernet Interface Module can perform self-diagnostics (loop back test) according to the operating condition switches. In a loop back test, the module transmits test data over the network and checks if it can receive the same data.

 Test Method (1) Turn on switch 8 of the condition switches located on the right side of the module. F3LE01-5T

F3LE01-0T F3LE11-0T OFF

8

7

7

8

OFF FA4241.VSD

(2) Connect the module to the network. (3) Turn on the power. (4) Testing begins. (The RDY LED blinks.)

 Test Result -

If the module correctly receiving the test data in the loop back test,

-

The RDY LED turns on. If the module fails to receive the test data correctly in the loop back test, The ERR LED turns on.

At the end of the loop back test, all functions of the module are disabled. After the test, your must set the operation mode to Normal mode. Turn off Switch 8, turn off the power and then turn on the power again.

CAUTION Do not perform a loop back test with the sequence CPU mounted.

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-1



A5. Higher-level Link Service A5.1

Overview The higher-level link service of the Ethernet Interface Module allows a user to monitor and set FA-M3 sequence devices, to start and stop programs, as well as to load and save programs by executing commands from a remote node. All these are achieved without requiring the user to write communications programs on the FA-M3. The higher-level link service uses an interactive communication control system in which commands and responses are exchanged via TCP/IP or UDP/IP protocols (using a socket interface.) A command is an instruction that is issued to the Ethernet Interface Module from a remote node. A response is the reply to a command transmitted from a remote node that the Ethernet Interface Module returns to the remote node. The module does not transmit commands to remote nodes. Remote nodes have the right to initiate transmissions. When a remote node sends a command to the module, transmission control is transferred to the module, which then sends a response to the command.

Command

Ethernet

Response FA5101.VSD

For details on the commands and responses used in the higher-level link service, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E).

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-2



A5.2

Specifications

A5.2.1

Functional Specifications Figure A5.1 Higher-level Link Service Functional Specifications Item

*

Specifications

Communications protocol

TCP/IP

Data format Maximum number of connections Port number

ASCII/Binary

UDP/IP

Write protection

Enabled

8 12289 ($3001)/12291($3003)*

Port number 12291 ($3003) is available to F3LE11-0T.

 Data Format and Port Number The available data formats are ASCII and binary. The data format for the port number 12289 ($3001) can be set using the condition switches on the side of the module. For F3LE01-5T or -0T, the data format cannot be set for individual sockets. For F3LE11-0T, the data format of either ASCII or binary can be used depending on the port number. The following table shows the port numbers and the corresponding data formats. Table A5.2 Port Numbers and Data formats for F3LE11-0T Condition Switch 1

Port number 12289 ($3001) 12291 ($3003)

OFF

ASCII

Binary

ON

Binary

ASCII

 Write Protection You can prohibit execution of certain commands. To enable or disable write protection, use the condition switches located on the side of the module. The following table lists the commands that are disabled when write protection is enabled. Table A5.3 Commands That Can Be Disabled using Write Protection -

Device Word Write, Device Bit Write Device Word Write of Same Data, Device Bit Write of Same Data Device Word Random Write, Device Bit Random Write Special Module Word Write/Special Module Long-word Write Load program Write date and time

IM 34M06H24-02E

2nd Edition: May 2009-00



A5.2.2

A5-3

Communications Protocols

 Communications Using TCP/IP Protocol TCP/IP Communications uses a socket interface between the Ethernet Interface Module and a remote node to exchange data with the protocol shown in the figure below.

Initial Setup

Initial Setup

socket()

socket() bind() listen() Open Connection

connect()

accept()

Command send()

recv() Response

recv()

send() Disconnect

close()

close() FA5221.VSD

Figure A5.1 Communications Using TCP/IP Protocol

The communications software for the Ethernet Interface Module runs automatically within the module.

IM 34M06H24-02E

2nd Edition: May 2009-00



A5-4

 Communications Using UDP/IP Protocol UDP/IP Communications uses a socket interface between the Ethernet Interface Module and a remote node to exchange data with the protocol shown in the figure below.

Initial Setup

Initial Setup

socket()

socket()

bind()

bind() Command recvfrom()

send() Response recv()

sendto()

close() FA5222.VSD

Figure A5.2 Communication under UDP/IP

The communications software for the Ethernet Interface Module runs automatically within the module.

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-5



A5.3

Network Frame Formats

A5.3.1

Communications Data Format The format for the data to be exchanged with a remote node is shown below. EH

IH

TH/UH

Upper Link Data EH : IH : TH : UH :

Ethernet Header IP Header TCP Header UDP Header FA5311.VSD

Figure A5.3 Higher-level Link Service Communications Data Format

A5.3.2

Higher-level Link Data Frames You can set the data format for data exchanged via the higher-level link service to either ASCII or binary. The selected data format applies to the entire higher-level link data frame. The respective formats for the higher-level link data frame are shown below.

 Data Frame in ASCII Format Command subheader 2 bytes

command

command parameters

end character

3 bytes

command-dependent

2 bytes

exit code

command parameters

end character

Response subheader 2 bytes

2/4 bytes

response-dependent

2 bytes FA5321.VSD

Figure A5.4 Data Frame in ASCII Format

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-6



 Subheader 2 bytes

CPU number Command/response FA5322.VSD

Command/response Flag Identifies a command or response using an ASCII character. - “0” ($30): Command -

“1” ($31): Response

CPU Number Identifies the target CPU module by the slot where it is mounted using an ASCII character. -

“1” ($31): CPU module mounted in slot 1 “2” ($32): CPU module mounted in slot 2

-

“3” ($33): CPU module mounted in slot 3 “4” ($34): CPU module mounted in slot 4

 Command Identifies the type of request from a remote node. For more details on commands, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E). 3 bytes

Command FA5323.VSD

 Command Parameters This field contains device name, number of points or other data. The actual parameters depend on the command. Some commands have no parameter. For more details on command parameters, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E).

IM 34M06H24-02E

2nd Edition: May 2009-00



A5-7

 Exit Code The result of the execution of a command is automatically appended to the response as an exit code. For more details on exit codes, see Section A5.4, “Response Exit Codes.” Normal: 2 bytes "O" $4F

"K" $4B

Error: 4 bytes "E" $45

"R" $52

□ $xx

□ $xx FA5324.VSD

 Response Parameters Normal Exit (exit code: “OK”) This field contains the response to a command. The actual parameters depend on the command. Some responses have no parameter. For more details on responses, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E). Error Exit (exit code: “ER”) 5 bytes

Command Detailed error code FA5325.VSD

Detailed Error Code -

Valid only when the error code is “ER03,” “ER04,” “ER05,” “ER08” or “ER52.” For information on detailed error codes, see Section A5.4 “Response Exit Codes.”

Command - The transmitted command is returned unchanged in the response.

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-8



 End Characters 2 bytes C

L R

F

$0D

$0A FA5326.VSD

A data frame must always be terminated with the C R L F ($0D0A) characters. Append these two characters to all commands. These end characters are automatically appended to a response.

 Data Frame in Binary Format Command sub- CPU header no.

size

1 byte 1 byte

2 bytes

command parameters

size

Response subExit header code

size

1 byte 1 byte

2 bytes

response parameters

size FA5327.VSD

Figure A5.5 Data Frame in Binary Format

 Subheader 1 byte

Command/response type Command/response flag FA5328.VSD

Command/response Flag Identifies a command or a response with one bit. - 0: Command -

1: Response

Command/response Type Indicates the type of request transmitted from a remote node. For more details on commands, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E).

IM 34M06H24-02E

2nd Edition: May 2009-00



A5-9

 CPU Number 1 byte

CPU no. FA5329.VSD

Identifies the target CPU module by the slot where it s mounted. - $01: CPU module mounted in slot 1 -

$02: CPU module mounted in slot 2 $03: CPU module mounted in slot 3

-

$04: CPU module mounted in slot 4

 Exit Code The result of the execution of a command is automatically appended to the response as an exit code. For more details on exit codes, see Section A5.4 “Response Exit Codes.” 1 byte

Exit code

= $00: Normal = $00: Error FA532A.VSD

 Size 2 bytes

FA532B.VSD

Indicates the size of the command or response parameter field (in bytes). If a frame has no parameter, the value is zero.

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-10



 Command Parameters This field contains device names, number of points or other data. The actual parameters depend on the command. Some commands have no parameter. For more details on commands, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E).

 Response Parameters Normal Exit (exit code: $00) This field contains the response to a command. The actual parameters depend on the command. Some responses have no parameter. For more details on responses, see “Personal Computer Link Commands User’s Manual” (IM34M6P41-01E). Error Exit (exit code: non-zero) 2 bytes

CPU no. Detailed error code FA532C.VSD

Detailed Error Codes (1 byte) - Valid only when the exit code is $03, $04, $05, $08 or $52. - For details on error codes, see Section A5.4 “Response Exit Codes.” CPU Number (1 byte) -

The data contained in the transmitted command returned unchanged in the response.

IM 34M06H24-02E

2nd Edition: May 2009-00



A5.4

Response Exit Codes

A5.4.1

Exit Codes

A5-11

Table A5.4 lists the exit codes that may be appended to a response. Table A5.4 Exit Codes Exit Code

Description

ASCII

Binary

“OK” “ER01”

$00 $01

“ER02”

$02

“ER03” “ER04” “ER05”

$03 $04 $05

Device specification error Setting value out of range Number of data items out of range

“ER06”

$06

Monitor error

“ER08”

$08

Parameter error

“ER51”

$51

Sequence CPU error

“ER52”

$52

Sequence CPU processing error

Normal exit CPU number specification error Command error

Possible Causes The CPU number is not within the range of 1 to 4. The command does not exist. Or, the command cannot be executed. The device does not exist. A bit setting is neither 0 nor 1. The number of bits or words specified exceeded the specifications range. Or, the number of parameters was different from the specified number of data items or devices. An attempt was made to run a monitor with no monitor specified. An invalid parameter, other than the above cases, is specified. No response is received from the specified CPU (timeout). An error was detected during CPU execution.

IM 34M06H24-02E

2nd Edition: May 2009-00



A5.4.2

A5-12

Detailed Error Codes A detailed error code is appended to the response frame when the exit code is not “Normal”. (“OK” in the ASCII format or $00 in the binary format). The detailed error code field is valid only when the exit code is set to one of “ER03”, “ER04”, “ER05,” “ER08,” and “ER52” in the ASCII format or set to one of $03, $04, $05, $08 and $52 in the binary format. It has no meaning in the other cases. Table A5.5 Detailed Error Codes Exit code ASCII Binary “ER03” $03 “ER04”

$04

“ER05”

$05

“ER08” “ER52”

$08 $52

Description Device specification error Setting value out of range Number of data items out of range Parameter error Sequence CPU processing error

Detailed error code Error parameter number Represented as a hexadecimal string in the ASCII format.

ASCII “1” “2”

Binary $1 $2

“4”

$4

“8” “9” “A” “B” “C” “F”

$8 $9 $A $B $C $F

Meaning Self-diagnostics error Program error (including invalid parameter) Inter-CPU communication error Device access error Command error Parameter error Operation mode error Parameter error Internal system error

: Variable value

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-13



A5.5

Specifying Devices This section explains how to specify devices in commands for accessing sequence devices.

A5.5.1

Specifying a Device in the ASCII Format To specify a device, use a 6-character device name string. Table A5.6 Specifying a Device in the ASCII Format Device type

Format

Device type

Format0}

Input relay

X

“X”

Data register

D

“D”

Output relay Internal relay Shared relay Special relay Timer relay Counter relay Link relay

Y I E M T C L

“Y” “I” “E” “M” “TU” “CU” “L”

File register Shared register Index register Special register Link register Timer preset value Current timer value Current timer value (count-up type) Counter preset value Current counter value Current counter value (count-up type)

B R V Z W

“B” “R” “V” “Z” “W” “TS” “TP” “TI” “CS” “CP” “CI”

: Device number

Example: To specify data register 123 (D0123) "D" $44

"0" $30

"0" $30

"1" $31

"2" $32

"3" $33 FA5511.VSD

Figure A5.6 Sample Device Specifier (in ASCII Format)

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-14



A5.5.2

Specifying Devices in the Binary Format To specify a device, use a device attribute and a device number. Device attribute

Device number

2 bytes

4 bytes FA5521.VSD

Figure A5.7 Specifying a Device in the Binary Format

 Device Attribute Valid device attributes are listed in Table A5.7. Table A5.7 Device Attributes Used in the Binary Format Device Type Input relay Output relay Internal relay Shared relay Special relay Timer relay Counter relay Link relay

Device Attribute X Y I E M T C L

$0018 $0019 $0009 $0005 $000D $0014 $0003 $000C

Device Type Data register File register Shared register Index register Special register Link register Timer preset value Current timer value Current timer value (count-up type) Counter preset value Current counter value Current counter value (count-up type)

Device Attribute D B R V Z W

$0004 $0002 $0012 $0016 $001A $0017 $0020 $0021 $0025 $0030 $0031 $0035

 Device Number Specifies the device number using 4-bytes. Example: To specify data register 123 (D0123) $0004

$0000007B FA5522.VSD

Figure A5.8 Sample Device Specifier (in Binary Format)

IM 34M06H24-02E

2nd Edition: May 2009-00

A5-15



List of Supported Devices Table A5.8 lists the legitimate device names you can specify in a command. Table A5.8 Legitimate Devices

Bit Device

Device

Word Device

A5.5.3

Input relay Output relay Internal relay Shared relay Special relay Timer relay Counter relay Link relay Data register File register Shared register Index register Special register Link register Timer preset value Current timer value Current timer value (count-up type) Counter preset value Current counter value Current counter value (count-down type)

Read command Bit Word                 ×  ×  ×  ×  ×  ×  ×  × 

Write command Bit Word × ×               ×  ×  ×  ×  ×  ×  × × × 

×



×



× ×

 

× ×

× 

×



×



 : Supported ×: not supported

IM 34M06H24-02E

2nd Edition: May 2009-00

Blank Page



A6-1

A6. Remote Programming Service A6.1

Overview The remote programming service allows a user to perform remote programming of a sequence CPU from a remote node (personal computer) on a network using the FA-M3 programming tool WideField2. WideField2

Ethernet

FA6101.VSD

A6.2

Functional Specifications Table A6.1 Remote Programming Service Functional Specifications Item Communications protocol Maximum number of connections Port number

Specification TCP/IP 1 12290 ($3002)

IM 34M06H24-02E

2nd Edition: May 2009-00



A6.3

A6-2

Setup This service requires no special setup. However, you should setup the IP address and routing data, as required.

 Setting IP Address See Section A4.2.2, “Setting Switches.”

 Routing Setup  F3LE01-5T and -0T See Section B2, “Routing.”

 F3LE11-0T See Section C2.2, “Network Environment Setup” or Section C3.1, “Network Environment Setup.”

A6.4 Reference For details on WideField2 connections, see the following user’s manual.

 Connecting with WideField2 ”FA-M3 Programming Tool WideField2 User’s Manual” (IM34M6Q15-01E)

IM 34M06H24-02E

2nd Edition: May 2009-00



A7-1

A7. Troubleshooting This chapter describes how to troubleshoot problems such as communications failure.

A7.1

First Checks First, perform the following checks. - The module is mounted properly. -

The communication conditions module switches are properly set. The module IP address is properly set.

-

Cables (such as communications cables) are properly connected. The network is properly configured.

-

Network equipment is properly setup. The power supply to network equipment is turned on.

IM 34M06H24-02E

2nd Edition: May 2009-00

A7-2



A7.2

When RDY LED Is Not Lit Use the following troubleshooting flowchart when the ”RDY” LED is not lit. "ERR" LED is not lit

Is the power module supplied with the required voltage?

No

Apply correct voltage

Yes

Is the "RDY" LED of the power module lit?

No Replace power module

Yes

Is the "RDY"LED of the remote module lit?

No

Check constraints (current consumption) or replace the power supply or base module

Yes Is the module properly mounted to the base module?

No

Push the module down until you hear a sound

Yes Are the "RDY" LEDs of modules in other slots not lit?

No

Replace base module

Yes

Replace module

FA7201.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00



A7.3

A7-3

When ERR LED Is Lit Use the following troubleshooting flowchart when the ”ERR” LED is lit. "ERR"LED is lit

Are module switches properly set?

Set the switches (IP address, conditions) properly

No

Yes

Are cables properly connected?

No

Connect cables properly

Yes

Operation mode?

Loop back test

Normal mode Normal

Is network operation normal? Error

Replace the module

Fix the network environment

FA7301.VSD

IM 34M06H24-02E

2nd Edition: May 2009-00

Blank Page

Index A-1

FA-M3 Ethernet Interface Module PART-A Common (F3LE01-5T, -0T, F3LE11-0T) IM 34M06H24-02E 2nd Edition

INDEX A ASCII.....................................A3-4, A3-6, A3-9, A4-5, A5-2,A5-5, A5-11, A5-13 AUI ..................................................................... A3-2

B bank register .................................................... A3-18 binary .......................... A3-4, A3-6, A3-9, A4-5, A5-2, A5-8, A5-11, A5-14

C command ................... A5-3, A5-4, A5-5, A5-8, A5-13

D data format .........A3-4, A3-6, A3-9, A4-5, A5-2, A5-5 default gateway IP address ..... A3-14, A3-19, A3-21 destination IP address .................................... A3-15 disconnect.................................................A4-5, A5-3 DNS server IP address .........................A3-19, A3-21 domain name ........................................A3-19, A3-21 domain suffix.........................................A3-19, A3-21

E

N network address .............................................. A3-15 Normal mode .............. A3-4, A3-6, A3-9, A4-3, A4-5, A4-6, A4-12

O operating condition ......................... A3-4, A3-6, A3-9 operating condition setting switches........A3-4, A3-6, A3-9, A3-14, A3-18, A4-4, A4-12, A5-2 operating status .............................. A3-2, A3-5, A3-8 operation mode............................. A4-5, A4-6, A4-12

P port number..................................... A4-5, A5-2, A6-1 protocol type .................................................... A3-16 protocol .............................................................. A3-1

R response .................... A5-3, A5-4, A5-5, A5-8, A5-11 routing ................................................................ A6-2

S shielding............................................................. A4-9 SMTP server address ...........................A3-19, A3-21 subnet mask .........................................A3-14, A3-19

external power supply .................... A3-2, A3-3, A4-8

T

F

TCP timeout .................................... A3-4, A3-6, A4-5 Test mode ..........A3-4, A3-6, A3-9, A4-3, A4-5, A4-6

fuse A3-1

G gateway IP address ......................................... A3-15

W write protection ........... A3-4, A3-6, A3-9, A4-5, A5-2

H hop count .................................. A3-14, A3-15, A3-16 host address .................................................... A3-15 host flag ........................................................... A3-15

I IP address setup.......... A3-2, A3-3, A3-6, A3-9, A4-4 IP address......................A3-14, A3-18, A3-19, A3-21

L LED ......... A3-2, A3-5, A3-8, A4-6, A4-12, A7-2, A7-3 local host name.....................................A3-19, A3-21 loop back test (self-diagnostics) ...................... A4-12

M MAC address ......... A3-4, A3-7, A3-10, A3-14, A3-18

IM 34M06H24-02E

2nd Edition: May 2009-00

Blank Page

FA-M3 Ethernet Interface Module PART-B F3LE01-5T, -0T IM 34M06H24-01E 3rd Edition

IM 34M06H24-01E

3rd Edition: May 2009-00

Blank Page

<PART-B F3LE01-5T, -0T>

B1-1

B1. Event Transmission Service B1.1

Overview The event transmission service is used to transmit events from a sequence program to remote nodes via the Ethernet Interface Module. It is useful for monitoring FA-M3 data from a remote node. The event transmission service uses a dialog format where events and responses are exchanged using TCP/IP or UDP/IP protocols via a socket interface. An event refers to data transmitted from the module to a remote node. A response is the reply from a remote node to the Module to acknowledge receiving a transmitted event. A remote node does not transmit events to the Module. The Module has the right to initiate a transmission. The Module generates a transmission error if it does not receive a response from the remote node for a transmitted event.

Event

Ethernet

Response FB1101.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-2

<PART-B F3LE01-5T, -0T>

B1.2

Specifications

B1.2.1

Functional Specifications Table B1.1 Event Transmission Service Functional Specifications Item Communications Protocol Maximum number of destinations for concurrent transmission (number of lines) Maximum transmission data bytes

B1.2.2

Specifications TCP/IP, UDP/IP 2 128 bytes

Transmission Formats Event transmission service supports two data transmission modes (formats). Table B1.2 Comparison between Direct Designation and Indirect Designation Item Method used for setting transmission data Maximum transmission data bytes Reading response data Maximum response data bytes

Specifications Direct Designation Indirect Designation Writing directly to the Specifying a sequence device module 26 bytes 128 bytes Reading from the module Module stores data in the sequence device specified in the response 2 bytes 128 bytes

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1-3

 Transmitting Event Using Direct Designation In direct designation, a user writes data to be transmitted (event) directly to the Module using a sequence program WRITE (special module write) instruction and transmits the data. Up to 26 bytes of data can be transmitted. 2-bytes of data is received as response. Sequence CPU

F3LE01-5T, -0T

WRITE Maximum 26 bytes for event

Event

Response

READ 2 bytes for response

FB1221.VSD

Figure B1.1 Transmitting Event Using Direct Designation

 Event Transmission Using Indirect Designation In indirect designation, a user specifies the device where the data to be transmitted (event) is stored and the Module reads and transmits the specified data.Up to 128 bytes (in 2-byte units) of data can be transmitted. Up to 128 bytes (in 2-byte units) is received as response. The received data is also directly saved to the device.

Figure B1.2 Transmitting Event Using Indirect Designation

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.2.3

B1-4

Communication Protocols

 Communications Using TCP/IP Protocol TCP/IP Communications uses a socket interface between the Ethernet Interface Module and a remote node to exchange data with the protocol shown in the figure below.

Initial Setup

Initial Setup

socket()

socket()

Line initialization request

bind() listen() Open connection accept()

connect() Line initialization completed Event recv()

send()

Transmission request Transmission completed

send() Response

recv()

Close connection close()

Disconnection request

close()

FB1231.VSD

Figure B1.3 Communications Using TCP/IP Protocol

The communications software of the Ethernet Interface Module runs automatically within the module.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1-5

 Communications Using UDP/IP Protocol UDP/IP Communications uses a socket interface between the Ethernet Interface Module and a remote node to exchange data with the protocol shown in the figure below.

Initial setup

Initial setup

socket()

socket()

bind()

bind()

Line initization completed

sendto()

Transmission request

recvfrom()

Transmission completed

close()

Disconnection request

Line initialization request

Event recvfrom()

sendoto()

close()

Respons e

FB1232.VSD

Figure B1.4 Communications Using UDP/IP Protocol

The communications software of the Ethernet Interface Module runs automatically within the module.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.3

Network Frame Formats

B1.3.1

Communications Data Format

B1-6

The format for data to be exchanged with a remote node is shown below. EH

IH

TH/UH

Event/Response frame EH IH TH UH

: : : :

Ethernet Header IP Header TCP Header UDP Header FB1311.VSD

Figure B1.5 Communications Data Format

B1.3.2

Event Frame The event frame format is the same for both direct and indirect event transmissions. Size

Event data

2 bytes

Variable length FB1321.VSD

Figure B1.6 Event Frame

 Size The 2-byte size field contains the size of the event data. The size field is automatically set by the Module. 2 bytes

Size FB1322.VSD

 Event Data The event data field contains user data. The event data size varies with the transmission mode. - Direct transmission mode : 0 to 26 bytes - Indirect transmission mode : 0 to 128 bytes (in 2-byte units) The size of an event frame is (2 + event data size) bytes. When the event data size is set to 0, a 2-byte event frame is transmitted.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.3.3

B1-7

Response Formats The response format depends on the event transmission mode specified.

 Direct Designation The response frame size is 2 bytes. A user can specify any data as a response. Response data 2 bytes FB1331.VSD

Figure B1.7 Response Frame for Direct Designation

 Indirect Designation The response frame consists of a subheader and data. Subheader

8 bytes

Response data

Variable length (0 to 128 bytes) FB1332.VSD

Figure B1.8 Response Frame for Indirect Designation

 Subheader Specifies the sequence device for storing the response data. CPU Device No. Type

1 byte 1 byte

Device No.

Number of devices

4 bytes

2 bytes FB1333.VSD

The Module writes the response data to the devices in the sequence CPU module of the specified CPU number, starting with the specified device number for the specified number of devices. The subheader field is required even if there is no response data to be written (data size is zero). For the list of valid CPU numbers and device types, see subsection entitled “Setting Data in Indirect Designation Mode.” Response data cannot be written to timer and counter preset value devices.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1-8

 Response Data Specifies the response data to be written to the devices specified in the subheader. You can specify any response data. Response data size can be up to 128 bytes (number of devices specified in the subheader x 2). Response data must be specified for the number of devices specified in the subheader. Response data

0 to 128 (device no. x 2) bytes FB1334.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.4

B1-9

Transmission Procedure Figure B1.9 outlines the transmission procedure. Event transmission Setup initialization data Line initialization Request for line initialization

Setup transmission data

Transmit event

Transmission

Receive response

Request for termination

Termination FB1401.VSD

Figure B1.9 Flowchart for Event Transmission

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.4.1

B1-10

Line Initialization To transmit an event to a remote node using the Module, you must first designate the remote node (destination) and transmission mode using line initialization. Events can only be sent to the node specified during line initialization. Two lines are available and they can be set independently. Line initialization process Setup initialization data Turn on initialization request relay

Is initialization data valid?

NO

YES Initialization Completed relay turns on

Initialization Error relay turns on Sequence program operations Module operations FB1411.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-11

<PART-B F3LE01-5T, -0T>

 Setting up Initialization Data Line initialization sets the destination (IP address, port number), protocol type, transmission mode and response monitoring time for event transmission. Table B1.3 shows the initialization data area. Table B1.3 Initialization Data Area Channel No. 257 258 259

Initialization data Destination IP address Remote port number

260

Protocol type

261

Transmission mode

262

Response monitoring time

263 264 265 266 267 268 269 270 271 272

Line 1 Initialization data

Reserved Destination IP address Remote port number Protocol type Transmission mode Response monitoring time

Line 2 Initialization data

Reserved

 Destination IP Address Specifies the IP address of the destination node. Example: When the IP address of the destination node is 192.168.11.99 Channel No.

Initialization Data

192.168.11.99

257 258

$0B63 $C0A8

C0.A8 .0B.63

(Hexadecimal)

FB1412.VSD

 Remote Port Number Specifies the port number of the remote node. Port numbers 0 through 1024 cannot be specified.

 Protocol Type Specifies the communications protocol to be used. -

0 : UDP/IP 1 : TCP/IP

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-12

<PART-B F3LE01-5T, -0T>

 Transmission Mode Specifies the event transmission mode. - For direct designation, set to 0 -

For indirect designation, set to 1

 Response Monitoring Time Specifies the interval for monitoring a response after transmitting an event. The Module generates a transmission error (timeout) if it fails to receive a response within the time specified here after transmitting an event. Specify the response monitoring time in 10-ms units. (For example, to set the monitoring time to 10 seconds, set this value to 1000) 5 seconds is assumed if 0 is specified. Valid value range: 10ms to 10 min. 55 s 350 ms (0 to 65535)

 Line Initialization Request Issue a line initialization request by turning on the line initialization request relay. You must setup the initialization data before requesting for line initialization. If the Module accepts the request and line initialization terminates normally, the Initialization Completed relay turns on. If the line initialization processing terminates with error, the Line Initialization Error relay turns on and the exit code is stored in the Line Initialization Exit Code area. Table B1.4 lists the Line Initialization Request relays, Line Initialization Completed relays and Line Initialization Error relays. Table B1.4 Line Initialization Request/Completion/Error Relays Relay number Y033 Y035 X001 X002 X003 X004

Description Line 1 initialization request relay Line 2 initialization request relay Line 1 initialization completed relay Line 1 initialization error relay Line 2 initialization completed relay Line 2 initialization error relay

: Slot number

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-13

<PART-B F3LE01-5T, -0T>

 Line Initialization Exit Codes An exit code is stored in the Line Initialization Exit Code area when the Line Initialization Completed relay or Line Initialization Error relay turns on.

 Line Initialization Exit Code Areas Table B1.5 lists the Line Initialization Exit Code areas Table B1.5 Line Initialization Exit Code Areas Channel No. 25 26

Description Line 1 initialization exit code Line 2 initialization exit code

 Line Initialization Exit Codes Table B1.6 lists the line initialization exit codes values. When the Line Initialization Completed relay turns on, the Exit Code is $0000. When the Line Initialization Error relay turns on, the Exit Code is non-zero. Table B1.6 Line Initialization Exit Codes Exit Code $0000

Description Normal exit

$0001

Invalid IP address

$0002

Invalid port number

$0003

Invalid protocol

$0004

Connection failure

$0005

Binding failure

$0006

Invalid transmission mode

Possible Causes – $0 or $FFFFFFFF was specified as the destination IP address. A number from 0 to 1024 was specified as the remote port number. Specified protocol was neither TCP/IP nor UDP/IP (a value other than 0 or 1). Unable to establish connection with TCP/IP protocol specified. Unable to bind the socket. Specified mode is neither Direct, nor Indirect (a value other than 0 or 1).

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.4.2

B1-14

Line Termination To change the destination or transmission mode for events on a line, you must first terminate the line. You must also terminate a line when a line initialization error occurs. After line termination completes, perform line initialization again. Line termination process Turn off Initialization Request relay Initialization Completed relay and Initialization Error relay turn off

Re-initialize line Sequence program operations Module operations FB1421.VSD

 Line Termination Request To issue a line termination request, turn off the Line Initialization Request relay. If the module accepts the request, the Line Initialization Completed relay and the Line Initialization Error relay turn off when line termination is completed. Before performing line re-initialization, ensure that the Line Initialization Completed relay and Line Initialization Error relay are off.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1.4.3

B1-15

Transmission To transmit an event, set up the data to be transmitted and turn on the event Transmission Request relay after line initialization. The Transmission completed relay turns on when a response to the transmitted data is received normally. The Transmission Error relay turns on when a response is not received or if the event data is invalid. Figure B1.10 shows a transmission flowchart. Transmission process

Setup transmission data

Turn on Transmission Request relay

Is transmission data valid?

NO

YES Transmit event

Receive response

Is response correct?

NO

YES Turn on Transmission Completed relay

Turn on Transmission Error relay

Turn off Transmission Request relay

Transmission Completed relay and Transmission Error relay turn off

Sequence program operations Module operations FB1431.VSD

Figure B1.10 Transmission Process Flowchart

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1-16

 Setting Transmission Data To transmit an event, set up event data in the transmission data area. Use a WRITE instruction in a sequence program to perform setup. Table B1.7 Transmission Data Setting Area Channel No. Line 1 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304

Line 2 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320

Setting Direct Designation Exit code* Response data* Size of send data

Indirect Designation Exit code* CPU number Device type First device number Device count

Send data Reserved

*The module sets the exit code and response data after an event is transmitted.

 Setting Data Using Direct Designation In direct designation, the Module transmits as an event the number of bytes specified in Send Data Size, starting from the beginning of the Send Data area.

 Send Data Size Specifies the size (in bytes) of the data to be transmitted as an event.

 Send Data Specifies the data to be transmitted as an event, starting at the beginning of the Send Data area. When sending an odd number of data bytes, store the last byte in the high-order byte position. If the last data byte of an odd number of bytes to be transmitted is $31, set the value in the Send Data area as $3100 High order byte

FB1432.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-17

<PART-B F3LE01-5T, -0T>

 Setting Data Using Indirect Designation In indirect designation, the Module transmits as an event the specified number of words, beginning with the CPU module device specified in the Send Data area.

 CPU Number Specifies the slot number (1 to 4) of the CPU for reading data. -

1: sequence CPU module in slot 1 2: sequence CPU module in slot 2 3: sequence CPU module in slot 3 4: sequence CPU module in slot 4

 Device Type Specifies the device type of the first device containing the event data. Use one of the device types listed in Table B1.8. Table B1.8 Device Type Setting Value

Device Type Input relay Output relay Internal relay Shared relay Special relay Timer relay Counter relay

X Y I E M T C

$0018 $0019 $0009 $0005 $000D $0014 $0003

Link relay

L

$000C

Setting Value

Device Type Data register File register Shared register Index register Special register Link register Current timer value Current timer value (count-down type) Current counter value Current counter value (count-up type)

D B R V Z W

$0004 $0002 $0012 $0016 $001A $0017 $0021 $0025 $0031 $0035

 First Device Number Specify the device number of the first device containing the event data. Example: Device number 2500 Channel Number

Setting Value

292

308

$09C4

293

309

$0000

2500 (Hexadecimal)

0000 09C4 FB1433.VSD

 Device Count Specify the size (in words) of the event data. The valid value range is from 0 to 64.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B1-18

 Transmission Request To transmit an event, turn on the Transmission Request relay. You must setup the transmission data before issuing a transmission request. Furthermore, before turning on the relay, ensure that the Transmission Completed relay and the Transmission Error relay are off. The module accepts the request and transmits the event; when it receives a response, it turns on the Transmission Completed relay. It turns on the Transmission Error relay instead if the event could not be transmitted or a proper response was not received, and stores an exit code in the exit code area in the transmission data setup area. Table B1.9 lists the Transmission Request relays, Transmission Completed relays and Transmission Error relays. Table B1.9 Transmission Request, Transmission Completed and Transmission Error Relays Relay number Y034 Y036 X009 X010 X011 X012

Description Line 1 transmission request relay Line 2 transmission request relay Line 1 transmission completed relay Line 1 transmission error relay Line 2 transmission completed relay Line 2 transmission error relay

: Slot number

 Receiving a Response The Ethernet Interface Module turns on the Transmission Completed relay when it receives a response to a transmitted event. It turns on the Transmission Error relay instead if it fails to receive a valid response. Turning off the Transmission Request relay automatically turns off the Transmission Completed relay and Transmission Error relay.

 Response in the Direct Designation Mode The Ethernet Interface Module receives 2-byte data as a response to an event transmitted in direct designation mode. The received data is stored as a response in the response data area of the transmission data setup area. You can read the data with the ladder program READ instruction. A transmission error is generated if the response data is not 2-byte long.

 Response in the Indirect Designation Mode Response data to an event that is transmitted in the Indirect Designation mode is automatically stored into the devices specified in the response. You do not need to read the data from the module using a ladder program. A transmission error is generated if the subheader field or data field of the response is invalid. The subheader field is required even if there is no response data.

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-19

<PART-B F3LE01-5T, -0T>

 Event Transmission Exit Codes An exit code is placed in the exit code area of the send data setup area when the Transmission Completed relay or Transmission Error relay is turned on.

 Transmission Exit Code Areas Table B1.10 lists the areas for storing the transmission exit codes. Table B1.10 Transmission Exit Code Areas Channel Number 289 305

Description Line 1 transmission exit code Line 2 transmission exit code

 Transmission Exit Codes Table B1.11 lists the transmission exit codes. The Transmission Completed relay is turned on when the exit code is $0000. In all other cases, the Transmission Error relay is turned on. Table B1.11 Transmission Exit Codes Exit Code $0000 $0001 $0002 $0003 $0004 $0005

Description Normal exit Incomplete initialization Invalid send data TCP connection closed UDP transmission failure UDP reception failure

$0006

Response timeout

$0007

Invalid receive data

$5100

CPU timeout

$52

CPU processing error

Explanation – Line initialization processing did not terminate normally. Send data setup is invalid. TCP connection is closed. Failed to transmit in UDP. Failed to receive in UDP. Failed to receive a response within the specified monitoring time. Invalid response data was received. No end of processing status was received from the specified CPU in Indirect Designation mode. The specified CPU in Indirect Designation mode generated one of the following errors during processing. : $1: Self-diagnostics error $2: Program error $4: Inter-CPU communication error $8: Device access error $9: Command error $A: Parameter error $B: Operating mode error $C: Parameter error $F: Internal system error

: Variable

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-20

<PART-B F3LE01-5T, -0T>

B1.5

Sample Programs Events are transmitted by setting parameters and I/O relays. You must perform line initialization before transmitting an event. After initialization, you transmit an event and receive a response. Two sample programs for event transmission are given below, one for each transmission mode: Direct and Indirect.

B1.5.1

Sample Program for Direct Designation Mode Assume that an event is to be transmitted with the following specifications. Item Destination IP address Remote port number Protocol type Transmission mode Response monitoring time Send data size Send data

Description 192.168.0.100 3456 TCP/IP Direct designation 5 seconds 18 “This is test data.”

Set the line initialization trigger to /I0001, event transmission trigger to /I0002, and module slot number to 5. Use Line 1. After an event transmission, the Module turns on the Transmission Completed relay if a valid response is received. It also stores the response data in the response data area of the transmission data setup area. Table B1. 12 Setting Channel Number 257 258 259 260 261 262 291 292 293 294 295 296 297 298 299 300

Setting Value $0064 $C0A8 3456 1 0 500 18 “Th” “is” “i” “s” “te” “st” “ d” “at” “a.”

Description Destination IP address Remote port number Protocol type Transmission mode Response monitoring time Send data size

Send data

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

-

B1-21

Sample Program Event transmission in Direct Desingaton Mode Line initialization Destination IP address Remote port no. Protocol type Transmission mode Response monitoring time

Initialization request Transmission Transmission data size Event data

Transmission request Receiving

Response data

FB1511.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-22

<PART-B F3LE01-5T, -0T>

Line initialization error Line initialization exit code Handle error according to value of initializationexit code

Transmission error Exit code Handle error according to value of transmission exit code

End processing Initialization request FB1512.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B1-23

<PART-B F3LE01-5T, -0T>

B1.5.2

Sample Program for Indirect Designation Mode Assume that an event is transmitted with the following specifications. Item Destination IP address Remote port number Protocol type Transmission mode Response monitoring time CPU number for send data First device for send data Device count for send data

Description 192.168.10.200 7856 UDP/IP Indirect specification 5 seconds 1 D02001 64

Set the line initialization trigger to /I0001, event transmission trigger to /I0002 and module slot number to 5. Use Line 2. After event transmission, the Module turns on the Transmission Completed relay if a valid response is received. It also stores response data in the devices specified in the response data. Table B1.13 Setting Channel No. 257 258 259 260 261 262 290 291 292 293 294

Setting $0AC8 $C0A8 7856 0 1 500 1 $0004 $07D1 0 64

Description Destination IP address Destination port number Protocol type Transmission mode Response monitoring time CPU number Device type for send data Device number for send data Number of devices for send data

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

-

B1-24

Sample Program Event Transmission in Indirect Designation Mode Line initialization Desintaion IP address Remote port no Protocol type Transmission mode Response monitoring time

Initialization request Transmission

CPU no. Device type Device no. Device count

290

Transmission request Receiving

Response data Line initialization error Line initialization exit code Handle error according to value of initialization exit code Handle error according to value of transmission exit code

End processing Initialization request FB1522.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B2-1

B2. Routing B2.1

Overview To perform IP routing (routing control), setup routing data. This process is required when communicating with another network through a gateway or router. You can also define subnet masks as required.

Ethernet Router

Router

Ethernet

FB2101.VSD

Consult your network administrator on routing settings.

B2.2

Specifications

B2.2.1

Functional Specifications Table B2.1 Routing Functional Specifications Item Default gateway Subnet mask Maximum number of entries

Specifications User-definable User-definable 8 (excluding the default gateway)

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B2.3

B2-2

Setup Procedure The following chart illustrates the routing setup procedure. Routing setup

Setup data

Turn on registration request relay

NO

Is setup data valid? YES Registration Completed relay turns on

Registration Error relay turns on

Sequence program operations Module operations FB2301.VSD

Figure B2.1 Procedure for Routing Setup

IM 34M06H24-01E

3rd Edition: May 2009-00

B2-3

<PART-B F3LE01-5T, -0T>

B2.3.1

Setting Routing Data Routing requires setting up of routing data. Table B2.2 shows the routing data setup area. Table B2.2 Routing Data Setup Area Channel No.

Setting

65 66 67

Subnet mask

68

Default gateway IP address

69

Hop count

70

Control information

Reserved

71 72 (1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

73 74 75 76

79 80 81 82

85 86 87 88

91 92 93 94

97 98 99 100

103 104 105 106

109 110 111 112

115 116 117 118

77 78

83 84

89 90

95 96

101 102

107 108

113 114

119 120

Number of table information entries ←Table number n Host flag n Destination IP address n Gateway IP address n

Table information

Count n

 Control Information Control information consists of the subnet mask, default gateway IP address and number of table entries.

 Subnet Mask Specify an IP address with network address and subnet address set to all 1s and host address set to all 0s. An error is reported in the following cases. -

The subnet mask is specified for a class D network. The host address part is shorter than 2 bits.

If no subnet mask is to be used, set the value to 0. Example: Subnet mask 255.255.255.0. Channel No.

Setup data

65

$FF00

66

$FFFF

255.255.255.0 (Hexadecimal)

FF.FF . FF.00 FB2311.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B2-4

<PART-B F3LE01-5T, -0T>

 Default Gateway IP Address Specify the IP address of the default gateway. If a data destination has a network address different from that of the local node, the data is transmitted to this IP address. An error is reported in the following cases. - A network address different from that of the local address is specified. Specify “0” if no default gateway IP address is to be used. Example: Default gateway IP address 192.168.0.254. Channel No.

Setup data

65

$00FE

66

$C0A8

192.168.0.254 (Hexadecimal)

C0.A8 . 00.FE FB2312.VSD

 Hop count Specify the location of the destination. Specify “0” if the destination is located on the same network (direct connection). Specify a non-zero value if transmission to the destination requires going through a gateway.

 Number of Table Entries Specify the number of table entries excluding the default gateway IP address. The maximum number of table entries allowed is 8. Add many entries as specified to the table.

 Table Entry Specify a network or host IP address and its gateway IP address to use a route other than the default gateway IP address. The number of table entries specified must correspond to the Number of Table Entries parameter in the control information area. Store information in the correct order starting from the beginning of the routing table area.

 Host Flag Specify whether the destination IP address is a network address or host address. Network address Host address

:0 : non-zero

 Destination IP Address Specify the IP address (network or host address) of the destination. An error is reported in the following case. - $00000000 or $FFFFFFFF is specified. Example: Destination IP address 192.168.1.1. Channel No.

Setup data

74

$0101

75

$C0A8

192.168.1.1 (Hexadecimal)

C0.A8 . 01.01 FB2313.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B2-5

 Gateway IP Address Specify the IP address of the destination host. Any frame addressed to the host designated by the destination IP address is routed to the IP address specified in this field. An error is reported in the following case. - A network address different from that of the local address is specified. Example: The gateway IP address is 192.168.0.253. Channel no.

Setup data

76

$00FD

77

$C0A8

192.168.0.253 (Hexadecimal)

C0.A8 . 00.FD FB2314.VSD

 Hop count Specify the hop count to the destination. Specify 0 is the destination host is located on the same network (direct connection) and a non-zero value if transmission to the destination requires going through a gateway.

B2.3.2

Routing Data Registration Routing data can be registered to the routing table by turning on the Routing Registration Request relay. You must set up the routing table data before issuing a request to register the routing data. The Routing Registration Completed relay is turned on if the routing table registration is successful. A Routing Registration Error relay is turned on if the routing table registration fails. An exit code is placed in the routing table setup exit code area.

 Routing Registration Relays Table B2.3 lists the Routing Registration Request relay, Routing Registration Completed relay and Routing Registration Error relay. Table B2.3 Routing Registration Request, Routing Registration Completed and Routing Registration Error Relays Relay Number Y064 X0 31 X0 32

Description Routing registration request relay Routing registration completed relay Routing registration error relay

 : Slot number

IM 34M06H24-01E

3rd Edition: May 2009-00

B2-6

<PART-B F3LE01-5T, -0T>

 Routing Table Setup Exit Codes An exit code is stored in the Routing Table Setup Exit Code area when the Routing Registration Completed relay or Routing Registration Error relay is turned on.

 Routing Table Setup Exit Code Area Table B2.4 shows the Routing Table Setup Exit Code area. Table B2.4 Routing Table Setup Exit Code Area Channel No. 17

Description Routing table setup exit code

 Routing Registration Exit Codes Table B2.5 lists the routing table setup exit codes. The Routing Registration Completed relay is turned on if the exit code is $0000. In other cases, the Routing Registration Error relay is turned on. Table B2.5 Routing Registration Exit Codes Exit code

Meaning

$0000

Normal exit

$0100

Invalid address class

$0200

Invalid subnet mask Invalid default gateway IP address Invalid information table entry count Invalid destination IP address Invalid gateway address

$0300 $0400 $05xx $06xx

Explanation – An attempt was made to add a routing table entry for a class D address. An invalid subnet mask is specified. The address class of the default gateway IP address is invalid. The number of table entries is out of range. The destination IP address in the xxth table entry is invalid. The gateway address in the xxth table entry is invalid.

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B2.3.3

B2-7

Changing Routing Data Follow the procedure shown below to change routing data or to set routing data again after a setting error was reported. Changing routing data Turn off Routing Registration Request relay Registration Completed relay and Registration Error relay turn off Sequence program operations Routing Setup

Module operations FB2331.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

B2-8

<PART-B F3LE01-5T, -0T>

B2.4

Sample Program This section describes a sample program which setup routing by setting parameters and I/O relays. Set up the following routing data. Item Subnet mask Default gateway IP address Hop Count Table information entry Host flag 1 Destination IP address Gateway IP address 1 Hop Count 1

Description 255.255.255.0 192.168.1.254 1 1 0 192.168.2.0 192.168.1.253 1

10.0.90.0/24 Default gateway

192.168.1.0/24

192.168.1.254 192.168.1.253 Gateway 1

192.168.1.100 192.168.2.0/24

FB2401.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

B2-9

Set the routing registration trigger to /I0001 and the module slot to 5. The Registration Completed relay is turned on following successful routing registration. Table B2.6 Setting Values Channel No. 65 66 67 68 69 70 71 72 73 74 75 76 77 78

Setting $FF00 $FFFF $01FE $C0A8 1 0 0 1 0 $0200 $C0A8 $01FD $C0A8 1

Item Subnet mask Default gateway IP address Count Reserved Number of table information entries Host flag 1 Destination IP address 1 Gateway IP Address 1 Count 1

Table information 1

IM 34M06H24-01E

3rd Edition: May 2009-00

<PART-B F3LE01-5T, -0T>

-

B2-10

Sample Program Routing

Setting Parameters

Registration

Reads status on error

FB2402.VSD

IM 34M06H24-01E

3rd Edition: May 2009-00

Index B-1

FA-M3 Ethernet Interface Module PART-B F3LE01-5T, -0T IM 34M06H24-01E 3rd Edition

INDEX C connection ..................................B1-4, B1-13, B1-19 control information ............................................. B2-3 hop count ................................................. B2-4, B2-5

D default gateway IP address ............B2-3, B2-4, B2-6 destination IP address ................ B1-11, B2-3, B2-4, B2-5, B2-6 direct designation ..........................B1-2, B1-3, B1-6, B1-7, B1-16

E event data ........................ B1-6, B1-15, B1-16,B1-17

G gateway IP address ........................................... B2-5

H host address ............................................ B2-3, B2-4 host flag ................................................... B2-3, B2-4

I indirect designation... B1-2, B1-3, B1-6, B1-7, B1-17

L line initialization................................................ B1-10 line initialization request .................................. B1-12

N network address ................................................ B2-3

P protocol type ...........................................B1-4, B1-11

R response data .............................B1-7, B1-16, B1-18 response monitoring time ................................ B1-12 routing data, changing ....................................... B2-7 routing d registration ................................ B2-5, B2-6

S subnet mask ........................................... B2-1, B2-3

T table information ...................................... B2-3, B2-4

IM 34M06H24-01E

3rd Edition: May 2009-00

Blank Page

FA-M3 Ethernet Interface Module PART-C F3LE11-0T IM 34M06H24-03E 2nd Edition

IM 34M06H24-03E

2nd Edition: May 2009-00

Blank Page

C1-1

<PART-C F3LE11-0T>

C1. E-mail Service C1.1

Overview Using the e-mail system, data can be transmitted to nodes such as personal computers connected to a network. There are two ways to transmit data by e-mail. -

Using a sequence program Using automatic monitoring

You can also send e-mails to or receive e-mails from the FA-M3 programming tool WideField2.

 E-mail Transmission Using Sequence Program In e-mail transmission using sequence program, data is sent in the body of an e-mail to a piece of remote equipment such as a personal computer. To transmit data, write the data to be transmitted directly to the Ethernet Interface Module, or specify the data to be transmitted, and then turn on the Transmission Request relay. The data will be transmitted to the specified mail address. Sequence CPU

F3LE11-0T

Transmission request

E-mail E-mail preparation

FC1101.VSD

 E-mail Transmission Using Automatic CPU Monitoring To transmit email by automatic CPU monitoring, first setup the conditions for e-mail transmission in the Ethernet Interface Module. The Ethernet Interface Module will then monitor the sequence CPU status regularly and when the conditions are true, it transmits an email to the specified e-mail address. Sequence CPU

F3LE11-0T Monitors status If conditions matches E-mail Creates Email

FC1102.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-2

 Communications with WideField2 Using E-mails The Ethernet Interface Module allows e-mail communications (SMTP/POP3) with the FA-M3 programming tool WideField2. The module returns response e-mails automatically to request mails received from WideField2 to perform various operations, such as reading from or writing to sequence devices, uploading or downloading programs, and performing sampling trace. WideField2 Request mail

Mail server Ethernet

Mail server Response mail

FC1103.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-3

<PART-C F3LE11-0T>

C1.2

Specifications Table C1.1 shows the functional specifications of the e-mail service. Table C1.1

Functional Specifications of E-mail Service

Item

Transmission by sequence program

Maximum data size

2048 bytes

Data transmission mode

E-mail body

Mail header

Date

Settable

Reply-To

Not settable

Subject

Settable

To

Settable

Message-ID Cc Bcc References In-Reply-To

Not to be added (added by SMTP server) Not settable Settable Not settable Not settable Not allowed

Subject

MIME encode (Base64)

Body text MIME ContentType

JIS7bit Version 1.0 text/plain;charset=”iso-2022-jp”

Encode

6M bytes

'Subject’ field in the received mail 'Reply-To' or 'From’ field in the received mail'

MIME decode (Base64) JIS7bit Version 1.0 text/plain;charset=”iso2022-jp”

Subject Body text MIME ContentType

Encryption Data compression Communications with mail server

Communications with WideField2

Not to be added (added by SMTP server)

From

Attachment

Decode

Specification Transmission by automatic monitoring

No No SMTP

SMTP/POP3

CAUTION The e-mail service supports SMTP/POP3. POP3 authentication is by the PASS command. Suspicious e-mail are discarded when received. If the ‘To’ field setting is invalid, the e-mail is not transmitted.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-4

<PART-C F3LE11-0T>

C1.3

Setup Perform the required setup described in Section C2.3 “E-mail Setup” or Section C3.2 “E-mail Setup.”

C1.4

E-mail Transmission Using Sequence Program

C1.4.1

Format of Mail Body You can select one of the following formats for the e-mail body when transmitting using a sequence program.

 Transmission without Conversion Data set up in the send area is transmitted as is. Data must be stored as text data as they are transmitted without ASCII data conversion. (Shift-JIS to JIS code conversion for Japanese text data is however supported.) The maximum data size that can be transmitted is 2048 bytes. Sequence CPU

Write data

(1)

F3LE11-0T

Up to 2048 bytes of text data

(2) Mail header

Body text No conversion

(3) Transmission

FC1411.VSD

(1) A sequence program is used to write the data to be transmitted to the send area. Up to 2048 bytes of data can be transmitted. The data must be in ASCII code as it is transmitted in an e-mail without code conversion. (2) In response to a transmission request, the Ethernet Interface Module creates an e-mail with the written data as the mail body. Shift-JIS to JIS code conversion is automatically performed for Japanese text. (3) The module transmits the mail i to the designated SMTP server.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-5

<PART-C F3LE11-0T>

 Convert to CSV Format Before Transmission Data set up in the send area is converted to hexadecimal strings in word units and transmitted in CSV format as the body of an e-mail. Up to 1024 words of data can be transmitted. Sequence CPU

Write data

F3LE11-0T (1)

Up to 1024 words of data

(2) Mail header

Body text CSV conversion

(3) Transmission

FC1412.VSD

(1) A sequence program is used to write the data to be transmitted to the send data area. Up to 1024 words of data can be transmitted. (2) In response to a transmission request, the Ethernet Interface Module converts the data from binary to CSV format and creates an e-mail with the converted data as the mail body. (3) The module transmits the mail to the designated SMTP server.

 Convert Specified Device Data to CSV Format Before Transmission Data of a specified sequence device is converted to hexadecimal in word units and transmitted in CSV format as body of an e-mail. Up to 1024 words of data can be transmitted. Only register devices can be specified. Sequence CPU Specifies device

(1) Device information (2)

Sequence device

F3LE11-0T

Read

Up to (3) 1024 words of device data CSV

Mail header

(4)

Body text

Transmission

conversion FC1413.VSD

(1) Using the sequence program, specify the starting device into which the data is to be placed and its size. Up to 1024-word data can be specified. (2) Responding to a transmission request, the specified data is written into the module. (3) The data then is converted from binary to CSV and e-mail is created with the data as the body. (4) The mail is transmitted to the designated SMTP server.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-6

<PART-C F3LE11-0T>

TIP -

About CSV data format CSV (Comma Separated Value) format can be used for cell-based data management as in spreadsheet software. The Ethernet Interface Module handles CSV formatted data with the following representation. - Each word (16 bits) of binary data is converted to a 4-digit hexadecimal string. - Commas (,) are inserted as delimiters between words in multi-word data. - One pair of

C

R

($0D) and L F ($0A) characters is inserted after every 8-word data block.

An example of CSV conversion:

10 45 000A,002D,0BBA,FFFF,FF00,04D2,162E,3A98[CR LF] 3002 5DC0,0023[CR LF] -1 CSV -256 conver-sion 1234 5678 15000 24000 35 FC1414.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1.4.2

C1-7

Transmission Procedure E-mail transmission using a sequence program proceeds as follows. Sending E-mail using a sequence program Set transmission parameters

Set transmission data

Turn on Transmission Request relay

Transmission Request ACK relay turns on

Transmission Completed relay turns on

Check completion status

Turn off Transmission Request relay Transmission Request ACK and Completed relays turn off

Sequence program operation Module operation FC1421.VSD

Figure C1.1 E-mail Transmission Procedure

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-8

<PART-C F3LE11-0T>

 Setting Transmission Parameters Setup transmission parameters in the transmission parameter setup area. Use WRITE instructions in a sequence program to write parameters to the setting area in the module. Table C1.2 shows the transmission setup area. Table C1.2 Transmission Parameter Setup Area Channel No. 385 to 512 513 to 576 577

Description Destination mail addresses Subject Transmission mode

 Destination Mail Addresses Specify the destination mail addresses using a maximum of 256 alphanumeric characters. Multiple e-mail addresses can be specified with commas (,) as delimiters. The Module takes as destination address(es) characters starting from the beginning of the storage area (high-order byte) until the string end character (the first null byte), or the first 256 characters.

 Subject Specify an ASCII character string (up to 128 bytes) for the e-mail “Subject” field. Use ASCII characters since no conversion is performed. The Module sets the “Subject” field to characters starting from the beginning of the area (high-order byte) until the string end character (the first null byte), or the first 128 bytes.

 Transmission Modes Specify the format of the body text. Table C1.3 Transmission Data Formats Value 0 1 2

Format Transmission without data conversion Convert to CSV format before transmission Convert specified data CSV format before transmission

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-9

<PART-C F3LE11-0T>

 Setting Transmission Data This section describes how to set up transmission data. The actual procedure depends on the transmission format of the body text.

 Transmission without Data Conversion Specify transmission data and its size using WRITE instructions in a sequence program. Table C1.4 Transmission Data Setting 1 (Transmission without Conversion) Channel No, 579 961 1025 to 2048

Description Transmission data size (in byte) Always 1 (bank register) Transmission data

Set data of the specified size at the beginning (high-order byte) of the area. Use ASCII characters since no conversion is performed. (Conversion from Shift-JIS to JIS is performed for Japanese text.)

 Convert to CSV Format before Transmission Specify transmission data and its size using WRITE instructions from a sequence program. Table C1.5 Transmission Data Setting 2 (Convert to CSV Format before Transmission) Channel No. 579 961 1025 to 2048

Description Transmission data size (in word) Fixed to 1 (bank register) Transmission data

Set data of the specified size at the beginning (high-order byte) of the area. Data is transmitted as ASCII character strings after CSV conversion.

TIP - Bank Register Channel numbers 1025 to 2048 require bank switching using the bank register. To switch banks, set the bank register (channel 961) to 1. You must set the bank register before accessing channel numbers 1025 to 2048.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-10

<PART-C F3LE11-0T>

 Convert Specified Data to CSV Format before Transmission Specify the transmission data size and the starting device where the transmission data is stored using WRITE instructions from a sequence program. Table C1.6 Transmission Data 3 (Convert Specified Device Data to CSV Format before Transmission) Channel No. 579 580

Description Transmission data size (in word) Reserved

581

CPU number

582

Device attributes

583 584

Device number

Data of the specified size stored at the specified starting device is transmitted as ASCII character strings after CSV conversion. Only register devices can be specified. Table C1.7 lists the valid device attribute values. Table C1.7 Device Attributes Device Attributes

Device Type Data register File register Shared register Index register Special register Link register Timer preset value Timer current value Timer current value (count-up type) Counter preset value Counter current value Counter current value (count-down type)

D B R V Z W

$0004 $0002 $0012 $0016 $001A $0017 $0020 $0021 $0025 $0030 $0031 $0035

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-11

 Transmission Request Relay and Transmission Completed Relays A user issues an e-mail transmission request by turning on the Transmission Request relay. When the Ethernet Interface Module accepts a transmission request, it turns on the Transmission Request ACK relay. When transmission is completed, the module turns on the Transmission Completed relay. Table C1.8 lists the Transmission Request relay, Transmission Request ACK relay and Transmission Completed relay. Table C1.8 Transmission Request Relay and Transmission Completed Relay Relay No. Y049 X017

Description Transmission request relay Transmission request ACK relay

X018

Transmission completed relay

: Slot number

 Transmission Request Relay Turning on this relay transmits an e-mail according to the specified parameters. Always check that the Transmission Request ACK relay and Transmission Completed relay are off before turning on the Transmission Request relay.

 Transmission Request ACK Relay When you turn on the Transmission Request relay, the Transmission Request ACK relay also turns on, indicating that the Ethernet Interface Module has accepted the transmission request and is waiting for a response from the SMTP server.

 Transmission Completed Relay This relay turns on when e-mail transmission is completed. It also turns on when an error occurred.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-12

<PART-C F3LE11-0T>

 Transmission Completion Status When the Transmission Completed relay turns on, the completion status (normal or error exit) is stored in the Transmission Completion Status register. Table C1.9 shows the transmission completion status area. Table C1.9 Transmission Completion Status Area Channel No. 578

Description Transmission completion status

 Transmission Completion Status Table C1.10 lists the possible values for the transmission completion status. Table C1.10 Transmission Completion Status Completion Status $0000 $0001 $0002 $0003 $0004 $0005 $0006 $0007 $0008 $0009 $5100

$52

Description Normal exit Transmission failed Invalid destination mail address Invalid Subject Invalid transmission mode Invalid data size Invalid transmission data CPU number error Invalid device attribute Invalid device number CPU timeout error

CPU processing error

Possible Causes – Transmission failed for some reason. The destination mail address is invalid. The specified Subject is invalid. The specified transmission mode is invalid. The specified transmission data size is invalid. The transmission data is invalid. The specified CPU number is invalid. The specified device attribute is invalid. The specified device number is invalid. No processing completed response was received from the specified CPU. The specified CPU cannot process the request. : $1: Self-diagnostics error $2: Program error $4: Inter-CPU communication error $8: Device access error $9: Command error $A: Parameter error $B: Operation mode error $C: Parameter error $F: Internal system error

“”: Variable

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-13

<PART-C F3LE11-0T>

C1.4.3

Sample Programs This section describes sample programs, which set parameters and then perform transmission using I/O relays. The programs set the parameters (destination, subject and transmission mode) and email body text (using a WRITE instruction) and turn on the Transmission Request relay to transmit the e-mail. The Transmission Request ACK relay turns on when the transmission request is accepted. The relay can be used to perform interlocking. Furthermore, once a transmission request is issued, transmission cannot be aborted. When the Transmission Completed relay turns on, it indicates that transmission has completed. The program reads the status stored in the Completion Status area with a READ instruction. A sample program is shown below for each of the transmission modes. The transmission trigger is set to /I0001 and the module slot number to 5.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-14

 Transmission without Data Conversion An e-mail is transmitted with the following parameters. Item Destination mail address Subject Body text

Value [email protected] TEST This is test mail. Code = 0000

Table C1.11 Preset Values Channel No.

Preset Value

385 386 387 388 389 390 391 392 to 512 513 514 515 to 576

$6131(“a1”) $3240(“2@“) $6233(“b3”) $342E(“4.”) $6335(“c5”) $2E64(“.d”) $3600(“6”)

577

0

579 961 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041

33 1 $5468(“Th”) $6973(“is”) $2069(“ i”) $7320(“s “) $7465(“te”) $7374(“st”) $206D(“ m”) $6169(“ai”) $6C2E(“l.”) $0D0A(C R L F ) $436F(“Co”) $6465(“de”) $203D(“ =”) $2030(“ 0”) $3030(“00”) $300D(“0” C R ) $0A00(L F )

Description

Destination mail address

0 $5445(“TE”) $5354(“ST”) Subject 0 Mail body text transmission mode Transmission data size Bank number

Mail body text

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-15

<PART-C F3LE11-0T>

Transmission without Data Conversion Set parameters Destination mail address

Subject

Body text transmission mode Size Destination mail address Subject Transmission mode Size Set body text Body text

FC1431.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-16

<PART-C F3LE11-0T>

Bank number

Body text

Transmit E-mail Transmission request

Check Transmission Status

Completion status

Error Handling

Perform appropriate processing depending on the value of the completion status

End Processing

End transmission FC1432.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-17

 Convert to CSV Format before Transmission An E-mail is transmitted with the following parameters. Item Destination address Subject Body text

Value [email protected] TEST 64 words of data starting from /D1001 and 128 words of data starting from /D2049 Each word is converted to a hexadecimal character string before transmission.

Table C1.12 Preset Values Channel No. 385 386 387 388 389 390 391 to 512 513 514 515 to 576 577 579 961 1025 to 1088 1089 to 1216

Preset Value $7878(“xx”) $7840(“x@“) $7979(“yy”) $792E(“y.”) $7A7A(“zz”) $7A00(“z”)

Description

Destination mail address

0 $5445(“TE”) $5354(“ST”) 0 1 192 1 /D1001 to /D1064 /D2049 to /D2176

Subject

Body text transmission mode Transmission data size Bank number

Body text

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-18

<PART-C F3LE11-0T>

Convert to CSV Format before Transmission Set parameters Destination mail address

Subject

Body text transmission mode Size Destination mail address Subject

Transmission mode

Size

Set body text

Bank number Body text

Transmit E-mail Transmission request

Check Transmission Status

Completion status FC1433.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-19

Error Handling

Perform appropriate processing depending on the value of the completion status

End Processing End transmission FC1434.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-20

 Convert Specified Device Data to CSV Format before Transmission An e-mail is transmitted with the following parameters. Item Destination address Subject Body

Value [email protected],[email protected] TEST 1024 words of data starting from device D1024 of CPU1. Each word is converted to a hexadecimal character string before transmission.

Table C1.13 Preset Values Channel No. 385 386 387 388 389 390 391 392 393 394 395 396 397 398 to 512 513 514 515 to 576 577 579 580 581 582 583 584

Preset Value $6131(“a1”) $3240(“2@“) $6233(“b3”) $342E(“4.”) $6335(“c5”) $2E64(“.d”) $362C(“6,”) $7878(“xx”) $7840(“x@“) $7979(“yy”) $792E(“y.”) $7A7A(“zz”) $7A00(“z”)

Description

Destination mail address

0 $5445(“TE”) $5354(“ST”) Subject 0 2 1024 0 1 $0004 1024

Body text transmission mode Transmission data size Reserved CPU number Transmission data device attribute Transmission data device number

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-21

Convert Specified Data to CSV Format before Transmission Set Parameters

Destinaton Mail Address

Subject

Body text transmission mode Size

Reserved

CPU number

Device attribute Device number

FC1435.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-22

<PART-C F3LE11-0T>

Destination mail address Subject Transmission mode Size/ First device

Transmit E-mail Transmission Request

Check Transmission Status

Completion status

Error Handling

Perform appropriate processing depending on the value of the Completion Status

End Processing End Transmission FC1436.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-23

<PART-C F3LE11-0T>

C1.5

E-mail Transmission Using Automatic CPU Monitoring

C1.5.1

Transmission Criteria In e-mail transmission using automatic CPU monitoring, the following transmission trigger conditions are available for selection.

 Sequence CPU in Operation E-mail is transmitted when the sequence CPU enters Run status.

 Sequence CPU Stopped E-mail is transmitted when the sequence CPU enters STOP status.

 Minor Failure E-mail is transmitted when an alarm (ALARM LED turns on) is detected in the sequence CPU.

 Moderate Failure E-mail is transmitted when a non-fatal error (ERR LED turns on) is detected in the sequence CPU.

 Sequence CPU Timeout E-mail is transmitted when no response from the sequence CPU is received after a request for a response is sent five times with a 5-second interval.

TIP Automatic monitoring is only available for sequence CPUs. Other CPU modules cannot be automatically monitored.

E-mail Body Text Specifications Table C1.14 E-mail Body Text Specifications for Transmission by Automatic CPU Monitoring Item Header 1 or Header 2 Slot number CPU model Status CPU information

E-mail body text

C1.5.2

Error factor Alarm factor

Description Varies according to the setting Slot number of the sequence CPU module to be monitored Model number of sequence CPU module to be monitored RUN : Operation STOP : Stop ALARM : Alarm ERROR : Non-fatal Error CPU TIMEOUT : Timeout Error description Alarm description

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1.5.3

C1-24

Setup Procedure Set the following parameters. - Transmission condition -

Destination mail address Subject

-

Header 1 or Header 2 CPU monitoring time

See Section C2, “Performing Setup Using a WWW Browser” or Section C3, “Performing Setup Using a Sequence Program.”

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-25

<PART-C F3LE11-0T>

C1.5.4

E-mail Contents The following figure shows a sample e-mail transmitted by automatic CPU monitoring. Date: Tue,5 Dec 2000 08:12:48 +900(JST) From: [email protected] Subject:CPU STATUS To:[email protected] Header 1 a23456789 Header 2 b23456789 CPU Info 1 CPU Info 2

...

CPU information "n" represents the number of the CPU being monitored

CPU Info n FC1541.VSD

Figure C1.2 Sample E-mail Transmitted by Automatic CPU monitoring

 Header 1/Header 2 Two text strings can be set for the e-mail body text. Up to 64 bytes can be set for each text string.

 CPU Information n Sets the information of the CPU information being monitored. One record is displayed for each CPU. Slot no. F3SP58-xxxxx Status:STOP ALARM ERROR Error factor Alarm factor

CPU model Status RUN STOP ALARM ERROR TIME OUT FC1542.VSD

Figure C1.3 CPU Information n

 Slot Number The slot number takes the form of where “n” denotes the slot number of the CPU module.

 CPU Model Indicates the model of the CPU module.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-26

<PART-C F3LE11-0T>

 Status Displays the current status of the CPU module. RUN STOP ALARM ERROR TIME OUT

 Error Factor Displays the alarm factor when an alarm is detected in the CPU module. Up to 16 words of data can be read. Error Code = xxxx Error Code = yyyy Error Code = zzzz

...

00000000000000000000000000000000 0123456789ABCDEF0123456789ABCDEF 00000000000000000000000000000000

Error code Error information Displays 16 words of data. Each word is displayed as a 4-digit hexadecimal string. FC1543.VSD

Figure C1.4 Error Factor

Error Code Displays one word of data as a 4-digit hexadecimal string. For details, see “RAS Features” in “Sequence CPU User’s Manual - Functions (for F3SP28-3N/3S, F3SP38-6N/6S, F3SP53-4H/4S, F3SP58-6H/6S, F3SP59-7S)” (IM34M6P13-01E), under the paragraph ”Stored Error Codes” in “Self-diagnosis.” Error Information Displays 16 bytes of information as a 32-digit hexadecimal string. The actual information displayed depends on the error code. - Sequence program errors The first 2 bytes (4 digits) represent the block number where an error is generated. The next 4 bytes (8 digits) represent the instruction number where an error is generated. -

-

FA link module errors The first 2 bytes (4 digits) represent the FA link system number for the detected error. I/O errors The slot number where the error is generated is displayed as 8-words of bitmap. Other error types Error information has no meaning.

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-27

<PART-C F3LE11-0T>

 Alarm Factor Displays the alarm factor of a detected alarm. 16 words of information is displayed.

ALARM 0000,1111,2222.3333,4444,5555,6666,7777,8888 9999,AAAA,BBBB,CCCC,DDDD,EEEE,FFFF

Alarm factor 16 words of data is read. Each word is displayed as a 4-digit hexadecimal string in CSV format.

FC1544.VSD

Figure C1.5 Alarm Factor

Alarm factors are allocated to bits of 16 words of data. Each word of the data is displayed as a 4-digit hexadecimal string. Table C1.15 Bit-Mapping of Alarm Factors 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

15 31 47 63 79 95 111 127 143 159 175 191 207 223 239 255

14 30 46 62 78 94 110 126 142 158 174 190 206 222 238 254

16 29 45 61 77 93 109 125 141 157 173 189 205 221 237 253

12 28 44 60 76 92 108 124 140 156 172 188 204 220 236 252

11 27 43 59 75 91 107 123 139 155 171 187 203 219 235 251

10 26 42 58 74 90 106 122 138 154 170 186 202 218 234 250

9 25 41 57 73 89 105 121 137 153 169 185 201 217 233 249

8 24 40 56 72 88 104 120 136 152 168 184 200 216 232 248

7 23 39 55 71 87 103 119 135 151 167 183 199 215 231 247

6 22 38 54 70 86 102 118 134 150 166 182 198 214 230 246

5 21 37 53 69 85 101 117 133 149 165 181 197 213 229 245

4 20 36 52 68 84 100 116 132 148 164 180 196 212 228 244

3 19 35 51 67 83 99 115 131 147 163 179 195 211 227 243

2 18 34 50 66 82 98 114 130 146 162 178 194 210 226 242

IM 34M06H24-03E

1 17 33 49 65 81 97 113 129 145 161 177 193 209 225 241

0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-28

Table C1.16 Alarm Factors Bit Number 1 9 17 10 18 19 25 26 27 34 35 36 37 38 49 50 57 58 65 66 81 82 83 97 98 99 100 101 102 104 105 106 108 109 110 112 113 114 116 117 118 120 121 122 128 to 143 144 to 159 160 to 175 178 to 191 192 to 207 208 to 223 224 to 239 240 to 255

Factor Power error (momentary power failure) Scan time exceeded I/O mismatch Sensor control block scan time exceeded*1 I/O mismatch (READ/WRITE instruction) I/O mismatch (HRD/HWR instruction) Inter-CPU communications error Subunit transmission path error Subunit transmission path switching occurred Invalid data BIN/BCD conversion error Invalid FIFO table pointer Invalid device boundary FOR- NEXT mismatch Subroutine error (no return address) Subroutine error (too many levels of nesting) Macro instruction error (no return address) Macro instruction error (too many levels of nesting) Interrupt error (no return address) Interruption stack overflow FA link 1 station number error FA link 1 configuration information error FA link 1 duplicate device allocation FA link 2 station number error FA link 2 configuration information error FA link 2 duplicate device allocation FA link 3 station number error FA link 3 configuration information error FA link 3 duplicate device allocation FA link 4 station number error FA link 4 configuration information error FA link 4 duplicate device allocation FA link 5 station number error FA link 5 configuration information error FA link 5 duplicate device allocation FA link 6 station number error FA link 6 configuration information error FA link 6 duplicate device allocation FA link 7 station number error FA link 7 configuration information error FA link 7 duplicate device allocation FA link 8 station number error FA link 8 configuration information error FA link 8 duplicate device allocation Error detected in individual modules installed in slots 1 to 16 of main unit Error detected in individual modules installed in slots 1 to 16 of subunit 1 Error detected in individual modules installed in slots 1 to 16 of subunit 2 Error detected in individual modules installed in slots 1 to 16 of subunit 3 Error detected in individual modules installed in slots 1 to 16 of subunit 4 Error detected in individual modules installed in slots 1 to 16 of subunit 5 Error detected in individual modules installed in slots 1 to 16 of subunit 6 Error detected in individual modules installed in slots 1 to 16 of subunit 7

*1: Only for F3SP28, F3SP38, F3SP53, F3SP58, F3SP59, F3SP66 and F3SP67

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C1-29

C1.6

E-mail Communications with WideField2

C1.6.1

See Also For details on connection with WideField2, see the following manual. “FA-M3 Programming Tool WideField2 User’s Manual” (IM34M6Q15-01E)

C1.6.2

Blocking Incoming E-mail You can selectively block incoming e-mails using the following ways. - Using a sequence program -

Using a password

 Using a Sequence Program You can reject in-coming e-mails using a sequence program. To do so, turn on the Request to Reject Incoming Mails relay. If a command (request) email arrives while the relay is on, an error response mail will be returned. The Rejecting Incoming Mails relay remains on when incoming mails are blocked. Table C1.17 Relays for Rejecting Incoming Mails Relay Number Y051 X019

Description Request to Reject Incoming Mails Rejecting Incoming Mails

: Slot number

 Using a Password You can also selectively block incoming e-mails by setting a password in the Ethernet Interface Module. If the password is incorrect, an error response e-mail is returned. For details on how to set the password, see Section C2.3.2, “Setup for Connecting with WideField2.”

IM 34M06H24-03E

2nd Edition: May 2009-00

C1-30

<PART-C F3LE11-0T>

C1.6.3

Error Messages The table below lists error messages that may be stored in an error response e-mail. Error Message CPU number error Command error Device specification error xx Value outside the setting range xx Data count out of range xx Monitor error Parameter error xx Timeout error CPU processing error xxxx Internal error Program protected. Passwords are incorrect CPU rejected an E-mail Setting not available. Wait trigger now. Trace running now.

Description A CPU number other than 1, 2, 3 or 4 is specified. Invalid command Invalid device name. “xx” represents the parameter number (2-digit hexadecimal number) The specified value is out of range. “xx” represents the parameter number (2-digit hexadecimal number) The specified data count is out of range. “xx” represents the parameter number (2-digit hexadecimal) Monitor error Parameter error. “xx” represents the parameter number (2-digit hexadecimal) Timeout CPU processing error. ”xxxx” represents the M command error Internal system error Incorrect password (for program protection) Incorrect password (for e-mail) E-mail response is not allowed. No trace has been setup. Trace has not ended. Trace is in progress.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2-1

F3LE11-0T>

C2. Performing Setup Using a WWW Browser You can perform various setup by connecting to the Ethernet Interface Module using a WWW browser. - Network environment setup -

E-mail setup Automatic CPU monitoring setup

http

WWW Client

WWW Server FC2001.VSD

 Network Environment Setup Network environment setup includes setting values for subnet mask, default gateway and domain name system (DNS).

 E-mail Setup E-mail setup includes setting values for e-mail address and mail server.

 Automatic CPU monitoring Setup Automatic CPU monitoring setup includes setting values for monitoring criteria and destination e-mail address. Compatible WWW Browsers The following browsers have been tested to work with the Ethernet Interface Module. Internet Explorer Ver. 5.0, Ver. 6.0 Netscape Communicator Ver. 4.7x, Netscape Ver. 6.2

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.1

F3LE11-0T>

C2-2

Connection Procedure The following flowchart illustrates how to access the Ethernet Interface Module using a WWW browser. Connect WWW browser

Setup network

Start WWW browser

Setup URL

Enter user name and password

Connect FC2101.VSD

Figure C2.1 Connection Procedure Using a WWW Browser

 Network Setup Consult your network administrator and setup or connect network equipment properly.

 Starting WWW Browser Start up the WWW browser.

192.168.1.11

FC2102.VSD

TIP Set the proxy server for the WWW browser to “Not Used.”

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2-3

F3LE11-0T>

 URL Setup Enter a URL (Uniform Resource Locator). Example: The IP address of the Ethernet Interface Module is 192.168.1.11 http://192.168.1.11

192.168.1.11

FC2103.VSD

 Entering User Name and Password E nter netw ork passw ord P lease enter user nam e and passw ord S ite: D om ain: U ser N am e P assw ord: S ave this passw ord C ancel FC2104.VSD

Enter the user name and password. Always enter “user” for the user name. The default password is set to “user”. The environment setup screen appears. FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/

FC2105.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

F3LE11-0T>

C2-4

 Language Setup The initial screen appears in Japanese. To switch to English display, click “for English” in the left frame. FA-M3 Environmental Settings - Microsoft Inte

http://192.168.1.11/eng/top_page.htm

FC2106.VSD

FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/eng/top_page.htm

FC2107.VSD

To switch from English to Japanese display, click “for Japanese.” FA-M3 Environmental Settings - Microsoft Inte

http://192.168.1.11/eng/top_page.htm

fro Japanese FC2108.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.2

C2-5

F3LE11-0T>

Network Environment Setup This section describes how to set the subnet mask, default gateway and domain name system (DNS). Before performing setup, consult the network administrator for the network to which this module is to be connected.

C2.2.1

Setup Screen Click “Network Settings” in the left frame. The network environment setup screen appears. FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/eng/top_page.htm

FC2211.VSD

Figure C2.2 Network Environment Setup Screen

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.2.2

C2-6

F3LE11-0T>

Setup Items Table C2.1 Network Environment Setup Items Item MAC address IP address Subnet masks Default gateway Primary DNS server Secondary DNS server My host name Domain name Primary domain suffix Secondary domain suffix

Description Subnet mask Gateway IP address DNS server IP address DNS server IP address Host name Specify a domain name Specify a domain name Specify a domain name

Value Range Decimal value, optional Decimal value, optional Decimal value, optional Decimal value, optional Up to 64 characters Up to 64 characters, optional Up to 64 characters, optional Up to 64 characters, optional

 MAC Address Displays the MAC address stored in the Ethernet Interface Module as a 12-digit hexadecimal strings. The value cannot be modified.

 IP Address Displays the IP address set for the Ethernet Interface Module in decimal, each byte delimited by a “. “ (period) character. The value cannot be modified.

 Subnet Masks Specify a mask value that can be used to obtain the subnet network address from an IP address. The default value is “0.0.0.0”. Specify an appropriate value for the system or network where the Ethernet Interface Module resides. In some cases, no setup is required. Enter a decimal value from 0 to 255 for each field.

 Default Gateway Sets the IP address of the gateway, (such as router) to be used for communicating with other networks. The default value is “0.0.0.0”. Specify an appropriate value for the system or network where the Ethernet Interface Module resides. In some cases, no setup is required. Enter a decimal value from 0 to 255 for each field.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2-7

F3LE11-0T>

 Primary DNS Server/Secondary DNS Server Sets the IP address of the DNS server. The default value is “0.0.0.0”. You can specify an IP address for the primary DNS server and optionally, another IP address for the secondary server. When the primary DNS server fails, the secondary DNS server is automatically used to map host names/domain names to IP addresses. Set an appropriate value for the system or network where the Ethernet Interface Module resides. In some cases, no setup is required. Enter a decimal value from 0 to 255 for each field.

 My Host Name Sets the host name of the Ethernet Interface Module. A host name may contain up to 64 alphanumeric characters.

 Domain Name Sets the domain name of the network where the Ethernet Interface Module resides. This domain name is appended to destination names (server name) when a DNS server is used to search for destinations (server) for data transmitted from the Ethernet Interface Module. The destination name (server name) is the “SMTP/POP Server Name” specified in the e-mail configuration. The domain name may contain up to 64 alphanumeric characters. This setting is not required when no domain name is used.

 Primary Domain Suffix/Secondary Domain Suffix When the IP address corresponding to the server name with the domain name appended as described above cannot be found, some systems require another domain name to be appended for a second search. In such cases, you may set this domain name as the “domain suffix”. The domain suffix may contain up to 64 alphanumeric characters. You may specify up to 2 domain suffixes: a primary domain suffix and a secondary domain suffix.

SEE ALSO - What is a DNS (Domain Name System)? A DNS service translates host names or domain names on the Internet into IP addresses. It allows network accesses using host names and domain names, instead of numeric IP addresses. A DNS server manages a database that maps host names/domain names to IP addresses.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.2.3

C2-8

F3LE11-0T>

Setup Procedure Set the required information in the WWW browser and click the [Set] button. You need to perform setup only once as the setup information will be stored in the Ethernet Interface Module, and be retained even power is turned off.

CAUTION The flash memory of the module allows up to 100,000 write operations. Do not turn off the power during setup.

Clicking the [Read] buttons restores all values on the screen to the current values stored in the module.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.3

C2-9

F3LE11-0T>

E-mail Setup To use the e-mail function, you need to perform setup different from that described in Section C2.2, “Network Environment Setup.” Before performing setup, consult the network administrator for the network to which this module is to be connected.

C2.3.1

E-mail Environment Setup E-mail environment setup includes setting the mail address and mail server.

 Setup Screen Clicking E-mail Settings in the left frame displays the e-mail environment setup screen.

FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/eng/top_page.htm

FC2311.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2-10

F3LE11-0T>

 Setup Items Table C2.2 E-mail Setting Items Item

SMTP port number

Description Mail address of the Ethernet Interface Module Name of mail server for transmission SMTP port number to be used

Bcc

Destination e-mail address

POP*2 server name

Name of mail server for receiving POP port number to be used Account name Password for the POP account Time interval for checking incoming mails.

Mail address SMTP*1 server name

POP port number POP account name POP password Mail checking interval (Receive Interval)

Value Range Up to 256 bytes Up to 64 alphanumeric characters, or IP address Up to 256 alphanumeric characters Up to 64 alphanumeric characters, or IP address Up to 32 alphanumeric characters Up to 32 ASCII characters 1 to 1440 (min)

*1: Simple Mail Transfer Protocol *2: Post Office Protocol Ver.3

 Mail Address Specify the e-mail address for the Ethernet Interface Module provided by your network administrator. The initial value is ”F3LE11.”

 SMTP Server Name Specify the name (in alphanumeric characters) or IP address of the SMTP server.

 SMTP Port Number Specify the SMTP port number to be used. The initial value is 25.

 Bcc Bcc can be used for keeping a history of e-mail transmissions. Specify destination e-mail addresses using alphanumeric characters. To specify multiple e-mail addresses, separate the addresses with commas (“,”).

 POP Server Name Specify the name (in alphanumeric characters) or IP address of the POP3 server to be used. Without this setting, the module will not check for incoming e-mails.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

F3LE11-0T>

C2-11

 POP Port Number Specify the POP3 port number to be used. The initial value is 110. Setting this value to 0 defaults to port number 110.

 POP Account Name Specify the name for logging into the e-mail account. Without this setting, the module will not check for incoming e-mails.

 POP Password Specify the password for logging into the e-mail account.

 Mail Checking Interval (Receive interval) Set the interval in minutes for checking incoming mails. The initial value is set to 15 (min). Setting this item to 0 performs checking every 15 minutes.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.3.2

C2-12

F3LE11-0T>

Setup for WideField2 Connection This section describes how to setup for connection to WideField2.

 Setup Screen Clicking WideField2 in the left frame displays the WideField2 connection setup screen. FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/eng/top_page.htm

FC2321.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2-13

F3LE11-0T>

 Setup Items Table C2.3 WideField2 Setup Items Item Change password New password Temporary mail checking interval (Change Receive Interval) Temporary mail checking cycles (Change Running Times)

Description Tick the checkbox for changing the password.

Value Range

New password

Maximum 16 ASCII characters

Waiting time until the next mail checking

1 to 1440 (min)

Number of mail checking cycles using the temporary mail checking interval

0 to 1440 (cycles)

 Change Password To change the password, tick this checkbox.

 New Password Specify the password for connecting to WideField2. WideField2 connection cannot be established if an invalid password is specified.

 Temporary Mail Checking Interval and Temporary Mail Checking Cycles You can set these items to temporarily change the interval for checking incoming emails. Specify a temporary new interval and the number of mail checking cycles using the temporary interval. Once the specified number of cycles has elapsed, e-mail checking reverts to using the original mail checking interval. If a mail arrives before the specified number of cycles has elapsed, the number of temporarily mail checking cycles resets to 0 and mail checking operation reverts to using the original mail checking interval. Setting the temporary mail checking cycles to 0 enables the original mail checking interval. The initial value for the temporary mail checking interval is 15 (min). The initial value for the temporary mail checking cycles is 0 (cycles). The temporary mail checking interval and temporary mail checking cycles must satisfy the following constraint: Temporary mail checking interval x temporary mail checking cycles ≤ Mail checking interval

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.3.3

C2-14

F3LE11-0T>

Automatic CPU Monitoring Setup This section describes how to setup automatic CPU monitoring.

 Setup Screen Clicking CPU Auto Monitoring in the left frame displays the automatic CPU monitoring setup screen. FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/eng/top_page.htm

FC2331.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2-15

F3LE11-0T>

 Setup Items Table C2.4 Automatic CPU monitoring Setup Items Item Monitored Items Destination mail address Subject Header 1 Header 2 Monitoring interval

Description Specify items to be monitored Destination mail address Title of the email E-mail body text E-mail body text CPU monitoring interval

Value Range Up to 256 bytes Up to 128 bytes Up to 64 bytes Up to 64 bytes 0 to 1440 (min)

 Monitored Items Specifies the items to be monitored for each CPU. Only sequence CPU modules can be monitored automatically. Automatic CPU monitoring will not be performed if no item is selected.

 Destination Mail Address Specify the destination mail addresses using a maximum of 256 alphanumeric characters. Multiple e-mail addresses can be specified with commas (,) as delimiters.

 Subject Specify an ASCII character string (up to 128 bytes) for the e-mail “Subject” field.

 Header 1 and Header 2 Specify the body text for the e-mail as ASCII character strings (up to 64 bytes for each header).

 Monitoring interval Specify the interval for CPU monitoring in minutes (0 to 1440 minutes). If the period is set to 0, no monitoring is performed.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.3.4

C2-16

F3LE11-0T>

Setup Procedure Set the required information in the WWW browser and click the [Set] button. You need to perform setup only once as the setup information will be stored in the Ethernet Interface Module, and be retained even power is turned off.

CAUTION The flash memory of the module allows up to 100,000 write operations. Do not turn off the power during setup.

Clicking the [Read] buttons restores all values on the screen to the current values stored in the module.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.4

C2-17

F3LE11-0T>

Changing Password This section describes how to change the password for performing setup using a WWW browser. Connection to the module using a browser cannot be established with an invalid password.

C2.4.1

Setup Screen Clicking Change Password in the left frame displays the setup screen for changing password. FA-M3 Environmental Settings - Microsoft Internet Explorer

http://192.168.1.11/eng/top_page.htm

FC2411.VSD

Figure C2.2 Screen for Changing Password

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C

C2.4.2

C2-18

F3LE11-0T>

Setup Items Table C2.5 Setup Items for Changing Password Item Change password New password

Description Tick this checkbox to change the password. New password

Value Range

Up to 16 ASCII characters

 Change Password Turn on this check box to change the password.

 New Password Enter the new password.

C2.4.3

Setup Procedure Set the required information in the WWW browser and click the [Set] button. You need to perform setup only once as the setup information will be stored in the Ethernet Interface Module, and be retained even power is turned off.

CAUTION The flash memory of the module allows up to 100,000 write operations. Do not turn off the power during setup.

Clicking the [Read] buttons restores all values on the screen to the current values stored in the module.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-1

C3. Performing Setup Using a Sequence Program You can perform various setups using sequence programs. - Network environment setup -

E-mail setup Automatic CPU monitoring setup

A sequence program can also be used to read current preset values.

 Network Environment Setup Network environment setup includes setting values for subnet mask, default gateway and domain name system (DNS).

 E-mail Setup E-mail setup includes setting values for e-mail address and mail server.

 Automatic CPU monitoring Setup Automatic CPU monitoring setup includes setting values for monitoring criteria and destination e-mail address.

 Reading Setting Parameters You can use a sequence program to read the current parameter values for network environment, e-mail and automatic CPU monitoring.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-2

<PART-C F3LE11-0T>

C3.1 Network Environment Setup This section describes how to set the subnet mask, default gateway and domain name system (DNS). Before performing setup, consult the network administrator for the network to which this module is to be connected.

C3.1.1

Setup Items Table C3.1 Network Environment Setup Items Item Subnet mask Default gateway Primary DNS server Secondary DNS server

Description Subnet mask Gateway IP address DNS server IP address DNS server IP address

Host name

Host name

Domain name

Domain name

Primary domain suffix

Domain name

Secondary domain suffix

Domain name

Value Range 2-word data 2-word data 2-word data 2-word data Up to 64 alphanumeric characters Up to 64 alphanumeric characters Up to 64 alphanumeric characters Up to 64 alphanumeric characters

 Subnet Mask Sets a mask value that can be used to obtain the subnet network address from an IP address. Specify an appropriate value for the system or network where the Ethernet Interface Module resides. In some cases, no setup is required.

 Default Gateway Sets the IP address of the gateway, (such as router) to be used for communicating with other networks. Specify an appropriate value for the system or network where the Ethernet Interface Module resides. In some cases, no setup is required.

 Primary DNS Server and Secondary DNS Server Sets the IP address of the DNS server. You can specify an IP address for the primary DNS server and optionally, another IP address for the secondary server. When the primary DNS server fails, the secondary DNS server is automatically used to map host names/domain names to IP addresses. Set an appropriate value for the system or network where the Ethernet Interface Module resides. In some cases, no setup is required.

 Host Name Sets the host name of the Ethernet Interface Module. A host name may contain up to 64 alphanumeric characters.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-3

<PART-C F3LE11-0T>

 Domain Name Sets the domain name of the network where the Ethernet Interface Module resides. This domain name is appended to destination names (server name) when a DNS server is used to search for destinations (server) for data transmitted from the Ethernet Interface Module. The destination name (server name) is the “SMTP/POP Server Name” specified in the e-mail configuration. The domain name may contain up to 64 alphanumeric characters. This setting is not required when no domain name is used.

 Primary Domain Suffix/Secondary Domain Suffix When the IP address corresponding to the server name with the domain name appended as described above cannot be found, some systems require another domain name to be appended for a second search. In such cases, you may set this domain name as the “domain suffix”. The domain suffix may contain up to 64 alphanumeric characters. You may specify up to 2 domain suffixes: a primary domain suffix and a secondary domain suffix.

See Also - What is a DNS (Domain Name System)? A DNS service translates host names or domain names on the Internet into IP addresses. It allows network accesses using host names and domain names, instead of numeric IP addresses. A DNS server manages a database that maps host names/domain names to IP addresses.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-4

<PART-C F3LE11-0T>

C3.1.2

Setup Procedure The following flowchart illustrates the procedure for performing setup using a sequence program.

Network environment setup

Set parameters

Turn on setup request relay

Parameters setup

The setup completed relay turns on

Read the setup completion status

Turn off setup request relay Sequence program operations Setup completed relay turns off

Module operations FC3121.VSD

Figure C3.1 Network Environment Setup Procedure Using a Sequence Program

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-5

 Setting Parameters Set parameters in the network environment parameter setup area. Use WRITE instructions in a sequence program to write parameters into the respective setup areas in the module. Table C3.2 shows the network environment parameters setup area. Table C3.2 Network Environment Parameters Setup Area Channel No. 961 1025 1026 1027 1028 1029 1030 1031 1032 1033 to 1064 1065 to 1096 1097 to 1128 1129 to 1160

Description Always 0 (bank register) Subnet mask Default gateway Primary DNS server address Secondary DNS server address Host name Domain name Primary domain suffix Secondary domain suffix

TIP - Bank Register Channel numbers 1025 to 2048 require bank switching using the bank register. To switch banks, set the bank register (channel 961) to 0. You must set the bank register before accessing channel numbers 1025 to 2048.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-6

<PART-C F3LE11-0T>

 Setup Request and Setup Completed Relays To issue a network environment setup request, turn on the Request to Setup Network Environment relay. When the network environment setup is completed, the Setup Network Environment Completed relay turns on. Table C3.3 lists the network environment setup request and completion relays. Table C3.3 Network Environment Setup Request and Completion Relays Relay No. Y057 X025

Description Request to setup network environment Setup network environment completed

: Slot number

 Request to Setup Network Environment Relay Turning on this relay sets the network environment according to the parameters. Ensure that the Setup Network Environment Completed relay is off before turning on the request relay.

 Setup Network Environment Completed Relay This relay turns on when the network environment setup is completed. The relay turns on even if an error has occurred.

CAUTION The flash memory of the module allows up to 100,000 write operations. Do not turn off the power during setup.

TIP When using a ladder program to set parameters, you can reduce the number of write operations to the flash memory in the following way. Before setting parameters, read and check the current preset values. Then, perform setup only for parameters to be changed.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-7

<PART-C F3LE11-0T>

 Network Environment Setup Completion Status When the module turns on the Setup Network Environment Completed relay, it also stores the completion status (normal or error) in the setup completion status register. Table C3.4 lists the network environment setup completion status area. TableC3.4 Network Environment Setup Completion Status Area Channel No. 961 1161

Description Always 0 (bank register) Network environment setup completion status

 Network Environment Setup Completion Statuses Table C3.5 lists the possible values for the network environment setup completion status. Table C3.5 Network Environment Setup Completion Status Value $0000 $0001 $0002 $0003 $0004 $0005 $0006 $0007 $0008

Description Normal exit Subnet mask error Default gateway IP address error Primary DNS server IP address error Secondary DNS server IP address error Host name error Domain name error Primary domain suffix error Secondary domain suffix error

Explanation The setup process completed normally. The specified subnet mask is invalid. The specified default gateway IP address is invalid. The specified primary DNS server IP address is invalid. The specified secondary DNS server IP address is invalid. The specified host name is invalid. The specified domain name is invalid. The specified primary domain suffix is invalid. The specified secondary domain suffix is invalid.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-8

<PART-C F3LE11-0T>

C3.1.3

Sample Program This section describes a sample program, which performs network environment setup using parameters and I/O relays. It uses WRITE instructions to set the parameters and then turns on the setup request relay. When the setup completion relay turns on, indicating that setup has completed, the program reads the completion status using a READ instruction. The following table lists the setup values. Item Subnet mask Default gateway IP address Primary DNS server address Secondary DNS server address Host name Domain name Primary domain suffix Secondary domain suffix

Description 255.255.255.0 192.168.1.254 0.0.0.0 0.0.0.0 LE11

The environment setup trigger is set to /I0001 and the module slot number to 5. Table C3.6 Setting Values Channel No. 961 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 to 1064 1065 to 1096 1097 to 1128 1129 to 1160

Preset Values 0 $FF00 $FFFF $01FE $C0A8 0 0 0 0 “LE” “11”

Description Bank register Subnet mask Default gateway IP address Primary DNS server address Secondary DNS server address

Host name 0 0

Domain name Primary domain suffix Secondary domain suffix

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-9

<PART-C F3LE11-0T>

-

Sample Program Network Environment Set Parameters subnet mask

default ateway Primary DNS server Secondary DNS server Host name

Domain name Primary domain

Secondary domain Bank register

Setup

Check Completion Status Bank register

Completion status

Error Handling

Performs appropriate processing depending on the value of the completion status

End Processing

Setup completed FC3131.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3.2

C3-10

E-mail Setup To use the e-mail function, you need to perform setup different from that described in Section C3.1, “Network Environment Setup.” Before performing setup, consult the network administrator for the network to which this module is to be connected.

C3.2.1

Setup Items Table C3.7 E-mail Setup Items Item

SMTP port number

Description Mail address of the Ethernet Interface Module Name of mail server for transmission SMTP port number to be used

Bcc

Destination e-mail address

Mail address SMTP*1 server name

*2

POP server name

Name of mail server for receiving

POP port number POP account name POP password

POP port number to be used Account name Password for the POP account Time interval for checking incoming mails. Password for connecting with WideField2 Waiting time until the next mail checking Number of mail checking cycles using the temporary mail checking interval

Mail checking interval WideField2 password Temporary mail checking interval Temporary mail Checking Cycles

Value Range Up to 256 alphanumeric characters Up to 64 alphanumeric characters, or 2-word data Up to 256 alphanumeric characters Up to 64 alphanumeric characters, or 2-word data Up to 32 alphanumeric characters Up to 32 alphanumeric characters 1 to 1440 (min) Up to 16 alphanumeric characters 1 to 1440 (min) 0 to 1440 (cycles)

*1: Simple Mail Transfer Protocol *2: Post Office Protocol Ver.3

 Mail Address Specify the e-mail address for the Ethernet Interface Module provided by your network administrator.

 SMTP Port Number Sets the SMTP port number to be used.

 SMTP Server Address Designation Method Sets how the SMTP server address is specified. 0: Specified as an IP address 1: Specified as a server name

 SMTP Server Address Sets the SMTP server to be used.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-11

<PART-C F3LE11-0T>

 Bcc Bcc can be used for keeping a history of e-mail transmissions. Specify destination e-mail addresses using alphanumeric characters. To specify multiple e-mail addresses, separate the addresses with commas (“,”).

 POP Port Number Sets the POP3 port number to be used.

 POP Server Address Designation Method Sets how the POP server address is specified. 0: Specified as an IP address 1: Specified as a server name

 POP Server Name Sets the POP3 server name to be used. Without this setting, the module will not check for incoming e-mails.

 POP Account Name Specify the name for logging into the e-mail account. Without this setting, the module will not check for incoming e-mails.

 POP Password Specify the password for logging into the e-mail account.

 Mail Checking Interval Set the interval in minutes for checking incoming mails. Setting this item to 0 performs checking every 15 minutes.

 WideField2 Password Specify the password for connecting to WideField2. WideField2 connection cannot be established if an invalid password is specified.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-12

 Temporary Mail Checking Interval and Temporary Mail Checking Cycles You can set these items to temporarily change the interval for checking incoming emails. Specify a temporary new interval and the number of mail checking cycles using the temporary interval. Once the specified number of cycles has elapsed, e-mail checking reverts to using the original mail checking interval. If a mail arrives before the specified number of cycles has elapsed, the number of temporarily mail checking cycles resets to 0 and mail checking operation reverts to using the original mail checking interval. Setting the temporary mail checking cycles to 0 enables the original mail checking interval. The initial value for the temporary mail checking interval is 15 (min). The initial value for the temporary mail checking cycles is 0 (cycles). The temporary mail checking interval and temporary mail checking cycles must satisfy the following constraint. Temporary mail checking interval x temporary mail checking cycles ≤ Mail checking interval

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3.2.2

C3-13

Setup Procedure The following flowchart illustrates the procedure for performing setup using a sequence program. E-mail Setup

Set parameters

Turn on setup request relay

Parameters setup

Setup completed relay turns on Read setup completion status Turn off setup request relay Setup completion relay turns off

Sequence program operations Module operations FC3221.VSD

Figure C3.2 E-mail Setup Procedure Using a Sequence Program

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-14

 Setting Parameters Set parameters in the email parameter setup area. Use WRITE instructions in a sequence program to write parameters into the respective setup areas in the module. Table C3.8 shows the email parameters setup area. Table C3.8 E-mail Parameters Setup Area Channel No. 961 1193 to 1320 1321 1322 1323 1324 1325 to 1354 1355 to 1482 1483 1484 1485 1486 1487 to 1516 1517 to 1532 1533 to 1548 1549 1550 to 1556 1557 to 1564 1565 1566

Description Always 0 (bank register) Ethernet Interface Module email address SMTP port number SMTP server address designation method IP address SMTP server address

Server name Reserved

Bcc mail address POP port number POP server address designation method IP address POP server address

Server name Reserved

POP account POP password Mail checking interval Reserved WideField2 password Temporary mail checking interval Temporary mail checking cycles

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-15

<PART-C F3LE11-0T>

 Bank Register Channel numbers 1025 to 2048 require bank switching using the bank register. To switch banks, set the bank register (channel 961) to 0. You must set the bank register before accessing channel numbers 1025 to 2048.



 Setup Request and Setup Completed Relays To issue an email setup request, turn on the Request to Setup Email relay. When the email setup is completed, the Setup Email Completed relay turns on. Table C3.9 lists the email setup request and completion relays. Table C3.9 Email Setup Request and Completion Relays Relay No. Y058 X026

Description Request to setup email Setup email completed

: Slot number

 Request to Setup Email Relay Turning on this relay performs email setup according to the parameters. Ensure that the Setup Email Completed relay is off before turning on the request relay.

 Setup Email Completed Relay This relay turns on when the email setup is completed. The relay turns on even if an error has occurred.

CAUTION The flash memory of the module allows up to 100,000 write operations. Do not turn off the power during setup.

TIP When using a ladder program to set parameters, you can reduce the number of write operations to the flash memory in the following way. Before setting parameters, read and check the current preset values. Then, perform setup only for parameters to be changed.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-16

<PART-C F3LE11-0T>

 E-mail Setting Completion Status When the module turns on the Setup Email Completed relay, it also stores the completion status (normal or error) in the setup completion status register. Table C3.10 lists the email setup completion status area. TableC3.10 Email Setup Completion Status Area Channel No. 961 1567

Description Always 0 (bank register) E-mail setup completion status

 E-mail Setup Completion Status Table C3.11 lists the possible values for the email setup completion status. Table C3.11 E-mail Setting Completion Status Value $0000 $0001 $0002 $0003 $0004 $0005 $0006 $0007 $0008 $0009 $000A $000B $000C $000D $000E

Description Normal exit E-mail address error SMTP port number error SMTP server address designation method error SMTP server address error Bcc mail address error POP port number error POP server address specification method error POP sever address error POP account error POP password error Incoming mails checking interval error WideField2 password error Temporary mail checking interval error Temporary mail checking cycles error

Explanation Setting completed normally. The specified e-mail address is invalid. The specified SMTP port number is invalid. The specified SMTP server designation method is invalid. The specified SMTP sever address is invalid. The specified Bcc mail address is invalid. The specified POP port number is invalid. The specified POP server specification method is invalid. The specified POP server address is invalid. The specified POP account name is invalid. The specified POP password is invalid. The specified mail checking interval is invalid. The specified password for connecting to WideField2 is invalid. The specified temporary incoming mail checking interval is invalid. The specified temporary mail checking cycles is invalid.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3.2.3

C3-17

Sample Program This section describes a sample program, which performs email setup using parameters and I/O relays. It uses WRITE instructions to set the parameters and then turns on the setup request relay. When the setup completion relay turns on, indicating that setup has completed, the program reads the completion status using a READ instruction. The following table lists the setup values. Item E-mail address SMTP port number

le11@my_domain 25

SMTP server address designation method

0 (specified using IP address)

SMTP server address

192.168.0.201

Bcc address

xxxx@my_domain

POP port number

110

POP server address designation method

0 (specified using IP address)

POP server address

192.168.0.201

POP account

le11

POP password

le11

Mail checking interval WideField2 password

15 0

Temporary Mail checking interval

15

Temporary Mail checking cycles

0

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-18

The e-mail setup trigger is set to /I0001 and the module slot number to 5. Table C3.12 Setting Values Channel No. 961 1193 1194 1195 1196 1197 1198 1199 1200 to 1320 1321

Preset Values 0 “le” “11” “@m” “y_” “do” “ma” “in”

Description Bank register

E-mail address

0 25

1322

0

1323 1324 1325 to 1354 1355 1356 1357 1358 1359 1360 1361 1362 to 1482 1483 1484 1485 1486 1487 to 1516 1517 1518 1519 to 1532 1533 1534 1535 to 1548 1549 1550 to 1556 1557 to 1564 1656 1566

$00C9 $C0A8

SMTP port number SMTP server address designation method

SMTP server address 0 “xx” “xx” “@m” “y_” “do” “ma” “in”

Bcc mail address

0 110 0 $00C9 $C0A8

POP port number POP server address designation method

POP server address 0 “le” “11” POP account 0 “le” “11” POP password 0 15

Mail checking interval

0

Reserved

0

WideField2 password

15 0

Temporary mail checking interval Temporary mail checking cycles

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-19

<PART-C F3LE11-0T>

-

Sample Program Electronic Mail Setup Set Parameters

Email address

SMTP port number SMTP address specification SMTP server address

Bcc address

POP port number POP address specification method POP server addres FC3231.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-20

<PART-C F3LE11-0T>

POP account

POP password

Mail checking interval Reserved WideField2 password Temporary mail checking interval Temporary mail checking cycles Bank register

Setup

Check Completion Status Bank register Completion status

Error Handling

Performs appropriate processing depending on the value of the completion status

End Processing

Setup completed FC3232.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-21

<PART-C F3LE11-0T>

C3.3 Automatic CPU Monitoring Setup This section describes how to setup automatic CPU monitoring.

C3.3.1

Setup Items Table C3.13 Automatic CPU Monitoring Setup Items Item CPU monitoring flag Destination mail address Subject Header 1 Header 2 Monitoring interval

Description Specify items to be monitored Destination mail address Title of the email E-mail body text E-mail body text CPU monitoring interval

Value Range Up to 256 bytes Up to 128 bytes Up to 64 bytes Up to 64 bytes 0 to 1440 (min)

 CPU Monitoring Flag Specifies the items to be monitored for each CPU. Each bit has its own meaning as follows. 15 14 13 12 11 10

9

8

7

6

5

4

3

2

1

0

シ ー ケCPU CPU運 ン ス runs 転 Sequence 1 F監 視 す 1: Monitor る F監not視 しな い 02: Do monitor シ ー ケCPU CPU停 ン ス stops止 Sequence 1 F監 視 す 1: Monitor る 2: Do monitor F監not 視 しな い 0 軽 発 生 Minor故fault障occurred 1 F監 視 す 1: Monitor る monitor F監not 視 しな い 00: Do

Medium occurred 中 故 fault 障発 生 F監 視 す 1:1 Monitor る monitor F監not 視 しな い 00: Do Sequence シ ー ケCPU CPU ン ス timeout F監 視 す 1:1 Monitor る 0: monitor 0 Do F監not 視 しな い FC3311.VSD

 Destination Mail Addresses Specify the destination mail addresses using a maximum of 256 alphanumeric characters. Multiple e-mail addresses can be specified with commas (,) as delimiters. The Module takes as destination address(es) characters starting from the beginning of the storage area (high-order byte) until the string end character (the first null byte), or the first 256 characters.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-22

<PART-C F3LE11-0T>

 Subject Specify an ASCII character string (up to 128 bytes) for the e-mail “Subject” field. Use ASCII characters since no conversion is performed. The Module sets the “Subject” field to characters starting from the beginning of the area (high-order byte) until the string end character (the first null byte), or the first 128 bytes.

 Header 1 and Header 2 Specify the body text for the e-mail as ASCII character strings (up to 64 bytes for each header). Specify them in ASCII characters as no conversion is performed. The Module sets the mail body text to characters starting from the beginning of the header area (high-order byte) until the string end character (the first null byte), or the first 64 bytes.

 Monitoring Interval Specify the interval for CPU monitoring in minutes (0 to 1440 minutes). If the period is set to 0, no monitoring is performed.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3.3.2

C3-23

Setup Procedure The following flowchart illustrates the procedure for performing setup using a sequence program. E-mail transmission by auto-monitoring

Set monitoring parameters

Turn on setup request relay

Parameters setup

Setup completed relay turns on Read setup completion status Turn off setup request relay Sequence program operations Setup completed relay turns off

Module operations FC3321.VSD

Table C3.3 Mail Transmission by Automatic Monitoring Setup Procedure Using a Sequence Program

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-24

 Setting Parameters Set parameters in the CPU automatic monitoring parameter setup area. Use WRITE instructions in a sequence program to write parameters into the respective setup areas in the module. Table C3.14 shows the CPU automatic monitoring parameters setup area. Table C3.14 CPU Automatic Monitoring Parameters Setup Area Channel No. 961 1589 1590 1591 1592 1593 to 1720 1721 to 1784 1785 to 1816 1817 to 1848 1849

Description Always 0 (bank register) CPU 1 monitoring flag CPU 2 monitoring flag CPU 3 monitoring flag CPU 4 monitoring flag Destination mail address Subject Header 1 Header 2 Monitoring interval

 Bank Register Channel numbers 1025 to 2048 require bank switching using the bank register. To switch banks, set the bank register (channel 961) to 0. You must set the bank register before accessing channel numbers 1025 to 2048.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-25

<PART-C F3LE11-0T>

 Setup Request and Setup Completed Relays To issue a CPU automatic monitoring setup request, turn on the Request to Setup CPU Automatic Monitoring relay. When the CPU automatic monitoring setup is completed, the Setup CPU Automatic Monitoring Completed relay turns on. Table C3.15 lists the CPU automatic monitoring setup request and completion relays. Table C3.15 CPU Automatic Monitoring Setup Request and Completion Relays Relay No. Y059 X027

Description Request to setup automatic monitoring Automatic monitoring setup completed

: Slot number

 Request to Setup Automatic CPU Monitoring Relay Turning on this relay performs automatic CPU monitoring setup according to the parameters. Ensure that the Setup CPU Automatic Monitoring Completed relay is off before turning on the request relay.

 Setup Automatic CPU Monitoring Completed Relay This relay turns on when automatic CPU monitoring setup is complete. The relay turns on even if an error has occurred.

CAUTION The flash memory of the module allows up to 100,000 write operations. Do not turn off the power during setup.

TIP When using a ladder program to set parameters, you can reduce the number of write operations to the flash memory in the following way. Before setting parameters, read and check the current preset values. Then, perform setup only for parameters to be changed.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-26

<PART-C F3LE11-0T>

 Automatic CPU Monitoring Setup Completion Status When the module turns on the Setup CPU Automatic Monitoring Completed relay, it also stores the completion status (normal or error) in the setup completion status register. Table C3.16 lists the CPU automatic monitoring setup completion status area. TableC3.16 CPU Automatic Monitoring Setup Completion Status Area Channel No. 961 1850

Description Always 0 (bank register) CPU automatic monitoring setup completion status

CPU Automatic Monitoring Setup Completion Statuses Table C3.17 lists the possible values for the CPU automatic monitoring setup completion status. Table C3.17 CPU Automatic Monitoring Setup Completion Status Value $0000 $0001 $0002 $0003 $0004 $0005 $0006 $0007 $0008 $0009

Meaning Normal exit CPU 1 monitoring flag error CPU 2 monitoring flag error CPU 3 monitoring flag error CPU 4 monitoring flag error Destination mail address error Subject error Header 1 error Header 2 error Monitoring interval error

Description The setup process completed normally The specified CPU 1 monitoring flag is invalid. The specified CPU 2 monitoring flag is invalid. The specified CPU 3 monitoring flag is invalid. The specified CPU 4 monitoring flag is invalid. The specified destination mail address is invalid. The specified subject is invalid. The specified header 1 is invalid. The specified header 2 is invalid. The specified monitoring interval is invalid.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3.3.3

C3-27

Sample Program This section describes a sample program, which performs CPU Automatic Monitoring setup using parameters and I/O relays. It uses WRITE instructions to set the parameters and then turns on the setup request relay. When the setup completion relay turns on, indicating that setup has completed, the program reads the completion status using a READ instruction. The following table lists the setup values. Item Transmission conditions

Destination mail address Subject Header 1 Header 2 Monitoring interval

Description Transmits email when the following events occurs on CPU 1: Minor fault or Moderate fault, Sequence CPU timeout [email protected] CPU FAIL a123456789 b123456789 10 minutes

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-28

The CPU automatic monitoring setup trigger is set to /I0001 and the module slot number to 5. Table C3.18 Setting Values Channel No. 961 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 to 1720 1721 1722 1723 1724 1725 to 1784 1785 1786 1787 1788 1789 1790 to 1816 1817 1818 1819 1820 1821 182 to 1848 1849

Preset Values $0016 0 0 0 “bb” “b@” “cc” “c.” “dd” “.e” $6500

Description CPU 1: Minor fault/moderate fault/timeout CPU 2: None CPU 3: None CPU 4: None

Destination mail address

0 “CP” “U ” “FA” “IL”

Subject

0 $6131(“a1”) $3233(“23”) $3435(“45”) $3637(“67”) $3839(“89”)

Header 1

0 $6231(“b1”) $3233(“23”) $3435(“45”) $3637(“67”) $3839(“89”)

Header 2

0 10

Monitoring interval

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-29

<PART-C F3LE11-0T>

-

Sample Program CPU Automatic Monitoring Setup Set Parameters CPU1 monitoring flag CPU2 monitoring flag CPU3 monitoring flag CPU4 monitoring flag Destination mail address

Subject

Header 1

FC3331.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-30 Header 2

Bank register

Request to Perform Setup Setup request

Check Completion Status

Bank register

Completion status

Error Handling

Performs appropriate processing dpending on the value of the completion status

End Processing

End Setup FC3332.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-31

<PART-C F3LE11-0T>

C3.4 Reading Parameter Values You can read the current parameter values using a sequence program.

C3.4.1

Items Read The read setup parameters function reads the current values of the following parameters.

 Subnet Mask The current subnet mask value.

 Default Gateway The IP address of the current default gateway.

 Primary DNS Server/Secondary DNS Server The IP addresses of the current DNS servers.

 Host Name The current host name of the Ethernet Interface Module.

 Domain Name The current domain name.

 Primary Domain Suffix/Secondary Domain Suffix The current domain suffixes.

 E-mail Address The current e-mail address of the Ethernet Interface Module.

 SMTP Port Number The current SMTP port number.

 SMTP Server Address Designation Method The way the current SMTP server address is specified. 0: Using an IP address 1: Using a server name

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-32

 SMTP Server Address The current SMTP server.

 Bcc The current BCC addresses.

 POP Port Number The current POP3 port number.

 POP Server Address Designation Method The way the current POP server address is specified. 0: Using an IP address 1: Using a server name

 POP Server Name Name of the current POP3 server. If no POP server name is specified, checking for incoming e-mails is not performed.

 POP Account Name The current e-mail account name.

 POP Password The password for logging into the current e-mail account.

 Mail Checking Interval The current e-mail checking interval, given in minutes.

 WideField2 Password The current password for connecting to WideField2.

 Temporary Mail Checking Interval and Temporary Mail Checking Cycles The current temporary mail checking interval and the current mail checking cycles.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-33

<PART-C F3LE11-0T>

 CPU Monitoring Flag The events to be monitored for each CPU in CPU automatic monitoring. Each bit has its own meaning as follows. 15 14 13 12 11 10

9

8

7

6

5

4

3

2

1

0

シ ー ケCPU CPU運 ン ス runs 転 Sequence 1 F監 視 す 1: Monitor る F監not視 しな い 02: Do monitor シ ー ケCPU CPU停 ン ス stops止 Sequence 1 F監 視 す 1: Monitor る 2: Do monitor F監not 視 しな い 0 軽 発 生 Minor故fault障occurred 1 F監 視 す 1: Monitor る monitor F監not 視 しな い 00: Do

Medium occurred 中 故 fault 障発 生 F監 視 す 1:1 Monitor る monitor F監not 視 しな い 00: Do Sequence シ ー ケCPU CPU ン ス timeout F監 視 す 1:1 Monitor る 0: monitor F監not 視 しな い 0 Do FC3411.VSD

 Destination Mail Address The destination mail address for automatic CPU monitoring.

 Subject The character string to be used as the subject of e-mails transmitted by automatic CPU monitoring.

 Header 1 and Header 2 The character string to be used as the body text of e-mails transmitted by automatic CPU monitoring.

 Monitoring Interval The interval for monitoring the sequence CPUs, given in minutes.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-34

<PART-C F3LE11-0T>

C3.4.2

Read Procedure The following flowchart illustrates the procedure for reading setup parameters. Reading setup parameters Turn on read request relay

Parameters setup

Read completed relay turns on

Setup bank register

Read setup parameter s

Turn off read request relay Sequence program operations Read completed relay turn off

Module operations FC3421.VSD

Figure C3.4 Procedure for Reading Setup Parameters Using a Sequence Program

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-35

<PART-C F3LE11-0T>

 Read Request and Read Completed Relays Turning on the Request to Read Setup Parameters relay stores the current parameter values in the readout area. When reading is completed, the Read Setup Parameters Completed relay turns on. Turning off the Request to Read Setup Parameters relay turns off the Read Setup Parameters Completed relay. Table C3.19 lists the read setup parameters request and completion relays. Table C3.19 Read Setup Parameters Request and Completion Relays Relay No. Y053 X021

Description Request to read setup parameters Read setup parameters completed

: Slot number

 Request to Read Setup Parameters Relay Turning on the Request to Read Setup Parameters relay stores the current parameter values in the readout area. Ensure that the Read Setup Parameters Completed relay is off before turning on the request relay.

 Read Setup Parameters Completed Relay This relay turns on when current parameter values are stored in the readout area. Turning off the Request to Read Setup Parameters relay turns off this relay.

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

C3-36

 Current Parameters Readout Areas Table C3.20 shows the areas where the current parameters are stored. To read current parameter values from the current parameter readout areas of the Ethernet Interface Module, use READ instructions in a sequence program. Table C3.20 Current Parameter Readout Areas Channel No. 961 1025 1026 1027 1028 1029 1030 1031 1032 1033 to 1064 1065 to 1096 1097 to 1128 1129 to 1160 1161 to 1192 1193 to 1320 1321 1322 1323 1324 1325 to 1354 1355 to 1482 1483 1484 1485 1486 1487 to 1516 1517 to 1532 1533 to 1548 1549 1550 to 1556 1557 to 1564

Description Always 31 (bank register) Subnet mask Default gateway Primary DNS server address Secondary DNS server address Host name Domain name Primary domain suffix Secondary domain suffix Reserved Ethernet Interface Module mail address SMTP port number SMTP server address designation method IP address SMTP server address

Server name Reserved

Bcc mail address POP port number POP server address designation method IP address POP server address

Server name Reserved

POP account POP password Mail checking interval Reserved WideField2 password

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

Channel No. 1565 1566 1567 to 1588 1589 1590 1591 1592 1593 to 1720 1721 to 1784 1785 to 1816 1817 to 1848 1849

C3-37

Description Temporary mail checking interval Temporary mail checking cycles Reserved CPU 1 monitoring flag CPU 2 monitoring flag CPU 3 monitoring flag CPU 4 monitoring flag Destination mail address Subject Header 1 Header 2 Monitoring interval

TIP - Bank Register Channel numbers 1025 to 2048 require bank switching using the bank register. To switch banks, set the bank register (channel 961) to 31. You must set the bank register before accessing channel numbers 1025 to 2048.

IM 34M06H24-03E

2nd Edition: May 2009-00

C3-38

<PART-C F3LE11-0T>

C3.4.3

Sample Program The section describes a sample program for reading the current values of setup parameters. The data read are stored to devices as shown in Table C3.21. Table C3.21 Current Parameters Read Storage Device /D00001 /D00002 /D00003 /D00004 /D00005 /D00006 /D00007 /D00008 /D00009 to /D00040 /D00041 to /D00072 /D00073 to /D00104 /D00105 to /D00136 /D00137 to /D00264 /D00265 /D00266 /D00267 /D00268 /D00269 to /D00298 /D00299 to /D00426 /D00427 /D00428 /D00489 /D00490 /D00491 to /D00460 /D00461 to /D00476 /D00477 to /D00492 /D00493 /D00494 to /D00501 /D00502 /D00503 /D00504 /D00505 /D00506 /D00507

Description Subnet mask Default gateway Primary DNS server address Secondary DNS address Host name Domain name Primary domain suffix Secondary domain suffix Ethernet Interface Module mail address SMTP port number SMTP server address designation method IP address SMTP server address

Server name Reserved

Bcc mail address POP port number POP server address designation method IP address POP server address

Server name Reserved

POP account POP password Mail checking interval WideField2 password Temporary mail checking interval Temporary mail checking cycles CPU 1 monitoring flag CPU 2 monitoring flag CPU 3 monitoring flag CPU 4 monitoring flag

IM 34M06H24-03E

2nd Edition: May 2009-00

<PART-C F3LE11-0T>

Storage Device /D00508 to /D00635 /D00636 to /D00699 /D00700 to /D00731 /D00732 to /D00763 /D00764

C3-39

Description Destination mail address Subject Header 1 Header 2 Monitoring interval

The parameters readout trigger is set to /I0001 and the module slot number to 5. The Read Setup Parameters Completed relay turns on when all parameters are read.

-

Sample Program Read Setup Parameters Issue Read Request

Request to read

Read Parameters

Bank register Network environment E-mail environment

CPU automatic monitoring

End Processing

End transmission FC3431.VSD

IM 34M06H24-03E

2nd Edition: May 2009-00

Blank Page

Index C-1

FA-M3 Ethernet Interface Module PART-C F3LE11-0T IM 34M06H24-03E 2nd Edition

INDEX A automatic CPU monitoring setup.......... C1-23, C2-1, C2-14, C1-23, C3-1, C3-21

B bank register ................................. C1-9, C3-5, C3-7, C3-15, C3-16,C3-24,C3-26,C3-34,C3-36

D default gateway IP address setup .......... C2-1, C2-5, C2-6, C3-1, C3-2 DNS server IP address ................. C2-6, C2-7, C3-2, C3-5, C3-7 DNS setup .......................... C2-1, C2-5, C2-7, C3-1, C3-2, C3-3 domain name ........................................... C2-7, C3-3 domain suffix....................... C2-6, C2-7, C3-2, C3-3, C3-5, C3-7

E E-mail address setup .................. C2-1, C2-9, C2-10, C3-1, C3-10

I IP address.......................... C2-3, C2-6, C3-2, C3-10

L local host name ....................................... C2-7, C3-2

M mail server setup ........................ C2-1, C2-9, C2-10, C3-1,C3-10 maximum allowable flash memory write operations ............... C2-8, C2-16,C2-18, C3-6, C3-15, C3-25

N network address ...................................... C2-6, C3-2

S SMTP port number .................. C2-10, C3-10, C3-14 SMTP server ............................ C2-10, C3-10, C3-14 SMTP/POP3 .......................................... C1-3, C2-10 subnet mask setup........................ C2-1, C2-5, C2-6, C3-1, C3-2, C3-5

IM 34M06H24-03E

2nd Edition: May 2009-00

Blank Page

i

Revision Information Document Name : Ethernet Interface Module User’s Manual Document No. : IM34M06H24-01E Edition

Date

Revised Item

1st

Mar. 1998

New publication

2nd

Oct. 2002

Addition of Part A Common (IM34M06H24-02E) and Part C F3LE11-0T (IM34M06H24-03), incorporation of addendum, overall revision

3rd

May 2009

Addition of F3LE01-0T

Written by

International Sales & Marketing Gr. PLC Product Marketing Dept. IA Systems Business Div. Industrial Automation Systems Business Headquarters Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2-9-32 Nakacho, Musashino-shi, Tokyo, 180-8750, JAPAN Printed by Kohoku Publishing & Printing Inc.

IM 34M06H24-01E

3rd Edition: May 2009-00

Blank Page