CV500ETN01 Omron, CV500ETN01 Datasheet

no-image

CV500ETN01

Manufacturer Part Number
CV500ETN01
Description
Programmable Logic Controller
Manufacturer
Omron
Datasheet

Specifications of CV500ETN01

Peak Reflow Compatible (260 C)
No
Leaded Process Compatible
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Cat. No. W420-E1-04
Ethernet Units
Construction of Networks
SYSMAC CS and CJ Series
CS1W-ETN21 (100Base-TX)
CJ1W-ETN21 (100Base-TX)
OPERATION MANUAL

Related parts for CV500ETN01

CV500ETN01 Summary of contents

Page 1

Cat. No. W420-E1-04 SYSMAC CS and CJ Series CS1W-ETN21 (100Base-TX) CJ1W-ETN21 (100Base-TX) Ethernet Units Construction of Networks OPERATION MANUAL ...

Page 2

CS1W-ETN21 (100Base-TX) CJ1W-ETN21 (100Base-TX) Ethernet Units Construction of Networks Operation Manual Revised January 2006 ...

Page 3

iv ...

Page 4

... OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice ...

Page 5

... Product nameplate CS1W- UNIT Lot No. 040401 0000 Ver.1.3 OMRON Corporation MADE IN JAPAN CX-Programmer version 4.0 can be used to confirm the unit version using the Unit Manufacturing Information. turing Information. The following dialog box is displayed. In the IO Table Window, right-click and select Unit Manufacturing informa- tion - CPU Unit ...

Page 6

Using Unit Version Label Unit Version Notation Product nameplate Notation used in this manual Ver. 2.0 or later number Ethernet Unit Ver. 1.3 or later shown to right of the lot number Blank to the right of lot Pre-Ver. 1.3 ...

Page 7

viii ...

Page 8

TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 9

... FINS/TCP Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4 Creating Routing Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5 Using FINS Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6 Communicating between OMRON PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-7 Precautions on High Traffic in FINS Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SECTION 7 FINS Commands Addressed to Ethernet Units . . . . . . . . . . . . 155 7-1 Command Codes and Response Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 10

TABLE OF CONTENTS Appendices A Ethernet Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 11

TABLE OF CONTENTS ...

Page 12

... Overview of functions for constructing applications. Information on using mail functions to automatically send I/O memory data from OMRON PLCs to personal computers. Information on using mail functions to send commands from OMRON PLCs to per- sonal computers. Information on transferring large files between personal computers and OMRON PLCs. ...

Page 13

Relevant Manuals The following table lists CS and CJ-series manuals that contain information relevant to Ethernet Units. Manual Model number CS1W-ETN21 W420 CJ1W-ETN21 W421 CS1W-ETN21 CJ1W-ETN21 CS1W-ETN01 W343 CS1W-ETN11 CJ1W-ETN11 CS1G/H-CPU@@H W342 CS1G/H-CPU-@@EV1 CS1D-CPU@@H CS1D-CPU@@S CJ1M-CPU@@ CS1W-SCU21-V1 CS1W-SCB21-V1/41-V1 CJ1G/H-CPU@@H CJ1G-CPU@@P ...

Page 14

Manual Model number W446 WS02-CXPC1-EV6 W444 CXONE-AL@@C-E W445 CXONE-AL@@C-E CQM1H-PRO01-E W341 CQM1-PRO01-E C200H-PRO27-E CS1W-SCB21-V1/41-V1 W336 CS1W-SCU21-V1 CJ1W-SCU21-V1/41-V1 !WARNING Failure to read and understand the information provided in this manual may result in per- sonal injury or death, damage to the ...

Page 15

xvi ...

Page 16

... LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS ...

Page 17

... Application Considerations OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use ...

Page 18

... Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability. The information in this manual has been carefully checked and is believed to be accurate ...

Page 19

xx ...

Page 20

This section provides general precautions for using the CS1W-ETN21 and CJ1W-ETN21 Ethernet Units (100Base-TX). The information contained in this section is important for the safe and reliable application of Ethernet Units. You must read this section and understand the information ...

Page 21

... It is extremely important that a PLC and all PLC Units be used for the speci- fied purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to the above-mentioned appli- cations ...

Page 22

Operating Environment Precautions !Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the 4 Operating Environment Precautions !Caution Do not operate the control system in the following locations: !Caution Take appropriate and sufficient countermeasures ...

Page 23

Application Precautions !Caution Failure to abide by the following precautions could lead to faulty operation of the Ethernet Unit or the system, or could damage the Ethernet Unit. Always heed these precautions. xxiv • Always turn OFF the power supply ...

Page 24

... Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note). Whether the products conform to the standards in the system used by the customer, however, must be checked by the customer ...

Page 25

Conformance to EC Directives Low Voltage Directive Always ensure that devices operating at voltages 1,000 V AC and 75 to 1,500 V DC meet the required safety standards for the PLC (EN61131-2). xxvi 6 ...

Page 26

This section introduces the features, describes the system configuration and Unit parts, and provides Unit specifications. 1-1 Ethernet Unit Function Guide . . . . . . . . . . . . . . . . . . . ...

Page 27

... Sending and receiving data via Ethernet between OMRON PLCs Use the UDP/IP version of the FINS communications service (i.e., FINS/ UDP). FINS/UDP is supported by many OMRON products and is compatible with earlier Ethernet Units (CS1W-ETN01/ETN11 and CJ1W-ETN11). The CX-Programmer can be connected and used with FINS/UDP even if personal computer middleware (FinsGateway) is not used ...

Page 28

Ethernet Unit Function Guide Connecting through Use the TCP/IP version of the FINS communications service (i.e., FINS/TCP). Multiple Segments FINS/TCP is a new function supported by these Ethernet Units (CS1W- ETN21 and CJ1W-ETN21). It provides automatic recovery at the TCP/IP ...

Page 29

... UDP), and construct applications using the SEND(090), RECV(098), and CMND(490) instructions in the ladder program. FINS/UDP is supported by many OMRON products, and is compatible with earlier Ethernet Units (CS1W- ETN01/ETN11 and CJ1W-ETN11). The protocol processing for FINS/UDP is simpler than for FINS/TCP, giving FINS/UDP certain advantages in terms of performance ...

Page 30

