Download  Print this page

Mitsubishi Electric MELSEC iQ-R Series User Manual

Profinet io controller module.
Hide thumbs

Advertisement

MELSEC iQ-R PROFINET IO Controller Module
User's Manual (Application)
-RJ71PN92

Advertisement

Table of Contents

   Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R PROFINET IO Controller Module User's Manual (Application) -RJ71PN92...
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the MELSEC iQ-R Module Configuration Manual.
  • Page 4 [Design Precautions] WARNING ● Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 [Design Precautions] WARNING ● Especially, when a remote programmable controller is controlled by an external device, immediate action cannot be taken if a problem occurs in the programmable controller due to a communication failure. To prevent this, configure an interlock circuit in the program, and determine corrective actions to be taken between the external device and CPU module in case of a communication failure.
  • Page 6 [Installation Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction. [Installation Precautions] CAUTION ●...
  • Page 7 [Wiring Precautions] CAUTION ● Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction. ● Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
  • Page 8 [Startup and Maintenance Precautions] WARNING ● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction. ● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the battery to produce heat, explode, ignite, or leak, resulting in injury and fire.
  • Page 9 [Startup and Maintenance Precautions] CAUTION ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 [Startup and Maintenance Precautions] CAUTION ● Startup and maintenance of a control panel must be performed by qualified maintenance personnel with knowledge of protection against electric shock. Lock the control panel so that only qualified maintenance personnel can operate it. ●...
  • Page 11: Conditions Of Use For The Product

    Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC iQ-R series programmable controller to handle the product correctly. When applying the program examples provided in this manual to an actual system, ensure the applicability and confirm that it will not cause system control problems.
  • Page 12: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 13 Network Detection ............... . 73 Network configuration settings .
  • Page 14: Relevant Manuals

    PROFINET IO controller module e-Manual [SH-081679ENG] e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
  • Page 15: Terms

    Ethernet function, and data used for data communication of the multiple CPU system function. CPU module A generic term for the MELSEC iQ-R series CPU module Cycle time Time required for one cycle of data exchange between the RJ71PN92 and each IO device The abbreviation for Discovery and Configuration Protocol.
  • Page 16: Chapter 1 Functions

    FUNCTIONS Data Exchange Function This function performs data exchange between the RJ71PN92 and IO devices in a specified period. Flow of I/O data IO device 1 IO device 3 IO device 2 CPU module RJ71PN92 (IO device ID: 0) (IO device ID: 2) (IO device ID: 1) Device Buffer memory...
  • Page 17: Setting Method

    Setting method Refresh Input data and output data of the I/O data exchange are automatically refreshed to the devices of the CPU module by using the refresh settings. Set the refresh as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  Right-click  [Autorefresh Settings] For details, refer to the following.
  • Page 18: Operating Procedure

    Operating procedure The following describes the procedure before starting the I/O data exchange. When the automatic start is selected Set the automatic start as the method of starting the IO device data exchange. Turn off the bit of 'IO device data exchange start method setting area' (Un\G17001 to Un\G17008) corresponding to the IO device that exchanges the I/O data.
  • Page 19: Timing To Start The I/o Data Exchange

    Timing to start the I/O data exchange When the automatic start is selected The following figure shows the timing chart of the I/O data exchange start with the IO device set to the automatic start. Setting value: Setting OK (ON) 'Parameter setting status' (Un\G17118.0) 'IO device data exchange start method setting area' (Un\G17001 to Un\G17008)
  • Page 20 When the manual start is selected The following figure shows the timing chart of the I/O data exchange start with the IO device set to the manual start. Setting value: Setting OK (ON) 'Parameter setting status' (Un\G17118.0) Setting value: Manual startup (ON) 'IO device data exchange start method setting area' (Un\G17001 to Un\G17008)
  • Page 21: Precautions

    Precautions Communication with a different segment The RJ71PN92 cannot exchange the I/O data with IO devices on a different network segment. Set the same IP address segment as the RJ71PN92. ( Page 75 "Devices on the Network" window) 1 FUNCTIONS 1.1 Data Exchange Function...
  • Page 22: Data Consistency Function

    Data Consistency Function This function ensures the consistency of input data and output data to be transferred by the I/O data exchange for each IO device. Data inconsistency is prevented by using the buffer memory and performing interlocks on the access to the input areas or output areas between the CPU module and the RJ71PN92.
  • Page 23 Timing to perform the access control The following figure shows the timing chart of the access control on input data areas. 'PN to CPU handshake flag (data consistency setting input area)' (Un\G17128 to Un\G17135) 'CPU to PN handshake flag (data consistency setting input area)' (Un\G17041 to Un\G17048) Reading out input data by Prohibited...
  • Page 24: Access Control On Output Data Areas

    Access control on output data areas For the access control on output data areas, use the following buffer memory areas and perform interlocks. • 'CPU to PN handshake flag (data consistency setting output area)' (Un\G17049 to Un\G17056) • 'PN to CPU handshake flag (data consistency setting output area)' (Un\G17136 to Un\G17143) Combinations of handshake flags When the data consistency function is enabled, whether or not to write output data areas is determined depending on the combination of the settings of the buffer memory areas.
  • Page 25 Timing to perform the access control The following figure shows the timing chart for the access control on output data areas. 'PN to CPU handshake flag (data consistency setting output area)' (Un\G17136 to Un\G17143) 'CPU to PN handshake flag (data consistency setting output area)' (Un\G17049 to Un\G17056) Output data writing by the Allowed...
  • Page 26: Service Interface Function

    Service Interface Function This function performs each of the following services at a timing different from that of the I/O data exchange. The following table lists the available services for the RJ71PN92. Service name Description Reference Network detection Detects IO devices on the same network as the RJ71PN92 and obtains the number of Page 28 Network detection connected IO devices.
  • Page 27: Setting Method

    Setting method Use the following buffer memory areas to execute the services. • 'Service request area 1' (Un\G50000 to Un\G52087) or 'Service request area 2' (Un\G52250 to Un\G54337) • 'Service execution request 1, Service execution request 2' (Un\G17057) • 'Service execution status' (Un\G17144) •...
  • Page 28: Service Request Area Format

    Service request area format Set a setting value specified for each service in Service request area to execute each service. The following table lists Service request area formats. Classification Buffer memory address Item name Description Setting range (decimal) Service Service request area 1 request area 2 Header...
  • Page 29: Service Response Area Format

    Service response area format A response corresponding to the executed service is stored in Service response area. The following table lists Service response area formats. Classification Buffer memory address (decimal) Item name Description Service Service response area 1 response area 2 Header 57000 to 57001 59250 to 59251...
  • Page 30: Details Of Each Service

    Details of each service The following describes the request format and response format of each service. Network detection (ServiceID: 0001H) This service detects IO devices on the same network as the RJ71PN92 and acquires the number of connected IO devices (up to 128 devices).
  • Page 31 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 32 IO device detection (ServiceID: 0002H) Obtains detailed information of the IO device that has been detected by the network detection. Executing this service once obtains the information of one IO device. Thus, execute this service for the number of IO devices detected in "Network detection" service. ■Request format The following table lists the request formats of this service.
  • Page 33 Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 27028 to 57030 59278 to 59280 MAC address MAC address of the IO device 000000000000H to FFFFFFFFFFFFH The MAC addresses are stored in the following order. •...
  • Page 34 Acyclic communication - Implicit read data record (ServiceID: 0003H) This service reads the specified data from the IO device where the PROFINET module has not been set in the RJ71PN92. ■Request format The following table lists the request formats of this service. Buffer memory address (decimal) Item name Setting value...
  • Page 35 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 36 Acyclic communication - Explicit write data record (ServiceID: 0004H) This service writes the specified data to the IO device where the PROFINET module has been set in the RJ71PN92. ■Request format The following table lists the request formats of this service. Buffer memory address (decimal) Item name Setting value...
  • Page 37 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 38 Acyclic communication - Explicit read data record (ServiceID: 0005H) This service reads the specified data from the IO device where the PROFINET module has been set in the RJ71PN92. ■Request format The following table lists the request formats of this service. Buffer memory address (decimal) Item name Setting value...
  • Page 39 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 40 Alarm request (ServiceID: 0006H) This service reads information of an alarm that has currently occurred in the specific IO device. This service needs to be used with 'IO device alarm management area' (Un\G17025 to Un\G17032) and 'IO device alarm indication area' (Un\G17145 to Un\G17152). ■Request format The following table lists the request formats of this service.
  • Page 41 Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57023 59273 Type Stores an alarm type. The values are as follows. • 0001H: Diagnostics • 0002H: Process • 0003H: Drawing • 0004H: Insertion •...
  • Page 42 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 43 Alarm ACK (ServiceID: 0007H) Sends the alarm ACK to the specific IO device. This service needs to be used with 'IO device alarm management area' (Un\G17025 to Un\G17032) and 'IO device alarm indication area' (Un\G17145 to Un\G17152). ■Request format The following table lists the request formats of this service. Buffer memory address (decimal) Item name Setting value...
  • Page 44 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 45 IO device information acquisition (ServiceID: 0008H) This service reads the IO device information of the specific IO device. ■Request format The following table lists the request formats of this service. Buffer memory address (decimal) Item name Setting value Service request area 1 Service request area 2 50000 to 50001 52250 to 52251...
  • Page 46 ■Response format The following table lists the response formats for when the request of this service has been completed successfully. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 47 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 48 Alarm log acquisition (ServiceID: 0009H) This service reads the alarm log stored in the RJ71PN92. To read multiple alarm logs, execute this service multiple times. This service acquires alarm logs in order from the oldest one. ■Request format The following table lists the request formats of this service. Buffer memory address (decimal) Item name Setting value...
  • Page 49 Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57024 59274 Type Stores an alarm type. The values are as follows. • 0001H: Diagnostics • 0002H: Process • 0003H: Drawing • 0004H: Insertion •...
  • Page 50 The following table lists the response format for when the request of this service has been completed with an error. Buffer memory address (decimal) Item name Stored value Service response area 1 Service response area 2 57000 to 57001 59250 to 59251 RequestID Value set in the request format 57002...
  • Page 51: Alarm Acquisition Function

    Alarm Acquisition Function The RJ71PN92 acquires an alarm that has occurred in the IO device. When the RJ71PN92 receives an alarm of the IO device, it acquires the alarm information and returns the alarm ACK to the IO device. • When an alarm has occurred in the IO device, the alarm information is sent from the IO device to the RJ71PN92.
  • Page 52: Alarm Log Acquisition

    Alarm manual processing This processing stores alarm information in 'IO device alarm indication area' (Un\G17145 to Un\G17152) when the RJ71PN92 has received an alarm from each IO device. The RJ71PN92 acquires alarm information of the IO device and returns the alarm ACK to the IO device by using the alarm request and alarm ACK of the service interface functions.
  • Page 53: Chapter 2 Parameter Settings

    PARAMETER SETTINGS This chapter describes the parameter settings required for communications between the RJ71PN92 and IO devices. Setting Parameters Add the RJ71PN92 in the engineering tool. [Navigation window]  [Parameter]  [Module Information]  Right-click  [Add New Module] The basic settings and refresh settings are included in the module parameter. Select the settings from the tree in the following window and configure them.
  • Page 54: Basic Settings

    Basic Settings Set the operation mode, IP address, and other items of the RJ71PN92. Various Operations Settings Set the operation mode of the RJ71PN92. Item Description Setting range Mode Settings Set the operation mode of the RJ71PN92. • Online • Online: Normal operation mode •...
  • Page 55 Own Node Setting Set the IP address and name of the RJ71PN92. Item Description Setting range IP Address IP Address Set the IP address of the RJ71PN92. • Blank Setting Set the IO devices which exchange data with the RJ71PN92 so that they have •...
  • Page 56: Profinet Module Settings (starting Gx Configurator-pn)

    PROFINET Module Settings (Starting GX Configurator-PN) Start GX Configurator-PN to set PROFINET communication parameters. [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  [PROFINET Module Setting] For details, refer to the following. Page 63 GX Configurator-PN While GX Configurator-PN is running, another GX Configurator-PN cannot be started. Verifying the PROFINET module setting Verify the project data set in GX Configurator-PN and the parameter written to the RJ71PN92.
  • Page 57: Refresh Settings

    Refresh Settings The refresh automatically transfers data between the buffer memory areas related to the I/O data exchange of the RJ71PN92 and the devices of the CPU module. When the auto refresh setting is set, a global label related to the RJ71PN92 is automatically generated. The device set in the auto refresh setting is assigned to this generated label.
  • Page 58: Assignment Method

    Assignment method Refresh settings can be assigned in a batch (Batch assignment) or individually (Individual assignment). Batch assignment Specify the start device of the CPU module, and refreshing areas are automatically assigned to each buffer memory area. RJ71PN92 Refresh Buffer memory CPU module Un\G17000 PROFINET management...
  • Page 59: Setting Items

    Setting items Set refresh target devices of the CPU module. Select "Use autorefresh" to enable the settings. Item Description Setting range Use autorefresh Select to enable or disable the refresh settings. • Not selected • Not selected: The refresh settings are disabled. •...
  • Page 60: Refresh Timing

    Refresh timing Set the refresh timing in the module parameter. [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  [Module Parameter]  [Refresh Setting] Item Description Setting range Refresh Timing Set the refresh timing. • At the Execution Time of END Instruction •...
  • Page 61: Refresh Processing Time

    Refresh processing time The refresh processing time [s] is an element that configures the scan time of the CPU module. For the scan time, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) The following shows a formula to calculate the refresh processing time [s] with the refresh settings enabled. •...
  • Page 62: Updating Profinet Labels

    Updating PROFINET Labels When the IO device is registered and the item name is set in GX Configurator-PN, update global labels and structure related to the RJ71PN92 and compile them in the engineering tool. For item names of IO devices, refer to the following. Page 91 List of items Precautions •...
  • Page 63: Writing Parameters

    Writing Parameters The parameters set in the engineering tool have different write destinations. Parameter type Configuration tool Write destination Module parameter GX Works3 CPU module PROFINET module setting GX Configurator-PN RJ71PN92 For writing parameters to the CPU module, refer to the following. ...
  • Page 64: Precautions

    Precautions This section describes precautions related to parameter settings. Verifying projects Projects including an RJ71PN92 cannot be verified. Reading, verifying, and deleting the PROFINET module setting These operations cannot be performed in the window for writing the PROFINET module setting. To perform the operations, use the following methods.
  • Page 65: Chapter 3 Gx Configurator-pn

    GX Configurator-PN This chapter describes GX Configurator-PN. Window Structure The following figure shows the window structure. Name Reference IO controller settings  Device Library Page 68 Device Library Network Detection Page 73 Network Detection Network configuration settings Page 77 Network configuration settings List of items Page 91 List of items List of operation information...
  • Page 66: Menu

    Menu The following table lists the menu items of GX Configurator-PN. Menu Description Reference File Saves a project and configures print setting and window structure. Page 65 File Description Not supported in the RJ71PN92.  Library Adds GSDML files, displays file information, and adds or deletes IO Page 66 Library devices.
  • Page 67 File This menu item saves a project and configures print setting and window structure. Item Description Save Saves a GX Configurator-PN project. List and Print Opens the "Preview or Print Listings" window. ( Page 65 "Preview or Print Listings" window) Preferences Selects a window structure layout and "Advanced Mode".
  • Page 68 Library This menu item adds GSDML files, displays file information, and adds or deletes IO devices. This action can be performed when the [Device Library] tab is selected. Item Description Opens the GSDML Management wizard to add GSDML files. ( Page 69 Adding IO devices) Delete Deletes selected IO devices from "Device Library".
  • Page 69 Devices This menu item adds or deletes selected IO devices, enables or disables the settings of IO devices, and enables or disables diagnostic mode. Item Description Duplicate Adds a copy of a selected IO device in the network configuration settings. Delete Deletes selected IO devices.
  • Page 70: Device Library

    Device Library "Device Library" lists the IO devices added in GX Configurator-PN. The IO devices added in "Device Library" can be added to the network configuration settings. When IO device information is displayed at execution of Network Detection, the information of the IO devices added in "Device Library"...
  • Page 71 "Sort Device Library" window Select the display order of the IO devices added in "Device Library". [Library]  [Sort] Item Description By Category Displays IO devices according to the categories of main family and product family. By Manufacturer Displays IO devices by IO device manufacturer. By File name Displays IO devices by GSDML file name.
  • Page 72 Select GSDML files to add and click the [Next] button. Item Description Setting range Add File(s) Select this item to add the selected GSDML files. (Multiple GSDML files can be added at a • Selected time.) • Not selected Click the [Browse] button and select GSDML files. (Default: Selected) Add all the GSDML from the Select this item to add all GSDML files in a selected folder.
  • Page 73 The "GSDML Management" window displays the addition result of the GSDML files added in "Device Library". Check that the files have been properly added and click the [Next] button. (When the files have been properly added, OK is displayed in the "Status" field.) Selecting an added GSDML file and clicking the [View Selected File] button display information of the GSDML file in a text file.
  • Page 74 GSDML file information The following window displays GSDML file information of IO devices. Select an IO device in "Device Library".  [Library]  [Properties] Item Description [Check GSDML] button Opens the "Check GSDML" window. Click the [Check] button to check if the contents of the GSDML files comply with the PROFINET GSDML specifications.
  • Page 75: Network Detection

    Network Detection "Network Detection" detects IO devices on the network and configures PROFINET settings online. Select the [Network Detection] tab.  [Network]  [Read Network Configuration] Description Indicates the RJ71PN92. Since the RJ71PN92 is not an IO device, it cannot be added in the network configuration settings. When this IO device supports the non-connected type Acyclic communication (Implicit Read), slots and sub slots that configure the IO device are also displayed.
  • Page 76 Properties of an IO device Display the properties of an IO device in "Network Detection". Select an IO device in "Network Detection".  [Network]  [Properties] Item Description GSDML Name Displays the GSDML filename of the IO device. Device Name Displays the name of the IO device.
  • Page 77 "Devices on the Network" window The "Devices on the Network" window detects IO devices on the network and sets the names of the IO devices and TCP/IP settings. [Network]  [Online Action] (16) (10) (11) (12) (17) (13) (14) (15) (18) Item Description...
  • Page 78 Item Description Setting range  (11) Client Identifier Not supported in the RJ71PN92. (12) IP Address Displays the IP address of the selected IO device. 0.0.0.0 to 255.255.255.255 When setting the IP address of the selected IO device, enter a new IP address and click (Default: IP address of the the [Apply] button.
  • Page 79: Network Configuration Settings

    Network configuration settings Check the IO device setting and the connection status. Display area Display example Description PROFINET IO (1) IP address of the RJ71PN92 controller display (2) Name of the RJ71PN92 area IO device display (1) IO device ID of the IO device area (2) Name of the IO device (3) Product name of the IO device...
  • Page 80 "Channel Properties" window Set the timer used for the PROFINET communications. Perform the following actions to display this window. Select "RJ71PN92" in the network configuration settings.  [Devices]  [Properties] Item Description Setting range  Send Clock Factor Sets a send clock factor. The send clock factor is used to calculate 1 to 128 Refresh Period of each IO device.
  • Page 81 "Display Option" window The display of the IO devices in the network configuration settings can be changed. Perform the following actions to display this window. [Devices]  [Options] Item Description Setting range Display device IP address in tree Displays the IP address of each IO device in the tree of the network •...
  • Page 82 IP address management window Set the IP address and other items of the RJ71PN92. Perform the following actions to display this window. Select the PROFINET IO controller display area in the network configuration settings.  [Devices]  [Properties] ■[General] tab This tab displays the address settings of the RJ71PN92.
  • Page 83 ■[IP Address Manager] tab This tab manages the IP address assignment to the connected IO devices on PROFINET. When this setting is enabled, the IP address of each IO device is automatically assigned within the set IP address range. To change the settings, select "Enable this Service". Item Description Setting range...
  • Page 84 IO device setting window Set the IO device parameter. Select the IO device display area in the network configuration settings.  [Devices]  [Properties] ■[General Configuration] tab Set the parameters such as an IO device name and IP address. Item Description Setting range Name...
  • Page 85 Item Description Setting range Device Name Sets an IO device name used for the PROFINET communications. Up to 240 one-byte alphanumeric This name should be the same with the name set on the "Devices on the characters Network" window in GX Configurator-PN. ( Page 75 "Devices on the (Default: Name of the current IO Network"...
  • Page 86 ■[Module Configuration] tab Set the module of the IO device. When an IO device has been added by "Network Detection", a module is registered automatically in "Configured Modules". When an IO device has been added from "Device Library", refer to this section and add a module.
  • Page 87 • "Module Configuration" window [Parameters] tab Set the parameters of the module. Setting items of a parameter vary depending on the module. [Information] tab This tab displays module information. Item Description Setting range  Information Displays module information. Items to be displayed vary depending on the module.
  • Page 88 ■[Parameters] tab Set the parameter specific to the IO device. Item Description Setting range Refresh Period Sets the sending interval and receiving interval of the I/O data exchange. • 1 (Unit: ms) • 2 • 4 • 8 • 16 •...
  • Page 89 The following table lists the setting ranges of "Refresh Period" for when the value set in "Send Clock Factor" is 32. Fixed value "Refresh Period" value 16ms 32ms 64ms 128ms 256ms 512ms 3 GX Configurator-PN 3.1 Window Structure...
  • Page 90 ■[Connection Information] tab This tab displays the online status information of the IO device. This tab can be used when diagnostic mode is enabled. ( Page 67 Devices) Item Description Setting range  Connection State Displays the connection status between the RJ71PN92 and IO device. ...
  • Page 91 ■[I/O Data] tab This tab displays the I/O data status of the IO device. This tab can be used when diagnostic mode is enabled. ( Page 67 Devices) Item Description Setting range Status Displays the connection status between the RJ71PN92 and IO device. ...
  • Page 92 ■[GSDML File] tab This tab displays GSDML file information. Item Description Setting range  [View or Print GSDML File] button Displays GSDML file information in the text format. This button is the same as the [View or Print GSDML File] button for the GSDML file information of an IO device in "Device Library".
  • Page 93: List Of Items

    List of items I/O data of IO devices is stored in multiple blocks called items. An item name is preset for each item. When IO devices are added in GX Configurator-PN and PROFINET labels are updated in the engineering tool, the global label names of the following buffer memory addresses will be the item names of the registered IO devices.
  • Page 94 "Item Properties" window This window displays item parameters individually, and items can be renamed. Perform the following actions to display this window. Select the item display area in the network configuration settings.  Select an item name in the list of items.  [Items]  [Properties] Item Description...
  • Page 95 "Items Declaration" window The item configuration can be changed in this window. The changed configuration is reflected to the global labels related to the I/O data exchange. Perform the following actions to display this window. Select the item display area in the network configuration settings.  [Devices]  [Properties] Item Description Setting range...
  • Page 96 ■"Item Name Definition" window Set the name and data type of the item. Item Description Setting range New Item(s) Data Type Selects a data type of the item. • Byte(8bits) • Word(16bits) • Dword(32bits) • IEEE float (Default: Byte(8bits)) Define Selected Area As Selects whether or not to set the array type as the data type of •...
  • Page 97 Note that the position of the memory area may change when the data type of an item is changed. The following data types are assigned consecutively to the memory areas in increments of 16 or 32 bits. Insert padding so that the data type assignment always starts from a word boundary even though the data type is changed.
  • Page 98 ■"Items Declaration" window Set items in units of bits. Information to be displayed varies depending on the item type. • Discrete Input Items: Displays items in the input data area. • Discrete Output Items: Displays items in the output data area. Item Description Setting range...
  • Page 99: List Of Operation Information

    List of operation information This list displays the operations performed in GX Configurator-PN and error messages. "Output Message View Configuration" window Set the information to be displayed in the list of operation information. Perform the following actions to display this window. [File] ...
  • Page 100: Procedure Of Registering Io Devices

    Procedure of Registering IO Devices This section describes the procedure of adding IO devices in the PROFINET setting. IO devices can be added both online and offline. When adding IO devices online When adding IO devices online, meet the following conditions. If an IO device name and IP address do not meet the conditions, set them again in the "Devices on the Network"...
  • Page 101: When Adding Io Devices Offline

    When adding IO devices offline When adding IO devices offline, the PROFINET setting can be configured without the RJ71PN92 and IO devices. However, check the names of the IO devices used and the network configuration in advance. Add the IO devices used in "Device Library". ( Page 69 Adding IO devices) Add IO devices in the network configuration settings.
  • Page 102: Gx Configurator-pn Backup File

    GX Configurator-PN Backup File A backup file that contains the saved PROFINET module setting can be created in GX Configurator-PN. Backup with GX Works3 The PROFINET module setting which is set with GX Works3 can be exported as a backup file and imported to another project.
  • Page 103 ■Importing a backup file (Import GX Configurator-PN Backup File) Click "Import GX Configurator-PN Backup File". [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  Right-click  [Import GX Configurator-PN Backup File] Select a backup file to be imported and click the [Open] button. 3 GX Configurator-PN 3.3 GX Configurator-PN Backup File...
  • Page 104: Backup With The Rj71pn92

    Backup with the RJ71PN92 The PROFINET module setting which is written in the RJ71PN92 can be read as a backup file and written to another RJ71PN92. The extension of the backup file is ".zip". Note that the backup file cannot be checked in GX Configurator-PN. This function is used when a project file of GX Works3 with the GX Configurator-PN setting is lost.
  • Page 105 ■Writing a backup file (Download Config. Image) Click "Download Config. Image". [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  Right-click  [Download Config. Image] Select a backup file to be downloaded and click the [Open] button. Precautions The backup file from the RJ71PN92 is a compressed file (*.zip). Write the file without decompressing it. 3 GX Configurator-PN 3.3 GX Configurator-PN Backup File...
  • Page 106: Checking The Software Version

    Checking the Software Version Check the software version of GX Configurator-PN in the following window. [Help]  [About] 3 GX Configurator-PN 3.4 Checking the Software Version...
  • Page 107: Chapter 4 Programming

    PROGRAMMING This chapter describes the programming examples of the data consistency function, service interface function, and alarm acquisition function between the RJ71PN92 and the IO device. For the I/O data exchange between the RJ71PN92 and the IO device, refer to the following. ...
  • Page 108: Setting Parameters

    Setting parameters Connect the engineering tool with the CPU module and set the parameters. Module parameter setting Set the CPU module as follows. [Project]  [New] Click the [OK] button to add the module labels of the CPU module. Set the RJ71PN92 as follows. [Navigation window] ...
  • Page 109 Set the items in "Basic Setting" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  [Module Parameter]  [Basic Setting] PROFINET module setting Start GX Configurator-PN from the engineering tool. [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  [PROFINET Module Setting] Open the "GSDML Management"...
  • Page 110 Click the [Browse] button. Select the GSDML file and click the [Open] button. Click the [Next] button. 4 PROGRAMMING 4.2 Setting parameters...
  • Page 111 The result of the GSDML file addition to "Device Library" is displayed. Click the [Next] button. Click the [Finish] button to exit the GSDML Management wizard. Select IM151-3 PN V2.0 in "Device Library" to add it in the network configuration setting. Select IM151-3 PN V2.0 in "Device Library".
  • Page 112 Set the parameters of IO device in the IO device setting window. (The IO device setting window pops up when IM151-3 PN V2.0 is added in the network configuration setting from "Device Library".) • [General Configuration] tab • [Module Configuration] tab Save the set project of GX Configurator-PN.
  • Page 113 Updating global labels and structures Update global labels and structures related to the RJ71PN92. [Navigation window]  [Parameter]  [Module Information]  [RJ71PN92]  Right-click  [Update PROFINET Label] Covert or rebuild programs. [Convert]  [Convert] or [Rebuild All] Write the set parameters to the CPU module and the RJ71PN92. Then reset the CPU module or power off and on the system.
  • Page 114: Checking The Network Status

    Checking the Network Status After execution of the program, if the LEDs and corresponding bits of each IO device in buffer memory areas are in the following condition, the communications are normally performed. For the program, refer to the following. Page 113 Program Example of the Data Consistency Function Page 117 Program Example of the Service Interface Function Page 119 Program Example of the Alarm Acquisition Function...
  • Page 115: Program Example Of The Data Consistency Function

    Program Example of the Data Consistency Function This section provides a program example using the data consistency function. Input data consistency Classification Label name Description Device Module label RCPU.stSM.bAlways_ON Always ON SM400 Global label that glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest Data exchange start request U0\G17000.0 was updated in glRJ71PN92_1.stMgmtOutputs.bnSet_DataConsistencySetting[1]...
  • Page 116 (35) Program to read input data from IO device 1 4 PROGRAMMING 4.4 Program Example of the Data Consistency Function...
  • Page 117: Output Data Consistency

    Output data consistency Classification Label name Description Device Module label RCPU.stSM.bAlways_ON Always ON SM400 Global label that glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest Data exchange start request U0\G17000.0 was updated in glRJ71PN92_1.stMgmtOutputs.bnSet_DataConsistencySetting[1] Data consistency setting area U0\G17033.1 the RJ71PN92 Data consistency valid/invalid (IO device ID1) glRJ71PN92_1.stMgmtOutputs.bnReq_IODevicesHandshakeOutputRequest[1] CPU to PN handshake flag (data U0\G17049.1...
  • Page 118 (35) Program to write output data to IO device 1 4 PROGRAMMING 4.4 Program Example of the Data Consistency Function...
  • Page 119: Program Example Of The Service Interface Function

    Program Example of the Service Interface Function This section provides a program example using the service interface function. Classification Label name Description Device Global label that glRJ71PN92_1.stMgmtInputs.bSts_ConfigurationStatus Parameter setting status U0\G17118.0 was updated in glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest Data exchange start request U0\G17000.0 the RJ71PN92 glRJ71PN92_1.stMgmtOutputs.bnReq_ServiceIFExecutionRequest Service execution request...
  • Page 120 4 PROGRAMMING 4.5 Program Example of the Service Interface Function...
  • Page 121: Program Example Of The Alarm Acquisition Function

    Program Example of the Alarm Acquisition Function This section provides a program example using the alarm acquisition function. Classification Label name Description Device Global label that glRJ71PN92_1.stMgmtInputs.bSts_ConfigurationStatus Parameter setting status U0\G17118.0 was updated in glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest Data exchange start request U0\G17000.0 the RJ71PN92 glRJ71PN92_1.stMgmtOutputs.bnSet_IODevicesAlarmManagement[1] IO device alarm management area (IO...
  • Page 122 4 PROGRAMMING 4.6 Program Example of the Alarm Acquisition Function...
  • Page 123 4 PROGRAMMING 4.6 Program Example of the Alarm Acquisition Function...
  • Page 124: Chapter 5 Troubleshooting

    TROUBLESHOOTING This section describes troubleshooting of the RJ71PN92. Checking with LED This section describes troubleshooting using the LEDs. Error status can be determined by status of the RUN LED and the ERR LED. RUN LED ERR LED Error status Description On, flashing Major error An error such as hardware failure or memory failure.
  • Page 125 When the PN RUN LED turns off When the PN RUN LED turns off, check the following. Check item Action Is 'Data exchange start request' (Un\G17000.0) off? Turn on 'Data exchange start request' (Un\G17000.0). Is 'Module status' (Un\G17118 to Un\G17119) as follows? •...
  • Page 126: Checking The Module Status

    Checking the Module Status The following functions can be used in the "Module Diagnostics" window for the RJ71PN92. Function Application Error Information Displays the details of the errors currently occurring. Click the [Event History] button to check the history of errors that have occurred on the RJ71PN92, errors detected for each module, and operations that have been executed.
  • Page 127 Module Information List Switch to the [Module Information List] tab to check various status information of the RJ71PN92. Item Description LED information Displays the LED status of the RJ71PN92. Device Information MAC address (1st Octet) Displays the MAC address of the selected module. MAC address (2nd Octet) MAC address (3rd Octet) MAC address (4th Octet)
  • Page 128: Checking The Network Status

    Checking the Network Status The PROFINET network status can be diagnosed by checking the buffer memory or using the network diagnostics of GX Configurator-PN. Checking with the buffer memory The connection status and error details of IO devices can be checked. Connection status of IO devices The connection status of IO devices can be checked with the corresponding bit of 'IO device communication status' (Un\G17153 to Un\G17160) and 'IO device error' (Un\G17161 to Un\G17168).
  • Page 129 'IO device 'IO device error' 'IO device error Error details of IO devices Action communication (Un\G17161 to details' status' U\G17168) (Un\G21858 to (Un\G17153 to Un\G21921) Un\G17160) Overlap of IP addresses of IO devices is detected during Check the duplicated IP the DCP identification request.
  • Page 130: Network Diagnostics Of Gx Configurator-pn

    Network diagnostics of GX Configurator-PN The connection information of IO devices and the status of I/O data exchange can be checked by accessing the RJ71PN92 via Ethernet using the network diagnostics of GX Configurator-PN. For details on GX Configurator-PN, refer to the following. Page 63 GX Configurator-PN An execution request is sent from GX Configurator-PN via the RJ71PN92 for the network diagnostics of GX Configurator-PN.
  • Page 131 Checking the connection information of IO devices The following describes how to check the connection information of IO devices. Display the IO device setting window. Select the IO device display area in the network configuration setting.  [Devices]  [Properties] Select the [Connection Information] tab.
  • Page 132 Monitoring I/O data in IO data exchange The following describes how to monitor I/O data in IO data exchange. Display the IO device setting window. Select the IO device display area in the network configuration setting.  [Devices]  [Properties] Select the [I/O Data] tab.
  • Page 133: Automatic Hardware Test

    Automatic Hardware Test This section describes how to perform a test related to hardware, such as a ROM/RAM/Ethernet port of the RJ71PN92. • During the automatic hardware test, values in the buffer memory cannot be referred from the engineering tool or the program. •...
  • Page 134: Troubleshooting By Symptom

    Troubleshooting by Symptom This section describes troubleshooting method by symptom. If an error has occurred in the RJ71PN92, identify the error cause using the engineering tool. ( Page 124 Checking the Module Status) When I/O data exchange cannot be performed The following lists the actions to be taken if I/O data exchange with IO devices cannot be performed.
  • Page 135 When communications cannot be performed by using the service interface function The following lists the actions to be taken if communications with IO devices cannot be performed by using the service interface function. Check item Action Is the wiring of PROFINET correct? Check if the wiring of PROFINET is correct.
  • Page 136 When communications with the devices cannot be performed by GX Configurator-PN The following lists the actions to be taken if communications with the external device (RJ71PN92 or IO device) cannot be performed from GX Configurator-PN. Check item Action Is the cable connected correctly? Connect the cable again.
  • Page 137: List Of Error Codes

    List of Error Codes This section lists the error codes, error details and causes, and actions for the errors that occur in the processing for data exchange between the RJ71PN92 and IO devices or that caused by processing requests from the CPU module on the own station.
  • Page 138 Error Error details and causes Action Detailed Information code 24C8H An error was detected on the system bus. • Take measures to reduce noise.  • Reset the CPU module. If the error occurs again even after the above is taken, the possible cause is a hardware failure of the RJ71PN92 or extension cable.
  • Page 139 Error Error details and causes Action Detailed Information code 3E11H An error was detected in the memory. • Take measures to reduce noise. Failure information • Reset the CPU module. If the error occurs again even after the above is taken, the possible cause is a hardware failure of the CPU module.
  • Page 140: Event List

    Event List This section lists the events which occur in the RJ71PN92. Event Event type Overview Cause code 20100 Operation Error clear An error was cleared. 21800 Operation PROFINET information An error occurred in the IO device. 5 TROUBLESHOOTING 5.7 Event List...
  • Page 141: Appendices

    APPENDICES Appendix 1 I/O Signals This section describes the I/O signals for the CPU module. The I/O signal assignment of when the start I/O number of the RJ71PN92 is "0" is listed below. List of I/O signals The following table lists I/O signals. The device X is an input signal from the RJ71PN92 to the CPU module. The device Y is an output signal from the CPU module to the RJ71PN92.
  • Page 142: Details Of Input Signals

    Details of input signals Module ready (X0) After the CPU module is powered off and on or is reset, this signal turns on at the completion of RJ71PN92 preparation. This signal turns off at the occurrence of a watchdog timer error. •...
  • Page 143: Appendix 2 Buffer Memory

    Appendix 2 Buffer Memory The buffer memory is used to exchange data between the RJ71PN92 and the CPU module or I/O devices. Buffer memory values are defaulted when the CPU module is powered off or reset. List of buffer memory addresses Address (decimal) Address Name...
  • Page 144: Corresponding List Of Buffer Memory Areas And Global Labels

    Corresponding list of buffer memory areas and global labels Name Global label  Current error area (Un\G140) Data exchange start request (Un\G17000.0) glRJ71PN92_1.stMgmtOutputs.bReq_DataExchangeStartRequest IO device data exchange start method setting area (Un\G17001 to glRJ71PN92_1.stMgmtOutputs.bnSet_DataExchangeStartMethodSetting Un\G17008) IO device data exchange management setting area (Un\G17009 to glRJ71PN92_1.stMgmtOutputs.bnSet_DataExchangeManagementSetting Un\G17016) IO device data exchange management execution request...
  • Page 145 Name Global label Service request area 1 RequestID (Un\G50000 to glRJ71PN92_1.stServiceIFRequestArea1_D.udVal_RequestID_D (Un\G50000 to Un\G52087) Un\G50001) ServiceID (Un\G50002) glRJ71PN92_1.stServiceIFRequestArea1_D.uVal_ServiceID_D Status (Un\G50003) glRJ71PN92_1.stServiceIFRequestArea1_D.uVal_Status_D DeviceID (Un\G50004 to glRJ71PN92_1.stServiceIFRequestArea1_D.udVal_DeviceID_D Un\G50005) API (Un\G50006 to Un\G50007) glRJ71PN92_1.stServiceIFRequestArea1_D.udVal_API_D SlotNumber (Un\G50008) glRJ71PN92_1.stServiceIFRequestArea1_D.uVal_SlotNumber_D SubslotNumber (Un\G50009) glRJ71PN92_1.stServiceIFRequestArea1_D.uVal_SubslotNumber_D Index (Un\G50010) glRJ71PN92_1.stServiceIFRequestArea1_D.uVal_Index_D Data length(byte) (Un\G50011) glRJ71PN92_1.stServiceIFRequestArea1_D.wVal_DataLength_D PnDeviceID (Un\G50012)
  • Page 146: Details Of Buffer Memory Addresses

    Details of buffer memory addresses The following describes the buffer memory addresses of the RJ71PN92. Current error area ■Current error area (Un\G140) An error code is stored. Data exchange start request ■Data exchange start request (Un\G17000) Set to start or stop the I/O data exchange of the RJ71PN92. Address Name Description...
  • Page 147 IO device data exchange management setting area ■IO device data exchange management setting area (Un\G17009 to Un\G17016) Set to start or stop the I/O data exchange with each IO device. The setting of this area is applied to the IO device where I/O data exchange manual start is set in 'IO device data exchange start method setting area' (Un\G17001 to Un\G17008).
  • Page 148 IO device alarm management area ■IO device alarm management area (Un\G17025 to Un\G17032) Set a method of managing alarms of each IO device. • 0: Alarm automatic processing This processing automatically returns the alarm ACK to the alarm that has been received from each IO device. 'IO device alarm indication area' (Un\G17145 to Un\G17152) is not used.
  • Page 149 CPU to PN handshake flag (data consistency setting output area) ■CPU to PN handshake flag (data consistency setting output area) (Un\G17049 to Un\G17056) This flag is used when the data consistency function is executed. For details on data consistency function, refer to the following.
  • Page 150 IO device data exchange management execution completion ■IO device data exchange management execution completion (Un\G17120 to Un\G17127) The execution request status of the I/O data exchange with each IO device is stored. The setting of this area is applied to the IO device where I/O data exchange manual start is set in 'IO device data exchange start method setting area' (Un\G17001 to Un\G17008).
  • Page 151 Service execution status ■Service execution status (Un\G17144) The execution status of the service requested with 'Service execution request 1, Service execution request 2' (Un\G17057) is stored. Address Name Description Un\G17144 Service request area 1 execution 0: Service not executed or completed request completion bit 1: Service completed Response results from the IO device is stored in Service response area 1.
  • Page 152 IO device communication status ■IO device communication status (Un\G17153 to Un\G17160) The communication status of each IO device is stored. • 0: Communication unexecuted • 1: During communication Address Un\G17153  Un\G17160 Each number in the table represents an IO device ID. Each bit corresponds to the IO device ID. For IO device IDs, refer to the following.
  • Page 153 Module error details ■Module error details (Un\G17169) The communication error status of PROFINET is stored. Stored value PN ERR LED Error details and causes Action 3030H During normal communications  with all IO devices Flashing One or more IO devices are not Correct the PROFINET module setting and write it in the RJ71PN92 again.
  • Page 154 IO device error details ■IO device error details (Un\G21858 to Un\G21921) Error details of each IO device are stored. For details on error details of each IO device, refer to the following. Page 126 Error details of IO devices Address Un\G21858 Error details of the IO device (IO device ID: 1) Error details of the IO device (IO device ID: 0)
  • Page 155: Appendix 3 Processing Time

    Appendix 3 Processing Time Transmission delay time The following are the formulas to calculate transmission delay time of I/O data exchange. Note that the processing time may be prolonged depending on the load ratio of the network (line congestion degree), processing performance of connected devices, and the system configuration.
  • Page 156: Index

    INDEX ......150 IO device error ....152 IO device error details Acyclic communication - explicit read data record .
  • Page 157 MEMO...
  • Page 158: Revisions

    Japanese manual number: SH-081678-B This manual confers no industrial property rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 159: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 160: Trademarks

    TRADEMARKS PROFINET is a trademark of PROFIBUS Nutzerorganisation e.V. The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual.
  • Page 162 SH(NA)-081680ENG-B(1809)MEE MODEL: RJ71PN92-U-OU-E MODEL CODE: 13JX60 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

Comments to this Manuals

Symbols: 0
Latest comments: