Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

Quick Links

Cat.No. W313–E1–3
SYSMAC
C200HW-PCU01
C200HW-PCS01-EV1
PC Card Unit
OPERATION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron SYSMAC C200HW-PCU01

  • Page 1 Cat.No. W313–E1–3 SYSMAC C200HW-PCU01 C200HW-PCS01-EV1 PC Card Unit OPERATION MANUAL...
  • Page 3 SYSMAC C200HW-PCU01 C200HW-PCS01-EV1 PC Card Unit Operation Manual Revised January 2000...
  • Page 5 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 7: Table Of Contents

    TABLE OF CONTENTS PRECAUTIONS ....... . . xiii 1 Intended Audience .
  • Page 8 TABLE OF CONTENTS SECTION 7 Setting Up Ethernet ......Preparations ............Installing and Removing the Ethernet Card .
  • Page 9 TABLE OF CONTENTS Appendices A Standard Models ............B Specifications .
  • Page 11 About this Manual: This manual describes the installation and operation of the PC Card Unit and includes the sections described below. A PC Card Unit enables usage of a PC card with a C200HX/HG/HE PC to provide an interface to extra memory or an Ethernet connection. In this manual Programmable Controller has been abbreviated as PC.
  • Page 13 PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the PC. You must read this section and understand the information contained before attempting to set up or operate a PC system. 1 Intended Audience .
  • Page 14: Intended Audience

    It is extremely important that a PC and all PC Units be used for the specified 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 PC System to the abovementioned applications.
  • Page 15: Application Precautions

    Application Precautions • Provide proper shielding when installing in the following locations: • Locations subject to static electricity or other sources of noise. • Locations subject to strong electromagnetic fields. • Locations subject to possible exposure to radiation. • Locations near to power supply lines. Caution The operating environment of the PC System can have a large effect on the lon- gevity and reliability of the system.
  • Page 16: Ec Directives

    EC Directives • Remove the stickers after the completion of wiring to ensure proper heat dis- sipation. Operating the Unit with the sticker in place may cause heat build-up and possible faulty operation. • Use crimp terminals for wiring. Wiring bare wires directly to terminals may result in a fire.
  • Page 17: Part 1 Features And Components

    Part 1 Features and Components This part of the manual introduces the PC Card Unit’s features, describes the components of the PC Card Unit, and explains the system configuration.
  • Page 19: Features And System Configuration

    SECTION 1 Features and System Configuration This section provides an introduction to the PC Card Unit’s features and explains the system configuration. Features ..............System Configuration .
  • Page 20: Features

    Ethernet cards can be used to exchange data with CV Ethernet Units, per- sonal computers, workstations, etc., by using the FINS protocol via UDP/IP. FINS protocol is a communications protocol developed by OMRON for FA. For details, refer to Section 11 Using FINS Commands and Responses.
  • Page 21: System Configuration

    System Configuration Section 1-2 System Configuration Systems using the PC Card Unit can be configured in either of two ways. The first is to use the C200HW-PCU01, which is the basic system for using PC cards. The second is to use the C200HW-PCS01-EV1 PC Card Unit Ethernet Set, which allows you to add Ethernet functionality to the basic system.
  • Page 22: Pc Card Unit Basics

    PC Card Unit Basics Section 1-3 Ethernet System Configuration (C200HW-PCS01-EV1) C200HW-PCS01-EV1 PC Card Unit Ethernet Set C200HX/HG/HE C200HW-CE011 Bus Connection Unit Ethernet Card Personal computer Ethernet Unit Note A MAU (Media Attachment Unit) is required to connect twisted-pair cable to a CV-series Ethernet Unit.
  • Page 23: Memory Card Functions

    PC Card Unit Basics Section 1-3 1-3-2 Memory Card Functions When the memory card functions are used, the following four operations can be executed with respect to memory cards. Card Macro command PC Card Unit Bus Connection Unit Memory card 1.
  • Page 24 Control Protocol) and UDP (User Datagram Program). Socket services are employed by using the CMCR instruction. Using socket services allows the PC Card Unit to communicate with UNIX workstations and FA Computers other than OMRON Programmable Controllers, with any protocol. For details, refer to Section 10 Socket Services.
  • Page 25: Components

    SECTION 2 Components This section describes individual product components and briefly explains the functions of each product. Unpack each prod- uct and make sure that it contains all the necessary components. 2-4 Other Required Peripheral Devices describes the devices that must be purchased separately by the customer. C200HW-PCU01 PC Card Unit .
  • Page 26: C200Hw-Pcu01 Pc Card Unit

    Section 2-1 C200HW-PCU01 PC Card Unit C200HW-PCU01 PC Card Unit This section describes the components of the C200HW-PCU01 PC Card Unit. Check the actual product against the drawings shown below. 2-1-1 PC Card Unit The PC Card Unit is the basic system that allows PC cards to be used in the C200HX/HG/HE.
  • Page 27: Plates And Set Screws

    Section 2-1 C200HW-PCU01 PC Card Unit 2-1-2 Plates and Set Screws The following plates and set screws are used to secure the PC card, PC card cable, and Bus Connection Unit. Plate 1 Plate 2 Set screws (x 5) Plate 3 Plate 4 Plate 1 Plate 2...
  • Page 28: C200Hw-Pcs01-Ev1 Ethernet Set

    C200HW-PCS01-EV1 Ethernet Set Section 2-2 C200HW-PCS01-EV1 Ethernet Set This section describes the components of the C200HW-PCS01-EV1 Ethernet Set. Check the actual product against the drawings shown below. Note This manual is contained in the Ethernet Set package. 2-2-1 Ethernet Set The Ethernet Set is a PC Card Unit (basic system) that has been equipped to support an Ethernet connection.
  • Page 29: Plates And Set Screws

    C200HW-PCS01-EV1 Ethernet Set Section 2-2 2-2-2 Plates and Set Screws The following plates and set screws are used to secure the PC card, Ethernet cable, and Bus Connection Unit. Plate 2 Plate 1 Set screws (x 5) Plate 3 Plate 4 Plate 1 Plate 2 Plate 3...
  • Page 30: C200Hw-Ce011/Ce012 Bus Connection Unit

    C200HW-CE011/CE012 Bus Connection Unit Section 2-3 2-2-4 Safety Precautions This sheet describes precautions to ensure safe use of the PC Card Unit. Be sure to read the sheet before using the PC Card Unit. This sheet is provided with the Unit. Safety Precautions C200HW-CE011/CE012 Bus Connection Unit This section describes the components of the C200HW-CE011/CE012 Bus...
  • Page 31: Other Required Peripheral Devices

    Other Required Peripheral Devices Section 2-4 Other Required Peripheral Devices This section describes the peripheral devices that must be prepared by custom- ers to use a PC Card Unit. Refer to this section when purchasing peripheral devices. 2-4-1 Devices Required for the PC Card Unit To connect a PC Card Unit to the C200HX/HG/HE, a Communications Board must be mounted in the C200HX/HG/HE.
  • Page 32: Devices Required For Memory Cards

    The user must provide the host link cable to connect the computer to the PC Card Unit. RS-232C connectors are used. Applicable connectors are as follows: XM2A-0901 (connector) OMRON XM2S-0911 (connector cover) OMRON Personal Computer Prepare an AT or compatible computer. The computer must have at least one RS-232C port available.
  • Page 33: Part 2 Installation And Operation

    Part 2 Installation and Operation This part of the manual describes how to install a PC Card Unit and set up the C200HX/HG/HE. It includes information on memory card formatting, the file format, and file transfer operations between a PC Card Unit and the C200HX/HG/HE.
  • Page 35: Preparations For Operation

    SECTION 3 Preparations for Operation This section outlines the steps required to install the PC Card Unit and peripheral devices and prepare for operation. Be sure you have read this section and understood all of the procedures before attempting to actually make the settings or do any pro- gramming.
  • Page 36: Outline

    Procedures Section 3-2 Outline The procedures to prepare for operation are outlined below. Be sure to familiar- ize yourself with this basic procedure. Procedures are explained in more detail in 3-2 Procedures. 1, 2, 3... 1. Communications Board Installation Mount the Communications Board to the C200HX/HG/HE. 2.
  • Page 37 Procedures Section 3-2 Unit Restrictions and Mounting Locations When a PC Card Unit is used, only one SYSMAC LINK Unit (or SYSMAC NET Link Unit) can be used on the CPU Backplane. When a PC Card Unit and SYSMAC LINK Unit (or SYSMAC NET Link Unit) are used together on the CPU Backplane, they must be mounted in the slots shown in the following illustration.
  • Page 39: Installation And Switch Settings

    SECTION 4 Installation and Switch Settings This section describes how to install a PC Card Unit and set up the C200HX/HG/HE. Before Installing a PC Card Unit ..........4-1-1 Mounting a Communications Board .
  • Page 40: Before Installing A Pc Card Unit

    Section 4-1 Before Installing a PC Card Unit Before Installing a PC Card Unit Before installing a PC Card Unit, set up the C200HX/HG/HE. Note Always set up the C200HX/HG/HE. Otherwise, a PC Card Unit cannot be used. 4-1-1 Mounting a Communications Board A Communications Board must be mounted in the C200HX/HG/HE to connect a PC Card Unit.
  • Page 41: Setting The C200Hx/Hg/He System Switch

    Section 4-1 Before Installing a PC Card Unit 4-1-2 Setting the C200HX/HG/HE System Switch The CMCR expansion instruction is used to operate the memory card in the PC Card Unit. Turn ON pin no. 4 on the DIP switch to enable allocating expansion instructions for the C200HX/HG/HE.
  • Page 42 Section 4-1 Before Installing a PC Card Unit Programming Console Execute the function for allocating/reading a function code to an expansion instruction. Example 00000 Press CLR to bring up the initial display. INST TBL READ Press EXT to begin displaying function FUN17:ASFT code assignments.
  • Page 43: Component Names And Functions

    Component Names and Functions Section 4-2 Component Names and Functions This section describes the name and function of each component of a PC Card Unit. 4-2-1 Front View  Indicator section Serial  Front cover communications connector System switch  CPU bus interface connector  PC card slot  Plate 1 mounting hole...
  • Page 44: Rear View

    Component Names and Functions Section 4-2 4-2-2 Rear View  I/O bus connector Name and Function of The page number in parentheses indicates where the relevant procedure is Component explained.  I/O bus connector (p.33) This connector is used to supply electrical power from the C200HX/HG/HE to the PC Card Unit.
  • Page 45: Setting The System Switch

    Setting the System Switch Section 4-3 Meaning of Indicators Name Color Description Meaning (when lit) Green Unit running Lights when the Unit is operating (see note 1) or when files are being transferred. Flashing Data is being (See note 2) read or written Error Lights when an error has...
  • Page 46: System Switch Functions

    Setting the System Switch Section 4-3 4-3-2 System Switch Functions The system switch functions are described below. Note Restart the PC Card Unit to use the new system switch settings. System switch System Switch Functions Pin No. Function 6, 5 Sets the startup See the table below.
  • Page 47: Setting The Startup Mode

    Setting the System Switch Section 4-3 4-3-3 Setting the Startup Mode Pins 6 and 5 are used to set the startup mode. The setting procedure and pin settings are described below. Note Restart the PC Card Unit to use the new system switch settings. By default, all pins are set to OFF.
  • Page 48: Formatting Memory Cards

    Setting the System Switch Section 4-3 Card Format and Slot Pin 4 and pin 3 settings Description Settings (Pins 4 and 3) SRAM and ATA cards Format card in slot 1 SRAM and ATA cards Format card in slot 2 FLASH card Format card in slot 1 FLASH card...
  • Page 49: Mounting The Pc Card Unit

    Mounting the PC Card Unit Section 4-4 4-3-6 Setting the Operating Level Pin 1 is used to set the PC Card Unit operating level. The procedure and pin set- tings are described below. Pin 1 Operating Level (Pin 1) Pin 1 setting Description Level #1 Level #0...
  • Page 50: When A Sysmac Link Unit Or Sysmac Net Link Unit Is Not Used

    Mounting the PC Card Unit Section 4-4 4-4-1 When a SYSMAC LINK Unit or SYSMAC NET Link Unit is Not Used Note Always install the PC Card Unit in the slot on the left of the C200HX/HG/HE CPU. If the PC Card Unit is installed in another slot, the Bus Connection Unit cannot be installed.
  • Page 51: When A Sysmac Link Unit Or Sysmac Net Link Unit Is Used

    Mounting the PC Card Unit Section 4-4 4-4-2 When a SYSMAC LINK Unit or SYSMAC NET Link Unit is Used Note Always mount the SYSMAC LINK Unit or SYSMAC NET Link Unit in the slot on the left of the C200HX/HG/HE CPU. Then, mount the PC Card Unit in the slot on the left of the SYSMAC LINK Unit or SYSMAC NET Link Unit.
  • Page 52: Installing The Bus Connection Unit

    Installing the Bus Connection Unit Section 4-5 Installing the Bus Connection Unit There are two Bus Connection Units that can be used: C200HW-CE011 and C200HW-CE012. The C200HW-CE011 is used to connect a PC Card Unit to the C200HX/HG/HE. The C200HW-CE012 is used to connect a SYSMAC LINK Unit or SYSMAC NET Link Unit to the C200HX/HG/HE together with a PC Card Unit.
  • Page 53 Installing the Bus Connection Unit Section 4-5 2. Secure the Bus Connection Unit with plate 1. To do so, secure plate 1 by tightening a screw into the plate-1 mounting hole as shown in the figure below. 3. Secure the Bus Connection Unit to the C200HX/HG/HE CPU with a screw as shown in the figure below.
  • Page 54: Installing The C200Hw-Ce012

    Installing the Bus Connection Unit Section 4-5 4-5-2 Installing the C200HW-CE012 Before installing the C200HW-CE012 Bus Connection Unit, mount the C200HX/ HG/HE CPU, SYSMAC LINK Unit or SYSMAC NET Link Unit, and PC Card Unit in the correct slots in the CPU Backplane. Name and Function of Each The name and function of each component are described below.
  • Page 55 Installing the Bus Connection Unit Section 4-5 2. Secure the Bus Connection Unit with plate 1. To do so, secure plate 1 by tightening a screw into the plate-1 mounting hole in the front surface of the PC Card Unit as shown in the figure below. 3.
  • Page 56: Installing And Removing Memory Cards

    Installing and Removing Memory Cards Section 4-6 Installing and Removing Memory Cards This section includes information on the memory cards to be used and explains how to install memory cards in the PC card slots in the front surface of the PC Card Unit.
  • Page 57 Installing and Removing Memory Cards Section 4-6 3. Secure the memory card with plate 2. To do so, secure plate 2 by tightening a set screw into the plate 2 mounting hole in the front surface of the PC Card Unit as shown below.
  • Page 58: Starting The Pc Card Unit

    Starting the PC Card Unit Section 4-7 Starting the PC Card Unit Turning on the C200HX/HG/HE automatically starts the PC Card Unit. Before turning on the C200HX/HG/HE to start the PC Card Unit, check the items described in this section. Also, after the PC Card Unit is started, check the indi- cators and SR bits to confirm that operation is normal.
  • Page 59 Starting the PC Card Unit Section 4-7 • The Data Link Operating Flag turns ON when the power is turned on and turns OFF when the RUN indicator is lit. • It takes 25 seconds until the RUN indicator is lit (35 seconds when Ethernet is built-in).
  • Page 61: Using Memory Cards

    SECTION 5 Using Memory Cards This section describes formatting Memory Cards, file formats, and file transfers between the PC Card Unit and the C200HX/ HG/HE CPU. Outline ..............Formatting Memory Cards .
  • Page 62: Outline

    Section 5-1 Outline Outline The PC Card Unit allows data, such as CIO, DM, and EM data, to be transferred between a memory card mounted in the PC Card Unit and the C200HX/HG/HE CPU. File read/write operations are performed using the CMCR instruction executed in the ladder program in the C200HX/HG/HE.
  • Page 63: Formatting Memory Cards

    Formatting Memory Cards Section 5-2 Formatting Memory Cards This section describes how to format memory cards. 5-2-1 Specifying the Card Format and Slot The format differs according to the memory card being used. • SRAM and ATA Cards: DOS FAT format •...
  • Page 64: Setting The Memory Card Formatting Mode

    Formatting Memory Cards Section 5-2 4. Input the following underlined characters. F:\>FORMAT H: /U↵ 5. If an MS-DOS error message appears, select “FAIL.” The format will be for- cibly executed. 5-2-2 Setting the Memory Card Formatting Mode Use pins 6 and 5 to set the memory card formatting mode. The setting procedure and pin settings are described below.
  • Page 65: File Operations: Cmcr Instruction

    File Operations: CMCR Instruction Section 5-3 5-2-4 Memory Card Compatibility Memory Cards used for the PC Card Unit are not compatible with the Memory Cards used for the CV-series CPUs. Memory Cards used for the CV-series Per- sonal Computer Unit (CV500-VP2jj), or the CV-series ISA Control Unit (CV500-ISP0j) however, are compatible.
  • Page 66: Files Created Using The Cmcr Instruction

    File Operations: CMCR Instruction Section 5-3 • (Operating) Level Setting to “0” specifies level #0; setting to “1” specifies level #1. • Control Code Enable When bit 11 of word C+0 is ON (i.e., set to “1”), the control codes in words C+1 through C+7 are transmitted to the PC Card Unit.
  • Page 67: Response Codes

    File Operations: CMCR Instruction Section 5-3 5-3-5 Response Codes Code Meaning Normal completion Parameter error (offset, file size, number of words read, etc.) Disk full, file I/O error, file type error File does not exist. Comparison, search failure 05 to FE Undefined Process number error Note CMCR Errors...
  • Page 68 File Operations: CMCR Instruction Section 5-3 Bit 10 0: Puts a comma between the data for each word. Puts a comma between the data for every two words (double- length words). • Control Code Write the hexadecimal values for the drive and filename for the file to be writ- ten.
  • Page 69: File Read (Process No. 2)

    File Operations: CMCR Instruction Section 5-3 File Writing Example In the following example, two words of data, from DM 0102 and DM 0103, are written as a new file to the operating level #1 PC Card Unit’s memory card. The drive and filename are G:\DMDATA.DAT.
  • Page 70 File Operations: CMCR Instruction Section 5-3 • Control Code Enable Fixed at “1” (control codes enabled). • Port Number Bit 8 Reads the specified file. Reads the specified number of elements in the file. Bit 9 Reads data as comma separated values. The separation method is determined by bit 10.
  • Page 71 File Operations: CMCR Instruction Section 5-3 File Reading Example In the following example, a file called “G:\DMDATA.DAT” in the operating level #0 PC Card Unit is read in comma separated word units. The offset value is 0000 and the number of words read is “2.” The data is read to DM 0200 onwards. Word Specify the drive and filename in...
  • Page 72: File And Memory Compare (Process No. 3)

    File Operations: CMCR Instruction Section 5-3 5-3-9 File and Memory Compare (Process No. 3) The File and Memory Compare process compares a file on a memory card in the PC Card Unit to C200HX/HG/HE memory. The results of the comparison are indicated by the response code.
  • Page 73 File Operations: CMCR Instruction Section 5-3 Note Comma-separated files are read as text files with one-byte separations, such as commas, every 4 or 8 bytes. If 2-byte separations, such as carriage returns (CR + LF), are included, an error will be generated with a response code of 2. Convert to 1-byte characters beforehand.
  • Page 74: File Search (Process No. 4)

    File Operations: CMCR Instruction Section 5-3 5-3-10 File Search (Process No. 4) The File Search process searches files, by specified data, on a memory card in the PC Card Unit. Control Data 15 14 13 12 11 Level (0/1) Port No. Port No.
  • Page 75 File Operations: CMCR Instruction Section 5-3 Response Data When the search data is found, the location of the matching data is stored. It is returned as data within a range of 0 to FFFF. The word location of matching data is as indicated as being a certain number of words from the specified offset, i.e., the first word after the offset becomes 0000;...
  • Page 76: Memory Card Access Times For Cmcr Instructions

    Memory Card Access Times for CMCR Instructions Section 5-4 5-3-11 File Precautions • When comma-separated files are written by CMCR, they are written as one line. • Comma-separated files created at a personal computer are read with the assumption that they were created in one of the following formats. 4 bytes, comma, 4 bytes, comma, 4 bytes, comma..
  • Page 77: Sample Program

    Sample Program Section 5-5 Sample Program This section provides a sample program for writing and reading files. In this pro- gram, when execution condition IR 00000 is turned from OFF to ON and then OFF again, the data in 100 DM words beginning with DM 0100 is written to G:\DMSAVE.DAT.
  • Page 78: Debugging Ladder Programs

    Debugging Ladder Programs Section 5-6 DM Area Settings DM0000 Control data DM0001 ‘G’, ‘:’ DM0002 ‘\’, ‘D’ DM0003 ‘M’, ‘S’ DM0004 ‘A’, ‘V’ DM0005 ‘E’, ‘.’ DM0006 ‘D’, ‘A’ DM0007 ‘T’ DM0010 0003 Fixed at 0003. DM0011 0000 Offset: 0 DM0012 0064 Read data length: 100 words...
  • Page 79 Debugging Ladder Programs Section 5-6 Debug Preparation Insert the memory card into slot 1 in the PC Card Unit. Set the control data, data length, offset, and write data to the DM area using the DM Menu. Program Execution Press Ctrl+O followed by the F3 key (MONITOR) to switch to MONITOR mode. Debugging Use the “Monitor data”...
  • Page 81: Part 3 Using Ethernet

    Part 3 Using Ethernet This part of the manual describes how to install Ethernet Cards and use the setup software. It includes directions on how to use the SEND and RECV instructions to transfer data and provides details on the FINS commands and responses used for communications between the C200HX/HG/HE CPU and the PC Card Unit.
  • Page 83: Preparations For Operation

    SECTION 6 Preparations for Operation This section outlines the steps required to install the PC Card Unit and Ethernet function and prepare for operation. Be sure you have read this section and understood all of the procedures before attempting to actually make the settings or do any pro- gramming.
  • Page 84: Outline

    Procedures Section 6-2 Outline The procedures required to prepare for operation are outlined below. Be sure to familiarize yourself with these basic procedures. These procedures are explained in more detail in 6-2 Procedures. 1, 2, 3... 1. Communications Board Installation Mount the Communications Board in the C200HX/HG/HE CPU.
  • Page 85 Procedures Section 6-2 Unit Restrictions and Mounting Locations When a PC Card Unit is used, only one SYSMAC LINK Unit or SYSMAC NET Link Unit can be used on the CPU Backplane. When a PC Card Unit and SYSMAC LINK Unit or SYSMAC NET Link Unit are used together on the CPU Backplane, they must be mounted in the slots shown in the following illustration.
  • Page 86: Communications

    Communications Section 6-3 Communications 6-3-1 Outline The PC Card Unit has a built in message service that enables the use of data communications and commands to control PCs and FA computers on nodes on a network. The message service operates by setting the communications destination each time it sends a command or data and then receives the response from the des- tination node.
  • Page 87: Send And Recv

    Control Protocol) and UDP (User Datagram Program). Socket services are employed by using the CMCR instruction. Using socket services allows the PC Card Unit to communicate with UNIX workstations and FA Computers other than OMRON Programmable Controllers, with any protocol. For details, refer to Section 10 Socket Services.
  • Page 89: Setting Up Ethernet

    SECTION 7 Setting Up Ethernet This section describes how to install Ethernet cards and use the setup software. Before setting up Ethernet, always set up the PC Card Unit as described in Section 4 Installation and Switch Settings. Preparations ............. Installing and Removing the Ethernet Card .
  • Page 90: Preparations

    Installing and Removing the Ethernet Card Section 7-2 Preparations Before setting up the Ethernet, always perform the setup procedure described below. Note The service conditions, slots used, and restrictions on PC cards are the same for the PC Card Unit Ethernet Set as for the PC Card Unit. Be sure to observe the restrictions described in Section 4 Installation and Switch Settings.
  • Page 91: Pc Card Slots

    Installing and Removing the Ethernet Card Section 7-2 7-2-2 PC Card Slots Slot 1 Slot 2 Slot 1: A type-I, -II, or -III PC card can be mounted in this slot. Slot 2: A type-I or -II PC Card can be mounted in this slot. If, however, a type-III PC Card is mounted in slot 1, slot 2 cannot be used.
  • Page 92 Installing and Removing the Ethernet Card Section 7-2 Installing an Ethernet Card 1, 2, 3... 1. Connect the attached adapter to the Ethernet card as shown in the figure below. Carefully check the shape of each connector to ensure correct con- nection.
  • Page 93 Installing and Removing the Ethernet Card Section 7-2 5. Secure plate 3 by tightening a set screw into the plate 3 mounting hole. Plate 3 6. Secure the adapter cable with plates 3 and 4 by tightening set screws as shown below.
  • Page 94 Installing and Removing the Ethernet Card Section 7-2 Installation Precautions For the PC Card Unit Ethernet Set, consider the lengths of the cable and plate 3 indicated in the figure below to ensure that there is sufficient room to install the Ethernet Set properly.
  • Page 95: Connecting To The Ethernet Network

    Connecting to the Ethernet Network Section 7-3 Connecting to the Ethernet Network This section explains connection to a 10BASE-T network as an example of Ethernet connection. 7-3-1 Connecting to the Hub 1, 2, 3... 1. Connect the adapter from the Ethernet card to a twisted-pair cable. Adapter 2.
  • Page 96: Personal Computer Setup

    Personal Computer Setup Section 7-4 7-3-2 Constructing an Ethernet Network The following diagram illustrates an example of Ethernet network configuration. For the types of networks and the types and number of devices that can be con- nected, refer to documentation for the hub. A MAU is required to connect a twisted-pair cable...
  • Page 97: Installing The Setup Software

    Personal Computer Setup Section 7-4 1, 2, 3... 1. Open the front cover as shown below. 2. Connect the 9-pin D-SUB connector of the Host Link Cable to the serial com- munication connector on the PC Card Unit. Insert the connector all the way in, then tighten the screws.
  • Page 98 Personal Computer Setup Section 7-4 Before installing the setup software, make sure that the copy destination does not contain any files that have the same file names as those in the setup soft- ware. Note 1. Although Ethernet can be set up using the floppy disk, we recommend that the setup software be copied to the hard disk.
  • Page 99: Setting Up The Ethernet Environment

    Setting Up the Ethernet Environment Section 7-5 Setting Up the Ethernet Environment The Ethernet communications environment must be set up to perform Ethernet communications from a PC Card Unit. This section describes how to set up the Ethernet environment with the setup software. Refer to 7-6 Setup Software Operation for details on how to use the setup soft- ware.
  • Page 100: Subnet Mask

    Setting Up the Ethernet Environment Section 7-5 Assigning an IP Address to To assign an IP address to the PC Card Unit, select “1. Enter IP Address for Unit” a PC Card Unit from the main menu of the setup software. Refer to 7-6 Setup Software Opera- tion for details on how to specify the IP address.
  • Page 101: Conversion Table For Ip Addresses And Fins Node Addresses

    Setting Up the Ethernet Environment Section 7-5 7-5-5 Conversion Table for IP Addresses and FINS Node Addresses When a UDP/IP address has been used on the Ethernet an IP address must be used for the specified node address. Communications using FINS commands use a FINS node address.
  • Page 102: Gateway Address

    Setting Up the Ethernet Environment Section 7-5 7-5-7 Gateway Address An IP router can be used to connect multiple IP network segments. Networks connected by an IP router can communicate with each other. FINS communica- tions allow nodes on different networks to communicate with one another as if these nodes are on the same network.
  • Page 103: Setup Software Operation

    Setup Software Operation Section 7-6 Setup Software Operation Preset Items 7-6-1 Before starting Ethernet communications through the Ethernet card, use the setup software to set up the Ethernet communications environment. Note Before setting up the Ethernet communications environment, connect the PC Card Unit to the personal computer and copy the setup software as described in 7-4 Personal Computer Setup.
  • Page 104 Setup Software Operation Section 7-6 2. To start the setup software from the floppy disk, release the write-protect notch to make the floppy disk writable. However, we recommend that the setup software be copied to the hard disk because starting the setup soft- ware from the floppy disk slows down the setup speed.
  • Page 105: Ip Address

    Setup Software Operation Section 7-6 Exiting the Setup Software Select “9. Exit” from the main menu. 1. Enter IP address for UNIT. 2. Enter Subnet address for UNIT. 3. Enter ODI Driver Path. 4. Edit HOSTS File. 5. Edit Conversion Table for IP address and FINS Node address. 6.
  • Page 106: Odi Driver

    Setup Software Operation Section 7-6 3. Make sure that the subnet mask is correct. Then, enter Y and press ENTER. The screen will return to the main menu. To cancel the setting, enter N and press ENTER to return to the main menu. 7-6-5 ODI Driver Specify the ODI driver to be used with the Ethernet card.
  • Page 107 Setup Software Operation Section 7-6 1, 2, 3... 1. Select “4. Edit HOSTS File.” from the main menu. Select Number for ITEM (1–9): 4 Current HOSTS File Name: hosts.fil New HOSTS File Name: 2. If a HOSTS file is to be initially created, press ENTER. If a HOSTS file with another name already exists, enter the file name.
  • Page 108 Setup Software Operation Section 7-6 6. Select 1, and specify the IP address and host name in the same way as for step 5. Then, continue with this setting procedure for the rest of the HOSTS file ((2) and onwards). (0) 123.45.67.89 myaddress (1) 123.45.67.77 FA1 (2) 123.45.67.78 FA2...
  • Page 109: Address Conversion Table

    Setup Software Operation Section 7-6 7-6-7 Address Conversion Table Edit the conversion table file for IP addresses and FINS node addresses as described below. Up to 127 nodes can be specified. 1, 2, 3... 1. Select “5. Edit Conversion Table for IP address and FINS Node address” from the main menu.
  • Page 110 Setup Software Operation Section 7-6 5. Specify the IP address of the remote node and the corresponding FINS node address. To do so, enter the IP address, a space, and the FINS node address (0 to 127) in this order. Enter New Address and Name: 123.45.67.89 14 (0) 123.45.67.89 14 Enter Number of Line To Change (0–9), Add Line (10), Delete Line (0–9),...
  • Page 111: Fins Routing Tables

    Setup Software Operation Section 7-6 • Selecting “Display Previous Item (11)” scrolls up the screen to display the pre- vious 10 lines. • Selecting “Display Next Item (12)” scrolls down the screen to display the next 10 lines. 7. After editing the Conversion Table for IP Address and FINS Node Address, select “End (13).”...
  • Page 112 Setup Software Operation Section 7-6 Local Network 4. Enter 1 and press ENTER to select “1. Set My Network address.” Select Number for ITEM (1–3): 1 Current My Network address: New My Network address: 5. Specify the local network number. To do so, enter a local network no., a space, and 0 (fixed) in this order.
  • Page 113: Gateway Address

    Setup Software Operation Section 7-6 An example of specifying relay networks is shown below. The input proce- dure is the same as that described in 7-6-6 HOSTS File. (0) 2 1 32 (Data is sent to the network via node 32.) (1) 3 1 33 (Data is sent to the network via node 33.) 9.
  • Page 114: Transferring Settings To The Pc Card Unit

    Setup Software Operation Section 7-6 7-6-10 Transferring Settings to the PC Card Unit Transfer the data specified using the setup software to the PC Card Unit. 1, 2, 3... 1. Select “8. Transfer Setup Data From Computer to UNIT” from the main menu.
  • Page 115 Setup Software Operation Section 7-6 Follow the procedure below. 1, 2, 3... 1. After the Ethernet network is set up using the setup software, exit the setup software without transferring the settings to a PC Card Unit. 2. Format an SRAM or ATA card with your computer. 3.
  • Page 116: Using Setup2.Exe

    Using SETUP2.EXE Section 7-7 Using SETUP2.EXE SETUP2.EXE is a setup software for setting the Ethernet communications envi- ronment, just like the setup software (SETUP.EXE) explained in 7-6 Setup Soft- ware Operation. SETUP2.EXE is supported from the C200HW-PCS01-EV1 Ethernet Set, and it differs from SETUP.EXE in the following three ways: •...
  • Page 117: Setup2.Exe Operation

    Using SETUP2.EXE Section 7-7 Changing the Startup Mode (System Switch) Change the PC Card Unit’s startup mode (system switch) by setting pins 5 and 6 to ON. Pin 6 Pin 5 7-7-3 SETUP2.EXE Operation SETUP2.EXE is basically operated in the same way as SETUP.EXE. The func- tions explained here are the ones that SETUP.EXE does not have.
  • Page 118 Using SETUP2.EXE Section 7-7 Exiting SETUP2.EXE Select “9. Exit” from the main menu. SETUP2.EXE will be exited, and the termi- nal software prompt will be displayed. Enter ODI Driver Path 1, 2, 3... 1. Select “3. Enter ODI Driver Path.” from the main menu. Select Number for ITEM (1–9): 3 Current ODI Driver : OC–NET–N.COM ODI Driver:...
  • Page 119: Returning The Pc Card Unit To Normal Mode

    Using SETUP2.EXE Section 7-7 7-7-4 Returning the PC Card Unit to Normal Mode Use the following procedure to return the PC Card Unit to normal mode. 1, 2, 3... 1. Turn OFF the power to the C200HX/HG/HE and the personal computer. 2.
  • Page 121: Using Send(90) And Recv(98)

    SECTION 8 Using SEND(90) and RECV(98) This section describes how to use the SEND(90) and RECV(98) instructions to transfer data. Outline ..............8-1-1 Specifying Destination Nodes .
  • Page 122: Outline

    Section 8-1 Outline Outline The SEND(90) and RECV(98) instructions are used in the PC user program to send data from a PC to other nodes, such as PCs or computers. 8-1-1 Specifying Destination Nodes Either of the following two communications modes is used depending on how destination nodes are specified: Node-to-node Data Transfer Data can be transferred between the local node and the destination node by...
  • Page 123: Send/Receive Data Areas

    Section 8-1 Outline 8-1-3 Send/Receive Data Areas The data areas that can be transferred using the SEND(90) and RECV(98) instructions differs according to the PC model being used. Check the operation manual for your PC for details. Send/Receive Data Areas When remote node is C-series PC When remote node is CV-series PC Area...
  • Page 124 Section 8-1 Outline C200HX/HG/HE Word SR 252 Instruction Enabled Flag 0: Do not execute 1: Can be executed Operating level #1 InstructIon Error Flag 0: Normal termination 1: Abnormal termination Instruction Enabled Flag 0: Do not execute 1: Can be executed Operating level #0 Instruction Error Flag 0: Normal termination...
  • Page 125: Send(90)

    SEND(90) Section 8-2 Flag ON/OFF Timing The Instruction Enabled Flag, Instruction Error Flag, and instruction response code are refreshed as shown below. Example: When two instructions are executed consecutively and the first instruction causes an error Instruction 1 Instruction 2 Being Being executed...
  • Page 126 SEND(90) Section 8-2 Control Data Control data is written beginning with the first control data word in the following format: Word Number of words transferred No. of retries Response monitoring time Unit address of Destination node address destination node *1: Fixed at 1 *2: Operating level (0: level #1, 1: level #0) *3: Response request bit (0: Response required, 1: Response not required) *4: Indirect addressing bit for beginning destination word...
  • Page 127: Recv(98)

    RECV(98) Section 8-3 Response monitoring time: Specify the response wait time when the response request bit is set to 0 (response required). Specify the time in hexadecimal (0 to FF). This setting is not valid for broadcasting because no response is returned. Unit address of destination node: The address is fixed at $00.
  • Page 128 RECV(98) Section 8-3 Control Data Control data is written beginning with the first control data word in the following format: Word Number of words transferred No. of retries Response monitoring time Unit address of Source node address source node *1: Fixed at 1 *2: Operating level (0: level #1, 1: level #0) *3: Response request bit (0: Response required, 1: Response not required) *4: Indirect addressing bit for beginning source word...
  • Page 129: Minimum Transmission Delay Time For Send/Recv Instructions

    Minimum Transmission Delay Time for SEND/RECV Instructions Section 8-4 Response monitoring time: Specify the response wait time when the response request bit is set to 0 (response required). Specify the time in hexadecimal (0 to FF). Unit address of source node: The address is fixed at $00 Source node address: Specify the node address of the source node in hexadecimal (1 to 7E).
  • Page 130 Minimum Transmission Delay Time for SEND/RECV Instructions Section 8-4 • Transmission/Reception Processing (Command) For SEND instructions:No. of transmission words × 0.013 + 5 ms For RECV instructions:5 ms • Transmission/Reception Processing (Response) For SEND instructions:5 ms For RECV instructions:No. of transmission words × 0.013 + 5 ms Example: When the RECV instruction is executed for word 256.
  • Page 131: Fins Commands

    SECTION 9 FINS Commands This section provides information on communicating in Ethernet Systems using FINS commands, and explains how to use the CMCR instruction to issue FINS commands. FINS Communications Service ..........Using FINS Communications .
  • Page 132: Fins Communications Service

    FINS Communications Service The FINS communications service is a communications protocol that was devel- oped by OMRON for its factory automation (FA) networks. FINS communica- tions allow C200HX/HG/HE Programmable Controllers on these networks to be controlled by reading or writing memory area data without the need to program these operations into the PC user program.
  • Page 133: Using Fins Communications

    Using FINS Communications Section 9-2 3. FINS commands to a PC Card Unit at the same Programmable Controller are not transmitted to the Ethernet. FA computer Datagram (FINS command) Datagram (FINS response) PC Card Unit C200HX/HG/HE A datagram is the unit of data handled by UDP/IP communications through the port specified for UDP communications.
  • Page 134 Using FINS Communications Section 9-2 2. The PC Card Unit receives the FINS command and sends it to the specified node. PC Card Unit Other node FINS command 3. The PC Card Unit receives a FINS response from the other node. PC Card Unit Other node FINS...
  • Page 135: Using The Cmcr Instruction

    Using the CMCR Instruction Section 9-3 9-2-2 FINS Communications From Another Node When the PC Card Unit receives a FINS command from another node, it auto- matically returns a response as shown in the following illustration. Other node PC Card Unit FINS command FINS response FINS command processing...
  • Page 136: Range Of Control Data

    Using the CMCR Instruction Section 9-3 Operating Level Setting to “$0810” specifies operating level #0; setting to “$1810” specifies oper- ating level #1. Number of Bytes to Send Specifies the number of bytes of data to be transmitted from the FINS command code onwards, within a range of 2 to 2,000 ($2 to 7D0).
  • Page 137: Command Data

    Using the CMCR Instruction Section 9-3 Note 1. A maximum of 1,462 bytes can be sent for broadcasts. 2. In the case of broadcasting, set the Response Request Bit to ON (1: Don’t request response). 9-3-4 Command Data In word S+0, specify the FINS command data length +1. The FINS command is stored in words S+1 onwards.
  • Page 138 Using the CMCR Instruction Section 9-3 C200HX/HG/HE Word SR 252 Instruction Enabled Flag 0: Do not execute 1: Can be executed Operating level #1 InstructIon Error Flag 0: Normal termination 1: Abnormal termination Instruction Enabled Flag 0: Do not execute 1: Can be executed Operating level #0 Instruction Error Flag...
  • Page 139: Send(90)/Recv(98)/Cmcr Data Processing Timing

    Using the CMCR Instruction Section 9-3 Flag ON/OFF Timing The Instruction Enabled Flag, Instruction Error Flag, and instruction response code are refreshed as shown below. Example: When two instructions are executed consecutively and the first instruction causes an error Instruction 1 Instruction 2 Being Being...
  • Page 140: Using Fins Commands And Responses

    Using FINS Commands and Responses Section 9-4 When the RUN (0401) command is issued to this destination with these condi- tions, the following data is set in the DM area. Word $1810 (Operating level #1) $0005 (number of bytes to send: after FINS command code) $0064 (number of bytes to receive: 100 bytes) $0002 (network address) $01 (node number)
  • Page 141: Commands And Responses For C200Hx/Hg/He Cpus

    Using FINS Commands and Responses Section 9-4 Responses Responses have the following format. 2 bytes 2 bytes 1,996 bytes max. Command Response Text code code Note The maximum size of a command or response depends upon the type of net- work through which the transmission is relayed.
  • Page 142: Response Codes

    Using FINS Commands and Responses Section 9-4 9-4-5 Response Codes Response codes are 2-byte codes that indicate the results of command execu- tion. The first byte of the response code indicates the general results of execu- tion and is called the main response code, or MRES. The second byte provides further details on the results of execution and is called the sub-response code, or SRES.
  • Page 143 Using FINS Commands and Responses Section 9-4 Word/Bit Addresses Each word/bit address specifies a specific bit or word. The rightmost two digits of the address specify bit 00 to 15 (or 00 if not required), and leftmost four digits specify the word address. Specify the the bit between 00 and 0F (00 to 15).
  • Page 144: Sample Program

    Sample Program Section 9-5 • Word Contents or PV (Two Bytes) Byte 1 Byte 2 Bits 0 to 7 (second byte) Bits 8 to 15 (first byte) Sample Program This subsection provides a sample program for executing FINS commands and responses.
  • Page 145: Fins Communications From Computers

    FINS Communications From Computers Section 9-6 4. Executes the CMCR instruction. 5. CMCR instruction execution is completed when bit 12801 is turned ON while the Instruction Enabled Flag (bit 25204) is ON. 6. Turns ON if an error occurs during communications execution. FINS Communications From Computers Commands and responses sent from host computers must be in the formats described in this subsection and must provide the proper FINS header informa-...
  • Page 146: Fins Header Information

    FINS Communications From Computers Section 9-6 9-6-3 FINS Header Information This subsection explains the FINS header contents and settings used for FINS commands and responses. ICF (Information Control Field) Information such as the data classification, response request, communications between networks, and so on, is set in the ICF. The configuration is as follows: Response Request Bit (0: Request response;...
  • Page 147: Designating Remote Addresses

    FINS Communications From Computers Section 9-6 9-6-4 Designating Remote Addresses UDP sockets are used when sending FINS commands from a host computer to the C200/HX/HG/HE. This subsection provides an example of addressing remote PCs from the host computer for communications. Host computer IP address: 196.36.32.50 FINS network/node/unit: 1/32/0 hex)
  • Page 149: Socket Services

    SECTION 10 Socket Services This section describes sockets (an interface for directly using TCP and UDP functions from the user program) and explains how to use socket services. Socket services can be used from the C200HW-PCS01-EV1 PC Card Unit Ethernet Set. 10-1 About Socket Services .
  • Page 150: About Socket Services

    Control Protocol) and UDP (User Datagram Program). Socket services allow arbitrary data to be sent to and from other nodes, thereby enabling communications in any protocol with FA computer other than OMRON PCs, with UNIX workstations, and so on.
  • Page 151: Opening Tcp Sockets

    Section 10-1 About Socket Services UDP Communications Data is simply sent to the destination. Unlike TCP, the receipt of data is not checked and data is not re-transmitted. To increase communication reliability, data resends must be programmed by the user in user applications. Local node Transmitted data Destination node...
  • Page 152: Socket Services Port Numbers

    Section 10-1 About Socket Services TCP Communications The communications procedure is shown below for communications between Procedure an FA computer and PC Card Unit using a TCP socket. FA computer PC Card Unit (server) (client) Passive OPEN Active OPEN Connection request Establish connection Establish connection Establish connection...
  • Page 153 Section 10-1 About Socket Services 5. Another receive request to receive data must be made before the remaining data, Data B, is sent. Transmission PC Card Unit Receive node Receiving user program user program 4. First receive request 1. Send request 1,982 bytes 1,982 bytes 1,024 bytes...
  • Page 154: Using Socket Services

    Using Socket Services Section 10-2 Note If the data length in the receive data request is erroneously set smaller than the actual length of the data, all received data exceeding the specified data length will be discarded. 10-2 Using Socket Services With the C200HX/HG/HE, socket services are controlled by FINS commands to the PC Card Unit.
  • Page 155 Using Socket Services Section 10-2 1, 2, 3... 1. Use CMCR to issue a socket service request command (MRC: 27) to the PC Card Unit. PC Card Unit User program FINS command requesting socket services CMCR 2. CMCR ends normally when the socket service request command is received and a response is returned (response code: 0000).
  • Page 156 Using Socket Services Section 10-2 Socket Service Request Commands Command Name Description Page code MRC SRC UDP OPEN REQUEST Opens the UDP socket. UDP RECEIVE REQUEST Receives data at the UDP socket. UDP SEND REQUEST Sends data from the UDP socket. UDP CLOSE REQUEST Closes the UDP socket and ends communications.
  • Page 157 Using Socket Services Section 10-2 Bit Configuration The meaning of individual bits in each status word is shown in the following dia- gram. Socket Classification Flag Closing Flag Results Storage Error Flag Sending Flag Open Flag Receiving Flag Opening Flag Flag Value Status...
  • Page 158: Socket Services And Socket Status

    Using Socket Services Section 10-2 10-2-3 Socket Services and Socket Status When using socket services, it is important to consider the timing of the status changes in the socket status area. The diagram below shows a program flow- chart for opening UDP. Program flow is similar for other socket services.
  • Page 159: Communications Timing Chart

    Using Socket Services Section 10-2 10-2-4 Communications Timing Chart The timing of the status changes of the bits in the socket status area and the Instruction Enabled Flag is shown in the following diagram. Instruction Enabled Flag Opening Flag Receiving Flag Sending Flag Closing Flag Open flag...
  • Page 160 Using Socket Services Section 10-2 SEND REQUEST Instruction Enabled Flag Running Running Error response code Normal response code CMCR response code Sending Flag Open Flag Results storage area Store normal response code SEND REQUEST Error SEND REQUEST Send complete command received command received (normal end) RECEIVE REQUEST...
  • Page 161: Precautions In Using Socket Services

    Using Socket Services Section 10-2 shown in the diagram also applies if a CLOSE REQUEST command is executed during OPEN REQUEST command execution, with the exception of the status of the Open Flag. 10-2-6 Precautions in Using Socket Services • If a short response monitor time is specified in the CMCR control data and the UDP and TCP Socket Services PC Card Unit is operating under a high load, a result may be stored even if the...
  • Page 162: Sample Programs For Tcp And Udp Communications

    Sample Programs for TCP and UDP Communications Section 10-3 10-3 Sample Programs for TCP and UDP Communications This subsection provides sample programs for TCP/IP communications and UDP/IP communications. 10-3-1 Ladder Programming for TCP/IP Communications The following program example sends and receives 100 bytes of data between the PC Card Unit and the computer using TCP/IP communications.
  • Page 163 Sample Programs for TCP and UDP Communications Section 10-3 Example The following diagrams indicate that DM 0000 is the first word used in CMCR for a TCP OPEN REQUEST and it contains 1810 , that DM 00001 contains 0012 , that CIO 00000 is used to control TCP open processing, and that CIO 0001 is used to control TCP close processing.
  • Page 164 Sample Programs for TCP and UDP Communications Section 10-3 TCP OPEN REQUEST (PASSIVE) command data DM 1000 $0010 $2710 $0001 $8203 $FC00 $1000 $0000 $C424 $2037 $0000 Remote port number: Not specified Computer IP address: 196.36.32.55 ($C4, $24, $20, $37) Timeout value: Not set Local port number: set to 4096 ($1000) Results storage area: set to DM 1020 ($03FC)
  • Page 165 Sample Programs for TCP and UDP Communications Section 10-3 TCP SEND REQUEST response DM 3000 Respo $2713 code DM3010 TCP SEND REQUEST results storage area Respo No. of bytes code sent DM 4000 TCP RECEIVE REQUEST command data $0007 $2712 $0001 $820F $B400 $0064 $0000 Timeout value: Not set...
  • Page 166 Sample Programs for TCP and UDP Communications Section 10-3 Program Example 1 TCP open bit TCP open error bit TCP open work bit TCP open bit TCP open work bit Instruction Enabled Flag TCP open work bit TCP open bit TCP open work bit Instruction TCP Opening Flag...
  • Page 167 Sample Programs for TCP and UDP Communications Section 10-3 Explanation of Ladder Program The first section of the program uses CMCR to execute TCP PASSIVE OPEN. Program execution starts when CIO 00000 turns ON. Program Explanation address 00000 Starting TCP OPEN execution. When CIO 00000 turns ON, the TCP open error bit (CIO 00100) turns OFF and the TCP open work bit (CIO 00200) turns ON to request one execution of TCP OPEN.
  • Page 168 Sample Programs for TCP and UDP Communications Section 10-3 Program Example 2 TCP send bit TCP send error bit TCP send work bit TCP send bit TCP send work bit Instruction Enabled Flag TCP send work bit Results Storage Error Flag TCP send bit TCP send work bit Instruction...
  • Page 169 Sample Programs for TCP and UDP Communications Section 10-3 Explanation of Ladder Program The next section of program uses CMCR to execute TCP SEND. Execution starts when CIO 00002 turns ON. Program Explanation address 00053 Starting TCP SEND execution. When CIO 00002 turns ON, the TCP send error bit (CIO 00102) turns OFF and the TCP send work bit (CIO 00202) turns ON to request one execution of TCP SEND.
  • Page 170: Ladder Programming For Udp/Ip Communications

    Sample Programs for TCP and UDP Communications Section 10-3 10-3-2 Ladder Programming for UDP/IP Communications The following program example sends and receives 100 bytes of data between the PC Card Unit and the host computer using UDP/IP communications. The system and data area applications are described before the program example and details of program operation are described following each section of the example.
  • Page 171 Sample Programs for TCP and UDP Communications Section 10-3 How to Read Tables DM Area DM 0000 CMCR control data for UDP OPEN REQUEST (PASSIVE) $1810 $000A CIO Area 15 to 8 CIO 000 close bit open bit Memory Map for Sample Programs DM Area DM 0000 CMCR control data for UDP OPEN REQUEST (PASSIVE)
  • Page 172 Sample Programs for TCP and UDP Communications Section 10-3 DM 1000 UDP OPEN REQUEST (PASSIVE) command data $0006 $2701 $0001 $8203 $FC00 $1000 Local port number: set to 4096 ($1000) Results storage area: set to DM 1020 ($03FC) UDP socket number (PC Card Unit socket number): set to 1 Command code Transmission data length: 6 words (BCD) UDP OPEN REQUEST (PASSIVE) response...
  • Page 173 Sample Programs for TCP and UDP Communications Section 10-3 UDP SEND REQUEST response DM 3000 Respo $2703 code DM 3010 UDP SEND REQUEST results storage area Respo No. of bytes code sent DM 4000 UDP RECEIVE REQUEST command data $0007 $2702 $0001 $820F $B400 $0064 $0000 Timeout value: Not set...
  • Page 174 Sample Programs for TCP and UDP Communications Section 10-3 Program Example 3 UDP open bit UDP open error bit UDP open work bit UDP open bit UDP open work bit Instruction Enabled Flag UDP open work bit UDP open work bit Results Storage Error Flag UDP open bit Instruction...
  • Page 175 Sample Programs for TCP and UDP Communications Section 10-3 Explanation of Ladder Program The first section of program uses CMCR to execute UDP PASSIVE OPEN. Pro- gram execution starts when CIO 00000 turns ON. Program Explanation address 00000 Starting UDP OPEN execution. When CIO 00000 turns ON, the UDP open error bit (CIO 00100) turns OFF and the UDP open work bit (CIO 00200) turns ON to request one execution of UDP OPEN.
  • Page 176 Sample Programs for TCP and UDP Communications Section 10-3 Program Example 4 UDP send bit UDP send error bit UDP send work bit UDP send bit UDP send work bit Instruction Enabled Flag UDP send work bit UDP send bit UDP send work bit Instruction UDP Sending Flag...
  • Page 177 Sample Programs for TCP and UDP Communications Section 10-3 Explanation of Ladder Program The next section of program uses CMCR to execute UDP SEND. Execution starts when CIO 00002 turns ON. Program Explanation address 00053 Starting UDP SEND execution. When CIO 00002 turns ON, the UDP send error bit (CIO 00102) turns OFF and the UDP send work bit (CIO 00202) turns ON to request one execution of UDP SEND.
  • Page 179: Using Fins Commands And Responses

    SECTION 11 Using FINS Commands and Responses This section describes the FINS commands that can be sent to the C200HX/HG/HE CPU and the FINS commands that can be sent to the PC Card Unit. 11-1 Commands and Responses for C200HX/HG/HE CPUs .
  • Page 180: Commands And Responses For C200Hx/Hg/He Cpus

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs 11-1 Commands and Responses for C200HX/HG/HE CPUs This subsection explains how to use commands and responses for C200HX/ HG/HE CPUs. With the C200HX/HG/HE, the CMCR instruction is used for issuing FINS com- mands.
  • Page 181: Memory Area Designations

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs 11-1-4 Memory Area Designations The following table gives the addresses to use when reading or writing PC data. Address used in Memory area Data Data area address Memory No. of communications area code bytes 1st and 2nd 3rd byte...
  • Page 182: Memory Area Write

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Beginning word(command): The address of the first word/bit/flag to read from memory. Specify 00 for the 3rd byte. No. of items (command): The number of items to be read. Specify 0000 to 03F1 (0 to 1009 decimal).
  • Page 183: Multiple Memory Area Read

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Data (command): The data to be written. PVs for timers and counters are writ- ten as BCD. The required number of bytes in total is calculated as follows: The required number of bytes in total is calculated as follows: 2 bytes x No.
  • Page 184: Program Area Read

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Memory Areas The following data can be read (refer to 11-1-4 Memory Area Designations for memory area designations): Memory area Data Memory area No. of code bytes CIO, LR, HR, or AR Bit status area Word contents Timer/Counter...
  • Page 185: Program Area Write

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Response code Refer to Appendix D Response Codes from the C200HX/HG/HE CPU. 11-1-9 PROGRAM AREA WRITE Writes data to the specified number of consecutive program area words starting from the specified word. A maximum of 512 bytes can be written with each com- mand.
  • Page 186: Stop

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Response Block Command Response code code Parameters Program no. (command): Set to 0000. Mode (command): As follows: MONITOR mode RUN mode Response code Refer to Appendix D Response Codes from the C200HX/HG/HE CPU. Note If the mode is not specified, the PC will go to MONITOR mode.
  • Page 187: Controller Status Read

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs information does not require 20 bytes, the remainder of the 20 bytes will be filled with spaces (ASCII 20). Dummy 1 and Dummy 2 (response): All zeros will be returned. Area data (response): As follows: 1st byte 10th byte No.
  • Page 188: Clock Read

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Fatal error data (response): The contents of fatal error information from the PC (for details refer to your PC’s operation manual). First byte Second byte 1: FALS error 1: No END instruction 1: I/O setting error 1: I/O unit overflow 1: I/O bus error...
  • Page 189: Clock Write

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Year: The rightmost two digits of the year. Hour: 00 to 23. Day: As follows: Value Tues Thur Response code Refer to Appendix D Response Codes from the C200HX/HG/HE CPU. 11-1-15 CLOCK WRITE Sets the clock.
  • Page 190: Forced Set/Reset

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Response code Refer to Appendix D Response Codes from the C200HX/HG/HE CPU. 11-1-17 FORCED SET/RESET Force-sets (ON) or force-resets (OFF) bits/flags or releases force-set status. Bits/flags that are forced ON or OFF will remain ON or OFF and cannot be writ- ten to until the forced status is released.
  • Page 191: Forced Set/Reset Cancel

    Section 11-1 Commands and Responses for C200HX/HG/HE CPUs Response code Refer to Appendix D Response Codes from the C200HX/HG/HE CPU. 11-1-18 FORCED SET/RESET CANCEL Cancels all bits (flags) that have been forced ON or forced OFF. Command Block Command code Response Block Command Response...
  • Page 192: Pc Card Unit Commands And Responses

    PC Card Unit Commands and Responses Section 11-2 Memory Areas Forced status can be read in the following areas. Refer to 11-1-4 Memory Area Designations for memory area designations. Area Data type Memory area Number of code bytes CIO, LR, HR, and Current value of word AR areas Timer/counter area...
  • Page 193: Controller Data Read

    PC Card Unit Commands and Responses Section 11-2 Note For details regarding FINS commands requesting socket services (27jj), refer to 11-3 FINS Commands Requesting Socket Services. 11-2-2 CONTROLLER DATA READ Reads the PC Card Unit’s model and version. Command Block Command code Response Block...
  • Page 194: Broadcast Test Results Read

    PC Card Unit Commands and Responses Section 11-2 Note 1. The test destination is set with the CMCR instruction’s control data. 2. For the unit address, the PC Card Unit must be specified. Response code Refer to Appendix E FINS Response Codes from the PC Card Unit. 11-2-4 BROADCAST TEST RESULTS READ Reads the results (number of receptions) of the broadcast tests carried out for all the nodes in the network, using the BROADCAST TEST DATA SEND com-...
  • Page 195: Error Log Read

    PC Card Unit Commands and Responses Section 11-2 Response code Refer to Appendix E FINS Response Codes from the PC Card Unit. 11-2-6 ERROR LOG READ Reads the error data from the PC Card Unit. Error data is erased after it has been read.
  • Page 196: Error Log Clear

    PC Card Unit Commands and Responses Section 11-2 11-2-7 ERROR LOG CLEAR Resets the PC Card Unit’s Error Log. Command Block Command format Response Block Command Response format code Response code Refer to Appendix E FINS Response Codes from the PC Card Unit. 11-2-8 SINGLE FILE READ Reads the contents of a file stored in the file device connected to the PC Card Unit.
  • Page 197: Single File Write

    PC Card Unit Commands and Responses Section 11-2 11-2-9 SINGLE FILE WRITE Writes a new file to the file device connected to the PC Card Unit or appends/ overwrites an existing file stored in the file device. Designation can be made to protect existing files if an attempt is made to create a new file of the same name as an existing file.
  • Page 198: File Delete

    PC Card Unit Commands and Responses Section 11-2 11-2-10 FILE DELETE Deletes files stored in a file device connected to the PC Card Unit. Command Block 12 bytes 12 bytes Command Disk no. No. of File name File name code files Parameters Disk no.
  • Page 199: File Name Change

    PC Card Unit Commands and Responses Section 11-2 Response Block Command Response code code Note 1. The copied file name cannot be omitted, even if the destination and source file names are the same. 2. The file will not be copied if an existing file name is given. 3.
  • Page 200: Single File Write With Commas

    PC Card Unit Commands and Responses Section 11-2 Beginning file name (command): The name of the file to be read. Set as: File name of up to eight letters + period + 3-letter extension. One-byte alphanumeric code is used. When there are not enough letters to fill all 12 bytes, fill the remaining bytes with spaces ($20).
  • Page 201: Fins Commands Requesting Socket Services

    FINS Commands Requesting Socket Services Section 11-3 File offset (command): The number of bytes from the start of the file from which to start writing (files start at 00000000). To create a new file or add data to an existing file, specify 00000000 as the file offset. Data length (command): The number of bytes to be written.
  • Page 202: Socket Status Area

    FINS Commands Requesting Socket Services Section 11-3 11-3-2 Socket Status Area Each PC Card Unit has four sockets that can be used for TCP or UDP. The status of each of these sockets can be confirmed from the respective AR bits. AR Words 08 to 15 Byte Operating level #0, socket no.
  • Page 203: Udp Open Request

    FINS Commands Requesting Socket Services Section 11-3 11-3-3 UDP OPEN REQUEST Requests processing to open a socket. Command Block Command Results storage area Local UDP code socket port number number Response Block Command Response code code Results Storage Format Results storage response code Parameters UDP Socket Number (Command): Specify the UDP socket number to be...
  • Page 204: Udp Receive Request

    FINS Commands Requesting Socket Services Section 11-3 11-3-4 UDP RECEIVE REQUEST Requests that data be received from a UDP socket. Command Block Command Results storage area Number of Timeout code socket reception value number bytes Response Block Command Response code code Results Storage Format Results...
  • Page 205: Udp Send Request

    FINS Commands Requesting Socket Services Section 11-3 Response Codes Response code Description 0000 Normal 1100 UDP socket number or number of reception bytes is out of range. 1101 The memory area code for the results storage area is out of range.
  • Page 206: Udp Close Request

    FINS Commands Requesting Socket Services Section 11-3 Send Data (Command): Specifies the data sent to the remote node. Response Codes Response code Description 0000 Normal 1003 The number of bytes sent does not match the sent data length. 1100 UDP socket number or number of bytes sent is out of range. The destination IP address is 0.
  • Page 207: Tcp Open Request (Passive)

    FINS Commands Requesting Socket Services Section 11-3 Response Codes Response code Description 0000 Normal 1100 UDP socket number is out of range. 1101 The memory area code for the results storage area is out of range. 1103 Non-zero bit address is specified for the results storage area. 2201 The specified socket is opened as a TCP socket.
  • Page 208: Tcp Open Request (Active)

    FINS Commands Requesting Socket Services Section 11-3 Remote Port Number (Command, Results Storage Area): Specify the remote TCP port number with this command. If all zeroes are set, no remote TCP port number is specified. If any other value is set, it specifies the TCP port number of the remote node.
  • Page 209: Tcp Receive Request

    FINS Commands Requesting Socket Services Section 11-3 Remote IP Address (Command): Specify the remote node’s IP address (must be non-zero). Remote Port Number (Command): Specify the remote TCP port number (must be non-zero). Response Codes Response code Description 0000 Normal 1100 TCP socket number is out of range or remote IP address is 1101...
  • Page 210: Tcp Send Request

    FINS Commands Requesting Socket Services Section 11-3 Number of Reception Bytes (Command, Results Storage Area): The maxi- mum number of bytes of data to be received is given in the command. The num- ber of bytes of data received will be stored in the results storage area. Up to 1,982 bytes can be specified.
  • Page 211: Tcp Close Request

    FINS Commands Requesting Socket Services Section 11-3 Results Storage Format Response Number of code bytes sent Parameters TCP Socket Number (Command): Specify the TCP socket number to be opened as two bytes between 1 and 4. Results Storage Area (Command): The words 0 to 255 and 256 to 511 of the memory area, words 0 to 6143 of the data memory, and words 0 to 6143 (each bank) of the expansion data memory can be used.
  • Page 212 FINS Commands Requesting Socket Services Section 11-3 Response Block Command Response code code Results Storage Format Response code Parameters TCP Socket Number (Command): Specify the TCP socket number to be opened as two bytes between 1 and 4. Results Storage Area (Command): The words 0 to 255 and 256 to 511 of the memory area, words 0 to 6143 of the data memory, and words 0 to 6143 (each bank) of the expansion data memory can be used.
  • Page 213: Part 4 Troubleshooting

    Part 4 Troubleshooting This part of the manual includes information on troubleshooting errors and using the error log.
  • Page 215: Error Processing

    SECTION 12 Error Processing This section describes the meaning of indicators and the actions to be taken when the indicators light. It also explains how to use the error log. 12-1 Indicators and the Error Log ..........12-1-1 Reading the Error Log .
  • Page 216: Indicators And The Error Log

    Section 12-1 Indicators and the Error Log 12-1 Indicators and the Error Log When an error occurs in the CPU bus, Ethernet network, or other parts of the system, the PC Card Unit indicates the error with indicators and records it in the error log to enable the user to identify the error.
  • Page 217: Troubleshooting

    Troubleshooting Section 12-2 12-2 Troubleshooting 12-2-1 PC Card Unit Formatting Does Not Finish: If card access indicator is flashing: Formatting is in progress. Wait until formatting is complete. If card access indicator is not flashing: Check whether the card type and the slot match the switch settings. Also, con- tact the card manufacturer to check whether the card can be used with PHOE- NIX PCM Plus 3.2.
  • Page 218 Troubleshooting Section 12-2 The PING command is normally used to check the connections of remote nodes when configuring a network. The PC Card Unit supports both the ICMP echo request and reply functions. ICMP ETHERNET Remote node (host com- Echo request puter or PC Card Unit) Response Using the Host Computer...
  • Page 219: A Standard Models

    Appendix A Standard Models Name Specifications Model PC Card Unit Does not support Ethernet. C200HW-PCU01 PC Card Unit Ethernet Set Supports Ethernet C200HW-PCS01-EV1 Bus Connection Unit Connects one PC Card Unit C200HW-CE011 Connects one PC Card Unit and one C200HW-CE012 SYSMAC LINK or SYSMAC NET Link Unit.
  • Page 221: B Specifications

    Appendix B Specifications PC Card Unit Specifications The specifications for the PC Card Unit are shown below. General Specifications General specifications are the same as those for the SYSMAC Series. Item Specifications 80386SX 25 MHz Memory 1 MB DRAM 512 KB (BIOS, DOS, System file storage) FLASH ROM 1 MB (System file storage) No battery backup...
  • Page 222 Appendix B Specifications Dimensions (Unit: mm) Backplane Backplane Plate 3 When using an Ethernet card, be sure to allow sufficient room to install the cable.
  • Page 223: C Connector Pin Assignments

    Appendix C Connector Pin Assignments Connector Pin Assignments The assignments of the connector pins for the PC Card Unit are shown below. PC Card Interface (*denotes negative logic) Pin number Signal names Pin number Signal names CD1* CE1* CE2* RFSH IORD* IOWR* WE*/PGM...
  • Page 224 Wire the cable similarly to the following connections. The following Connector and Connector Cover are available if you want to pro- duce your own cable. Wire the cable with care. Applicable Connector Connector XM2A-0901 OMRON Connector Cover XM2S-0911 OMRON Connection D sub 9-pin...
  • Page 225: D Response Codes From The C200Hx/Hg/He Cpu

    Appendix D Response Codes from the C200HX/HG/HE CPU The following table lists the response codes (main and sub-codes) returned after execution of FINS commands, the probable cause of the errors, and recommended remedies. Upon receipt of some commands, the destination node will issue a request to another node; the other node is referred to as the third node.
  • Page 226 Appendix D Response Codes from the C200HX/HG/HE CPU Main code Sub- Probable cause Remedy code 02: Destination node Destination node not part of network Add to network. error No node with the specified node Check the destination node’s node number number.
  • Page 227 Appendix D Response Codes from the C200HX/HG/HE CPU Main code Sub- Probable cause Remedy code 11: Parameter error A correct memory area code has not Check the command’s memory area code been used or Expansion Data Memory and set the appropriate code. is not available.
  • Page 228 Appendix D Response Codes from the C200HX/HG/HE CPU Main code Sub- Probable cause Remedy code 21: Write not possible The specified area is read-only or is If the specified area is read-only, the write write-protected. cannot be performed. If it is write-protected, turn off the write-protect switch and execute the instruction again.
  • Page 229 Appendix D Response Codes from the C200HX/HG/HE CPU Main code Sub- Probable cause Remedy code 25: Unit error Parity/checksum error occurred Transfer correct data into memory. because of incorrect data. I/O setting error (The registered I/O Either change the actual configuration to configuration differs from the actual.) match the registered one, or generate the I/O table again.
  • Page 230 Appendix D Response Codes from the C200HX/HG/HE CPU Main code Sub- Probable cause Remedy code 26: Command error The specified area is not protected. The program area is not protected, so it This response code will be returned if isn’t necessary to clear protection. an attempt is made to clear protection on an area that is not protected.
  • Page 231: E Fins Response Codes From The Pc Card Unit

    Appendix E FINS Response Codes from the PC Card Unit When an error occurs in a FINS command sent to a PC Card Unit, an error response code is returned. Although there are other response codes that are given only for certain commands, the following is a list of response codes common to all commands.
  • Page 233: F Differences With The Cv-Series Or Cs1-Series Ethernet Units

    Appendix F Differences with the CV-series or CS1-series Ethernet Units The differences between the PC Card Unit and the CV-series or CS1-series Ethernet Units are listed below. Functions Not Supported by the PC Card Unit • There is no FTP Server function. •...
  • Page 235: G Example Using A Memory Card With A Personal Computer

    Appendix G Example Using a Memory Card with a Personal Computer The procedure for reading a file saved on the PC Card Unit in comma-separated format, on the personal computer in EXCEL is described below. C200HW-PCU01/PCS01-EV1 PC Card Unit Memory Card Personal computer The personal computer operating environment used in this example is as follows: •...
  • Page 237: H Precautions When Setting Up The Network

    Appendix H Precautions when Setting Up the Network • Be sure to follow the safety precautions and specifications when setting up the Ethernet network. Refer to ISO/ IEC 8802-3 for laying the Ethernet. • It is recommended that network construction be carried out by qualified personnel with an extensive knowledge of safety precautions and specifications.
  • Page 239: I Contents Of Version Upgrade (Pcs01-E To Pcs01-Ev1)

    Appendix I Contents of Version Upgrade (PCS01-E to PCS01-EV1) This appendix outlines the functions that have been added for the upgrade to C200HW-PCS01-EV1. Socket Interface Support UDP and TCP socket interfaces are supported by FINS commands. Refer to Section NO TAG FINS Commands and Section NO TAG Socket Services.
  • Page 241: J Remote Tool Connection Procedure

    Appendix J Remote Tool Connection Procedure This appendix explains the procedure for remote tool connection to the C200HX/HG/HE via the PC Card Unit inter- face by peripheral bus connection to the C200HX/HG/HE and host link connection from SYSMAC Support Soft- ware (SSS).
  • Page 242 Appendix J Remote Tool Connection Procedure Settings for Peripheral Bus Use the SYSMAC Support Software to make the settings as shown in the following procedure. 1, 2, 3... 1. Select “C:PC interface” from the System Setup Menu. 2. Select “L:Peripheral Bus (via SYSMAC LINK).” 3.
  • Page 243: Glossary

    Glossary address A number used to identify the location of data or programming instructions in memory or to identify the location of a network or a unit in a network. advertisement The process of sending out information to make resources available to other devices, e.g., sending information to other nodes in a network to make windows available for communications.
  • Page 244 Glossary Bus Connection Unit A Unit used to connect a single PC Card Unit to the C200HX/HG/HE PC or to one SYSMAC LINK Unit or SYSMAC NET Link Unit to the C200HX/HG/HE PC together with one PC Card Unit. byte A unit of data equivalent to 8 bits, i.e., half a word.
  • Page 245 Glossary An acronym for clear-to-send, a signal used in communications between elec- tronic devices to indicate that the receiver is ready to accept incoming data. CV Support Software A programming package run on an IBM PC/AT or compatible to serve as a Pro- gramming Device for CV-series PCs.
  • Page 246 FINS Factory Interface Network Service: A protocol that transfers messages between PCs on any of various OMRON FA networks. Also see CV-mode. flag A dedicated bit in memory that is set by the system to indicate some type of oper- ating status.
  • Page 247 Glossary I/O allocation The process by which the PC assigns certain bits in memory for various func- tions. This includes pairing I/O bits to I/O points on Units. I/O delay The delay in time from when a signal is sent to an output to when the status of the output is actually in effect or the delay in time from when the status of an input changes until the signal indicating the change in the status is received.
  • Page 248 A data storage media similar to a floppy disk. network address An address set in routing tables and used to differentiate OMRON networks for FINS communications. network number The portion of the IP address used to differentiate networks.
  • Page 249 The device at a node is identified by the node number. node number An address used to differentiate nodes (including Ethernet Units) on OMRON networks for FINS protocol. The node number of a CV-series PC is called the “unit number” in the PC Setup.
  • Page 250 Glossary overflow The state where the capacity of a data storage location has been exceeded. overwrite Changing the content of a memory location so that the previous content is lost. parity Adjustment of the number of ON bits in a word or other unit of data so that the total is always an even number or always an odd number.
  • Page 251 Glossary protocol The parameters and procedures that are standardized to enable two devices to communicate or to enable a programmer or operator to communicate with a device. See present value. Rack An assembly that forms a functional unit in a Rack PC System. A Rack consists of a Backplane and the Units mounted to it.
  • Page 252 Glossary segment The portion of an Ethernet System that defines one network, i.e., a single coaxial cable and all nodes connected to it. self diagnosis A process whereby the system checks its own operation and generates a warn- ing or error if an abnormality is discovered. server A process or node that provides processing to a client.
  • Page 253 Unit In OMRON PC terminology, the word Unit is capitalized to indicate any product sold for a PC System. Though most of the names of these products end with the word Unit, not all do, e.g., a Remote Terminal is referred to in a collective sense as a Unit.
  • Page 254 Glossary word A unit of data storage in memory that consists of 16 bits. All data areas consists of words. Some data areas can be accessed only by words; others, by either words or bits. word address The location in memory where a word of data is stored. A word address must specify (sometimes by default) the data area and the number of the word that is being addressed.
  • Page 255: Index

    Index Numbers command codes, 129 COMMAND.COM, Ethernet network environment, 201 10BASE-T network, 79 Communications Boards, 15 mounting, 24 procedures, 20 communications environment, 83 components, PC Card Unit, 27 adapter, 79 connector pins, 207 Ethernet card, 79 assignments, 207 addresses PC card interface, 207 FINS communications, 116 serial communications interface, 208 remote addresses, 131...
  • Page 256 Index Ethernet cards FINS, 8, 71 addresses adapter, 79 converting to IP addresses, 85 installing, 76 converting to IP addresses with setup software, 93 models, 16, 74 commands ODI driver, 84 C200HX/HG/HE CPU response codes list, 209 removing, 78 data formats, 124, 164 memory areas, 126, 165 Ethernet Set, 7, 12 parameters, 124, 164...
  • Page 257 Index floppy disk, 80 format MAU, 6 CMCR, 49 Media Attachment Unit. See MAU memory cards, pin settings, 31, 47 memory card formatting mode, pin settings, 48 formatting, memory cards memory cards, 40, 47 error troubleshooting, 201 format pin settings, 32, 48 DOS FAT, 47 fragmentation, data, 136 MS-FLASH, 47...
  • Page 258 Index PC cards, slots, 40, 75 Results Storage Error Flag, 141, 186 RSV, 130 PC interface Host Link (SYSMAC LINK), 226 peripheral bus (SYSMAC LINK), 226 PC modes, 171 PCMCIA 2.1, 46 SA1, 130 personal computers SA2, 130 connecting to PC Card Unit, 80 setup, 80 screws Ethernet Set, 13...
  • Page 259 Index Socket Classification Flag, 141, 186 sockets, 134 closing TCP, 8, 71 TCP, 195 See also sockets UDP, 190 precautions, 136 ladder diagram examples, 146, 154 opening, 135 TCP CLOSE REQUEST, 195 TCP, 191, 192 UDP, 187 TCP OPEN REQUEST (ACTIVE), 192 port numbers, 136 precautions, 145 TCP OPEN REQUEST (PASSIVE), 191...
  • Page 260 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W313-E1-3 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 261: Revision History

    END USER LICENSE AGREEMENT IMPORTANT – READ CAREFULLY BEFORE USING THE EMBEDDED SYSTEM WHICH CONTAINS MICROSOFT SOFTWARE. By using the embedded system containing software, you indicate your acceptance of the following Software License Agreement. –––––––––––––––––––––––––––––––––––––––––––––––– SOFTWARE LICENSE AGREEMENT (Embedded Products) This software license agreement, including the Warranty and Special Provisions set forth in the appendix or separate booklet included in this package, is a legal agreement between you (either an individual or an entity, hereinafter “End User”) and the manufacturer (“Embedded System Manufacturer”) of the embedded system containing software product.

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents