background image

At the end of this document you will find links to products related to this catalog. You can go directly to our shop by
clicking HERE. 

HERE

Summary of Contents for CJ1W-PNT21

Page 1: ...At the end of this document you will find links to products related to this catalog You can go directly to our shop by clicking HERE HERE ...

Page 2: ...on Controller CJ series PROFINET I O Controller Unit Cat No W511 E2 01 CJ Series PROFINET I O Controller Unit for NJ Series CPU Unit OPERATION MANUAL PROFINET I O Controller Unit Operation Manual for NJ series CPU Unit CJ1W PNT21 ...

Page 3: ......

Page 4: ...re it will be available for reference during operation This manual is intended for the following personnel who must also have knowledge of electrical sys tems an electrical engineer or the equivalent Personnel in charge of introducing FA systems Personnel in charge of designing FA systems Personnel in charge of installing and maintaining FA systems Personnel in charge of managing FA systems and fa...

Page 5: ... Setting devices and hardware Using motion control Using EtherCAT Using EtherNet IP Using CJ series Units Software settings Using motion control Using EtherCAT Using EtherNet IP Programming Using motion control Using EtherCAT Using CJ series Units Programming error processing Testing operation and debugging Using motion control Using EtherCAT Using EtherNet IP Maintenance Using EtherCAT Using Ethe...

Page 6: ...ir features and gives the NJ series Controller specifications Section 2 CPU Unit Operation This section describes the variables and control systems of the CPU Unit and CPU Unit status Section 3 I O Ports Slave Configuration and Unit Configuration This section describes how to use I O ports how to create the slave configuration and unit configuration and how to assign functions Section 4 Controller...

Page 7: ...e Cards Online Help Simulation Instructions CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 This Manual Section Description Section 1 Features and System Configuration This section provides an introductory overview of PROFINET its functions and how to configure a system It also addresses the PROFINET IO Controller Unit s features and specifications Section 2 Nome...

Page 8: ...Slice GRT1 Series Slice I O Units Operation Manual Cat No W455 Section Description Section 1 Available Units and Features This section describes the features of GRT1 series Slice I O Units and lists the avail able Units Section 2 Shared Specifications and Func tions This section describes the specifications and functions that are shared by all of the Slice I O Units Section 3 Installation and Wiri...

Page 9: ...w of the Configuration software and gives insight in the main aspects of defining a PROFINET IO configuration Section 5 Allocated CIO and DM Words This section describes the words allocated to the CJ1W PNT21 PROFINET IO Con troller Unit in the CIO and DM Areas These words facilitate controlling the Unit and accessing the Unit and network statuses Section 6 FINS Commands and Responses This section ...

Page 10: ... and locking the sliders by moving them toward the back of the Units The End Cover is connected in the same way to the Unit on the far right side of the Controller 1 Join the Units so that the connectors fit exactly 2 The yellow sliders at the top and bottom of each Unit lock the Units together Move the sliders toward the back of the Units as shown below until they click into place Precautions for...

Page 11: ... to transferring data from the Sysmac Studio to the physical Controller and upload refers to transferring data from the physical Controller to the Sysmac Studio In this manual the CJ1W PNT21 Unit may be referred to as PROFINET IO Controller Unit Master Unit IO Controller Unit IO Controller or PNT21 Unit Precaution on Terminology ...

Page 12: ...ies CPU Unit W511 Sections in this Manual Appendices 6 5 Nomenclature and Installation Configuration Software Data Exchange with the CPU Unit Operation Message Communications Troubleshooting and Maintenance 7 4 3 2 1 2 3 4 5 6 7 A 1 I 1 A Features and System Configuration Index I I ...

Page 13: ... 1 2 1 1 2 PROFINET Communication 1 3 1 1 3 PROFINET Distributed I O 1 4 1 1 4 Provider Consumer Model 1 6 1 2 PROFINET IO Controller Unit 1 8 1 2 1 Unit Specifications 1 8 1 2 2 Protocol Specifications 1 9 1 3 CX ConfiguratorFDT 1 10 1 3 1 Overview 1 10 1 3 2 Specifications 1 11 1 4 Basic Operating Procedures 1 13 1 4 1 Configuring the PROFINET IO Controller Unit 1 13 1 4 2 PROFINET IO Controller...

Page 14: ... 3 2 PROFINET Identification 3 20 3 3 3 Configuration 3 21 3 3 4 Diagnosis 3 28 3 4 Firmware Upgrade 3 31 3 5 Generic IO Device DTM 3 32 3 5 1 GSDML File Support 3 32 3 5 2 Installing GSDML Files 3 33 3 5 3 Configuration User Interface 3 33 Section 4 Data Exchange with the CPU Unit 4 1 Data Exchange with the CPU Unit 4 2 4 1 1 Data Flow 4 2 4 1 2 Accessing From the User Program 4 4 4 2 Device Vari...

Page 15: ... 2 7 1 1 Determining Operating Status from the Indicators 7 2 7 1 2 Troubleshooting Errors Occurring in the PROFINET IO Controller Unit 7 3 7 2 Troubleshooting the Network 7 8 7 2 1 Troubleshooting Parameter Download 7 8 7 2 2 Troubleshooting the Network using CX ConfiguratorFDT 7 9 7 2 3 CPU Unit s ERR ALM Indicator Lit or Flashing 7 13 7 3 Event Logs 7 14 7 3 1 Overview of the Event Logs 7 14 7 ...

Page 16: ...13 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...

Page 17: ...KNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRA...

Page 18: ... the products nor is it intended to imply that the uses listed may be suitable for the products Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and installations s...

Page 19: ...your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA 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 represen...

Page 20: ... notation is used Definition of Precautionary Information WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Additionally there may be severe property damage Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage Precautions for Safe Use Indicates precautions on...

Page 21: ... including warnings The specific operation is shown in the triangle and explained in text This example indicates a precaution for electric shock The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a general precaution The filled circle symbol indicates operations that you must do The specific oper...

Page 22: ...measures must be provided in external control circuits The Controller outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors As a countermea sure for such problems external safety measures must be provided to ensure safe operation of the system The CPU Unit will turn OFF all outputs from Basic Output Units in the follow ing cases If ...

Page 23: ...when a momentary power interruption occurs This means that the NJ series Controller may receive incorrect signals from external devices that are also affected by the power interruption Accordingly take suitable actions such as external fail safe measures and interlock conditions to monitor the power supply voltage of the external device as required You must take fail safe measures to ensure safety...

Page 24: ...minal screws and cable connector screws are tightened to the torque specified in the relevant manuals The loose screws may result in fire or malfunction Online Editing Execute online editing only after confirming that no adverse effects will be caused by deviations in the timing of I O If you perform online editing the task execution time may exceed the task period I O may not be refreshed with ex...

Page 25: ...rly locked into place Always remove any dustproof labels that are on the top of the Units when they are shipped before you turn ON the power supply If the labels are not removed heat will accumulate and malfunctions may occur Before you connect a computer to the CPU Unit disconnect the power supply plug of the computer from the AC outlet Also if the computer has an FG terminal make the connections...

Page 26: ... devices do not operate incorrectly Configure the external circuits so that the power supply to the control system turns ON only after the power supply to the Controller has turned ON If the power supply to the Controller is turned ON after the control power supply temporary errors may result in incorrect control system signals because the output terminals on Output Units may momentarily turn ON w...

Page 27: ...le Always confirm safety at the connected equipment before you reset Controller errors for a CJ series Special Unit When a Controller error is reset the Unit where the Controller error with an event level of observation or higher will be restarted Before you reset all errors confirm that no Controller errors with an event level of observation or higher have occurred for the CJ series Special Unit ...

Page 28: ...reset when you transfer settings for the built in EtherNet IP port including IP addresses and tag data links settings This is performed to read and enable the set tings Confirm that the system will not be adversely affected by resetting nodes before you transfer the settings If EtherNet IP tag data links cyclic communications are used with a repeating hub the communica tions load on the network wi...

Page 29: ...ils Confirm the axis number carefully before you perform an MC Test Run The motor is stopped if communications are interrupted between the Sysmac Studio and the CPU Unit during an MC Test Run Connect the communications cable between the computer and CPU Unit securely and confirm that the system will not be adversely affected before you perform an MC Test Run Always execute the Save Cam Table instr...

