Page 3
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 4
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 5
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 6
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.
SECTION 1 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.
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.
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.
Application precautions The operating environment of the Unit can have a large effect on the longevity and !Caution reliability of the system. Unsuitable operating environments can lead to malfunction, failure and other unforeseeable problems with the system. Ensure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life of the system.
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 15
Conformance to EC Directives 1 The units are designed for installation inside control panels. All units must be installed within control panels. 2 Use reinforced insulation or double insulation for the DC power supplies used for the communication power supply, internal circuit power supply, and the I/O power supplies.
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 2-2 CJ1W-PNT21 PROFINET IO Controller Unit .........3 2-3 CJ1W-PNT21 configuration............7...
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. The figure below shows a typical I/O configuration.
CJ1W-PNT21 PROFINET IO Controller Unit Section 2-2 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 20
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 Model CJ1W-PNT21 Applicable PLC series...
Page 21
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 Not used CPU Bus Unit I/O data allocations...
Page 22
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...
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: •...
Basic operating procedure Section 2-4 Basic operating procedure 2-4-1 Overview The following diagram provides an overview of the installation procedures. For experienced installation engineers, this may provide sufficient information. For others, cross-references are made to various sections in this manual where more explicit information is given.
Page 25
Basic operating procedure Section 2-4 2-4-2 Preparations for use The following procedure shows the basic steps required before using the 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.
Section SECTION 3 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.
CJ1W-PNT21 Unit components Section 3-1 CJ1W-PNT21 Unit components 3-1-1 Overview 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 29
CJ1W-PNT21 Unit components Section 3-1 Signal Abbreviation Signal direction Not used Not used Field Ground The following standards and specifications apply to the Ethernet connector and the twisted-pair cable. • Electrical specifications: Conforming to IEEE 802.3 standards • Connector structure: RJ45 8-pin Modular Connector (conforming to ISO 877).
Page 30
CJ1W-PNT21 Unit components Section 3-1 Indicator Colour Status Meaning Green PROFINET IO data exchange with all active devices. Network Status Flashing PROFINET attempting to establish data exchange with all configured devices. Flashing The Unit ‘s PROFINET IO Configuration is not available or incorrect. The Unit is in OFFLINE mode.
Page 31
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 32
CJ1W-PNT21 Unit components Section 3-1 Unit No. Allocated words Unit No. Allocated words (decimal) (decimal) 0 (0) D30000 to D30099 8 (8) D30800 to D30899 1 (1) D30100 to D30199 9 (9) D30900 to D30999 2 (2) D30200 to D30299 A (10) D31000 to D31099 3 (3)
Installing the CJ1W-PNT21 Unit Section 3-2 Installing the CJ1W-PNT21 Unit 3-2-1 Handling precautions When installing the PROFINET IO Controller Unit on the PLC system, observe the following handling precautions. • Always turn OFF the power supply to the PLC before mounting or dismounting a Unit or connecting or disconnecting cables.
Page 34
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 P OWE R R UN CJ1W -PNT 21...
Initial Setup Procedure Section 3-3 Initial Setup Procedure After mounting the PROFINET IO Controller Unit to the PLC System the Initial Setup Procedure must be applied. The Initial Setup Procedure allows the Unit to start up properly and to be configured for operation. •...
3-4-1-1 Line A line topology comprises multiple IO Devices connected in series. Many IO Devices, such as the Omron GRT1-PNT IO Device Unit have an Ethernet switch integrated in the Unit offering an easy way to interconnect all Devices. Switch Figure 3.8: Ethernet line topology...
Page 37
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 38
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 39
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 40
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 41
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 42
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.
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 44
PROFINET IO Device DTM’s to be used. 3-5-3 GSDML Files support Apart from the configuration of OMRON PROFINET IO Devices by a DTM, OMRON provides the possibility to use GSDML files to allow configuration of third-party PROFINET IO Device Units, if a DTM is not provided.
Page 45
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 46
Installation of Configuration Software Section 3-5...
Section SECTION 4 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 ..............32 4-2 CX-ConfiguratorFDT Main Window..........33 4-3 CJ1W-PNT21 PROFINET IO Controller DTM........42 4-4 Generic IO Device DTM ..............56...
CX-ConfiguratorFDT Section 4-1 CX-ConfiguratorFDT Omron CX-ConfiguratorFDT is the versatile network configuration tool for networks such as PROFIBUS and PROFINET. It is based on FDT/DTM technology. CX-ConfiguratorFDT is Omron’s standalone FDT-container. For the various networks Omron provides device specific DTM’s. To configure PROFINET Omron delivers three different DTM’s: •...
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 50
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 51
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 52
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 53
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 54
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 55
CX-ConfiguratorFDT Main Window Section 4-2 4-2-1-3 Adding Devices to the Network Setting up a network in CX-ConfiguratorFDT involves adding and configuring single device DTMs. The device DTMs as listed in the Device Catalogue can be added to the network in three ways: 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.
Page 56
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 57
CX-ConfiguratorFDT Main Window Section 4-2 Error Log view Context Menu Menu Item Description Equivalent menu command Clear all entries Clears the entire Error Log view Copy to clipboard Copies the entire contents of the Error Log view to the clipboard. Hide Hides the Error Log view View - Error Logging...
CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 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 59
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. Configuration Interface The IO Controller DTM Configuration User Interface contains four general Buttons...
Page 60
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. 2 Locate the IO devices at their physical location by making the IO Controllers and IO Devices flash their LED’s.
Page 61
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 62
CX-Server is the driver software providing the communications functionality between a PC and the PLC CPU, and forms the basis for Omron’s CX-One programs. CX-Server is provided with CX-ConfiguratorFDT, but it may already be installed on the PC, if other programs, for example CX-Programmer have been installed.
Page 63
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 64
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 65
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 66
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 67
CJ1W-PNT21 PROFINET IO Controller DTM Section 4-3 Column Description Device No. The Device No. is the number used by the PROFINET IO Controller DTM to reference the IO Device within the configu- ration. Device Name The Device Name is the name assigned to the IO device to which this I/O data belongs to.
Page 68
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. Occupied This field displays the actual length of the data block (not necessarily the same as the amount of data contained by it).
Page 69
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 70
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. In the Selected IO Device box a selection can be made by Device Number, IP Address or Device Name.
Page 71
CJ1W-PNT21 PROFINET IO Controller DTM 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. The Current Firmware Version box shows the current firmware version of the IO Controller.
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 73
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 74
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 75
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...
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. SECTION 5 Allocated CIO and DM Words 5-1 Overview of Word Allocations ............62...
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 79
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)
Allocated CIO Area Words Section 5-2 Allocated CIO Area Words For each CPU Bus Unit, the CJ-series PLC allocates up to 25 words in the CIO area. First word n = CIO 1500 + (25 x Unit number). CIO WORDS Word Bit 15 Bit 00 Data direction...
Page 81
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 82
Allocated CIO Area Words Section 5-2 Name Status Unit operation Unit error flag Bit 00 is turned OFF by the Unit if Bit 01, Bit 03, Bit 06, Bit 07, Bit 09 and Bit 13 in CIO Word n+4 are The Unit error flag combines the status of all error flags in CIO Word n+4.
Page 83
Allocated CIO Area Words Section 5-2 Name Status Unit operation Local parameter load The flag will be OFF if the Configuration and setup error data has been successfully transferred from non- volatile to volatile memory. The Local parameter load error flag will be ON if the internally stored Configuration and setup data is corrupted or erased.
Page 84
Allocated CIO Area Words Section 5-2 Name 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.
Page 85
Allocated CIO Area Words Section 5-2 15 14 13 12 11 10 9 Word n+6 Link status Hardware error Configuration error Figure 5.6: Word n+6 Name Status Unit operation Reserved This bit will be set to OFF by the Unit. Link status The Ethernet Link status of the IO Controller is shown here.
Page 86
Allocated CIO Area Words Section 5-2 15 14 13 12 11 10 9 Word n+7 All IO Devices in Data_Exchange All IO Devices have consumed output data At least one IO Device has consumed output data IO Devices Alarm received Figure 5.7: Word n+7 Name Status...
Page 87
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 88
Allocated CIO Area Words Section 5-2 5-2-7 IO Device New Alarm flags (Word n+17 ~ Word n+25) The IO Device New Alarm flags indicate for each IO device if it has sent a new alarm message to the PROFINET IO Controller Unit. The flags are allocated to a block of eight CIO words, and each bit in the block corresponds to the IO Device number as set in the DTM (IO Device Setup tab).
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..........74 6-2 Command / Response Reference ..........77 6-3 FINS Routing..................81...
Page 90
FINS FINS (Factory Intelligent Network Services) commands are message service communications commands developed by OMRON for Factory Automation control devices. They do not depend on a particular transmission path, and can be used for reading from and writing to PLC memory or the Unit’s memory, sending or receiving acyclic messages over a network, or for controlling various operations.
Page 91
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 92
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)
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 94
Command / Response Reference Section 6-2 Response Codes 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...
Page 95
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 96
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.
Section 6-3 FINS Routing The CJ1W-PNT21 PROFINET IO Controller not only supports PROFINET IO Communication but also the Omron FINS communication to transfer FINS commands. FINS commands are message service communications commands. They do not depend on a particular transmission path. They can be used for communications on various networks (Controller Link, Ethernet, etc.) and for...
Page 98
FINS Routing Section 6-3 FINS to TCP/IP Address • The FINS address is replacing the last octet of the PROFINET IO Controller’s own IP-address. If the IO Controller has the IP-address 192.168.1.5 and the FINS destination address is 45 then the destination IP-address will be 192.168.1.45.
Page 99
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.
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 101
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 102
Setting up a Network Section 7-2 1,2,3... 1 Press the Install Device Description File... button at the bottom of the Device Catalogue main window (refer to figure above). The standard windows File - Open window will be displayed. 2 In the File - Open window browse to the sub-directory containing the GSDML file, select the (one or more) GSDML file(s) and press the Open button in the window.
Page 103
Setting up a Network Section 7-2 Using Drag & Drop 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. 2 Select a device DTM in the Device Catalogue. 3 Left click the mouse and Drag the mouse pointer to the desired location in the network, i.e.
Page 104
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 105
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.
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 107
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.
Configuring the IO Controller Section 7-4 Configuring the IO Controller Opening the Master DTM After configuring all the slave DTMs, the CJ1W-PNT21 IO Controller DTM Configuration Interface must be configured. In order to open the IO Controller DTM Configuration Interface do either one of the following. •...
Page 109
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 110
Configuring the IO Controller Section 7-4 Network settings Each PROFINET IO Controller and Device needs to have a PROFINET name and IP-address to communicate on the PROFINET network. The settings of the name and the IP-Address are done in the Network Settings.
Page 111
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 112
Configuring the IO Controller Section 7-4 7-4-4 IO Device Area The I/O data of all IO Devices can be mapped on to the PLC memory areas. through two Output Areas and two Input Areas. The Output data can be distributed over two Output Areas, each of which can be mapped on to PLC memory.
Page 113
Configuring the IO Controller Section 7-4 7-4-5 Mapping I/O Data IO Mapping Concept The CJ1W-PNT21 IO Controller Unit provides an I/O mapping concept, based on the I/O module selection for each slave device. Each selected I/O module can - depending on whether it defines input and/or output data - be mapped to one of two input and/or output areas.
Page 114
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 115
Configuring the IO Controller Section 7-4 Initial I/O Configuration One I/O module of two output words was inserted, and re-allocated subsequent I/O modules. Figure 7.14: Auto-addressing Note The start address of Output area 1 in the example remains the same, after adding an I/O module.
Page 116
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 117
Configuring the IO Controller Section 7-4 Initial I/O Configuration The first Output modules of IO Device #3 and #4 were moved to Output area 2. Figure 7.15: Move IO Device The example shows that the sequence of IO Device No. is maintained, the sequence of I/O modules selected is maintained and the I/O modules are allocated to the lowest address of the area.
Page 118
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 119
Configuring the IO Controller Section 7-4 Initial I/O Configuration Note: Auto-Addressing is disabled The second Output modules of IO Device #3 and #4 were moved to Output area 2, leaving a gap in 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...
Page 120
Configuring the IO Controller Section 7-4 3 To compress the area, press the Compress button at the bottom. 4 After finalizing the compress action, select the Apply button at the lower right corner, to save the changes made. Note Compressing an Input/Output area has no effect on the start address of the area.
Page 121
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 122
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 123
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.
Performance Section 7-5 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 125
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 126
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.
Operating the network Section 7-6 Operating the network 7-6-1 User Access to the Network There are several ways through which a user can have access to and control over the PROFINET IO network. • Through a PLC user program A PLC user program can set the operational mode of the Unit, read IO Controller and IO Device status / diagnostics information, and access the Unit’s Error Log.
Page 128
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.
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.
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. Troubleshooting on the For troubleshooting purposes, the following error indicators can be used: IO Controller Unit...
Troubleshooting using the IO Controller indicators Section 8-2 Troubleshooting using the IO Controller indicators 8-2-1 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).
Page 132
Troubleshooting using the IO Controller indicators Section 8-2 Indicator status Network/Unit status Comments 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 133
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 134
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 135
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 error log. CIO Area Flags allocated to the IO Controller Unit IO Controller status 2 (word n+6) bit 03 will be ON Correction...
Page 136
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 137
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.
Troubleshooting the Network Section 8-3 Troubleshooting the Network 8-3-1 Troubleshooting Parameter Download The PROFINET IO Controller DTM provides clear error messages if downloading of the parameters to the PROFINET IO Controller Unit fails. Failure can be due to either • Errors or inconsistencies in the slave parameter sets, which are checked prior to download.
Page 139
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 140
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 141
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 142
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 143
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 144
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 &...
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. •...
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.
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; •...
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.
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 150
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 151
Index The index specifies the data related to a specific subslot, to be read or written acyclically.
Page 152
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.
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).
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...
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.
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).
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.
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 160
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...
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...
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 163
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...
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.
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.
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).
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 171
Buyer indemnifies Omron against all related costs or expenses. rights of another party. 10. Force Majeure. Omron shall not be liable for any delay or failure in delivery 16. Property; Confidentiality. Any intellectual property in the Products is the exclu-...
Page 172
OMRON ELETRÔNICA DO BRASIL LTDA • HEAD OFFICE São Paulo, SP, Brasil • 55.11.2101.6300 • www.omron.com.br OMRON EUROpE B.V. • Wegalaan 67-69, NL-2132 JD, Hoofddorp, The Netherlands. • Tel: +31 (0) 23 568 13 00 Fax: +31 (0) 23 568 13 88 • www.industrial.omron.eu Cat.