Omron CJ1W-PNT21 Operation Manual
Omron CJ1W-PNT21 Operation Manual

Omron CJ1W-PNT21 Operation Manual

Profinet io controller unit
Hide thumbs Also See for CJ1W-PNT21:
Table of Contents

Advertisement

Quick Links

Cat. No. W12E-EN-01
CJ1W-PNT21
PROFINET IO
Controller Unit
OPERATION MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ1W-PNT21 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Omron CJ1W-PNT21

  • Page 1 Cat. No. W12E-EN-01 CJ1W-PNT21 PROFINET IO Controller Unit OPERATION MANUAL...
  • Page 2 OMRON product references All OMRON products are capitalized in this manual. The first letter of the word Unit is also capitalized when it refers to an OMRON product, regardless of whether it appears in the proper name of the product.
  • Page 3 ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.
  • Page 4 Application Considerations SUITABILITY FOR USE 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.
  • Page 5 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.
  • Page 6: Table Of Contents

    1-6 Conformance to EC Directives .......................xiii SECTION 2 Features and specifications 2-1 Overview of CJ1W-PNT PROFINET IO Controller................... 2 2-2 CJ1W-PNT21 PROFINET IO Controller Unit ................... 3 2-3 CJ1W-PNT21 configuration........................7 2-4 Basic operating procedure ........................8 SECTION 3 Installation and wiring 3-1 CJ1W-PNT21 Unit components ......................
  • Page 7 SECTION 7 Operation 7-1 Introduction............................. 84 7-2 Setting up a Network ..........................84 7-3 Configuring the IO Devices ........................90 7-4 Configuring the IO Controller........................92 7-5 Performance............................108 7-6 Operating the network .......................... 111 SECTION 8 Troubleshooting and maintenance 8-1 Overview ..............................
  • Page 8 viii...
  • Page 9: Precautions

    The information contained in this section is important for the safe and reliable operation of the CJ1W-PNT21 PROFINET IO Controller Unit. You must read this section and understand the information contained before attempting to set up or operate a CJ1W-PNT21 PROFINET IO Controller Unit and related systems. SECTION 1 Precautions 1-1 Intended audience................x...
  • Page 10: Intended Audience

    It is extremely important that the Unit is 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 using the Unit in a system in the above mentioned applications.
  • Page 11: Operating Environment Precautions

    Operating environment precautions countermeasure for such problems, external safety measures must be provided to ensure safety in the system. • SmartSlice I/O Terminals will continue operating even if one or more I/O Units is removed from or falls out of the SmartSlice I/O Terminal, i.e., the other I/O Units will continue control operations, including outputs.
  • Page 12: Application Precautions

    • When adding a new SmartSlice I/O Unit to the Communication Unit, make sure that the CJ1W-PNT21 PROFINET IO Controller Unit is powered down, to prevent unexpected results when starting up the new station. • Use specified communication cables.
  • Page 13: Conformance To Ec Directives

    Low-voltage directive 1-6-2 Concepts OMRON devices complying with EC Directives also conform to related product standards making them easier to incorporate in other units or machines. The actual products have been checked for conformity to product standards. Whether the products conform to the standards in the system used by the customer, however, must be checked by the customer.
  • Page 14 I/O power supplies. Ensure that stable outputs can be provided even if a 10 ms interruption occurs at the input. 3 The CJ1W-PNT21 PROFINET IO Controller Unit meets the generic emission standard. However as EMC performance can vary in the final installation, additional measures may be required to meet the standards.
  • Page 15: Features And Specifications

    Section SECTION 2 Features and specifications This section provides an introductory overview of the CJ1W-PNT21 PROFINET IO Controller for the CJ-Series, its functions and how to set up and configure it for a PROFINET IO network. SECTION 2 Features and specifications 2-1 Overview of CJ1W-PNT PROFINET IO Controller......2...
  • Page 16: Overview Of Cj1W-Pnt Profinet Io Controller

    Section 2-1 Overview of CJ1W-PNT PROFINET IO Controller The CJ1W-PNT21 PROFINET IO Controller is a Unit that can be installed on a CJ1 PLC system. The Unit provides a communication means through a PROFINET IO network to OMRON and non-OMRON PROFINET IO Devices.
  • Page 17: Cj1W-Pnt21 Profinet Io Controller Unit

    2-2-1 Features PROFINET IO Controller The CJ1W-PNT21 PROFINET IO Controller Unit is a CPU Bus Unit, which can Unit be installed on a CJ1 PLC System. The CJ1W-PNT21 controls the data exchange between PROFINET IO Devices and a CJ1 PLC system over a PROFINET IO network.
  • Page 18 CJ1W-PNT21 PROFINET IO Controller Unit Section 2-2 • Various status and error flags indicating the status of the Unit and the PROFINET IO network. • An error log for recording error history data. 2-2-2 Specifications Functional specifications Item Specification Installation...
  • Page 19 CJ1W-PNT21 PROFINET IO Controller Unit Section 2-2 Item Specification Memory Area Allocation CIO Area words allocated for the Fixed allocation of 25 words per Unit. CPU Bus Unit Start address: CIO 1500 + (25 * Unit number) DM Area words allocated for the...
  • Page 20 CJ1W-PNT21 PROFINET IO Controller Unit Section 2-2 External dimensions CJ1W-PNT21 CJ1W-PNT21 COMM 100M UNIT Figure 2.2: CJ1W-PNT21 PROFINET IO Controller Unit external dimensions...
  • Page 21: Cj1W-Pnt21 Configuration

    The PROFINET IO Controller Unit must be configured before it can exchange Configuration Means I/O data with any of its IO Devices. To configure the unit, information about the IO Devices must be available. OMRON provides two means to provide an IO Controller Unit with IO Device information: •...
  • Page 22: Basic Operating Procedure

    Mount the CJ1W-PNT21 PROFINET IO Controller Unit. Setup the PROFINET IO network. Power up the CJ1W-PNT21 and perform initial setup. Configure the PROFINET IO Controller Unit. PROFINET IO starts communicating, confirmed by the LEDs turning on. Check status of other LED Indicators.
  • Page 23 PROFINET IO Controller and IO Device Units. Initial setup procedure 1 Mount the CJ1W-PNT21 Unit in the PLC I/O system on the DIN rail. 2 Set the Unit Number of the CJ1W-PNT21 to a unique value. 3 Wire the PROFINET IO network by connecting IO Devices to the PROFINET IO Controller Unit.
  • Page 24 Basic operating procedure Section 2-4...
  • Page 25: Installation And Wiring

    This section shows the CJ1-series PROFINET IO Controller Unit and identifies the controls and indicators of the Unit. This section also contains the procedures for installing and wiring the CJ1W-PNT21 Unit, in addition to the procedures for setting up the PROFINET IO network.
  • Page 26: Cj1W-Pnt21 Unit Components

    The illustration below shows the Status LED indicators with 7-segment display (A), the Unit number selector switch (B) and the PROFINET IO Ethernet connector (C) on the front side of the CJ1W-PNT21 Unit. Each of these components is explained in the following sections.
  • Page 27 Make sure to follow the PROFINET Installation Guideline for Cabling and Assembly Order No.: 8.072 available through PI. 3-1-3 LED indicators The CJ1W-PNT21 PROFINET IO Controller Unit uses the following LED indicators. • Four LEDs to indicate status of the Unit and the PROFINET IO network •...
  • Page 28 PLC. The unit number must be unique for each CPU Bus Unit. Selecting a non-unique number for a CPU Bus Unit will prevent the PLC System from starting correctly. CJ1W-PNT21 UNIT Setting range: 0 ~ F (Hexadecimal) Figure 3.4: CJ1W-PNT21 Rotary switch...
  • Page 29 CJ1W-PNT21 Unit components Section 3-1 1 Turn OFF the power supply before setting the Unit number. 2 Set the rotary switch to the (new) Unit number. Use a small flathead screwdriver to make the setting, taking care not to damage the rotary switch.
  • Page 30 D31200 to D31299 5 (5) D30500 to D30599 D (13) D31300 to D31399 6 (6) D30600 to D30699 E (14) D31400 to D31499 7 (7) D30700 to D30799 F (15) D31500 to D31599 The CJ1W-PNT21 does not use the DM Area.
  • Page 31: Installing The Cj1W-Pnt21 Unit

    The figure below shows the number and the positions of the slots to which PROFINET IO Controller Units can be mounted. The CJ1W-PNT21 can be mounted using the sliders on the top and bottom of the Unit. In a single CJ1 PLC system, up to 16 PROFINET IO Controller Units can be mounted.
  • Page 32 Installing the CJ1W-PNT21 Unit Section 3-2 Mounting Procedure Mount the CJ1W-PNT21 PROFINET IO Controller Unit to the PLC using the following procedure. 1 Carefully align the connectors to mount the PROFINET IO Controller Unit. Connector P A205 R SYSMA C...
  • Page 33: Initial Setup Procedure

    DRM21 (DeviceNet Communication Unit). It is very important to assign a valid network number to the CJ1W-PNT21. If a FINS Routing table exists but there is no entry for the CJ1W-PNT21, the CJ1W-PNT21 will operate normally. However, forwarding FINS messages...
  • Page 34: Setting Up The Profinet Io Network

    Network structure A PROFINET IO network can be setup as a line, star, tree or ring network. When using the CJ1W-PNT21 unit in any of these networks, the following precautions apply: Always be aware that any additional Ethernet communication through the PROFINET network may influence the PROFINET IO Communication.
  • Page 35 Setting up the PROFINET IO network Section 3-4 3-4-1-2 Star The star topology is the most common topology for Ethernet networks. A central switch allows for communication between all connected devices. Switch Figure 3.9: Ethernet star topology Advantages of the star topology: •...
  • Page 36 Setting up the PROFINET IO network Section 3-4 3-4-1-3 Tree The tree topology is a hierarchical combination of multiple star topology interconnected with each other. Switch Switch Figure 3.10: Ethernet tree topology Advantages of the tree topology: • Flexible adding and removing of devices without changes in existing connections.
  • Page 37 This protocol, which is part of the PROFINET IO Specification, enables the Unit to be part of a ring-shaped network structure and adds redundancy to the network. The internal Ethernet Switch of for instance the Omron GRT1-PNT IO Device Unit supports the Media Redundancy Protocol (MRP).
  • Page 38 IO Controllers signal that the output data is valid. Normally the first IO Controller that signalled that the output data is valid will be in control of the outputs of the IO Device. OMRON can therefore only guarantee proper IO Controller redundancy operation if implemented with GRT1-PNT IO Devices.
  • Page 39 Setting up the PROFINET IO network Section 3-4 Switch PROFINET IO Controller redundancy Figure 3.12: 3-4-4 Network and Controller redundancy When combining the PROFINET MRP ring redundancy and the IO Controller redundancy a control system with a high availability can be achieved. Single points of failure should have no influence on the operation of the application.
  • Page 40 Setting up the PROFINET IO network Section 3-4 3-4-5 Establishing the PROFINET IO network This section describes how to create, connect and configure the PROFINET IO network using the CX-ConfiguratorFDT software and the Device DTM’s. 1 Select the Network Components (see previous section) and build the network.
  • Page 41: Installation Of Configuration Software

    In order to operate the PROFINET IO system the PROFINET IO Controller needs to be configured for communication with the PROFINET IO Devices. For this purpose OMRON provides the CJ1W-PNT21 DTM via the OMRON web site http://technicalsupport.europe.omron.com/ After installation the DTM will run in the FDT Container, allowing the user to set up the I/O configuration and to set the parameters of the CJ1W-PNT 21.
  • Page 42 Updating the Device After installation of the CJ1W-PNT21 DTM the Device Catalogue in the FDT Catalogue Container needs to be updated, to show the new CJ1W-PNT21 DTM in the list of available devices. For CX-ConfiguratorFDT the following procedure applies. 1,2,3...
  • Page 43 Installation of Configuration Software Section 3-5 Select the preferred Language for the Setup and click OK. 3 The user is then guided through the installation process. Pressing the Next button will start the installation. 4 When done, the installation program will notify the user of its completion. The update of the Device Catalogue of the FDT Container is required Updating the Device After installation of the PROFINET IO Generic Device DTM the Device...
  • Page 44 Installation of Configuration Software Section 3-5...
  • Page 45: Configuration Software

    This section presents an overview of the Configuration software and gives insight in the main aspects of defining a PROFINET IO configuration. SECTION 4 Configuration Software 4-1 CX-ConfiguratorFDT ................34 4-2 CX-ConfiguratorFDT Main Window..........35 4-3 CJ1W-PNT21 PROFINET IO Controller DTM........44 4-4 Generic IO Device DTM ..............58...
  • Page 46: Cx-Configuratorfdt

    This section provides information about the use of the CJ1W-PNT21 PROFINET IO Controller DTM and the Generic IO Device DTM. For the use of the GRT1-PNT SmartSlice PROFINET IO Device DTM please refer to the...
  • Page 47: Cx-Configuratorfdt Main Window

    CX-ConfiguratorFDT Main Window Section 4-2 CX-ConfiguratorFDT Main Window At first start up, the main application window of CX-ConfiguratorFDT opens with a New Project and the Device Catalogue is opened automatically. The Device Catalogue can also be opened from the menu. The figure below shows the opened CX-ConfiguratorFDT main window for a project already containing a defined network, and with the Device Catalogue window opened.
  • Page 48 CX-ConfiguratorFDT Main Window Section 4-2 CX-ConfiguratorFDT supports context menus in the Network view, which pop up when right clicking a device DTM. The contents of the context menu depends on the functionality supported by the DTM. DTM / Device Catalogue The DTM / Device Catalogue window holds the Device Catalogue and every Window opened DTM User Interface.
  • Page 49 CX-ConfiguratorFDT Main Window Section 4-2 Menu Command Short Key Description FDT Monitor Hides un-hides the FDT monitoring view Device Add... Opens the Device Catalogue Add windows, from which devices can be added to the selected network tree. Upload Parameters from Uploads the parameters from a device to its associated Device Download Parameters to...
  • Page 50 CX-ConfiguratorFDT Main Window Section 4-2 The main layout of the Device Catalogue is shown below: Device name F ile date DT M categories V ers ion number V endor name Update Device C atalogue Ins tall a new G S D file Add s elected device to the network Figure 4.2: Device catalogue Invoking the Device...
  • Page 51 CX-ConfiguratorFDT Main Window Section 4-2 Column Description Date For DTMs, Date is the date associated with the revision. For GSDML file based slaves, the date listed in this column is the date the GSDML file was last modified. Vendor The Vendor name is provided by the DTM or the GSDML files. DTM Group Selection The left view allows selection of specific groups of device DTMs with common Window...
  • Page 52 CX-ConfiguratorFDT Main Window Section 4-2 Figure 4.3: Additional DTM information 4-2-1-1 Installing GSDML Files The Device Catalogue allows the installation of new GSDML files into the GSDML directory for the Generic IO Device DTM. Selecting the Install Device Description Files... button displays the standard Windows File selection window.
  • Page 53 1 Using the context menu A context menu will pop up when selecting the CJ1W-PNT21 PROFINET IO Controller DTM and then right clicking the mouse. By selecting the menu option Add Device, a simplified Device Catalogue is displayed showing only the DTMs which are allowed to be added to the PROFINET IO Controller DTM.
  • Page 54 CX-ConfiguratorFDT Main Window Section 4-2 After exporting the information, the default browser is launched, showing the result of the export process. The HTML file contains links to open the information pages for the individual DTMs. The amount of the information displayed depends on the individual DTMs.
  • Page 55 The figure below shows an example of an FDT Monitoring message sequence. This example sequence is generated when opening a CJ1W-PNT21 PROFINET IO Controller Unit DTM. Figure 4.5: FDT monitor Right-clicking in the Error Log view displays a context menu providing the options listed below.
  • Page 56: Cj1W-Pnt21 Profinet Io Controller Dtm

    CJ1W-PNT21 PROFINET IO Controller DTM CJ1W-PNT21 PROFINET IO To allow configuration and data monitoring from within CX-ConfiguratorFDT a Controller DTM CJ1W-PNT21 PROFINET IO Controller DTM is installed. The DTM shows up in the Device Catalogue under the following name: DTM Name Functions CJ1W-PNT21 PROFINET IO •...
  • Page 57 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Master DTM Configuration User Interface The IO Controller DTM Configuration User Interface contains five main items. • PROFINET Identification • Configuration • Diagnosis • Firmware • DTM Information The five items are discussed below.
  • Page 58 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Figure 4.7: Network scan Search Devices Button To populate the Network Scan View follow the next sequence: 1 Press the Search Devices button to scan the network and get an overview of all the PROFINET devices connected to the Ethernet network.
  • Page 59 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Control Description Set Device Name The Device Name is used by the IO Controller to recognize the IO Device on the network, to download parameters to the IO Device and initiate I/O Data communication. Setting the Device Name is mandatory.
  • Page 60 Information Box from the PROFINET IO Controller Unit, after pressing the test button. Item Description Description Displays the name of the Unit, that is CJ1W-PNT21. Firmware Version Displays the firmware version of the PROFINET IO Controller Unit. PLC Mode Box The PLC Mode Box contains information and gives the user the opportunity to change the PLC-mode.
  • Page 61 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 clicking the Read button will read the current PLC mode. Selecting the required PLC mode and pressing the Set button will set the PLC to the required mode. 4-3-3-2 IO Controller Setup The IO Controller Setup item contains settings regarding the behaviour of the PROFINET IO Controller Unit.
  • Page 62 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Control Description Auto Addressing ena- The IO Controller DTM performs the I/O data mapping by bled allocating the I/O data in ascending order of IO Device address and selected I/O modules. Memory allocation gaps will be optimized for efficiency.
  • Page 63 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Figure 4.10: IO Device setup Item Description Device No. The Device No. is the number used by the PROFINET IO Controller DTM to reference the IO Device within the configuration. For instance in the Diagnostic screen IO Devices are represented by number.
  • Page 64 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Item Description Data Hold Factor The Data Hold Factor is a multiplication factor on the Update Rate to define the datahold timeout. The Data Hold Time is the time that an IO Device will keep its Outputs set to the last known state after a successful data exchange.
  • Page 65 CJ1W-DRM21 Devicenet Master/Slave Unit and in the CJ1W-PRM21 PROFIBUS Master unit. Care should be taken to avoid data overlap, if such a Unit is part of the same PLC CPU system as the CJ1W-PNT21 PROFINET IO Controller Unit Mapping Area Control Each mapping Area in the Allocation tab is equipped with four controls and an information field located below the Area.
  • Page 66 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Control Description Length The length box allows the user to select the number of visible rows. The minimum and the default value is 100 words. The Length value can be set to up to 7168 words.
  • Page 67 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 4-3-4 Diagnosis The Diagnosis item shows the status of the IO Controller and the registered IO Devices. The Diagnosis item has the following three sub-items. • IO Controller Status • IO Device Status •...
  • Page 68 CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Figure 4.13: IO Device status The New Alarm & Data Exchange Active Flags are a combination of the IO Device New Alarm and Data Exchange Active flags area’s, which are located in the CIO Control and Status area at CIO 1500 + 25 * Unit Number.
  • Page 69 Section 4-3 4-3-5 Firmware Upgrade In the rare occasion a firmware upgrade is needed for the CJ1W-PNT21 PROFINET IO Controller this can be done in the Firmware Upgrade item. The IO Controller DTM must be set online to perform the upgrade.
  • Page 70: Generic Io Device Dtm

    Generic IO Device DTM Section 4-4 Generic IO Device DTM There are two means to represent a PROFINET IO Device for configuration in CX-ConfiguratorFDT. 1 The GSDML file basically describes a IO Device by showing the selectable modules an IO device can contain and its settable parameters. However, online configuration is not possible with a GSDML file.
  • Page 71 Generic IO Device DTM Section 4-4 Figure 4.15: Generic IO Device In general, the Configuration User Interface for the Generic IO Device DTM contains two items. The upper part always displays the IO Device and Vendor name plus the Device ID and Vendor ID. The main and sub-items are: Configuration and 1 Configuration item with the following two sub-items:...
  • Page 72 IO Device or the IO Device should accept the module configuration as its actual configuration. A list of available modules is read from the GSDML file of the IO Device. The figure below shows an example of a module selection for a Omron GRT1- PNT PROFINET IO device. Figure 4.17: Selecting modules...
  • Page 73 Analog Units normally occupy 1, 2 or 3 words. To further explain the mapping sequence, an example is given below. The example is based on the Omron GRT1-PNT PROFINET IO Device. Example To illustrate how the Digital and Analog SmartSlice I/O Units are mapped...
  • Page 74 Generic IO Device DTM Section 4-4...
  • Page 75: Allocated Cio And Dm Words

    Section SECTION 5 Allocated CIO and DM Words This section describes the words allocated to the CJ1W-PNT21 PROFINET IO Controller Unit in the CIO and DM Areas. These words facilitate controlling the Unit and accessing the Unit and network statuses.
  • Page 76: Overview Of Word Allocations

    Overview of Word Allocations Section 5-1 Overview of Word Allocations The words shown in the following diagram are allocated according to the unit number setting. For each CPU Bus Unit, there are 25 words allocated in the CIO Area and 100 words allocated in the DM Area. First word allocated in the CIO Area: n = CIO 1,500 + (25 x unit number) First word allocated in the DM Area: m = D30,000 + (100 x unit number) PLC CPU Unit...
  • Page 77 Overview of Word Allocations Section 5-1 Unit No. Allocated words Unit No. Allocated words (decimal) (decimal) 3 (3) CIO1575 to CIO1599 B (11) CIO1775 to CIO1799 4 (4) CIO1600 to CIO1624 C (12) CIO1800 to CIO1824 5 (5) CIO1625 to CIO1649 D (13) CIO1825 to CIO1849 6 (6)
  • Page 78: Allocated Cio Area Words

    Figure 5.2: CIO words CIO Word n+1 to n+3 and CIO Word n+8 are reserved for future use, and can’t be used because the CJ1W-PNT21 clears these words every PLC cycle. The other CIO Words are explained in the following sections.
  • Page 79 Allocated CIO Area Words Section 5-2 Name Status Unit operation 01~07 Reserved These bits are ignored in the unit. If set, they will be turned OFF by the Unit the next PLC cycle. Clear all alarm bits The clear alarm bits switch will clear all alarm flags for all IODs. It is rising edge triggered.
  • Page 80 The local parameter storage error flag will be ON if an error occurred during the storage of the data transferred from the configuration software to the CJ1W-PNT21.nal non-volatile memory. If the error occurred, the data in the non-volatile memory may be corrupted and a new Configuration...
  • Page 81 The 'IO Controller status 1' word provides all status information related to the CJ1W-PNT21 PROFINET IO Controller function. Any errors in the behaviour of the CJ1W-PNT21 are presented in the 'IO Controller status 2' word. 15 14 13 12 11 10 9...
  • Page 82 Status Unit operation Controller in ONLINE The Controller in ONLINE mode flag will be ON if the CJ1W-PNT21 is in mode ONLINE mode. In this case bit 03 will be OFF. ONLINE means that the CJ1W-PNT21 is currently capable of communicating on the network. The unit can not communicate on the network if hardware errors occur during startup or normal operation.
  • Page 83 IO Device status (Word n+7) The IO Device status word presents all information on the IO Devices allocated to the CJ1W-PNT21 Controller. Detailed information on the IO Devices can be obtained by reading the alarm messages. Contents of the 'IO Device status' word (Word n+7):...
  • Page 84 Status Unit operation All IO Devices are in If all Active IO Devices allocated to the CJ1W-PNT21 provide valid input Data Exchange data, this flag will be ON. If one of the IO Devices does not provide data or its data is marked as invalid, this flag will be OFF.
  • Page 85 Allocated CIO Area Words Section 5-2 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Word n+9 IO Device 01 ~ 15 Word n+10 IO Device 16 ~ 31 Word n+11 IO Device 32 ~ 47 IO Device 48 ~ 63 Word n+12 Word n+13...
  • Page 86 Unit operation 01~126 IO Device New Alarm Each bit indicates if the corresponding IO Device has sent new alarm information to the CJ1W-PNT21. The corresponding IO Device has no new alarm data. The corresponding IO Device has sent new alarm information which should be read by the user with FINS 0101.
  • Page 87: Fins Commands And Responses

    Section SECTION 6 FINS Commands and Responses This section describes the FINS message service communications commands concept as well as the commands supported by the CJ1W-PNT21 PROFINET IO Controller Units. SECTION 6 FINS Commands and Responses 6-1 FINS Commands and Responses............76 6-2 Command / Response Reference ............79...
  • Page 88: Fins Commands And Responses

    CMND(490). For details on FINS commands, refer to the Communications Commands Reference Manual (W342). The CJ1W-PNT21 PROFINET IO Controller Units support two types of FINS messages: 1 FINS commands targeted at the Unit itself, with the purpose of sending or retrieving data or invoking control actions.
  • Page 89 FINS Commands and Responses Section 6-1 Command code Name MEMORY AREA READ ERROR LOG READ ERROR LOG CLEAR 6-1-3 Response Code List Response codes are 2-byte codes which indicate the results of command execution. They are returned in the response following the command code. The first byte of a response code is the MRES (main response code), which categorizes the results of command execution.
  • Page 90 FINS Commands and Responses Section 6-1 Des tination node N S ource node C MND S : S ource node beginning s end word C ommand D: Des tination node beginning receive word "n" bytes Analys is C : S ource node firs t control data word of com- mand (S –1)
  • Page 91: Command / Response Reference

    Command / Response Reference Section 6-2 Command / Response Reference This section describes the FINS commands that can be sent to the PROFINET IO Controller Units and the responses to each command. The command, response, and (where applicable) the results storage blocks are given with the commands in graphic form as shown in the following diagram.
  • Page 92 The following end codes can be returned by the Unit in response to the MEMORY AREA READ command: Response code Description 0000 Normal completion 0101 IO Device not allocated to this CJ1W-PNT21 1001 Command length exceeded 1002 Command length to short 1101 Invalid I/O memory Area Code (non-specified code)
  • Page 93 Command / Response Reference Section 6-2 Number of Stored Records (Response) The number of records stored at the time the command is executed. Error Log Data (Response) The specified number of error log records from the starting record number is returned in their order of appearance.
  • Page 94 Command / Response Reference Section 6-2 Response Format C ommand R es pons e code code Figure 6.11: Error Log Clear response Response Codes Response code Description 0000 Normal completion 250F Memory writing error. Error Log was not cleared normally. 260B Can not clear the Error Log.
  • Page 95: Fins Routing

    PNT SmartSlice PROFINET IO Device. The command code to get or set parameters is 2801. For more information refer to GRT1-PNT PROFINET IO Communication Unit (W13) The CJ1W-PNT21 uses the following rules for the FINS-address to IP-address translation when routing FINS commands onto the Ethernet network. IO Device Number •...
  • Page 96 In the example above the highest IP-address is 192.168.1.127. Performance The CJ1W-PNT21 PROFINET IO Controller’s main task is PROFINET IO communication. The FINS communication is performed as a low priority task. This means that the FINS communication performance is low. Also the IO Controller can only handle one FINS-message at a time.
  • Page 97 Section SECTION 7 Operation This section describes how to operate the CJ1W-PNT21 PROFNET IO Controller Unit in a Network. It will discuss setting up a network, configuring all the connected devices and starting the network. Furthermore, it provides information the I/O data exchange performance and it also provides information on how to monitor a network, using the Unit and CX- ConfiguratorFDT.
  • Page 98: Introduction

    ConfiguratorFDT and downloading it to the PROFINET IO Controller Unit. To start CX-ConfiguratorFDT, select Program, OMRON, ConfiguratorFDT, from the Start Menu if the default program folder name is used CX-ConfiguratorFDT will now start, displaying the main window, as shown below: Figure 7.1: CX-ConfiguratorFDT...
  • Page 99 Setting up a Network Section 7-2 1,2,3... 1 Open the Device Catalogue: Either select the View - Device Catalogue menu option, or press the Device Catalogue button in the Tool Bar. The opened Device Catalogue is shown below Device name File date DTM categories Version number...
  • Page 100 If the Device Catalogue is up to date, it can be used to setup the network. Setting up a network in CX-ConfiguratorFDT starts with adding single device DTMs to the Network view. First the CJ1W-PNT21 IO Controller DTM must be added to the main branch of the project Network. To do so, one of three procedures as outlined below must be used to add the DTM.
  • Page 101 Note When adding a CJ1W-PNT21 IO Controller DTM to the network, it is automatically assigned the IP address 192.168.0.100. This address can be changed, after opening the CJ1W-PNY21 IO Controller DTM.
  • Page 102 Setting up a Network Section 7-2 Figure 7.5: Network scan Searching Devices Pressing the Search Device button will let the PC search the connected Ethernet networks for PROFINET IO devices. Therefore the PC must have an Ethernet connection to the PROFINET network. All PROFINET IO Controllers and IO Devices found will be shown with their: •...
  • Page 103 Setting up a Network Section 7-2 Setting a Device Name for an IO Device is the first action that must be done. If there is no match between the Device Name in the IO Device and what is in the configuration in the IO Controller then the IO Device will never been found by the IO Controller.
  • Page 104: Configuring The Io Devices

    Configuring the IO Devices Section 7-3 Configuring the IO Devices After adding each of the IO Device DTMs to the network, configurations have to be selected for each of them. Setting up a configuration involves • Selecting the proper I/O modules, which define the I/O data to be exchanged when operational.
  • Page 105 IO Device. If an incorrect sequence is sent, the I/O configuration is rejected. This is for exam- ple the case with the OMRON GRT1-PNT PROFINET IO Device 2 A mandatory I/O module sequence is sometimes indicated in the GSDML file, by using non-PROFINET standard GSDML file key- words (i.e.
  • Page 106: Configuring The Io Controller

    Select the CJ1W-PNT21 IO Controller DTM in the Network view and double-click the left mouse button. • Select the CJ1W-PNT21 IO Controller DTM in the Network view, and right- click the mouse. From the context menu, select Configuration. • Select the CJ1W-PNT21 IO Controller DTM in the Network view, and from the Device menu, select Configuration.
  • Page 107 Configuring the IO Controller Section 7-4 Figure 7.9 Communication setup Unit Number The setting of the unit number is required to setup communication with the Unit through CX-Server. The setting in the user interface must match the setting made with the rotary switch on the front of the Unit. After making the changes, select the Apply button in the lower right corner of the user interface to accept the changes.
  • Page 108 Auto-Addressing Auto-Addressing defines whether or not the CJ1W-PNT21 IO Controller DTM will automatically map the I/O data in such a way that no gaps exist in the I/O data. If enabled, the user does not need to handle the exact mapping of I/O data on to the PLC memory areas.
  • Page 109 Configuring the IO Controller Section 7-4 Device No. The Device No. is assigned by the IO Controller DTM and is used in several places. As the IO Controller can not easily handle names Device No. are used. The functions where the Device No is used are: •...
  • Page 110 CIO Area or one or more of the I/O data areas of any other PLC CPU or I/O Unit. The CJ1W-PNT21 IO Controller DTM does not check this. Failure to avoid this, will lead to unpredictable behaviour of the Unit, other units or the PLC.
  • Page 111 Each of the two input and output areas can be mapped to any PLC memory area location, independent of each other. The I/O mapping must be setup using the CJ1W-PNT21 IO Controller DTM, as provided with CX-ConfiguratorFDT.
  • Page 112 The figure below shows an example of the effects of Auto Addressing on (re)allocation of I/O modules. In the original I/O configuration on the left, the first slave - an OMRON GRT1-PNT - consisted of one Output modules. In new configuration one I/O module was inserted, and subsequent modules were re-...
  • Page 113 I/O modules. To accomplish this, perform the following sequence: 1,2,3... 1 Open the CJ1W-PNT21 IO Controller DTM - Configuration User Interface. 2 Select the IO Device Area sub item. The window shows two sub tabs: One for Output Allocation and one for Input Allocation. The following points...
  • Page 114 Configuring the IO Controller Section 7-4 3 After setting up the initial I/O configuration, all I/O modules will be shown in the overall list in the upper half of the Slave Area tab. This is a pick list from which modules can be selected. The allocated I/O modules are listed in area 1, the column on the left of the lower half of the window.
  • Page 115 I/O modules selected is maintained and the I/O modules are allocated to the lowest address of the area. Enable/Disable Auto The Auto Addressing feature can be disabled in the CJ1W-PNT21 IO Addressing Controller DTM. In order to do that, perform the following sequence.
  • Page 116 Configuring the IO Controller Section 7-4 Enabling Auto Addressing has the immediate effect of re-allocating I/O modules of an !Caution existing configuration, within each Input/Output area. The I/O modules are re-mapped according to the algorithm described above. Note Disabling Auto Addressing has no immediate effect on an existing I/O mapping.
  • Page 117 Output Area1. Figure 7.16: Auto-addressing disabled Removing Gaps from the Since gaps in the I/O mapping are generally undesirable, the CJ1W-PNT21 IO I/O Mapping Controller DTM provides a means to remove all gaps, after finalizing the I/O mapping procedure.
  • Page 118 PLC memory area selection box. Note 1 The CJ1W-PNT21 IO Controller DTM will check whether two or more selected mappings on to the PLC memory will be overlapping. In that case, the start address set, will be shown in red.
  • Page 119 Configuring the IO Controller Section 7-4 The table below lists the I/O data formats supported by both the PROFINET IO network and PLC CPU. The I/O Data Conversions defines the conversion of I/O data in detail. Data Type Size PROFINET IO CJ-Series PLC [bytes] Boolean...
  • Page 120 Configuring the IO Controller Section 7-4 Data Type Size PROFINET IO CJ-Series PLC [bytes] OctetString Supported Supported Data is transmitted on byte by byte basis Minimum is 16-bit words. Two bytes will be formatted in one word. Words containing odd bytes will be padded with zeros VisibleString Supported Supported...
  • Page 121 Configuring the IO Controller Section 7-4 All conversions work both ways, i.e. when transferring data from the PLC data area to the PROFINET IO network and when transferring data from the PROFINET IO network to the PLC data area. The following conversion steps are required here: Every two data bytes are stored in 1 word in the same sequence as in the case of 16-bit integer data, but the two words, required to store the 4 bytes must be swapped, for the PLC data area.
  • Page 122: Performance

    7-5-1 Number of devices As specified, the CJ1W-PNT21 IO Controller can cyclically exchange I/O data with up to 126 PROFINET IO Devices. The rate at which it can service IO Devices depends on the number of connected devices and the size and complexity of the data.
  • Page 123 Performance Section 7-5 CJ1W-PNT21 Minimum Typical Maximum Update rate (m s) Figure 7.19: Performance Note • The maximum of 55 devices in maximum configuration is caused by the reaching the limit of 7168 Words that the IO Controller can exchange with the PLC CPU.
  • Page 124 Performance Section 7-5 Typical network configuration: 8 SmartSlice IO Devices connected, with the typical configuration (see above). Maximum network configuration: 126 SmartSlice IO Devices with minimum configuration at an update rate of 126 ms, or 55 IO Devices with maximum configuration at an update rate of 126 ms.
  • Page 125: Operating The Network

    Through any other CX-Server based program, capable of accessing PLC memory areas and communicating through FINS messages, e.g. CX- Programmer, CX-Supervisor, etc. This section will explore both means to control the CJ1W-PNT21 PROFINET IO Controller Unit. The CJ1W-PNT21 IO Controller DTM Diagnosis User Interface provides the means to control the Master Unit directly from CX-ConfiguratorFDT, running on a PC.
  • Page 126 Operating the network Section 7-6 1 The Output Data state is PLC Mode Dependent. If the PLC is in Program mode then the Output Data is marked as invalid. If the PLC is in Monitor/Run mode then the Output Data is marked as valid. 2 The Output Data state is User Bit Controlled.
  • Page 127: Troubleshooting And Maintenance

    Section SECTION 8 Troubleshooting and maintenance This section describes the troubleshooting procedures and maintenance operations for the PROFINET IO Communication Unit, needed to keep the PROFINET IO network working optimal. We recommend reading through the error processing procedures before operation so that operating errors can be identified and corrected more quickly.
  • Page 128: Overview

    Overview Section 8-1 Overview The CJ1W-PNT21 PROFINET IO Controller Unit and the Configuration software package provides extensive means for troubleshooting, which can be used to quickly determine errors in the Unit, in the configuration, in the network, and/or in IO Devices, allocated to the Unit.
  • Page 129: Troubleshooting Using The Io Controller Indicators

    Determining Operating Status from the Indicators This section presents a number of easy to use procedures to troubleshoot possible errors using the LED indicators on the front of the Unit (see figure below). CJ1W-PNT21 COMM 100M Figure 8.1: Indicators The LEDs on the Communication Unit (1) have the following functions:...
  • Page 130 Troubleshooting using the IO Controller indicators Section 8-2 Indicator status Network/Unit status Comments COMM 100M 7-segment Booting and initializing with the Bootup and initialization with the PLC in progress. Restart the PROFINET IO Controller unit if this status continues for an extended period of time.
  • Page 131 Troubleshooting using the IO Controller indicators Section 8-2 Unit errors Error category Error Indicators Error log (Hex) 7-segment Unit errors Startup errors 1 to 6 ON (red) IO Controller PROFINET configuration set invalid ON (green) Flashing 0202 function (red) PROFINET Ethernet failure ON (red) 020C...
  • Page 132 Troubleshooting using the IO Controller indicators Section 8-2 8-2-3-2 IO Controller Functions PROFINET configuration set invalid 7-segment MS indicator NS indicator Error log (Hex) ON (green) Flashing (red) 0202 Likely cause During startup of the IO Controller encountered a problem interpreting the PROFINET IO Configuration file.
  • Page 133 Troubleshooting using the IO Controller indicators Section 8-2 IO Controller Unit response The Unit is not capable to communicate on the PROFINET network and therefore control to the IO Devices will be lost. he Unit will stop processing. Records the error in the errorlog. CIO Area Flags allocated to the IO Controller Unit IO Controller status 2 (word n+6) bit 03 will be ON Correction...
  • Page 134 Troubleshooting using the IO Controller indicators Section 8-2 8-2-3-5 CPU Unit exchange Backplane Bus error 7-segment MS indicator NS indicator Error log (Hex) Flashing (red) 000E Likely cause The PROFINET IO controller encountered an error while assessing the backplane bus of the PLC. IO Controller Unit response The Unit will stop processing.
  • Page 135 Troubleshooting using the IO Controller indicators Section 8-2 Backplane bus error 7-segment MS indicator NS indicator Error log (Hex) Flashing (red) Likely cause The PROFINET lO Controller detected that an error on the backplane bus. IO Controller Unit response The Unit will stop processing. Records the error in the error log. (The time information is set to all zeroes.) CIO Area Flags allocated to the IO Controller Unit None of the bits is set.
  • Page 136: Troubleshooting The Network

    CJ1W-PNT21 PROFINET IO Controller Unit through CX-Server. If this fails, an error message will be displayed, indicating a communication problem. A failure to establish communication prior to download will have no consequences for the CJ1W-PNT21 PROFINET IO Controller Unit. Errors During Download If none of the first two processes result in a failure, downloading will commence.
  • Page 137 Troubleshooting the Network Section 8-3 Figure 8.2: IO Controller status view The LED indicators shown in the (example) figure above are all related to bit flags in the Unit Status Word, the IO Controller Status Word 1 and Word 2, and the IO Device Status Word.
  • Page 138 Troubleshooting the Network Section 8-3 LED Indicators Description/Correction Local Configuration Storage Error After the download of a new configuration or a restore from the Compact Flash card in the PLC CPU the IO Controller will store the configuration in its memory. If it does not succeed then this flag is ON.
  • Page 139 Troubleshooting the Network Section 8-3 LED Indicators Description/Correction Valid Configuration At startup the IO Controller checks if the stored configuration is valid. A new IO Controller contains no configuration yet so therefore it will show it has no valid configuration. If a configuration is not valid it means that means the file could be damaged.
  • Page 140 Troubleshooting the Network Section 8-3 LED Indicators Description/Correction All IO Devices are in Data Exchange and The Unit could establish an connection to providing valid input data. all configured IO devices. All these IO Devices are now in Data Exchange and are providing valid input data.
  • Page 141 Troubleshooting the Network Section 8-3 LED Indicators Description/Correction Output Data Valid. If set the IO Controller sends valid output data to the IO Devices. The IO Devices should normally operate their outputs. If not set the IO Devices will set their outputs to a safe state.
  • Page 142 Troubleshooting the Network Section 8-3 When the type of Alarm is Other then additional information can be found in the Description and the Manufacturer Specific Data (Raw) fields. The additional information can be copied to the Clipboard for further analysis. When selecting an IO Device either in the New Alarms &...
  • Page 143: Maintenance

    Maintenance Section 8-4 Maintenance This section describes the routine cleaning and inspection recommended as regular maintenance. 8-4-1 Cleaning Clean the PROFINET IO Controller Unit regularly as described below in order to keep it in an optimum operating condition. • Regularly wipe the Unit with a dry, soft cloth. •...
  • Page 144: Replacing The Unit

    When returning a faulty Unit for repair, always attach a detailed fault report to the Unit and return it to the nearest OMRON dealer. In order to prevent faulty operation be sure to turn off the power to all IO Note Controller and IO Devices before replacing the Unit.
  • Page 145: Appendix Aprofinet Io Technology

    Appendix A PROFINET IO technology Introduction to PROFINET As a common solution for the industrial communication, the PROFIBUS International organisation introduced the PROFINET Industrial Ethernet standard. PROFINET is the next step for building on the current: • PROFIBUS DP, the well-known and established fieldbus; •...
  • Page 146: Profinet Communication

    In these protocols, the networks are identified based on the IP address. Within a single network the MAC address is used for the addressing of the target devices. This addressing features enables integration with the IT world without limitation. The OMRON I/O Devices can accordingly support the OMRON Ethernet protocols, enabling additional communication with OMRON PROFINET devices.
  • Page 147: Profinet Distributed I/O

    PROFINET Distributed I/O The focus of PROFINET IO is to have cyclic data exchange between a controller and multiple often simple communication devices. The aim is to have high performance and ease to use. The experience of the PROFIBUS fieldbus has been integrated into the PROFINET IO from user’s point of view. The PROFINET IO distinguishes the following different device roles.
  • Page 148 Number PROFINET PROFIBUS Comment IO System DP master system IO Controller DP Master Device that addresses the connected IO units by exchanging input and output signals with them. This controller normally runs the automation program. IO Supervisor PG/PC Class Device (e.g. a PC) for commissioning and 2 DP master diagnostics.
  • Page 149 The device model is shown in the following graph: Number Description Communication Unit I/O Module Submodule Channel Provider/Consumer Model The data exchange between IO Controller and the IO Devices is carried out based on the provider-consumer model. The provider sends its data to the consumer without a request from the other device. The consumer processes the data.
  • Page 150: Profinet Communication Services

    PROFINET Communication Services The IO Controller establishes a connection to its IO Devices based on the configuration which has been given by the user. The Application Relation (AR) includes all data needed to achieve this data exchange. A single AR can include multiple Communication Relations (CRs).
  • Page 151: Alarms

    Alarms PROFINET IO is capable of sending events within the automation process as alarms. These alarms have to be acknowledged by the application process. These include both system-defined events (i.e. Removal of slices) or user-defined events (i.e. Input voltage out of range). The following events are distinguished: Type Description...
  • Page 152: Fdt/Dtm Technology

    FDT/DTM Technology The FDT/DTM concept specifies the interface between the engineering systems called Field Device Tools (FDT), and the device-specific software components called Device Type Managers (DTM). FDT/DTM is the most recent advancement in Configurators. The FDT/DTM concept separates the device-dependent functionality (which is in the DTM) from the application. It provides separate interfaces for device configuration, monitoring and maintenance solutions, which before largely depended on the manufacturer of the application.
  • Page 153: Profinet Io Alarm Messages

    Appendix B PROFINET IO alarm messages Introduction PROFINET IO Devices supports sending PROFINET IO Alarm message for different error conditions. The IO Device supports the following alarm events: Alarm type Description Pull Alarm When a Slice I/O Unit is removed during normal operation a Pull Alarm event is generated (see note 1).
  • Page 154: Alarm Messages

    Alarm messages Byte Name Description 0 to 1 Reference The reference number of the sender. Priority The priority of the alarm. Alignment Reserved. 4 to 5 Type The alarm type: value 0003 Hex: Pull Alarm, value 0004 Hex: Plug Alarm, value 000A Hex: Plug Wrong Submodule.
  • Page 155: Appendix C Explicit Messages

    The number of bytes designated for Class ID, Instance ID, and Attribute ID depend on the Controller Unit. When sent from an OMRON Controller, the Class ID and Instance ID are 2 bytes (4 digits), and Attribute ID is 1 byte (2 digits).
  • Page 156 Service Code For normal completion, the value when the left-most bit of the service code specified in the command turns ON is stored as shown in the following table. Function Command service code Response service code Write data 10 Hex 90 Hex Read data 0E Hex...
  • Page 157: Explicit Messages Common To All Io Devices

    Explicit messages common to all IO devices Alarm information read Explicit Read / Function Command Response message Write Service code Class ID Instance ID Attribute ID Data size Alarm Read Reads the 0E Hex 9C Hex 01 Hex 73 Hex 32 bytes Information SmartSlice I/O...
  • Page 158: Example Of Using Explicit Messages

    Example of using explicit messages The following example shows how to use explicit messages with a PROFINET IO Communication Unit connected to a PROFINET IO Controller Unit. Sending a Unit Maintenance Present Value Read command to the PROFINET IO Communication Unit. Configuration PROFINET IO Controller Unit’s station address: 00 Unit number: 0...
  • Page 159 Contents of S Address Contents (Hex) Meaning D01000 28 01 Command code D01001 41 0E PROFINET IO Communication Unit Device Number: 65 Service code: 0E Hex D01002 00 9C Class ID: 009C Hex D01003 00 01 Instance ID: 0001 Hex D01004 73 ** Attribute ID: 73 ** Hex...
  • Page 161: Appendix D Memory Card Backup Functions

    Appendix D Memory Card Backup Functions Outline of Function The PROFINET IO Controller Unit stores the following setup data in the internal non-volatile memory (Flash ROM). • PROFINETIO Connection Parameters set; • Allocated IO Device Parameter sets. All these parameter sets can be backed up to and restored from a Memory Card mounted to the CPU Unit. If the parameter data of a good functioning PROFINET IO Controller Unit has been saved on a Memory Card, this saved data can be used to perform a quick configuration, when replacing the PROFINET IO controller Unit, without the direct use of the Configuration software.
  • Page 162: Backing Up Unit Setup Files

    Backing Up Unit Setup Files In order to save the Unit’s parameter sets to the Memory Card mounted to the CPU Unit, perform the following procedure (see figure below). 1 Make sure that the parameter sets in the Unit are correct and that the Unit starts up normally, and insert a Memory Card into the Card slot.
  • Page 163: Restoring Unit Setup Files

    Restoring Unit Setup Files In order to restore the Unit’s parameter sets from the Memory Card mounted to the CPU Unit, perform the following procedure. 1 Power down the PLC and insert a Memory Card into the Card slot. 2 Turn ON pin 7 of the DIP switch on the front of the CPU Unit (behind the cover above the Memory Card slot). 3 Turn ON the PLC’s power supply.
  • Page 165: Revision History

    Revision History Revision history A manual revision code appears as a suffix to the catalogue number on the front cover of the manual. Cat. No. W12E-EN-01 Revision code The following table outlines the changes made to the manual during each revision. The page numbers of a revision refer to the previous version.
  • Page 166 Section...
  • Page 167 Authorized Distributor: Cat. No. W12E-EN-01 Note: Specifi cations subject to change without notice. Printed in Europe...

Table of Contents