Page 30: ...transferred to a CPU Unit that was replaced and to externally connected devices before restarting operation Be sure to include the routing tables network parameters and other CPU Bus Unit data which are stored in the CPU Unit Dispose of the product and Batteries according to local ordinances as they apply The following information must be displayed for all products that contain primary lithium bat...

Page 31: ...isconnected from the Rack Be sure that the connectors are secure Do not allow foreign matter to enter the openings in the Unit Doing so may result in Unit burning electric shock or failure Do not allow wire clippings shavings or other foreign material to enter any Unit Otherwise Unit burning failure or malfunction may occur Cover the Units or take other suitable countermeasures especially during w...

Page 32: ...nfirm that EtherCAT communications are established before you attempt to execute motion control instructions Motion control instructions are not executed normally if EtherCAT communications are not established Use the system defined variables to monitor for errors in communications with the slaves that are controlled by the motion control function module Motion control instructions are not execute...

Page 33: ... SD Memory Card all the way Do not turn OFF the power supply to the Controller during SD Memory Card access The files may be corrupted If there is a corrupted file in the SD Memory Card the file is automatically deleted by the restoration function when the power supply is turned ON SD Memory Cards ...

Page 34: ... and EN 61000 6 2 EMI Electromagnetic Interference EN 61131 2 and EN 61000 6 4 Radiated emission 10 m regulations Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1 000 VAC and 75 to 1 500 VDC meet the required safety standards The applicable directive is EN 61131 2 Conformance to EC Directives The NJ series Controllers comply with EC Directives To ensure that the ma...

Page 35: ...wing noise filter must be connected to the power supply line Noise Filter Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan and other countries for OMRON factory automation products Windows Windows 98 Windows XP Windows Vista and Windows 7 are registered trademarks of Microsoft Corporation in the USA and other countries EtherCAT is a registered trademark of Be...

Page 36: ...o CPU Unit and CJ series Units 1 Double click CPU Expansion Racks under Configurations and Setup in the Multiview Explorer Or right click CPU Expansion Racks under Configurations and Setup and select Edit from the menu The Unit Editor is displayed for the Controller Configurations and Setup layer Unit Versions Notation of Unit Versions on Products Item Description Unit model Gives the model of the...

Page 37: ... select Edit from the menu The EtherCAT Configuration Tab Page is displayed for the Controller Configurations and Setup layer 2 Right click the master in the EtherCAT Configurations Editing Pane and select Display Produc tion Information The Production Information Dialog Box is displayed The following items are displayed Node address Type information Serial number If the model number cannot be det...

Page 38: ...ng procedures of the Sys mac Studio CJ series PROFIBUS Master Units Operation Manual for NJ series CPU Unit This docu ment W509 CJ1W PRM21 Learning about the func tions and operating proce dures when the CJ series PROFIBUS Master Unit is used in an NJ series sys tem configuration The functions and operating procedures when the CJ series PROFIBUS Unit is used in an NJ series system configuration ar...

Page 39: ... for NJ series CPU Unit W511 Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual Revision code Date Revised content 01 September 2011 Original production W511 E2 01 Revision code Cat No ...

Page 40: ... 1 1 PROFINET IO Controller Unit Features 1 2 1 1 2 PROFINET Communication 1 3 1 1 3 PROFINET Distributed I O 1 4 1 1 4 Provider Consumer Model 1 6 1 2 PROFINET IO Controller Unit 1 8 1 2 1 Unit Specifications 1 8 1 2 2 Protocol Specifications 1 9 1 3 CX ConfiguratorFDT 1 10 1 3 1 Overview 1 10 1 3 2 Specifications 1 11 1 4 Basic Operating Procedures 1 13 1 4 1 Configuring the PROFINET IO Controll...

Page 41: ...cation the PROFIBUS International Organization intro duced the PROFINET Industrial Ethernet standard PROFINET is the next step for building on the cur rent PROFIBUS DP the well known and established fieldbus Industrial Ethernet The CJ1W PNT21 PROFINET IO Controller is a Unit that can be installed on an NJ series controller system The Unit provides a communication means through a PROFINET IO networ...

Page 42: ...the IO Devices Alarm Device Variable flags indicating if new IO Device Alarm data is available Real Time RT Communication To facilitate Real Time capabilities for data exchange the PROFINET uses a specific protocol of Real Time RT Communication This protocol cancels some of the flow control and addressing in comparison with the TCP IP and UDP IP For the prioritized transmission of RT frames Real T...

Page 43: ...icating alarms and other events The data exchange between the IO Device and the IO Controller occurs in a poll cycle as configured by the IO Controller The user is capable to set this update cycle in the IO Controller configuration for each of the IO Devices This results in mutual monitoring of functional operability watchdog func tion All cyclic data is provided with a status that encodes the val...

Page 44: ...es the connection to the devices on the network during system start up Number PROFINET PROFIBUS Comment 1 I O System DP master system 2 IO Controller DP master Device that addresses the connected I O units by exchanging the input and output signals with them This controller normally runs the automation program 3 I O Supervisor PG PC Class 2 DP master Device e g a PC for commissioning and diagnosti...

Page 45: ... channels within a slot Each slot has to comprise at least one subslot with 1 n I O channels Index The index specifies the data related to a specific subslot to be read or written in an acyclic manner The data exchange between IO Controller and the IO Devices is carried out based on the provider con sumer model The provider sends its data to the consumer without a request The consumer processes th...

Page 46: ...Configuration CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 1 1 Overview of PROFINET 1 1 1 4 Provider Consumer Model Number Description 1 Communication Unit 2 I O module 3 Submodule 4 Channel ...

Page 47: ...sition CPU Rack or Expansion Rack Applicable unit numbers 0 to F Number of masters that you can mount 16 PROFINET IO Connector 1 X RJ45 8 pin Modular Connector conforming to ISO 8877 Words allocated in the memory used for CJ series Unit I O Data Allocations Any I O memory set with device variables for CJ series Unit and CX ConfiguratorFDT Maximum total size 7168 words I O Data can be allocated to ...

Page 48: ...y External dimensions 31 x 90 x 65 mm W x H x D Weight 100 grams typical 1 2 2 Protocol Specifications Item Specification PROFINET Interface Protocol PROFINET IO PROFINET unit type PROFINET IO Controller Isochronous mode Not Available Alarms Alarm events from PROFINET IO Devices are stored and can be for warded from the unit Transfer Specifications Bitrate 100Mbps 100Base TX Detection of transmiss...

Page 49: ...tes user access control which limits of use to authorized per sonnel only using password protection CX ConfiguratorFDT provides additional functions like printing error logging FDT Communication log ging and help files CJ1W PNT21 PROFINET IO Controller DTM This DTM is used to configure the IO Controller to perform data exchange and to set up the memory locations for the I O data exchange Furthermo...

Page 50: ...f supported by these systems The CJ1W PNT21 does not support message routing Functional Specifications 1 3 2 Specifications Item Specification Operating environment Hardware platform Personal computer IBM PC AT or compatible Processor Pentium 700 MHz or higher Memory 256 Mbytes Hard disk A minimum of 256 Mbytes CD ROM drive Graphics resolution 800 x 600 pixels minimum Operating System MS Windows 7...

Page 51: ... following network functions are available Network DTMs i e devices can be added or deleted using drag and drop from the Device Catalogue Network DTMs can be copied and moved from one location to another in the network view DTM names can be edited by the user Any change to the parameters of a DTM is clearly marked in the tree view until the project is downloaded to the Master Unit Device Catalogue...

Page 52: ...oaded by the configuration software of the IO Controller Units which will then present the informa tion to the user to allow the appropriate selections to be made The drawback of the GSDML file is that unlike the DTM it only provides setting options for configur ing the PROFINET IO Controller The GSDML file does not provide the means to access data of the IO Device Units directly CJ1W PNT21 IO Dat...

Page 53: ...can use one of the following three methods to allocate 1 Select and allocate existing variables 2 Input a new variable name 3 Automatically create with Device variable creation Create the Unit settings by using the Special Unit Setup When the program is transferred items set here will be reflected in the device variable for CJ series Unit for initial setting Set the unit number switches on the fro...

Page 54: ... PROFINET IO Controller Unit After downloading the configuration CX ConfiguratorFDT will restart the PROFINET IO Controller Unit 5 After restart of the PROFINET IO Controller Unit communication with the PROFINET IO Devices will start automatically With this Unit the IO Device areas are allocated to the Memory used for CJ series with user set alloca tions The user program accesses the slave via the...