Ethernet Unit Function Guide Reference SECTION 6 FINS Communications Monitoring PLC Changes and Sending Equipment Status to the Operator by E-mail Operation When the mail send function is used, automatic communications applications via the Internet can be constructed relatively easily. ...

Page 31

Ethernet Unit Function Guide Reference SECTION 2 Mail Send Function in the Operation Manual Construction of Applications Receiving E-mail (Data and Files) at the PLC Operation Use the mail receive function. When the mail receive function is used, the PLC ...

Page 32

Ethernet Unit Function Guide Reference Exchanging Large Files between a Personal Computer and PLC Operation Reference Creating an Original Communications Procedure Using TCP/IP (UDP/IP) for the Host Application or Communicating with PLCs from Another Manufacturer Operation Reference Mail software Sending ...

Page 33

... A variety of protocols makes available a wide range of applications for use on an Ethernet network. The protocols that can be selected include sending and receiving data by TCP/IP or UDP/IP (socket services), sending and receiving commands by OMRON's standard protocol FINS, transferring files by FTP, sending and receiving e-mail by SMTP/POP3, and automatically adjusting the PLC's internal clock by SNTP. ...

Page 34

Features Improved FINS Message Communications The following functions have been improved over previous Ethernet Unit mod- els. They allow the scale of the system to be increased, and can give greater flexibility to the system configuration including the host computer. ...

Page 35

Features Note The e-mail functions require a separate mail server (SMTP/POP3). Automatic PLC Internal Clock Adjustment The built-in clock of the PLC connected to the Ethernet can be automatically adjusted, with the SNTP server clock taken as the standard. Automatic ...

Page 36