Page 55: ...1 Features and System Configuration 1 16 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...

Page 56: ... Nomenclature and Functions 2 2 2 1 2 Switch settings 2 4 2 2 Installing the PROFINET IO Controller Unit 2 7 2 2 1 System Configuration Precautions 2 7 2 2 2 Mounting 2 7 2 2 3 Handling Precautions 2 8 2 2 4 External Dimensions 2 9 2 3 Network Installation 2 10 2 3 1 MRP Ring Redundancy 2 13 2 3 2 PROFINET IO Controller redundancy 2 14 2 3 3 Network and Controller Redundancy 2 15 Nomenclature and ...

Page 57: ...isplay 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 The CJ1W PNT21 PROFINET IO Controller Unit uses the following indicators Four status indicators Two 7 segment displays to show extra information Two dot indicators 2 1 1 Nomenclature and Functions CJ1W PNT21 Ind...

Page 58: ...hing A recoverable non fatal error has occurred Structure error switch setting error CPU initialization error CPU interface error or routing table error Correct the error and reset the Unit OFF Power isn t being supplied or the unit is initialising NS Network Status Green ON PROFINET IO data exchange with all active devices Flashing PROFINET attempting to establish data exchange with all configure...

Page 59: ...words allocated to CPU Special Units and spe cial I O Unit DM Area in the memory used for CJ series Unit which device variables for CJ series Unit specifies the AT specification Turn OFF the Controller before changing the unit number setting Setting method One digit hexadecimal Setting range 0 to F Status Display IO Controller in normal operation Displays character r Lit Initializing Unit at start...

Page 60: ...r before changing the unit number setting Additional Information If the unit number is the same as one set on another CPU Bus Unit connected to the same CPU Unit a major fault level controller error Duplicate Unit Number will occur and it won t be possible to start up the PROFINET network After correcting the unit number setting cycle the power to the Controller The two lower rotary switches are r...

Page 61: ...e Order No 2 252 available through PI Profi International Precautions for Correct Use Precautions for Correct Use For the Ethernet infrastructure please follow the following guidelines Shielded twisted pair STP cable minimum category CAT5 in accordance with ISO IEC 24702 but only suitable for Conformance Class A PROFINET specific cable in accordance with IEC 61784 5 3 is preferable for Conformance...

Page 62: ...Precautions 2 2 Installing the PROFINET IO Controller Unit You can mount up to 16 Units on the CPU Rack or an Expansion Rack per CPU but no more than 10 Units on one Rack 1 Carefully align the connectors to mount the PROFINET IO Controller Unit 2 Move the yellow sliders on the top and bottom of the Unit until they click into position to lock 2 2 1 System Configuration Precautions 2 2 2 Mounting ...

Page 63: ...e direction Always turn OFF the Controller before you mount or unmount a Unit or connect or disconnect cables Provide separate conduits or ducts for the I O lines to prevent noise from high tension lines or power lines Leave the label attached to the Unit when wiring Removing the label may result in malfunction if foreign matter enters the Unit Remove the label after the completion of wiring to en...

Page 64: ...enclature and Installation CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 2 2 Installing the PROFINET IO Controller Unit 2 2 2 4 External Dimensions 2 2 4 External Dimensions ...

Page 65: ...hernet port interrupting all traffic including PROFINET IO communication 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 Advantages of the Line Topology In most control systems the line topology requires the lowest cabling effor...

Page 66: ...l connected devices Advantages of the Star Topology Flexible adding and removing of devices without changes in existing connections Easy diagnostics of the network by fault isolation Reduced data traffic per connection Disadvantages of the Star Topology Additional cabling effort and cost Failure or power disruption of the switch will fail the complete network Additional Information The switch show...

Page 67: ...ing and removing of devices without changes in existing connections Easy diagnostics of the network by default isolation Further reduced data traffic per connection than when in star topology Disadvantages of the Tree Topology Additional cabling effort and cost Failure or power disruption of one switch will fail a part of the network Additional Information The switch shown above should be of an In...

Page 68: ...c per connection Additional Information The switch shown above of an industrial ethernet switch type supporting MRP manager function Suggested type Hirschmann Automation and Control GmbH Series RS20 20 40 Software Ver sion 4 or higher 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 in...

Page 69: ... valid or invalid In case of invalid the receiving side will discard the data For IO Controller redundancy the PROFINET IO Device must be capable of handling relations to multiple IO Controllers It is up to the IO Device to handle the situation where both 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 con...

Page 70: ...ncy When combining the PROFINET MRP ring redundancy and the IO Controller redundancy a control system with a high reliability can be achieved Single points of failure should have no influence on the operation of the application A system with both PROFINET MRP ring redundancy and IO Con troller redundancy could be set up like the picture below 2 3 3 Network and Controller Redundancy ...

Page 71: ...2 Nomenclature and Installation 2 16 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...

Page 72: ... CX ConfiguratorFDT Main Window 3 5 3 2 1 Device Catalog 3 8 3 2 2 Adding Devices to the Network 3 11 3 2 3 Saving and Opening Projects 3 12 3 2 4 Exporting to HTML 3 12 3 2 5 Error Logging and FDT Monitoring 3 13 3 2 6 Access Control and User Management 3 14 3 3 PROFINET IO Controller DTM 3 18 3 3 1 DTM User Interface 3 18 3 3 2 PROFINET Identification 3 20 3 3 3 Configuration 3 21 3 3 4 Diagnosi...

Page 73: ...and the separate SmartSlice units are directly accessible 3 Generic IO Device DTM This DTM interprets standard PROFINET IO GSDML files The DTM can only be used to config ure the I O Data exchange between the PROFINET IO Controller and PROFINET IO Devices The DTM only contains very limited online diagnostics functions and online parameter setup is not possible This section provides information abou...

Page 74: ...n 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 Catalog After installation of the PROFINET IO Generic Device DTM the Device Catalogue in the FDT Con tainer needs to be updated This makes PROFINET IO devices that supply a GSDML file for config uration visible in the device catalogue For CX...

Page 75: ...INET IO Controller as parent in the Network View Configure the communication parameters to connect to the IO Controller Set an IP address in the PROFINET IO Controller by using the Network Scan View Enter the same IP address in the DTM Confirm the on line connection by putting the DTM on line Set the PROFINET Names of the PROFINET IO Devices by using the Network Scan View 6 Build up the network wi...

Page 76: ...enu The figure below shows the opened CX ConfiguratorFDT main window for a project already containing a defined network with the Device Catalogue window opened The main components in this window are The Network view The DTM Catalogue view The Error Log view The FDT Monitoring view not shown in the figure above The Main menu The Tool Bar and the Status Bar Network View The Network view displays the...

Page 77: ...the Error Log view can be cleared or copied to the clipboard for pasting to other applications When starting CX ConfiguratorFDT the Error Log view is opened by default FDT Monitoring View The FDT Monitoring view at the bottom of the CX ConfigurationFDT application window displays the FDT DTM communication function calls between CX ConfiguratorFDT and the DTMs A Time stamp a Date stamp the type of ...

Page 78: ...Project informa tion or opens the properties window of the selected DTM Tools Customize Opens the Customize window to set the Toolbars and Commands Options Opens the Option window to set General options User accounts passwords and Frame Properties Window Tabbed mode When checked the windows are displayed using tab groups When unchecked the windows are displayed using MDI style Dockable Switches be...

Page 79: ...rror Log view Device Catalog Main Components The Device Catalogue is one of the main components in CX ConfiguratorFDT Its main functions are Maintain a list of installed DTM and GSDML files Provide convenient sorting and categorizing of the list Allow updating the list after installation of new DTM s or GSDML files Provide detailed information on selected DTM s The main layout of the Device Catalo...

Page 80: ...logue from the menu Both options have a toggle function Selecting the option again will close the Device Catalogue DTM View Layout The left view allows selection of specific groups of DTMs to be displayed The right view lists the DTMs which are installed on the PC and which are available for setting up a network A selection of DTMs is made by selecting a specific group in the left view DTM categor...

Page 81: ... Description Device The Device column contains the names of the DTMs as provided by the DTM or the GSDML file If the device is defined by a GSDML file the Generic IO Device DTM reads out the GSDML file entry Model Name The string provided by this variable is the name displayed in the list Version The version number defines the revision number of the device If the device is defined by a GSDML file ...

Page 82: ...ile is removed or replaced The Install Device Description Files option allows installation of more than one file at the same time Updating the Device Catalog If a new DTM has been installed it will not automatically be included in the Device Catalogue To add newly installed DTMs to the list the Device Catalogue must be updated by clicking the Update button at the bottom of the Device Catalogue win...

Page 83: ...le can also be opened from Windows Explorer Double clicking a file with extension CPR will invoke CX ConfiguratorFDT and open the selected file CX ConfiguratorFDT provides automatic generation of project documentation upon command of the user The documentation is generated in HTML format and can cover either single DTMs or the whole project After generation of the HTML document it will automatical...

Page 84: ...ntents of the win dow can be copied to the clipboard for pasting to another application or into an E mail The errors and the sequence in which they occur may hold additional clues in case of problems Error Log Format The format used in the Error Log view is Time Time Date Date DTM name message The message displayed originates from the DTM in which the error occurred The figure below shows an examp...

Page 85: ...the communication 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 Right clicking in the Error Log view displays a context menu providing the options listed below Error Log View Context Menu The FDT Standard defines four access levels and two attributes for FDT Container applications...

Page 86: ...wed Allowed Allowed Device Catalogue Open Allowed Allowed Allowed Allowed Allowed Add GSD files Not allowed Not allowed Not allowed Allowed Allowed Update Not allowed Not allowed Not allowed Allowed Allowed PROFIBUS Master DTM Open Allowed Allowed Allowed Allowed Allowed Master settings View only View only Edit Edit Edit Communication settings View only View only Edit Edit Edit Go online Allowed A...

Page 87: ... e the checked levels can start and access CX ConfiguratorFDT If a check box is not selected the corresponding level can not be used to start CX ConfiguratorFDT and it will not appear in the drop down list in the login window For example in the window below the Observer and Maintenance levels are unchecked The next time CX ConfiguratorFDT is started the Observer and Maintenance access levels are n...

Page 88: ... by selecting the check box to the left of it Pressing the Change password button opens a window allowing the entry of a new password As an example the window below shows the Change password window for the Planning Engineer You can now enter the new password confirm it by re typing the password and select the OK button to activate the new password Note If access protection is not important for the...

Page 89: ...er Interface The DTM Diagnostics User Interface facilitates Unit status determination IO Device status determination and changing the Unit s PROFINET operational mode This section provides an overview of the PROFINET IO Controller DTM and discusses the user inter faces Opening the DTM To open the CJ1W PNT21 IO Controller DTM Select and double click the IO Controller DTM in the Network view Select ...

Page 90: ...rect Use Precautions for Correct Use Changes made by the user are saved in the DTM only and not in the Project This is indicated by the asterisk next to the DTM in the Network view The next time in the same session the GUI is opened the changes will still be there To save the changes permanently for example to hard disk click the File Save option from the main menu of CX ConfiguratorFDT Button Act...

Page 91: ...Controller indicators flash to be able to identify the Unit 3 Set the Device Name for each of the IO Devices and IO Controllers connected to the network It is required for the PC to have an Ethernet connection to the Network to perform these operations The Network Scan screen is shown below Search Devices Button To populate the Network Scan View follow the next sequence 1 Press the Search Devices ...

Page 92: ...d the IP Address can be adjusted from within this view Signal When selecting Signal the selected IO Device or IO Controllers will flash its indicators for 3 seconds This can be used to locate the IO Controller or IO Device Set IP Address An IP Address can be temporarily set to access the IO Device over TCP IP with a device specific tool When the IO Controller opens a connection to the IO Device th...

Page 93: ...ke before setting up the communication and before testing the communication Communication The communication box contains a Configure and a Test Button Configure The Configure button invokes the CX Server communications settings dialogue CX Server is the driver software providing the communications functionality between a PC and the CPU CX Server is provided with CX ConfiguratorFDT but it may alrea...

Page 94: ...ained from the PROFINET IO Controller Unit after pressing the test button PLC Mode The PLC Mode Box contains information and gives the user the opportunity to change the CPU mode The status and buttons are greyed out when the PROFINET IO Controller DTM is in the offline mode When in the online mode clicking the Read button will read the current CPU mode Selecting the required PLC mode and pressing...

Page 95: ...n Name This string is the PROFINET IO name of the Unit IP Address This is the IP Address the PROFINET IO Controller Unit will use to setup communication to PROFINET IO Devices and on which the PROFINET IO Controller will be accessible from the Ethernet network The last number of the IP Address for the PROFINET IO Controller Unit can not be higher that 126 Subnet Mask This is the Subnet Mask that w...

Page 96: ...s issued by the PROFINET IO Controller to the IO Device with the corresponding IP address The IO Device is then reachable on the network by this IP Address Update Rate ms The Update Rate is the time interval in milliseconds between subsequent Input Data and Output Data exchanges between the PROFINET IO Controller and the IO Device The Update Rate can be set per IO Device Watchdog Factor The Watchd...

Page 97: ...ed the list will be empty Module List The Module List Box list contains the following information the table applies to the lists in the Input and Output Allocation tabs see also the above figure I O Mapping Each Output Input Allocation tab also contains two areas onto which the I O data can be mapped The areas are subsequently mapped onto the CPU memory By default all data is mapped to Area 1 in a...

Page 98: ...nvalid setting is made the Occupied length value changes its color to red Upon saving the changes in addition a warning message will be displayed Examples of invalid settings are The start address and length definitions of the data block cause it to exceed the memory area in the CPU The data mapping of two or more I O Areas Output and or Input overlap each other partly or totally in the CPU memory...

Page 99: ...ed is now updated in the mod ule list Additional Information If Auto Addressing is enabled see IO Controller Setup tab in this section any remaining empty spaces will be removed by compression of the list Modules allocated to a higher address will be moved to a lower address to fill up the gaps If Auto Addressing is disabled compressing the list can be accomplished by pressing the Compress button ...

Page 100: ...IO Device Status presents an overview of the IO Devices that are in active Data Exchange or have the New Alarm flag raised To view more information about the alarm a selection can be made in the Selected IO Device box The New Alarm Data Exchange Active Flags are a combination of the IO Device New Alarm and Data Exchange Active flags area s In the Selected IO Device box a selection can be made by D...

Page 101: ...are 3 30 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 The Error History shows the Error Log of the PROFINET IO Controller Unit For troubleshooting refer to this Error Log Error History ...

Page 102: ... clicking the Open button it will be checked for consistency The new version number is shown in the Upgrade Firmware Version box 3 The firmware upgrade process is started with the Upgrade Now button and the Progress is shown in the progress bar 4 When the firmware upgrade is completed the new version can be read out by going online with the CX ConfiguratorFDT The version will be visible in the Cur...

Page 103: ...this file is downloaded into the IO Controller it can perform I O Data exchange with the IO Devices Apart from the configuration of OMRON PROFINET IO Devices by a DTM OMRON provides the possi bility to use GSDML files to allow configuration of third party PROFINET IO Device Units if a DTM is not provided To accommodate GSDML files in an FDT container OMRON supplies a PROFINET IO Generic Device DTM...

Page 104: ...cessary to make the settings for the associated slave device Opening the Configuration DTM To open the configuration DTM Select and double click the IO Device DTM entry in the Network view or Right click the IO Device DTM in the Network view and select Configuration from the con text menu The IO Device DTM Configuration User Interface which is displayed in the CX ConfiguratorFDT DTM view is shown ...

Page 105: ...modules used by the IO Device or the IO Device should accept the mod ule 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 Defining the I O Configuration To define the I O configuration the user must select each I O module in the same sequ...

Page 106: ...her 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 to I O words and how to do the implementation using the GSD File consider the table below The table above lists the physical configuration in the left most column the I O Module selected from the li...

Page 107: ...3 Configuration Software 3 36 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...

Page 108: ...Unit and accessing Unit and network status 4 1 Data Exchange with the CPU Unit 4 2 4 1 1 Data Flow 4 2 4 1 2 Accessing From the User Program 4 4 4 2 Device Variables for CJ series Unit Software Switches Statuses 4 8 4 2 1 Software Switches 4 8 4 2 2 Unit Status 4 9 4 2 3 IO Controller Status 1 4 11 4 2 4 IO Device Status 4 13 4 2 5 IO Device Input Valid Flags 4 14 4 2 6 IO Device New Alarms Flags ...