System Configuration 1-3 System Configuration 1-3-1 System Configuration CX-Programmer CX-Integrator FinsGateway 1-3-2 Devices Required for Constructing a Network Recommended Hubs 1-3-3 Setup Area and Related Peripheral Devices Making Settings in the CPU Bus Unit System Setup Area (with the CX- ...

Page 37

... CPU Bus Unit System Setup Area CS/CJ-series CPU Unit OMRON Communications Units use OMRON's original FINS network system. Make the settings for the FINS network and the relay path, as required, in the Routing Table Area allocated to the non-volatile memory in the CPU Unit. ...

Page 38

Specifications 1-4 Specifications 1-4-1 General Specifications CS-series Ethernet Unit Item Model number CS1W-ETN21 Type 100Base-TX (Can be used as 10Base-T) Applicable PLCs Unit classification Mounting location CPU Rack or Expansion Rack Number of Units that can be mounted Transfer Media ...

Page 39

Specifications Item Ambient operating temperature Ambient humidity Atmosphere Ambient storage temperature Weight Dimensions CJ-series Ethernet Unit Item Model number Type Applicable PLCs Unit classification Mounting location Number of Units that can be mounted Transfer Media access specifica- method tions Modulation ...

Page 40

Specifications 1-4-2 Dimensions CS1W-ETN21 ETN21 RUN 100M ERC ERH SD TCP RD FTP LNK HOST UNIT 0 NO. NODE 100BASE-TX 10BASE-T 35 Section 1-4 101 (Unit: mm) 15 ...

Page 41

Specifications CJ1W-ETN21 31 ETN21 RUN ERC SD RD 100M ERH TCP FTP HOST 100BASE-TX 10BASE-T 1-4-3 Software Configuration The software supported by the Ethernet Unit runs in the layers shown in the following diagram. The components that ...

Page 42

... FINS (Factory Interface Network Service) A protocol that sends messages between PLCs on any of various OMRON FA networks. To ensure that transmitted messages arrive at the destination node necessary to program special measures such as retry process- ing into the user's applications. ...

Page 43

Overview of Communications Functions Executing, from the host computer, FINS commands with UDP/IP or TCP/IP headers enables various control operations, such as the reading and writing of I/O memory between PLCs, mode changes, and file memory operations. For example, it ...

Page 44

Overview of Communications Functions A total of eight ports (UDP and TCP combined) can be used for socket ser- vices. Executing CMND(490) Another way to use socket services is to request a UDP or TCP socket ser- vice by sending ...

Page 45

Overview of Communications Functions 1-5-3 FTP Server Function The Ethernet Unit has a built-in FTP server, so other computers on the Ether- net can read or write individual files on a Memory Card mounted to the CPU Unit or in ...

Page 46

Overview of Communications Functions 1-5-5 Mail Receive Function Note (2) An SMTP server is required to use the mail send function. (3) Mail server settings require specialized knowledge, so they should al- ways be handled by the network administrator. (4) ...

Page 47

Overview of Communications Functions 1-5-6 Automatic Clock Adjustment Function Note 1-5-7 Specifying Servers by Host Name Note 22 The Ethernet Unit can acquire clock information from the SNTP server at a particular time or when a dedicated bit turns ON, ...

Page 48

... Node Address Switches Used to set the Ethernet Unit's FINS node number in two digits hexadecimal. 100BASE-TX 10BASE-T Ethernet Connector Used to connect the Ethernet twisted-pair cable. CS1W-ETN21 ETHERNET UNIT Lot No. OMRON Corporation @@@@@@@@@@@@ Ethernet Address Ethernet address (12 digits) Section 1-6 MADE IN JAPAN 23 ...

Page 49

Nomenclature and Functions Note CJ-series Ethernet Units CJ1W-ETN21 (100Base-TX) Note 24 The Ethernet address can also be checked using the FINS command, CON- TROLLER DATA READ. For details, refer to 7-3-2 CONTROLLER DATA READ on page 160. Front Slider For ...

Page 50

... Ethernet Unit between 0 16 the node number switches and the Ethernet connector. IP ADDRESS 133.113 SUBNET MASK 255.255.255.0 100BASE-TX 10BASE-T CJ1W-ETN21 ETHERNET UNIT Lot No. OMRON Corporation MADE IN JAPAN @@@@@@@@@@@@ Ethernet Address Ethernet address (12 digits) CS1W-ETN21 CJ1W-ETN21 (100Base-TX) (100Base-TX) ETN21 ETN21 RUN RUN 100M 100M ...

Page 51

Nomenclature and Functions Indicator Color RUN Green 100M Green (Transfer speed) ERC Red (Ethernet Unit error) ERH Red (CPU Unit error) SD Yellow (Send Data) RD Yellow (Receive Data) LNK Yellow (Link status) TCP Yellow (TCP socket in use) FTP ...

Page 52

Comparison with Previous Models 1-7 Comparison with Previous Models Item Model number Physical layer Number of nodes PLC maintenance via the Internet Server specification Communi- FINS com- Automatic IP cations ser- munica- address acquisi- vice tions tion (DHCP cli- service ...

Page 53

Unit Version Upgrade Information 1-8 Unit Version Upgrade Information The details of the upgrade to the Ethernet Unit version are as follows: Unit Version 1.3 Unit Version 1.4 28 Upgrade Web function added The unit settings and status monitoring for ...

Page 54

This section explains how to install the Ethernet Unit and make the initial settings required for operation. 2-1 Overview of Startup Procedure . . . . . . . . . . . . . . . . . . ...

Page 55

Overview of Startup Procedure 2-1 Overview of Startup Procedure The following procedure is the same for the CS Series and CJ Series. Determine the local IP address Refer to SECTION 5 Determining IP Addresses. and address conversion method. Set the ...

Page 56

Switch Settings 2-2 Switch Settings 2-2-1 CS-series Ethernet Units Setting the Unit Number The unit number is used to identify individual CPU Bus Units when more than one CPU Bus Unit is mounted to the same PLC. Use a small ...

Page 57

Switch Settings 2-2-2 CJ-series Ethernet Units Setting the Unit Number The unit number is used to identify individual CPU Bus Units when more than one CPU Bus Unit is mounted to the same PLC. Use a small screwdriver to make ...

Page 58

Mounting to a PLC Unit Operating Mode If the node address is set to 00, the Unit operating mode change function will Change Function start. This function changes the format for the Unit Setup (in the CPU Bus Unit Sys- ...

Page 59

Network Installation CPU Rack Expansion Backplane Expansion Backplane Expansion Backplane PS: Power Supply Unit CPU: CPU Unit IC: I/O Control Unit II: I/O ...

Page 60

Network Installation 2-4-2 Recommended Products The following products are recommended for use with the CS1W-ETN21 Ethernet Unit. 2-4-3 Precautions Precautions on Laying Twisted-pair Cable Basic Precautions Environment Precautions Part Maker Model number Hub 100BASE-TX PHOE- SWITCH NIX 5TX CON- TACT ...

Page 61

Network Installation Hub Installation Environment Precautions Hub Connection Methods If more hub ports are required, they can be added by connecting more than one hub. There are two possible connection methods for hubs: Cascade and stacked. Cascade Connections Note It ...

Page 62

Network Installation 2-4-4 Using Contact Outputs (Common to All Units) Communications errors can occur when Contact Output Units are mounted to the same Rack or connected to the same PLC as an Ethernet Unit due to noise generated by the ...

Page 63

Connecting to the Network 2-5 Connecting to the Network 2-5-1 Ethernet Connectors The following standards and specifications apply to the connectors for the Ethernet twisted-pair cable. 2-5-2 Connecting the Cable !Caution Turn OFF the PLC’s power supply before connecting or ...

Page 64

Creating I/O Tables 1,2,3... 1. Lay the twisted-pair cable. 2. Connect the cable to the hub. Be sure to press in the cable until it locks into 3. Connect the cable to the connector on the Ethernet Unit. Be sure ...

Page 65

Creating I/O Tables Programming Console CX-Programmer (Version 3.20 or Higher) and CX-Integrator The operations are explained here using a Programming Console. For details regarding the CX-Programmer and the CX-Integrator, refer to the CX-Pro- grammer User’s Manual. Refer to the CX-Integrator ...

Page 66

Unit Setup Procedure 2-7 Unit Setup Procedure 1,2,3... Use the CX-Programmer (Ver. 3.20 or higher) for the Ethernet Unit Setup, and follow the procedure described below. Some functions added with unit version 1.3 require CX-Programmer version 5.0 or higher for ...

Page 67

Unit Setup Procedure 42 3. Read the I/O tables from the PLC and select the Rack to which the Ether- net Unit is mounted. 4. Move the cursor to the Ethernet Unit and right-click. Select Unit Setup from the popup ...

Page 68

Using the Web Browser Setting Function 5. Make the required settings (i.e., the IP address in this case). 6. Transfer the settings to the PLC Check the Ethernet Unit's LED indicators. 2-8 Using the Web Browser Setting Function ...

Page 69

Using the Web Browser Setting Function 1,2,3... 44 1. Connect to the Ethernet Unit from the Web browser. In this example, the URL is specified as http://192.168.250.1/0 using the Ethernet Unit’s default IP address. 2. Select Settings from the menu ...

Page 70

Using the Web Browser Setting Function 3. Select 1. IP address and Protocols - System to display the Login Pass- 4. Input the default password (“ETHERNET” all in upper case) and click the 5. The settings in the System menu ...

Page 71

Basic Settings 7. After entering the correct values, click the Set Button followed by the Reg- The Set Button is used to transfer the entered values from the personal com- puter, and temporarily register them in the Ethernet Unit. The ...

Page 72

Basic Settings Default Setting The Ethernet Unit operates using the default IP address when the Unit is mounted to the PLC and initially registered in the I/O tables (i.e., when the Unit settings have not been made and the IP ...

Page 73

Basic Settings Example: Using the CX-Programmer to Set the IP Address to 10.3.65.1 When an IP address is set in the Unit Setup, that value is displayed in the IP Address Display/Setting Area in the DM Area words allocated for ...

Page 74

Basic Settings Baud Rate Set the baud rate. Auto (Default) 10Base-T TCP/IP Keep-alive Setting Set the Liveness-Checking Interval. (This setting is enabled only when FINS/ TCP or TCP/IP socket services are used.) When the keep-alive function is used with FINS/TCP ...

Page 75

Unit Setup for Particular Applications The default IP router is selected when no Network ID exists in the IP router table for the destination network number. To set the default IP router, set 0.0.0.0 for the IP address and set ...

Page 76

Unit Setup for Particular Applications For details, refer to SECTION 2 Mail Send Function in the Operation Manual Construction of Applications. Mail Reception For details, refer to SECTION 3 Mail Receive Function in the Operation Man- ual Construction of Applications. ...

Page 77

Communications Test For details, refer to SECTION 5 Automatic Clock Adjustment Function in the Operation Manual Construction of Applications. Web Functions For details, refer to Appendix G Ethernet Unit Web Function. 2-11 Communications Test If the basic settings (in particular ...

Page 78

Converting from Previous Models 2-11-3 Host Computer The PING command can be executed from the host computer to send an echo request packet to an Ethernet Unit. The method for using the PING com- mand from a UNIX computer is ...

Page 79

Converting from Previous Models If the format change is from ETN11 mode to ETN21 mode, then there will be no effect on previous applications. If the change is from ETN21 mode to ETN11 mode, however, then certain limitations will go ...

Page 80

Converting from Previous Models Checking the CPU Bus Unit System Setup Area Format Checking with the CX-Programmer's Software Switches - Status Tab Window Checking with the CX-Programmer's Unit Setup Window Window Display in ETN21 Mode Section 2-12 55 ...

Page 81

Converting from Previous Models Window Display in ETN11 Mode Checking by Reading Words Allocated in the CIO Area Changing the CPU Bus The CPU Bus Unit System Setup Area format can be changed in either of the Unit System Setup ...

Page 82

Converting from Previous Models Using the CX-Programmer's Unit Setup 1. Select Change Ethernet Unit Mode from the Options Menu in the Unit Set- 2. The following confirmation message will be displayed. To change the 3. After the mode has been ...

Page 83

Converting from Previous Models Manipulating the Rotary Switches for the Node Address with a Precision Screwdriver Converting from ETN11 Mode to ETN21 Mode 1. Turn OFF the power to the PLC, and set the Ethernet Unit's rotary switches 2. Turn ...

Page 84

Converting from Previous Models 7. Turn OFF the power to the PLC and return the Ethernet Unit's rotary 8. Turn ON the power to the PLC. Converting from ETN21 Mode to ETN11 Mode 1. Turn OFF the power to the ...

Page 85

Converting from Previous Models 7. Turn OFF the power to the PLC and return the Ethernet Unit's rotary 8. Turn ON the power to the PLC. 60 Note If an error occurs in the mode change, remove the Ethernet Unit, ...

Page 86

This section describes how to install the Ethernet Unit and make the initial settings required for operation. 3-1 Setup . . . . . . . . . . . . . . . . . . . . . ...

Page 87

Setup 3-1 Setup Item Broadcast Set the method for specifying IP addresses for broadcasting in FINS/ UDP. • All 1 (4.3BSD): Broadcast with host number set to all ones. • All 0 (4.2BSD): Broadcast with host number set to all ...

Page 88

Setup Item Destination IP Address Select to dynamically change the remote (destination) IP address for FINS/UDP. To prohibit dynamic changes, deselect this box. (Change Dynamically) Baud Rate Select the Ethernet baud rate for the Ethernet Unit. Select either automatic detection ...

Page 89

FINS/TCP 3-2 FINS/TCP FINS/TCP Connection Setup 64 Item No. Shows the connection number. This is a network API used when TCP is used for the FINS communica- tions service. It corresponds to a socket in the socket services ...

Page 90

FINS/TCP The following settings can be made for each connection number. FINS/TCP Mode For each connection number, this setting specifies IP Address Auto allocated FINS node keep-alive For details, refer to SECTION 6 FINS Communications Service in the Opera- tion ...

Page 91

DNS 3-3 DNS DNS Server Setup IP Address Port No. Retry timer 66 Item Contents Set the IP address for the DNS server. The DNS server is required when specifying the POP3, SMTP, or SNTP servers by host name for ...

Page 92

SMTP 3-4 SMTP SMTP Server Setup Server specifi- cation type For details, refer to SECTION 2 Mail Send Function in the Operation Manual Construction of Applications. Item Select whether the SMTP server used for send- ing mail ...

Page 93

POP 3-5 POP POP Server Setup For details, refer to SECTION 3 Mail Receive Function in the Operation Man- ual Construction of Applications. 68 Item Server specifi- Select whether the POP3 server used for receiving cation type mail is to ...

Page 94

Mail Address 3-6 Mail Address Destination Mail Address Setup For details, refer to SECTION 2 Mail Send Function in the Operation Manual Construction of Applications. Item Mail Address 1 Set one of the addresses to which the Ethernet Unit is ...

Page 95

Send Mail 3-7 Send Mail 70 Item Trigger No. Select a number as the trigger condition for send- ing mail eight trigger numbers can be regis- tered. Send mail upon Sets whether or not the selected mail trigger ...

Page 96

Send Mail Item Mail Soft- If this option is selected, mail is sent whenever the trigger ware Mail Send Switch turns ON. type switch The Mail Send Switch is bit 03 of word n in the (Select words allocated for ...

Page 97

Receive Mail 3-8 Receive Mail Posting Mail Address Protection Setting 72 Item Interval time When “Periodic timer” is set as the mail trigger type When “Bit value change” or “Word value change” is set as the mail trig- ger type ...

Page 98

Receive Mail Receive Attached File Setting Receive file with specified extension only OBJ STD IOM CSV TXT Custom Receive Command Setting Receive specified com- mand only FileWrite FileRead FileDelete FileList UMBackup PARAMBackup IOMWrite IOMRead ChangeMode Item If ...

Page 99

Auto Adjust Time 3-9 Auto Adjust Time SNTP Server Setup 74 For details, refer to SECTION 3 Mail Receive Function in the Operation Man- ual Construction of Applications. Item Get the time If this option is selected, the CPU Unit's ...

Page 100

HTTP For details, refer to SECTION 5 Automatic Clock Adjustment Function in the Operation Manual Construction of Applications. 3-10 HTTP HTTP Server Setup For details, refer to Appendix G Ethernet Unit Web Function. Note Item Retry timer Set the time ...

Page 101

HTTP 76 Section 3-10 ...

Page 102

This section describes the words allocated in the CIO Area and the DM Area for Ethernet Units. 4-1 CIO Area Allocations . . . . . . . . . . . . . . . . . . . ...

Page 103

CIO Area Allocations 4-1 CIO Area Allocations The various kinds of data are stored in the offset positions shown in the fol- lowing diagram, from the beginning word in the area for each Unit. The beginning word n is calculated ...

Page 104

CIO Area Allocations Unit Control Bits (CPU Unit to Ethernet Unit Bit Switch Status (Not used.) --- 2 Socket Force-close ON Switch OFF 3 Mail Send Switch ON OFF 4 ...

Page 105

CIO Area Allocations Status of UDP/TCP Sockets (Ethernet Unit to CPU Unit n+1 to n+16 Bit Flag Status 0 Opening Flag ON OFF 1 Receiving Flag ON OFF 2 Sending Flag ...

Page 106

CIO Area Allocations Receiving Flag (Bit 1) Turns ON when a receive request is received either by control bit manipulation or the CMND(490) instruction, and turns OFF again when the receive pro- cessing has been completed. When CMND(490) is used, ...

Page 107

CIO Area Allocations Service Status (Ethernet Unit to CPU Unit) Bit Name Status 0 FTP Status Flag ON OFF 1 Accessing Memory, ON Sending Mail OFF 2 Accessing Memory, ON Receiving Mail OFF (Not used.) --- 8 ...

Page 108

CIO Area Allocations Accessing Memory (Receiving Mail) (Bit 2) This bit turns ON while CPU Unit memory is being accessed to store an attached file using the mail receive function, and it turns OFF after the file has been stored. ...

Page 109

CIO Area Allocations Bit Error 11 SNTP server error 12 SMTP server error 13 POP server error 14 Address disagreement 15 EEPROM error Socket Service Request When a socket service request is executed by control bit manipulation the ...

Page 110

CIO Area Allocations Bit Switch Status Manipulated 8 0 UDP Open Request ON Switch OFF 9 1 TCP Passive Open ON Request Switch OFF 10 2 TCP Active Open ON Request Switch OFF 11 3 Send Request ON Switch OFF ...

Page 111

DM Area Allocations These bits show the status of FINS/TCP connections. Bit Switch Status 0 FINS/TCP Connec- ON tion No.1 OFF 1 FINS/TCP Connec- ON tion No.2 OFF FINS/TCP Connec- ON tion No.15 OFF 15 FINS/TCP ...

Page 112

DM Area Allocations The meanings of the items shown in the above diagram are explained on the following pages. For details regarding the related communications services shown in the diagram, refer to the indicated sections. Send Mail Status 1, 2 ...

Page 113

DM Area Allocations TCP Socket No 8): Number of Bytes Received (Ethernet Unit to CPU Unit) For each TCP socket, the number of bytes of data in the reception buffer is stored in one word. A maximum of ...

Page 114

DM Area Allocations IP Address Display/Setting Area IP address: (1)(2).(3)(4).(5)(6).(7)(8) (Hex) If the local IP address in the CPU Bus Unit System Setup is set to a value other than 0.0.0.0, this area (words m+98 and m+99) will act as ...

Page 115

Auxiliary Area Data 4-3 Auxiliary Area Data The following table and descriptions cover the words and bits in the Auxiliary Area of PLC memory that are related to the Ethernet Unit. Read-only Bits/Words Word(s) Bit(s) Name A202 A20200 to Communications ...

Page 116

Auxiliary Area Data Word(s) Bit(s) Name A417 A41700 to CPU Bus Unit Error, A41715 Unit Number Flags A427 A42700 to CPU Bus Unit Set- A42715 ting Error, Unit Number Flags Read/Write Bits (User Settings) Word Bits Name A501 A50100 to ...

Page 117

Auxiliary Area Data 92 Section 4-3 ...

Page 118

This section explains how to manage and use IP addresses. 5-1 IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 119

IP Addresses 5-1 IP Addresses Ethernet networks use IP addresses for communications. IP addresses iden- tify both the Ethernet network and the node (host computer, Ethernet Unit, etc.). IP addresses must be set and controlled so that they are not ...

Page 120

IP Addresses 5-1-3 Ethernet Unit IP Address Settings An IP address must be set even for the Ethernet Unit before Ethernet commu- nications can proceed. Either use the default for the Ethernet Unit's IP address, or else use a Peripheral ...

Page 121

IP Addresses in FINS Communications 5-2 IP Addresses in FINS Communications 5-2-1 Specifying Nodes in FINS Communications Services With FINS communications services on an Ethernet network, IP addresses, UDP port numbers, and TCP port numbers are paired with FINS node ...

Page 122

IP Addresses in FINS Communications Pairing IP Addresses with A particular IP address is allocated to each communications node, including FINS Node Addresses at Ethernet Units. The IP address must be paired with the FINS node address (1 Local Nodes ...

Page 123

IP Addresses in FINS Communications 5-2-2 Pairing Addresses in Internal Tables FINS/UDP Communications Methods Automatic Generation When the Ethernet Unit is turned ON or restarted, the following values are set (Dynamic) for addresses in the internal table. With the dynamic ...

Page 124

IP Addresses in FINS Communications IP Address Table Method With this method, FINS node addresses are converted to IP addresses based on a correspondence table (IP address table) that is preset in the Unit setup. The IP address table is ...

Page 125

IP Addresses in FINS Communications With the combined method, records of FINS nodes registered to the IP address table are not dynamically changed. For all others nodes, the data from FINS nodes registered with a remote IP address of 0.0.0.0 ...

Page 126

IP Addresses in FINS Communications Using the ETN11- For Ethernet Unit with unit version 1.4 or later, operating specifications can be compatible Mode made compatible with the CS1W-ETN11/CJ1W-ETN11 for all methods (auto- matic generation (dynamic), I/O address table, or combined). ...

Page 127

IP Addresses in FINS Communications FINS/TCP Communications Method Pairing in the FINS/TCP With the FINS/TCP method, communications are first established for each Method connection, and then remote FINS node addresses are mutually converted. (See note.) Then FINS message communications are ...

Page 128

IP Addresses in FINS Communications Personal computer or Ethernet Unit (client) (1) The connection is established. Local FINS node number A (2) The local device (such as a personal computer) sends notification that its Local IP address T FINS node ...

Page 129

IP Addresses in FINS Communications 5-2-3 Application Examples Responding to Computers with Changed IP Addresses FINS/UDP With FINS/UDP, whether using the automatic conversion method (dynamic), Communications Method the IP address table method, or the combined method, remote FINS node addresses ...

Page 130

IP Addresses in FINS Communications applications, such as mail servers, are normally allocated fixed IP addresses. Ethernet Units in PLC systems are also allocated fixed IP addresses. Simultaneously Running Multiple Applications on a Personal Computer In communications involving previous models, ...

Page 131

IP Addresses in FINS Communications Models Supporting Automatic Generation Method (Static) Models Supporting IP Address Table Method Models that Can Use the Combined Method 106 Product CS-series Ethernet 100BASE-TX Unit 10BASE-5 10BASE-T CJ-series Ethernet 100BASE-TX Unit 10BASE-T CV/CVM1-series 10BASE-5 Ethernet ...

Page 132

Private and Global Addresses 5-2-5 Pairing IP Addresses and FINS Node Addresses The following table shows the methods for pairing IP address and FINS node addresses, and the relation between fixed and variable address, for both FINS/UDP and FINS/TCP. Communi- ...

Page 133

Private and Global Addresses Intranet Intranet Global address IP router Private address Firewall Private address Communications Services A global address is required for the Ethernet Unit's IP address when the fol- That Require Global lowing communications services are used over ...

Page 134

Private and Global Addresses 5-3-2 Using a Private Address for the Ethernet Unit Intranet Sending mail Receiving mail E-mail can be sent and received through the Internet. Intranet IP router Firewall Ethernet Unit: Private address Conditions for Using When the ...

Page 135

Private and Global Addresses 2. Transferring Files 3. Sending Mail 4. Receiving Mail 5. Automatic Clock Adjustment 6. Host Name Designation Note Network Security and Firewalls Setting up an intranet through a global address involves network security con- siderations. Before ...

Page 136

Private and Global Addresses 5-3-3 Ethernet Unit with a Global Address Intranet Communications over Internet Intranet Global address IP router Private address Firewall Communications in intranet Ethernet Unit: Global address Conditions for Using Communications Applications 1,2,3... CX-Programmer, etc. FINS/TCP client ...

Page 137

Private and Global Addresses Note 112 3. Sending Mail • The PLC can send the Ethernet Unit's IP address to the SMTP server by mail via the intranet, even private address. • The TCP port number ...

Page 138

... Routing Table Setting Examples 6-5 Using FINS Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5-1 CX-Programmer (CX-Server 6-5-2 FinsGateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6 Communicating between OMRON PLCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6-1 Communications Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6-2 PLC Communications Data Areas . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6-3 Using SEND(090), RECV(098), and CMND(490 6-6-4 Writing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 139

... Ethernet Physical Layer The FINS communications service is a communications method based on UDP/IP, and it is supported by most OMRON Ethernet-related products. (In this manual it is called the FINS/UDP method.) In addition to supporting the FINS/UDP method, the CS1W-ETN21 and CJ1W-ETN21 support FINS com- munications using TCP/IP. (In this manual, this is called the FINS/TCP method ...

Page 140

Overview of FINS Communications 6-1-3 FINS Communications Service Specifications for Ethernet Item Number of nodes 254 Message length 2,012 bytes max. Number of buffers 192 Protocol name FINS/UDP method Protocol used UDP/IP The selection of UDP/IP or TCP/IP is made ...

Page 141

FINS/UDP Method 6-2 FINS/UDP Method 6-2-1 Overview FINS/UDP Features The FINS/UDP method is a FINS communications method that uses the UDP/ IP protocol. UDP/ connectionless communications protocol. When a message is sent from one node to another, the ...

Page 142

FINS/UDP Method UDP Port Numbers for FINS/UDP Procedure for Using FINS/UDP 1. Make the basic settings. Refer to SECTION 2 Startup Procedure in the Operation Manual Construction of Networks. 2. Make the settings in the Unit Setup. With the CX-Programmer ...

Page 143

FINS/TCP Method 6-3 FINS/TCP Method 6-3-1 Overview FINS/TCP Features The FINS/TCP method is a FINS communications method that uses the TCP/ IP protocol. TCP/ connection-type communications protocol. Before a message is sent from one node to another, it ...

Page 144

FINS/TCP Method FINS/TCP Frame Format The following diagram shows the structure of a TCP packet sent over an Ethernet network. Ethernet Ver the diagram shows, a nested structure is used with the FINS/TCP method, i.e., Ethernet Ver. 2, ...

Page 145

FINS/TCP Method FINS/TCP Connection Status (Word n+23) While a connection with a remote node is established, the bit corresponding to the FINS/TCP connection status turns ON in the section of the CPU Bus Unit words allocated in the CIO Area. ...

Page 146

FINS/TCP Method Note Procedure for Using FINS/TCP 1. Make the basic settings. Refer to Section 2 Startup Procedure in the Operation Manual Construction of Net- works. 2. Make the settings in the Unit Setup. With the CX-Programmer connected online, select ...

Page 147

Creating Routing Tables 6-4 Creating Routing Tables 6-4-1 Routing Table Overview Local Network Table Note Relay Network Table 122 When the FINS communications service is used, routing tables must be cre- ated in advance. Routing tables are required in the ...

Page 148

Creating Routing Tables The following example shows routing tables for sending data from PLC #1 (the local node: network address 1, node address 1) to PLC #4 (the destination node: network address 3, node address 2). PLC #1 (local node) ...

Page 149

Creating Routing Tables 6-4-3 Routing Table Setting Examples Example 1: Local Network Table for a PLC With Multiple Units Mounted Example 2: Three Interconnected Networks 124 This example shows the local network table settings for a PLC to which multi- ...

Page 150

Creating Routing Tables Example 3: All Nodes This example uses the following configuration to show the routing tables for all nodes. E Unit #5 PLC T 1 Node #6 N Unit #3 Node # PLC L ...

Page 151

Using FINS Applications 6-5 Using FINS Applications 6-5-1 CX-Programmer (CX-Server) The following examples show how to connect online from a CX-Programmer on an Ethernet network to a PLC on the Ethernet network. System Configuration Example 1: No Routing In this ...

Page 152

Using FINS Applications CX-Programmer's Unit Setup Setup Tab Example: Inputs to the CX-Programmer's Setup Window Example: Change PLC Settings Item Broadcast All ones (4.3BSD) FINS/UDP port Default (9600) IP address 0.0.0.0 (Use default IP address.) Subnet mask 0.0.0.0 IP address ...

Page 153

Using FINS Applications Example: Network Settings (Network Tab) Note When FinsGateway is selected as the network type, make sure that the frame length is set to 2,000 bytes max. Example: Network Settings (Driver Tab) 128 Section 6-5 ...

Page 154

Using FINS Applications System Configuration Example 2: Using Routing Tables In this example, an online connection is made via the Ethernet to a PLC on a Controller Link network (PLC 3 below) from a CX-Programmer/CX-Integrator connected to the Ethernet network. ...

Page 155

Using FINS Applications 2. Save the routing table file (File - Save local routing table file). 3. Select New from the Project Menu, and save with a file name. Then select 4. With CX-Integrator, select Open from the PLC Menu. ...

Page 156

Using FINS Applications • Network Tab • Network number • Local node address • Communication unit number • Communication Unit Tab • UDP port number • Priority Network Card • FINS - IP address conver- Set the network number for ...

Page 157

Using FINS Applications • UDP Nodes Tab: Automatic Generation Method (Dynamic or Passive) • UDP Nodes Tab: IP Address Table Method or Combined Method Click the Add Button, and then set the IP address table in the following Ether- net ...

Page 158

Using FINS Applications • Node address: • IP address: • TCP Nodes Tab Click the Add Button, and then set the IP address table in the following Ether- net Node Definition Dialog Box. Set the remote FINS node address. Set ...

Page 159

Using FINS Applications 3. Starting FinsGateway ETN_UNIT Service Select ETN_UNIT from Services under the Basic Tab in the FinsGateway Setup Window, and then click the Start Button. System Configuration Example 3: Connecting the CX-Programmer Online Using the FINS/TCP Method In ...

Page 160

... FinsGateway ETN_UNIT Setup TCP Nodes Tab: Ethernet Node Definition Dialog Box 6-6 Communicating between OMRON PLCs FINS commands can be sent from the user’s ladder-diagram program in the PLC by using the SEND(090), RECV(098), and CMND(490) instructions. SEND(090): Writes I/O data from the local node to another node. ...

Page 161

... Communicating between OMRON PLCs Note 1. The maximum data length is limited to 512 bytes for data exchange be- 2. When broadcasting, do not require a response. 6-6-2 PLC Communications Data Areas The following table shows the I/O data areas involved when SEND(090) and RECV(098) are used. ...

Page 162

... Communicating between OMRON PLCs 6-6-3 Using SEND(090), RECV(098), and CMND(490) Make the settings shown below when using the SEND(090), RECV(098), and CMND(490) instructions in the user’s ladder-diagram program in the PC. SEND(090) The SEND(090) instruction sends the data in n number of words, starting from the beginning word S at the local node, to the words starting from the begin- ning word D at the remote destination node (node address N) ...

Page 163

... Communicating between OMRON PLCs RECV(098) With the RECV(098) instruction, the data in m number of words, starting from the beginning word S at the remote node (node address M) is received at the words starting from the beginning word D at the local node. (@)RECV(98 Remote node beginning word ...

Page 164

... Communicating between OMRON PLCs CMND(490) The CMND(490) instruction sends n bytes of command data, starting from the beginning word S at the local node, to the node at node address N. the data in m number of words, starting from the beginning word S at the remote node (node address M) is received at the words starting from the beginning word D at the local node ...

Page 165

... Communicating between OMRON PLCs Commands Addressed to CS/CJ-series CPU Units The following table provides a list of FINS commands that can be processed by a CS/CJ-series CPU Unit. For details, refer to the CS/CJ-series Program- mable Controllers Communications Commands Reference Manual (W342). For details on FINS commands that can be processed by the Ethernet Unit, refer to SECTION 7 FINS Commands Addressed to Ethernet Units ...

Page 166

... Communicating between OMRON PLCs Usage Command code MR SR File memory Debugging 6-6-4 Writing Programs Name FILE NAME READ SINGLE FILE READ SINGLE FILE WRITE FILE MEMORY FORMAT FILE DELETE FILE COPY FILE NAME CHANGE MEMORY AREA–FILE TRANSFER PARAMETER AREA–FILE TRANSFER Transfers or compares data between the PROGRAM AREA– ...

Page 167

... Communicating between OMRON PLCs Communications Execution Port Enabled Flag condition Reset B A Communications Port Enabled Flag A Communications A Port Error Flag Execution Communications condition Port Enabled Flag Reset D (Continued in same way.) Note 142 C Input A remains ON from start to completion of commu- KEEP(011) A nications instruction. ...

Page 168

... Communicating between OMRON PLCs Communications Port The status of a SEND(090), RECV(098), and CMND(490) instruction after Completion Codes execution is reflected as a communications port completion code, in one word (two bytes) of data as shown in the following table. (The value is 0000 during instruction execution.) The recorded status is saved until execution of the next instruction ...

Page 169

... Communicating between OMRON PLCs Example Communications Port Enabled Flag Communications instruction: SEND(090), RECV(098), CMND(490) Communications Port Error Flag Communications Port Completion Code 144 1 0 Instruction 1 Instruction 2 being executed. being executed 0000 0000 Completion 0000 (Normal completion) Section 6-6 Instruction 3 being executed. ...

Page 170

... Communicating between OMRON PLCs 6-6-5 Program Example Execution condition (See note.) 000000 A20207 120002 120001 120000 (See note.) 120000 A20207 120000 A21907 (Continued on next page.) When the Communications Port Enabled Flag for port 7 S KEEP is ON, and RECV(098) is not being executed, the send ...

Page 171

... Communicating between OMRON PLCs (Continued from previous page.) Execution condition (See note.) 000001 A20207 120000 120003 120002 120002 A20207 (See note.) 120002 A21907 120002 120003 A21907 Note 1. With CS/CJ-series PLCs, the Communications Port Enabled Flags at bits 2. Before using the sample program as is, confirm that the memory areas ...

Page 172

... Communicating between OMRON PLCs 6-6-6 Transmission Delays SEND(090) SEND(090) executed in user program CPU Bus Unit service cycle (local node) CPU Bus Unit service processing time (local node) The methods of computing the maximum time required from execution of the SEND(090), RECV(098), and CMND(490) instructions until processing is completed are described in this section ...

Page 173

... Communicating between OMRON PLCs CPU Bus Unit Service Processing Time (Local Node) The processing time will be as follows, depending on the CPU processing mode settings at the CPU Unit: For details, refer to the CPU Unit operation manual. Transmission Processing Time Number of words sent x 0.002 + 0.550 ms ...

Page 174

... Communicating between OMRON PLCs CPU Bus Unit Service Processing Time (Remote Node) The processing time will be as follows, depending on the CPU processing mode settings at the CPU Unit. Normal Mode Priority peripheral servicing Parallel processing with syn- chronous memory access Parallel processing with ...

Page 175

... Communicating between OMRON PLCs RECV(098) The transmission delay for the RECV(098) instruction can be calculated using the equation illustrated in the following diagram. RECV(098) executed in user program CPU Bus Unit Service Cycle (local node) CPU Bus Unit service processing time (local node) Transmission ...

Page 176

... Communicating between OMRON PLCs CPU Bus Unit Service Processing Time (Local Node 1) The processing time will be as follows, depending on the CPU processing mode settings at the CPU Unit: CPU processing mode settings Normal Mode Priority peripheral servicing Parallel processing with syn- chronous memory access ...

Page 177

... Communicating between OMRON PLCs CPU Bus Unit service processing time (remote node) The processing time will be as follows, depending on the CPU processing mode settings at the CPU Unit. CPU processing mode settings Normal Mode Priority peripheral servicing Parallel processing with syn- chronous memory access ...

Page 178

Precautions on High Traffic in FINS Communications nodes, traffic through the Ethernet Unit (e.g., socket servicing, FTP server communications, etc.), and the system configuration. Example Calculations The following example shows calculations for receiving 256 words between two PLC nodes using ...

Page 179

Precautions on High Traffic in FINS Communications For example, suppose that approximately 20 ms are required to process a sin- gle FINS frame (i.e from the time that the command is received at the Ethernet Unit until a ...

Page 180

FINS Commands Addressed to Ethernet Units This section describes the FINS commands that can be sent to an Ethernet Unit and the responses that are returned by the Ethernet Unit. 7-1 Command Codes and Response Codes . . . . ...

Page 181

Command Codes and Response Codes 7-1 Command Codes and Response Codes 7-1-1 Command Code List The command codes listed in the following table can be sent to an Ethernet Unit 7-1-2 Response Code List Response codes are 2-byte ...

Page 182

Socket Applications The MRES codes are shown in the following table along with the results they indicate. Refer to 8-5 Troubleshooting with Response Codes for details on response codes including the SRES ...

Page 183

Socket Applications Parameters Specifies the parameters for the command code. Parameters depend on the command being executed; for details, refer to the following pages. 7-2-2 PLC Memory Areas The memory areas of the PLC that can be specified for results ...

Page 184

Command/Response Reference 7-3 Command/Response Reference This section describes the FINS commands that can be sent to Ethernet Units and the responses to each command. The command, response, and (where applicable) the results storage blocks are given with the commands in ...

Page 185

Command/Response Reference 7-3-2 CONTROLLER DATA READ Reads the following data from the Ethernet model, version, IP address, sub- net mask, FINS UDP port number, mode settings, Ethernet address. Command Block Command code Response Block 05 01 Command Response code code ...

Page 186

Command/Response Reference FFINS/TCP Port Number Setting 0: Default (9600) 1: Unit Setup value Baud Rate setting 0: Automatic detection 1: 10Base-T SNTP Server Specification Method 0: IP address 1: Host name SMTP Server Specification Method 0: IP address 1: Host ...

Page 187

Command/Response Reference Parameters Error Flags (Response) Indicates the operating status and errors that occurred when the Ethernet Unit was started The cause of each error is listed below. IP Address Error All bits for ...

Page 188

Command/Response Reference Address Disagreement The address conversion method was set for automatic generation, but the node address and the last byte of the local IP address do not agree, or other host sections are 0. EEPROM Error An error occurred ...

Page 189

Command/Response Reference Parameters Test Data (Command, This command specifies the data to be sent to the specified nodes Response) 1,998 bytes can be specified. The response sends back data identical to the data specified in the command. An ...

Page 190

Command/Response Reference Command Block Parameters Test Data (Command) This command specifies the data to be sent to the specified nodes 1,460 bytes can be specified. Precautions No response is made to this command. When using this command, set ...

Page 191

Command/Response Reference Error Log Data The specified number of error log records from the beginning record number (Response) is returned sequentially. The total number of bytes in the error log is calculated as the number of records x 10 bytes/record. ...

Page 192

Command/Response Reference 7-3-9 UDP OPEN REQUEST Requests processing to open a socket. Command Block Command code Response Block Results Storage Format Results storage response code Parameters Socket Option (Command) The socket option specified as 1 byte. The setting is not ...

Page 193

Command/Response Reference Results Storage Area Response Codes 0000 003E 0049 7-3-10 UDP RECEIVE REQUEST Requests that data be sent from a UDP socket. Command Block Response Block Results Storage Format Parameters Socket Option (Command) The socket option specified as 1 ...

Page 194

Command/Response Reference Number of Reception The maximum number of bytes of data to be received is given in the com- Bytes (Command, Results mand. The number of bytes of data received will be stored in the results stor- Storage Area) ...

Page 195

Command/Response Reference Command Block 27 03 Command Results storage area code UDP socket number Socket option Response Block Results Storage Format Parameters Socket Option (Command) The socket option specified as 1 byte. The setting is not valid for this com- ...

Page 196

Command/Response Reference Results Storage Area Response Codes 7-3-12 UDP CLOSE REQUEST Command Block Response Block Results Storage Format Parameters Socket Option (Command) UDP Socket Number (Command) Response code 1100 UDP socket number or number of bytes sent is out of ...

Page 197

Command/Response Reference Results Storage Area (Command) Response Codes Results Storage Area Response Codes 7-3-13 PASSIVE TCP OPEN REQUEST Command Block Response Block Results Storage Format Parameters Socket Option (Command) 172 The area in which the results of the command execution ...

Page 198

Command/Response Reference TCP Socket Number The TCP socket number to be opened specified as 1 byte between 1 and 8. (Command) Results Storage Area The area in which the results of the command execution are stored. The first (Command) byte ...

Page 199

Command/Response Reference Response Codes Results Storage Area Response Codes Note 7-3-14 ACTIVE TCP OPEN REQUEST Command Block 174 Response code 0000 Normal 0105 Local IP address setting error 0302 CPU Unit error; execution not possible. 1001 Command too large 1002 ...

Page 200

Command/Response Reference Response Block Results Storage Format Parameters Socket Option (Command) The socket option is specified in one byte. TCP Socket Number The TCP socket number to be opened specified as 1 byte between 1 and 8. (Command) Results Storage ...

Related keywords