Page 109: ...in the table and chart below 4 1 1 Data Flow Access methods from the user program AT specification destina tion Data exchange timing Unit data type Device Variable for CJ series Unit I O port During I O refresh Software switch IO Controller status IO Device detailed status data User defined variable Memory used for CJ series Unit During I O refresh IO Device data At I O refresh after instruction e...

Page 110: ... Device variable for CJ series Unit IO Device Slave detailed status data AT specification Allocations setting table I O refresh Status I O refresh Device variable for CJ series Unit Memory used for CJ series Unit Memory areas such as CIO and DM IO Device AT specification Slave output message communications data I O refresh Slave input message communications data I O refresh Device variable for CJ ...

Page 111: ...ches execution bits of each function from the CPU Unit to the PROFINET IO Control ler Unit PROFINET IO Controller Unit statuses and error data are allocated to the I O port of this Unit By using these variables the user can program without needing to be aware of the configuration of the memory used for CJ series Units IO Devices are allocated to the memory used for CJ series Unit To use this area ...

Page 112: ...s Unit refer to NJ series CPU Unit Software User s Manual Cat No W501 In this unit IO Devices are allocated to the memory used for CJ series Unit Sysmac Studio is used to register user defined variables that specify the memory used for CJ series Unit with IO Devices allocated as AT specification in the variable table Generally array variables are created Below is an example of allocation to user d...

Page 113: ...e CPU Unit 4 6 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 A 4 point Input Unit and 4 point Output Unit are configured for use with the SmartSlice GRT1 PNT I O bus coupler as shown above ...

Page 114: ... user defined variables as shown in the example below Additional Information For details on memory used for CJ series Unit variable allocation and user defined variable registration refer to Sysmac Studio NJ One Version 1 0 Operation Manual Cat No W504 Words allocated I O data CIO 3200 OUT device I O data Device Number 1 CIO 3300 GRT1 PNT Communication Unit Status Device Number 1 CIO 3301 IN devic...

Page 115: ... TRUE simultaneously the requests will generate errors and Unit operation will remain unchanged WORD type device variables for CJ series Unit holding all switch functions contained in Software Switches are shown below BOOL type device variables for CJ series Unit separating functions per each switch contained in Soft ware Switches are shown below Name of device variable for CJ series Unit Type R W...

Page 116: ...l be ignored The following device variable for CJ series Unit is used to reference all information of Unit Status The following device variables for CJ series Unit are used to reference individual information Name of device variable for CJ series Unit Type R W Area Function _ClrAllAlmCmd BOOL RW Clear all alarm bits The clear alarm bits switch will clear all alarm flags for all IO Devices It is ri...

Page 117: ...r BOOL RO Error log con tains new errors FALSE Turned OFF by the Unit on restart or if the error log is cleared or read TRUE Turned ON by the Unit if a new error is added to the error log _ParamTxActSta BOOL RO Parameter transfer in progress FALSE Turned OFF by the Unit if no configura tion data transfer is in progress TRUE Turned ON by the Unit and indicates the following Retrieval of internally ...

Page 118: ...rror can be caused by an error in the File or an error during transfer Limited memory card functionality based on CPU version Check specification details for more information _ErrLogStorErr BOOL RO Error log stor age error FALSE Turned OFF by the Unit if the Error log has been transferred to the non volatile memory successfully TRUE Turned ON by the Unit if an error occurred during an attempt to w...

Page 119: ...e Unit if it has not been configured correctly TRUE Turned ON by the Unit if it is able to use the internally stored configuration data indicating the Unit contains valid PROFINET IO Configura tion data With this configuration data the IO Controller can parameterize the allocated IO Devices and start exchanging I O data _OutDatValSta BOOL RO Valid output data FALSE Turned OFF by the Unit if the da...

Page 120: ...atXchgSta BOOL RO All IO Devices are in Data Exchange FALSE Turned OFF by the Unit if it does not receive data or receives invalid input data from one or more IO Devices TRUE Turned ON by the Unit if it is receiving valid input data from all active IO Devices allo cated to the IO controller _AllDevOutSta BOOL RO All IO Devices have con sumed output data FALSE Turned OFF by the Unit if one ore more...

Page 121: ...ts are invalid Is not allocated to this IO Controller TRUE Turned ON by the Unit if the correspond ing station is in Data Exchange with valid inputs _DevInDataValidL LWORD RO IO Device Input Valid flags The IO Device Input Valid flags indicate for each IO Device if it is in Data Exchange mode with the PROFINET IO Controller Unit The flags are allo cated to two LWORD variables of 64 bits IO Device ...

Page 122: ... no new alarm data TRUE Turned ON by the Unit if the correspond ing IO Device has sent new alarm information which should be read by the user with message communications see 6 3 Acyclic Messages Failing to do so may cause the alarm data to be overwritten should the device generate another alarm Alternatively the New Alarm flag can be cleared using the IO Controller DTM Diagnostics view _DevAlmL LW...

Page 123: ...4 Data Exchange with the CPU Unit 4 16 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...

Page 124: ... network using the Unit and CX ConfiguratorFDT 5 1 Configuring a Network 5 2 5 1 1 Adding Devices to the Network 5 3 5 1 2 Setting IO Device Names 5 5 5 2 Configuring the IO Devices 5 7 5 2 1 Defining the I O Configuration 5 7 5 3 Configuring the IO Controller 5 9 5 3 1 PLC Setup 5 9 5 3 2 IO Controller Setup 5 10 5 3 3 IO Device Setup 5 11 5 3 4 IO Device Area 5 12 5 3 5 Mapping I O Data 5 13 5 3...

Page 125: ...atorFDT will now start displaying the main window as shown below Before starting the assembly of the network in CX ConfiguratorFDT make the following preparation steps 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 2 Check the list of available DTMs and verify that all t...

Page 126: ...evice 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 The GSDML file s will be copied to a sub directory of the CX ConfiguratorFDT directory 3 After completing the copy a window will be displa...

Page 127: ...on and the device DTM will be added to that location Note Master DTMs can only be added to the main branch of the Network Slave Device DTMs can only be added to Master DTMs Whether or not a DTM can be added to the branch is indi cated by the cursor The indicates no addition and indicates that addition is allowed Using the Add Device Button 1 Select the top of the network to which the DTM must be a...

Page 128: ... in the configuration as it is set in the IO Device The PROFINET Name on the IO Devices is set by a specific tool There are standalone tools but there is also on incorporated in the CJ1W PNT21 PROFINET IO Controller DTM When opening the IO Controller DTM the first item show is the PROFINET identification with the Network Scan sub item See the picture below Searching Devices Pressing the Search Dev...

Page 129: ... when uploading or downloading SmartSlice configurations with the GRT1 PNT PROFINET IO Device DTM when no IO Controller is available Set Device Name IO Devices needs to have a name This is the only way a IO Controller can find an IO Device on the network This same Device Name must be entered in the IO Controllers configuration Reset to factory defaults Resets the device to its factory defaults lik...

Page 130: ...the Network view right click the mouse and select Configuration from the context menu select the device in the Network view select Configuration from the Device menu The DTM will now open a device configuration window This window can differ per DTM and is targeted at the device to be configured In this section the configuration through GSDML files with the PROFI NET IO Generic Device DTM is shown ...

Page 131: ...data that actually have been set If while selecting I O modules one of the maximum values is exceeded a warning message will be displayed Additional Information The selected I O modules are sent to the IO Device in the same sequence as selected in the user interface Depending on the device the sequence may be checked by the IO Device If an incorrect sequence is sent the I O configuration is reject...

Page 132: ... 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 The DTM Configuration User Interface is shown below Communication The communication path needs to be set to communicate with the IO Controller By pressing the Configure button The CX Server...

Page 133: ... 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 Next select the IO Controller Setup item to display the IO Controller Setup options In the IO Controller setup the PROFINET Name and IP address are set Other settings found here include how addresses are assigned to IO Devices and how th...

Page 134: ... User Bit Controlled If set to PLC Mode Dependent the IO Controller will follow the state of the CPU Pro gram or Run mode This is convenient in most applications where only one IO Controller is used In systems where the application needs to be in control of the state of the output data select User Bit Controlled An example to use User Bit Controlled is a redundant configuration where two IO Contro...

Page 135: ...es The Update Rate is the base for the calculation of the Watchdog Time and the Datahold Time Watchdog Time Data Hold Time The Watchdog Time and the Data Hold Time are set in the IO Device by the IO Controller during start of the PROFINET IO communication The Watchdog Time is used by the IO Device and the IO Controller to determine when to close the PROFINET IO connection If the time since the las...

Page 136: ...or possible Area overlaps CPU memory overlaps and non existing EM banks If an error is detected download will be aborted and the necessary correction must be made first Precautions for Correct Use Precautions for Correct Use When mapping the I O Areas make sure that the I O data will not overlap the Unit s own internal memory area or one or more of the I O data areas of any other CPU or I O Unit T...

Page 137: ...re selected when con figuring the slave device Furthermore Input area 1 is by default mapped to CIO 3300 whereas Output area 1 is by default mapped to CIO 3200 Example The default mapping algorithm is illustrated in the figure below with the following configuration Slave device 1 One input output module one output modules Slave device 2 One input module Slave device 3 One output module Slave devic...

Page 138: ...er point in time Auto Addressing will cause a change in the addresses of subsequent I O modules in an Input Output area This will cause I O data of a part of the IO Devices to be re mapped to different locations in the CPU memory In order to avoid unexpected results the CPU user program may have to be adapted as well Additional Information Auto Addressing will not change the allocation of I O modu...

Page 139: ...modules are listed in area 1 the column on the left of the lower half of the window The I O modules in the pick list all remain there The allocated I O modules are copies of the modules selected from the pick list 4 In order to move an I O module from one area to another select the module in the pick list 5 Hold the left mouse button and drag the I O module to the Input Output area of choice Relea...

Page 140: ...the following sequence 1 Open the CJ1W PNT21 IO Controller DTM Configuration User Interface 2 Select the Configuration IO Controller Setup sub item 3 Enable Disable Auto Addressing by selecting de selecting the Auto Addressing enabled check box in the Auto Addressing box 4 When Auto Addressing is being enabled a warning message is displayed informing the user of the effects of enabling Auto Addres...

Page 141: ...ing mapping Selecting an additional I O module for a IO Device in the presence of already allocated I O modules will cause a complete re map of all existing modules if the total I O does not fit within the space it is already occupying The modules are re mapped to the next available location in the area leaving behind a gap in the existing I O mapping Subsequent I O modules of other slave device w...

Page 142: ... 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 apply to each of these tabs 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 mad...

Page 143: ...ach area next to the CPU memory area selection box Additional Information The CJ1W PNT21 IO Controller DTM will check whether two or more selected mappings to the CPU memory will be overlapping In that case the start address set will be shown in red If any mapping error is discovered by the Master DTM an error message is displayed and download is terminated ...

Page 144: ...eger signed unsigned 1 Supported Data is transmitted on a byte by byte basis Supported Minimum is 16 bit words Two bytes will be formatted in one word Words containing odd bytes will be padded with zeros Single 16 bit Integer signed unsigned 2 Supported Data is transmitted on a Most Signifi cant Byte First basis Supported Single 16 bit integers are trans ferred to memory words in CPU memory Single...

Page 145: ... with date indica tion 2 Supported Data is transmitted on a Most Signifi cant Byte First basis Supported Single 16 bit integers are trans ferred to memory words in CPU memory NetworkTime 2 Supported Data is transmitted on a Most Signifi cant Byte First basis Supported Single 16 bit integers are trans ferred to memory words in CPU memory NetworkTimeDifference 2 Supported Data is transmitted on a Mo...

Page 146: ...t be mapped to the CPU data area words on a high byte low byte sequence as well as on a high word low word sequence All conversions work both ways i e when transferring data from the CPU data area to the PROFI NET IO network and when transferring data from the PROFINET IO network to the CPU data area The following conversion steps are required here Every two data bytes are stored in 1 word in the ...

Page 147: ...unsigned 16 bit word storage method i e the bytes are stored in a high byte low byte sequence If the number of text characters is even all bytes will fit in the words but one additional word must be set to 0000 If the number of bytes is odd the last byte of the sequence will be mapped to the high byte of the last word The low byte of the last word must be padded with a 0 In case of transmissions o...

Page 148: ...hich the cycle times can be maintained reliably These measurements were done for SmartSlice stations with a minimum I O configuration a typical configuration and a maximum config uration SmartSlice I O Configurations Minimum Each IO Device has 1 x OD4 1 1 x ID4 1 and an END M connected This results in 1 data word output and 2 data words input The number of modules is 4 Typical Each IO Device has 4...

Page 149: ... for NJ series CPU Unit W511 Additional Information 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 CPU The maximum number of IO Devices that the IO Controller supports is 126 ...

Page 150: ...nline select the DTM in the Network view and perform one of the following actions Select the Device Go Online option from the main menu or the DTM context menu or Select the Online button from the Tool Bar 2 A communication channel will be opened through CX Server The name of the DTM in the Net work view will turn to Italic font to indicate that the Unit is online 3 From the context menu select th...

Page 151: ...t Data state is assigned as a Device Variable then it can be accessed and or con trolled from a number of sources e g from an HMI or SCADA system or another CPU Typically this item is accessed from the user program For commissioning purposes the IO Controller DTM can be used In the Diagnosis item IO Controller Status sub item has the button Toggle User Bit to set reset the Output Data state Additi...

Page 152: ...commands sent from the user program in the CPU Unit 6 1 Overview 6 2 6 2 Sending Acyclic Messages Using SendCmd Instructions 6 3 6 3 Acyclic Messages 6 7 6 3 1 EXPLICIT MESSAGE SEND 2801 6 7 6 3 2 MEMORY AREA READ 0101 6 10 6 3 3 ERROR LOG READ 2102 6 11 6 3 4 ERROR LOG CLEAR 2103 6 13 6 4 Command Message Routing 6 14 Message Communications ...

Page 153: ...tions The CJ1W PNT21 PROFINET IO Controller Units support two types of message communications Message commands targeted at the Unit itself with the purpose of sending or retrieving data or invok ing control actions 0101 2102 2103 Explicit messages targeted at IO Devices such as the GRT1 PNT Unit 2801 The figure below depicts the message command structure for the CJ1W PNT21 PROFINET IO Control ler ...

Page 154: ...ontroller Below is an example of sending a Unit Maintenance Present Value Read command using the EXPLICIT MESSAGE SEND command 2801 This example reads the alarm data of the connected SmartSlice I O Unit with the following system configuration PROFINET IO Controller Unit Device Number 0 PROFINET IO Controller Unit number 0 PROFINET IO Controller Unit address 11 Hex GRT1 PNT Communication Unit Devic...

Page 155: ...of bytes corresponding to the command data to be sent is specified 09 RespDat Rdata 0 Command code 16 28 Rdata 1 16 01 Rdata 2 End code 16 00 Rdata 3 16 00 Rdata 4 Number of bytes received 16 00 Rdata 5 16 24 Rdata 6 Slave node address 65 16 00 Rdata 7 ServiceCode when completed normally 16 8E Rdata 8 Number of slave alarm data 32 20 Hex 16 20 Rdata 9 Status of slave 4 slave 3 2 bits each 16 00 Rd...

Page 156: ...e CPU Rack Device name of this unit PNT21 Unit number Unit No Switch and Unit Con figuration and Setup CPU Expansion Racks under Controller Configurations and Setup of Sysmac Studio Unit number 0 Name Data type Default Comments Details _Port_isAvailable BOOL Communications Port Enabled Flags TRUE when there are internal logical ports available FALSE when there is no internal logical port available...

Page 157: ...6 28 Command data settings 8 Sdata 1 BYTE 16 01 9 Sdata 2 BYTE 16 00 10 Sdata 3 BYTE 16 0E 11 Sdata 4 BYTE 16 00 12 Sdata 5 BYTE 16 9C 13 Sdata 6 BYTE 16 00 14 Sdata 7 BYTE 16 01 15 Sdata 8 BYTE 16 73 1 Processing after normal end 2 1 Processing after an error completion 2 Operating Communications parameters settings Processing at normal end Processing at an error completion Operating SendCmd inst...

Page 158: ... No W13E EN 2 The Explicit Message Send command is effectively an Ethernet UDP message The han dling of this message i e establishing a connection transferring data and aborting a con nection is done automatically by the PROFINET IO Controller Unit Command Format Response Format If a normal response has been returned by the targeted device the response format for the exe cuted explicit message is ...

Page 159: ...r the explicit message destination The supported Class ID values are spec ified in the Operation manual of the targeted slave device Response code Error Name Description 08FF Service not supported The service code is incorrect 09FF Invalid attribute value The specified attribute value is not supported The data written was outside valid range 16FF Object does not exist The specified instance ID is ...

Page 160: ...ls Alarm Data Details The 4 bits allocated to each SmartSlice I O Node have the following functions Bit 0 Warning Minor Error Bit 1 Alarm Major Error Bit 2 Reserved Bit 3 Reserved Explicit Messages Common to All IO Devices Explicit message Read Write Function Command Response Service code Class ID Instance ID Attribute ID Data size Alarm Infor mation read Read Reads the SmartSlice I O Unit s alarm...

Page 161: ... be retrieved from the Unit Always set to 00 00 00 Hex Device address command Defines the IO Device network address Set to 00 to 7D Hex Number of items to read command Defines the number of bytes to read Set to 00 00 Hex Response Codes The following end codes can be returned by the Unit in response to the MEMORY AREA READ command 6 3 2 MEMORY AREA READ 0101 Response code Description 0000 Normal co...

Page 162: ...ameters First Record Number Command The first record to be read The first record number can be specified in the range between 0000 and 0050 0 to 80 decimal where 0000 is the oldest record in the Error Log since the last performed ERROR LOG READ command Number of Records Command Response The number of records to read is specified between 0001 and 0050 1 to 80 decimal in the com mand The response re...

Page 163: ...10 bytes record Each error log record thus consist of 10 bytes configured as follows Error Code Detailed Information Details of the error stored in the record Refer to Section 7 Troubleshooting and Maintenance for details Minute Second Day Hour Year Month Indicate the time at which the error stored in the record occurred The total number of records to be returned is either the number specified in ...

Page 164: ...command clears the number of records stored in the PROFINET IO Control ler Unit Error Log Command Format Response Format Response Codes 6 3 4 ERROR LOG CLEAR 2103 Response code Description 0000 Normal completion 250F Memory writing error Error Log was not cleared normally 260B Cannot clear the Error Log The error cause still exists Command code 21 03 Response code 21 03 Command code ...

Page 165: ...of the last octet of the IO Controller s own IP address The PRO FINET IO Controller does not hold an address translation table As the highest command message address is 127 and the maximum amount of IO Devices supported is 126 the highest IP address that can be addressed is 127 In the example above the highest IP address is 192 168 1 127 Performance The CJ1W PNT21 PROFINET IO Controller s main tas...

Page 166: ...7 2 7 1 1 Determining Operating Status from the Indicators 7 2 7 1 2 Troubleshooting Errors Occurring in the PROFINET IO Controller Unit 7 3 7 2 Troubleshooting the Network 7 8 7 2 1 Troubleshooting Parameter Download 7 8 7 2 2 Troubleshooting the Network using CX ConfiguratorFDT 7 9 7 2 3 CPU Unit s ERR ALM Indicator Lit or Flashing 7 13 7 3 Event Logs 7 14 7 3 1 Overview of the Event Logs 7 14 7...

Page 167: ...rors These include errors in the CPU as well as errors in the Unit which prevents the combination from starting up correctly Operational errors These include CPU errors CPU Bus errors and error log problems during operation Configuration problems These include errors during or after downloading a new configuration as well as errors in the config uration after startup PROFINET IO errors These inclu...

Page 168: ...ion down loaded from the configuration tool is evaluated during startup of the Unit ON green Flashing green OFF r dot flashing PROFINET IO core software started The PROFINET IO controller has started its core communication software and is ready to start communication with the PROFINET IO Devices ON green Flashing green OFF r dot ON Relations to PRO FINET IO Devices are set up Before PROFINET IO Co...

Page 169: ...ro cessing There will be no error logged in the error log None of the bits are set Restart the IO Controller Replace the IO Control ler if the error recurs IO Controller Functions Error log Hex Likely cause Unit response Device Variable Flag Correction 0202 During startup of the IO Con troller encountered a problem interpreting the PROFINET IO Configuration file This could be because the Unit star...

Page 170: ... ing Records the error in the error log IO Controller status 2 _HwErr will be TRUE Check the ethernet net work for possible causes of disturbance This can be EMC influences bro ken or shorted Ethernet cable faulty connectors defective Ethernet switches or IO Devices and grounding problems to name a few This will result in interrupted data streams or broken mes sages Memory Access Errors Error log ...

Page 171: ...one of the bits are set Correct the Unit number of the IO Controller or the other Unit Restart the CPU Error log Hex Likely cause Unit response Device Variable Flag Correction The PROFINET IO Controller detected that the CPU Unit is faulty The Unit will stop pro cessing None of the bits are set Replace the CPU Unit if the error recurs when the CPU Unit is restarted Error log Hex Likely cause Unit ...

Page 172: ...bleshooting Errors Occurring in the PROFINET IO Controller Unit Watchdog Timer Error Error log Hex Likely cause Unit response Device Variable Flag Correction 0002 The PROFINET IO Controller detected a watchdog timer error with the CPU unit The Unit will stop pro cessing Records the error in the error log None of the bits are set Replace the CPU Unit if the error recurs when the CPU Unit is restart...

Page 173: ...rds Any existing overlap in the I O Areas configured Any existing overlap in the allocated CPU memory areas Any of these errors will abort the download process without consequences for the CJ1W PNT21 PROFINET IO Controller Unit Errors when Establishing Communication If no errors occurred during the checking phase the IO Controller DTM will try to establish communi cation with the CJ1W PNT21 PROFIN...

Page 174: ...unit may need to be replaced 7 2 2 Troubleshooting the Network using CX ConfiguratorFDT Indicators Description Correction Unit Error The Unit Error flag is TRUE if the unit has an error if one of the other error flags in the Unit Status is TRUE Controller Error The Controller Error Flag is TRUE if one of the IO Controller Status 2 error flags is TRUE Error Log contains errors When a new error is l...

Page 175: ...troller may need to be replaced Controller is in Data Exchange The IO Controller is in Data Exchange when it can reach at least one of the config ured IO Devices This shows that the network connection to the IO Devices works If some of the IO Devices can not be reached it is a network issue and not an issue of the IO Controller If the IO Controller is out of Data Exchange it means that their is so...

Page 176: ...ing wrong with that IO Device For more information refer to the IO Device Sta tus item or to the IO Device DTM itself for further information Also when an IO Device is simply turned off it is signalled here also IO Device Alarm received One of the IO Devices signalled it has a alarm available Refer to the IO Device status item or the IO Device DTM All IO Devices that can process output data are re...

Page 177: ... can be copied to the Clipboard for further analysis When selecting an IO Device either in the New Alarms data Exchange Active Flags or the Selected IO Device area will show the last known alarm of the IO Device It does not necessarily mean that the alarm is still active If a IO Device has an active alarm that this will be displayed in the color of the IO Device Yel low Alarms can be acknowledged ...

Page 178: ... 2 3 CPU Unit s ERR ALM Indicator Lit or Flashing Error Probable Cause An I O setting check error occurred Make sure that the Unit is connected properly The CPU Bus Unit model registered in the Unit Configuration in the CPU Unit does not match the actual Unit Configuration Compare using Synchronize oper ation and use one of the following procedures Correct the Unit number setting Correct the proje...

Page 179: ...so reported as events in the NJ series CPU Unit Refer to the NJ series CPU Unit Software User s Manual Cat No W501 for details on the event logs in an NJ series CPU Unit Refer to the NJ series Troubleshooting Manual Cat No W503 for details on Controller errors confirmation methods and corrections The errors that may occur for this Unit are listed below Event levels are given in the table as follow...

Page 180: ...sfer X 18040000 Error log storage error The Error Log data in the non volatile memory may be corrupted An error occurred during an attempt to write the error log to internal non volatile memory Upon restart the Unit will re initialise the Error Log X 38080000 Invalid configuration The Unit has not been configured correctly The Configuration data is incorrect The Unit cannot parameterize the allo c...

Page 181: ...e user program will continue Stops Execution of the user program stops Starts Execution of the user program starts 7 3 3 Error Descriptions Controller Error Descriptions Event name Gives the name of the error Event code Gives the code of the error Meaning Gives a short description of the error Source Gives the source of the error Source details Gives details on the source of the error Detection ti...

Page 182: ...ne Event name Local parameter load error Event code 18020000 hex Meaning The Unit cannot load the internally stored configuration and setup data Source Function Module Source details CJ series Unit Detection timing At power ON or reset Error attributes Level Minor Recovery Error Reset Con troller Reset Log category System Effects User program Continues Operation Cannot exchange data with IO Device...

Page 183: ...ta stored there may be corrupted System defined variables Variable Data type Name _ErrLogStorErr BOOL Error Log Storage Error Cause and cor rection Assumed cause Correction Prevention There is a problem with the internal non volatile memory or other Unit hardware problems Power interruption during error log writing Restart the Unit Replace the Unit Attached information None Precautions Remarks Non...

Page 184: ...ory System Effects User program Continues Operation The Unit is in OFFLINE mode and is not capable of com municating on the network possibly caused by hardware errors occurring during startup or normal operation System defined variables Variable Data type Name _OfflineSta BOOL Controller is in OFFLINE mode Cause and cor rection Assumed cause Correction Prevention The User or program has changed th...

Page 185: ...etails CJ series Unit Detection timing Continuously Error attributes Level Minor Recovery Depends on the cause Log category System Effects User program Continues Operation Turned ON by the Unit if hardware errors have occurred on the bus e g faults when accessing the Ethernet controller or interrupted data streams and broken messages System defined variables Variable Data type Name _HwErr BOOL Har...

Page 186: ...inner benzine or chemical wipes These substances could damage the surface of the Unit Be sure to inspect the system periodically to keep it in optimum operating condition In general inspect the system once or twice a year but more frequently if the system is used in high temperature or high humidity environments or dirty dusty conditions Prepare the following equipment before inspecting the system...

Page 187: ...ices before replacing the Unit When replacing the Unit do not reconnect it to the Network before carrying out the procedures listed below After replacing a PROFINET IO Controller Unit before applying power set the unit number to the same unit number as the previous Unit After applying the power the configuration settings present in the previous Unit must also be trans ferred to the new Unit Use CX...

Page 188: ...ommunication cycle time An existing slave device can only be replaced by the same type of device with the same configuration Any change to this configuration is likely to require a new configuration Changing a device with a different device type and or configuration will have a significant influence on the performance on the PROFINET network Adding a Device The addition of a new device to an exist...

Page 189: ...7 Troubleshooting and Maintenance 7 24 CJ series PROFINET IO Controller Unit Operation Manual for NJ series CPU Unit W511 ...

Page 190: ... A 1 Differences in Available Functions Depending on the CPU Unit NJ CJ series to be Connected A 2 A 1 1 Differences in Available Functions A 2 A 1 2 Differences in Accessing from the User Program A 2 A 2 PROFINET IO Alarm Messages A 7 A 2 1 Introduction A 7 A 2 2 Alarm Messages A 7 Appendices ...

Page 191: ...Unit memory are listed below First word of Special I O Unit CIO Area n 1 500 words Unit number 25 Unit number 0 to 15 First word of Special I O Unit DM Area m D30 000 words Unit number 100 Unit number 0 to 15 Additional Information The DM area words which are allocated for the PROFINET IO Controller Unit are not used i e no data is exchanged between an allocated DM area and the Unit However the al...

Page 192: ...Bit number CJ series function name Variable name Word n 0 to 15 The switches of Software Switch 1 execute a function when turned ON by the user in any CPU mode The Unit state is not restored after a Power Down of the CPU _SwCmd CJ series I O memory and NJ series CJ Unit memory NJ series device vari ables for CJ series Unit Word number Bit number CJ series function name Variable name Word n 0 to 7 ...

Page 193: ...eserved by system 3 Error log contains new errors _NewErr 4 Parameter transfer in progress _ParamTxActSta 5 Reserved by system 6 Local parameter storage error _ParamStorErr 7 Local parameter load error _ParamLoadErr 8 Reserved by system 9 File read error _FileRdErr 10 to 12 Reserved by system 13 Error log storage error _ErrLogStorErr 14 and 15 Reserved by system CJ series I O memory and NJ series ...

Page 194: ...uration _ValidCfgSta 8 to 11 Reserved by system 12 Valid output data _OutDatValSta 13 to 16 Reserved by system 17 Link Status _LinkSta 18 Reserved by system 19 Hardware Error _HwErr 20 to 28 Reserved by system 29 Configuration Error _CfgErr 30 and 31 Reserved by system CJ series I O memory and NJ series CJ Unit memory NJ series device vari ables for CJ series Unit Word number Bit number CJ series ...

Page 195: ... block corresponds to a IO Device number as set in the DTM IO Device Setup tab _DevInDataValid CJ series I O memory and NJ series CJ Unit memory NJ series device vari ables for CJ series Unit Word number Bit number CJ series function name Variable name n 9 to n 16 1 to 126 Corresponding IO Device Input Data Valid Array _DevInDataValid CJ series I O memory and NJ series CJ Unit memory NJ series dev...

Page 196: ...system Diagnostic Alarms Events indicating a malfunction of a field device Maintenance Alarms Events relating to preventive maintenance to avoid device breakdown Manufacturer Specific Diag nostics Events relating to events specific for the manufacturer Alarm Type Description Pull Alarm When a SmartSlice I O Unit slice module is removed during normal operation a Pull Alarm event is generated see no...

Page 197: ...The specifier of the alarm The following bits are defined Bit 0 to 10 Sequence number Bit 11 Channel Diag exists value 1 is exists Bit 12 Manufacturer Diag value 1 is exists Bit 13 SubmoduleDiagState value 0 is no error Bit 14 Reserved Bit 15 AR Diag State value 0 is no error 24 to 25 Length The length of additional data for Channel Related Diagnosis Byte Name Description ...

Page 198: ...Index 1 CJ series PROFIBUS Master Unit Operation Manual for NJ series CPU Unit W509 I Index ...

Page 199: ...9 CX ConfiguratorFDT 1 10 1 12 3 2 Cyclic Refresh Monitor Timeout 7 6 D Data Exchange 1 3 4 2 Data Exchange Configuration 1 13 Data Hold Factor 3 25 Data Hold Time 3 25 5 12 Data Types 5 21 Defining the I O Configuration 3 34 Device Catalog 3 3 3 8 3 9 3 11 Device Catalogue 3 5 Device Model 1 6 Device Name 3 25 3 26 5 5 5 12 Device No 3 25 3 26 5 11 Device Type 3 25 3 26 5 5 5 12 Device Variable f...

Page 200: ...rsion 5 22 IO Controller Information Box 3 23 IO Controller Setup 3 23 IO Controller Status 2 7 10 IP Address 3 25 5 5 5 12 ISO 8877 1 8 L Length Mapping Area 3 27 Line Network 2 10 Local Configuration Load Error 7 9 Local Configuration Storage Error 7 9 M MAC Address 1 3 5 5 Main Menu 3 6 Maintenance 3 14 Mapping Algorithm 5 14 Mapping Area Control 3 27 Master DTM 3 19 Maximum Transmission Distan...

Page 201: ... Startup Errors 7 4 Status Bar 3 8 Status Data 4 4 Subslot 1 4 1 6 System defined Variable 4 2 6 5 T TCP 1 4 Test Button 3 23 Text Strings 5 23 Tool Bar 3 7 Tree Network 2 12 Troubleshooting Functions 1 3 Type Datatype 3 26 U UDP 1 4 Unit Error 7 4 7 9 Unit No Switch 2 4 6 5 Unit Number 5 10 Unit Number Duplication 7 6 Unit Status 7 9 Update Rate 3 25 5 12 User Management 3 14 3 15 User defined Va...

Page 202: ...oduct link Control system PROFINET IO Controller Module 291927 CJ1W PNT21 Buy on EAN E S Remote Header Communications SmartSlice Profinet 258404 GRT1 PNT Buy on EAN E S Remote Header SmartSlice Profibus Communications 230167 GRT1 PRT Buy on EAN E S Remote Unit 2 Analog Input SmartSlice 224393 GRT1 AD2 Buy on EAN E S Remote Unit 4 NPN inputs SmartSlice 212285 GRT1 ID4 Buy on EAN E S Remote Unit Sma...

Reviews: