Download  Print this page

Mitsubishi Electric MELSEC iQ-R AnyWireASLINK User Manual

Master module.
Hide thumbs

Advertisement

MELSEC iQ-R AnyWireASLINK Master Module
User's Manual (Application)
-RJ51AW12AL

Advertisement

Table of Contents

   Related Manuals for Mitsubishi Electric MELSEC iQ-R AnyWireASLINK

   Summary of Contents for Mitsubishi Electric MELSEC iQ-R AnyWireASLINK

  • Page 1 MELSEC iQ-R AnyWireASLINK Master Module User's Manual (Application) -RJ51AW12AL...
  • Page 3: Copyright

    Electric Corporation. Reproduction of this document or parts of this document is only permissible within the limits of the legal determination of Copyright Law. Alteration or abridgement of the document is not permitted without the explicit written approval of the company Mitsubishi Electric Corporation. PRECAUTIONS REGARDING WARRANTY AND SPECIFICATIONS The RJ51AW12AL was jointly developed and manufactured by Mitsubishi and Anywire Corporation.
  • Page 4: 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 5 [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 6 [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 7 [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 8 [Wiring Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before installation and wiring. Failure to do so may result in electric shock or cause the module to fail or malfunction. ● After installation and wiring, attach a blank cover module (RG60) to each empty slot and an included extension connector protective cover to the unused extension cable connector before powering on the system for operation.
  • Page 9 [Wiring Precautions] CAUTION ● When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable with connector, hold the connector part of the cable. For the cable connected to the terminal block, loosen the terminal screw.
  • Page 10 [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 11 [Operating Precautions] CAUTION ● When changing data and operating status, and modifying program of the running programmable controller from an external device such as a personal computer connected to an intelligent function module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or modification may cause system malfunction, damage to the machines, or accidents.
  • Page 12: Conditions Of Use For The Product

    Mitsubishi representative in your region. INTRODUCTION Thank you for purchasing the Mitsubishi Electric MELSEC iQ-R series programmable controllers. This manual describes the functions, programming, and troubleshooting of the relevant product listed below. 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.
  • Page 13: Table Of Contents

    CONTENTS COPYRIGHT ................1 PRECAUTIONS REGARDING WARRANTY AND SPECIFICATIONS .
  • Page 14 CHAPTER 3 PROGRAMMING Precautions on Programming ............. 62 Communication Example When the Slave Module is Added or Deleted .
  • Page 15: Relevant Manuals

    RELEVANT MANUALS Manual name [manual number] Description Available form MELSEC iQ-R AnyWireASLINK Master Module User's Functions, parameter settings, programming, troubleshooting, I/O signals, and Print book Manual (Application) buffer memory of the AnyWireASLINK master module e-Manual [SH-081585ENG] (this manual) MELSEC iQ-R AnyWireASLINK Master Module User's...
  • Page 16: Terms

    TERMS Unless otherwise specified, this manual uses the following terms. Term Description Address A setting value assigned to a slave module to identify each node on the AnyWireASLINK network Address writer A hand-held device to read/write device parameters (including addresses) from/to a slave module AnyWireASLINK A reduced wiring network where sensors at the end of a control system are connected to a programmable controller.
  • Page 17: Generic Terms And Abbreviation

    GENERIC TERMS AND ABBREVIATION Unless otherwise specified, this manual uses the following generic terms and abbreviations. Term Description AnyWireASLINK bridge module A generic term for the NZ2AW1C2AL and NZ2AW1GFAL AnyWireASLINK master module A generic term for the RJ51AW12AL, QJ51AW12AL, and LJ51AW12AL ASLINKAMP A generic term for sensor amplifiers that have an AnyWireASLINK interface ASLINKER...
  • Page 18: Chapter 1 Functions

    FUNCTIONS AnyWireASLINK Transmission The AnyWireASLINK is a high-speed and highly reliable system which releases the work site from complicated and incorrect wiring. In AnyWireASLINK, the RJ51AW12AL communicates with slave modules using IDs (addresses) of the slave modules. The IDs (addresses) of the slave modules are stored in the buffer memory of the RJ51AW12AL. ID: 200H X100 U0\G0.0...
  • Page 19: Bit Transmission

    Bit transmission In bit transmission, I/O data of up to 512 bits (input 256 bits, output 256 bits) is exchanged between the RJ51AW12AL and a slave module. Transmission setting Set the number of bit data points to be transmitted in "Basic setting" of the engineering tool. [Navigation window] ...
  • Page 20 Transmission setting Set the number of word data points to be transmitted in "Basic setting" of the engineering tool. [Navigation window]  [Parameter]  [Module Information]  [RJ51AW12AL]  [Basic setting] For details on the setting window, refer to the following. Page 51 Word data point setting When using this function, check the production information of the RJ51AW12AL.
  • Page 21: Double Verification

    Double Verification A double verification is an error control system. In this system, cycle data in AnyWireASLINK transmission is recognized as valid data if the data matches with the data of the last transmission or is ignored as invalid data if the data does not match with the last data.
  • Page 22: Remote Address Change Function

    Remote Address Change Function With this function, an ID (address) of a slave module can be changed using the buffer memory area without an address writer. 0200H 0210H Applicable slave module For the slave modules that support the remote address change function, consult Anywire Corporation. Operating procedure Execute automatic address detection to check that no error has occurred in the AnyWireASLINK system.
  • Page 23: Same Id Used Detection Function

    Same ID Used Detection Function This function checks whether the same ID is used for multiple slave modules through automatic address detection or same address used check. The LEDs of the relevant slave modules are forcibly turned on. • ID duplications are detected through automatic address detection or same address used check. If the CPU module is reset or the power is turned off after ID duplication detection, the same ID used status cannot be checked until automatic address detection or same address used check is executed again.
  • Page 24 How to check the same ID used status When the AnyWireASLINK system is in the following status, the same ID is used for multiple modules. Even in the same ID used status, the AnyWireASLINK transmission does not stop. • 'Slave module alarm signal' (X10) turns on. •...
  • Page 25: Module With No Id Setting Detection Function

    Module with No ID Setting Detection Function This function detects slave modules with no ID assigned (default ID) through automatic address detection or same address used check. *1*2 Module Default ID Input slave module, I/O combined slave module 02FFH Output slave module 00FFH *1 Bit slave modules and word slave modules have the same default ID.
  • Page 26 How to check the no ID number setting status When the AnyWireASLINK system is in the following status, no ID number setting status is detected. Even in the no ID number setting status, the AnyWireASLINK transmission does not stop. • 'Slave module alarm signal' (X10) turns on. •...
  • Page 27: Transmission Cable Short Detection Function

    Transmission Cable Short Detection Function This function protects the system by detecting the current out of the specifications of the AnyWireASLINK system across DP- DN or 24V-DP and stopping the transmission. How to check the transmission cable short status When the AnyWireASLINK system is in the following status, a transmission cable short has occurred. •...
  • Page 28: Disconnected Transmission Cable Location Detection Function

    Disconnected Transmission Cable Location Detection Function This function notifies the ID of a slave module that has been separated from the RJ51AW12AL because of disconnection in the transmission cables (DP, DN) between the RJ51AW12AL and the slave module, to locate the disconnection in the transmission cables (DP, DN) from the upper system.
  • Page 29 How to recover from the transmission cable disconnection status How to recover from the transmission cable disconnection status is as follows. Eliminate the disconnection in the AnyWireASLINK system. When the disconnection status is exited, the AnyWireASLINK transmission resumes automatically. When the slave module has been disconnected from the system, execute automatic address detection. ( Page 58 Automatic Address Detection Function) Power off and on the AnyWireASLINK system or turn on and off 'Error flag clear command' (Y0).
  • Page 30: Transmission Cable Voltage Drop Detection Function

    24VDC external power supply or a wiring error from the upper system. For the specifications of the 24VDC external power supply to the RJ51AW12AL, refer to the following.  MELSEC iQ-R AnyWireASLINK Master Module User's Manual (Startup) How to check the transmission cable voltage drop status When the AnyWireASLINK system is in the following status, a voltage drop in the 24VDC external power supply has been detected.
  • Page 31: Parameter Access Error Detection Function

    Parameter Access Error Detection Function This function allows parameter access errors to be detected. • Slave module hardware error (error code: 0D2CH, 0D2DH) • Parameter access target module ID error (error code: 0D2EH) • Parameter value error (error code: 0D2FH) •...
  • Page 32 How to recover from the parameter access error status For recovery from the parameter access error status, refer to the following. Page 80 List of Error Codes To recover from the parameter access error status, eliminate the error cause, and power off and on the AnyWireASLINK system or turn off and on 'Error flag clear command' (Y0).
  • Page 33: Error Status Automatic Recovery Function

    1.10 Error Status Automatic Recovery Function This function allows for automatic error reset for DP/DN disconnection errors and parameter access errors after the error status is cleared. If this function is not used, it is necessary to eliminate the error cause, and power off and on the AnyWireASLINK system or turn on and off 'Error flag clear command' (Y0).
  • Page 34: Slave Module Information Acquisition At Start-up Function

    1.11 Slave Module Information Acquisition at Start-up Function This function allows for automatic acquisition of information of slave modules when the CPU module is reset or the power is turned off and on. The slave module information acquisition at start-up function eliminates the needs for reading parameters from slave modules.
  • Page 35: Slave Module Parameter Read/write

    1.12 Slave Module Parameter Read/Write In the AnyWireASLINK transmission, in addition to I/O data, parameter information of a slave module and the AnyWireASLINK system is sent and received between the RJ51AW12AL and the slave module. Use this function to check or change parameter information of a slave module. For details on the parameter information to be communicated, refer to the following.
  • Page 36 Parameter access The operating procedure for parameter access is as follows. ■To read parameters Set the access method. Store 0000H (read) in 'Parameter access setting' (Un\G10320). Set the access target ID. Store the access target ID in 'Parameter access target module ID specification' (Un\G10321). Description 0000H to 00FEH ID of a bit output slave module...
  • Page 37 ■To write parameters Read the parameters referring to the procedure in "To read parameters" or "Parameter batch read". Before executing parameter write, read the parameters of all slave modules of which IDs have been registered. *1 Because parameter write updates all parameters of target slave modules, all parameters to which no changes are made need to be set correctly.
  • Page 38 Parameter batch read The procedure for parameter batch read is as follows. Turn off and on 'Parameter batch read command for the slave module' (Y11). At this time, 'Parameter access completion flag' (X11) turns off. In addition, 'Parameter accessing flag (with handshake)' (XB) turns on.
  • Page 39 Parameter information storage location The parameter information storage location differs depending on the slave module to be used. Slave module Parameter storage location Parameter information storage memory number location Bit output slave module Un\G10496 to Un\G10751 48 words from the buffer memory start address Bit input slave module or bit I/O combined slave module Un\G11008 to Un\G11263...
  • Page 40 Check of the parameter access completion When parameter access is executed from the RJ51AW12AL to a slave module, the completion of the parameter access can be checked in 'Parameter accessing flag (with handshake)' (XB). The following shows the completion timing of the parameter access using Parameter accessing flag (with handshake)' (XB). When using this function, check the production information of the RJ51AW12AL.
  • Page 41 ■When Y10, Y11, or Y12 is turned off before the parameter access processing starts. Executed by the RJ51AW12AL 'Parameter access request command for the slave module' (Y10), 'Parameter batch read command for the slave module' (Y11), 'Parameter batch write command for the slave module' (Y12) Parameter access processing 'Parameter access completion flag' (X11) 'Parameter accessing flag with handshake' (XB)
  • Page 42 Precautions ■Parameter setting Parameters cannot be set in the following cases. • When an error occurs in the AnyWireASLINK system (Example: Short circuit, 24VDC external power supply voltage drop) • Within approximately five seconds after the AnyWireASLINK system is powered on or system is reset •...
  • Page 43: Easy Replacement Function For One Slave Module

    1.13 Easy Replacement function for One Slave Module When the slave module is replaced with the one of the same type, this function automatically sets the address and the device parameter with no need of using an address writer. When using this function, check the production information of the RJ51AW12AL. ( Page 133 Added or Changed Functions) After the slave module replacement, the RJ51AW12AL checks that the new slave module has the same type as the old one.
  • Page 44 Use conditions The following conditions must be met to use this function. • The RJ51AW12AL supports this function. ( Page 133 Added or Changed Functions) • The new slave module supports this function. • The automatic address detection is performed correctly while "Easy replacement enable/disable setting for one slave module"...
  • Page 45 Timing of slave module replacement The following shows the timing up until the completion of the slave module replacement. Slave module to be replaced Connecting Not connected Slave module unused Connecting connected 24VDC external power supply 'DP/DN disconnection error' (X4) 'Parameter access completion flag' (X11) 'Slave module changing flag' (X16) 'Slave module change completion flag' (X17)
  • Page 46: Word Data Start Address Setting Function

    1.14 Word Data Start Address Setting Function This function sets the start address of the word data transmission. Setting the start address shortens the word transmission cycle time. Unregistered addresses between address 0 and the registered address are accessed during word transmission. Although this access takes extra time for word transmission cycle, setting the number of word data points and transmission start address enhances the efficiency of transmission.
  • Page 47: Anywireaslink Version Compatibility Inspection Function

    1.15 AnyWireASLINK Version Compatibility Inspection Function This function checks whether slave modules not supporting word data are connected to the RJ51AW12AL or not. When using this function, check the production information of the RJ51AW12AL. ( Page 133 Added or Changed Functions) Operating procedure Perform either of the following operations.
  • Page 48 Precautions ■Conditions for performing the AnyWireASLINK version compatibility inspection All the following conditions must be met to perform the AnyWireASLINK version compatibility inspection. • The number of word data points is set to 2 words (1 input word/1 output word) or more. •...
  • Page 49 ■When the inspection is executed by the SET switch SET switch CPU module or power supply Stopping AnyWireASLINK transmission Transmitting the transmission 'AnyWireASLINK version compatibility inspection executing flag' (XD) 'Parameter access completion flag' (X11) Flashing LINK LED On (error completion only) ALM LED Inputting/outputting word data or Stopping...
  • Page 50: Chapter 2 Parameter Settings

    PARAMETER SETTINGS This chapter describes the parameter setting required for the RJ51AW12AL. Parameter Setting Procedure Add the RJ51AW12AL to an engineering tool. [Navigation window]  [Parameter]  [Module Information]  Right click  [Add New Module] The parameter setting includes a basic setting and refresh setting. Select the settings in the tree and set the items in the following window.
  • Page 51: Basic Setting

    Basic Setting Set the number of transmission points of the RJ51AW12AL and others. Bit data setting Set the number of bit data transmission points of AnyWireASLINK. Item Description Setting range Transmission points Set the number of bit data points. • 0: 64 points (32 input points/32 output points) setting The transmission cycle time is determined based on the specified •...
  • Page 52: Bit Data Double Verification Setting

    Bit data double verification setting Set the double verification of the bit data of the RJ51AW12AL. Item Description Setting range Double verification Set the bit data double verification mode. ( Page 19 Double • 0: All points, double verification of a bit setting Verification) •...
  • Page 53: Enabling/disabling The Easy Replacement Setting For One Slave Module

    Enabling/disabling the easy replacement setting for one slave module Set whether to enable or disable easy replacement setting for one slave module. Item Description Setting range Easy replacement Enable or disable easy replacement setting for one slave module. • 0: Enable enable/disable setting •...
  • Page 54: Refresh Setting

    Refresh Setting Setting method Set buffer memory areas of the RJ51AW12AL to refresh. This refresh setting eliminates the needs for reading or writing with a program. Start a module parameter. [Navigation window]  [Parameter]  [Module Information]  [RJ51AW12AL]  [Module Parameter]  [Refresh setting] Click "Target"...
  • Page 55: Refresh Processing Time

    Refresh Processing Time The refresh processing time [s] is an element of 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 the refresh processing time [s] taken for refresh settings. •...
  • Page 56: Slave Module Address Setting

    Slave Module Address Setting Setting a start number of the address assigned for data communication is required for slave modules. An address can be written to a slave module or the address assigned to a slave module can be read through infrared communications using an address writer (manufactured by Anywire Corporation).
  • Page 57 Address and ID The following table shows the relationship between address and ID. Model Address Bit type Output slave module 0 to 254 0000H to 00FEH Input slave module 0200H to 02FEH I/O combined slave module Word type Output slave module 0 to 510 0400H to 05FEH Input slave module...
  • Page 58 ■Mixed assignment by 2-point bit slave module and 1-point bit slave module When 0, 2, and 3 are set for the input slave module address, and 0, 2, and 3 for the output slave module address, bits are occupied as follows. •...
  • Page 59 Precautions • A slave module address is not deleted even when the power supply of a programmable controller or a 24VDC external power supply is turned off. The address is retained until a new address is set when a system is configured. •...
  • Page 60: Automatic Address Detection Function

    Automatic Address Detection Function Automatic address detection refers to a function that stores the IDs (addresses) of the connected slave modules in the EEPROM of the RJ51AW12AL. Pressing the SET switch on the RJ51AW12AL enables this function and enables the RJ51AW12AL to detect and store IDs (addresses) of connected slave modules.
  • Page 61 Precautions ■Situations in which automatic address detection cannot be executed Automatic address detection cannot be executed in the following cases. • When an error occurs in the AnyWireASLINK system (Example: Short circuit, 24VDC external power supply voltage drop) • Within approximately five seconds after the AnyWireASLINK system is powered on or system reset recovery •...
  • Page 62: Automatic Address Detection Execution Timing

    Automatic address detection execution timing The following shows automatic address detection execution timing. Turning on 'Automatic address detection command' (Y1) (or long press of the SET switch) Automatic address detection Automatic being executed 'Automatic address detection flag' (X14) The LED flashing Automatic Automatic (Address being written)
  • Page 63: Automatic Reading Of System Configuration

    Automatic reading of system configuration Man-hour for setting parameters can be reduced by automatically reading the information of the slave module connected over AnyWireASLINK. [Navigation window]  [Parameter]  [Module Information]  [RJ51AW12AL]  [AnyWireASLINK configuration] For details on the "AnyWireASLINK configuration" window, refer to the following. iQ Sensor Solution Reference Manual 2 PARAMETER SETTINGS 2.7 Automatic reading of system configuration...
  • Page 64: Chapter 3 Programming

    This chapter describes programming for the RJ51AW12AL. For communication between the RJ51AW12AL and slave modules, refer to the following.  MELSEC iQ-R AnyWireASLINK Master Module User's Manual (Startup) Precautions on Programming This section describes precautions on programming on the RJ51AW12AL.
  • Page 65: Communication Example When The Slave Module Is Added Or Deleted

    Communication Example When the Slave Module is Added or Deleted The parameter of the slave module is moved over in order of ID and stored in 'Parameter storage area' (Un\G12288 to Un\G18431) after the automatic address detection function is executed. Because of this, the address of the parameter storage area for the slave module later than the ID where the slave module is added or deleted in the AnyWireASLINK system is changed.
  • Page 66 Buffer memory ■Change of 'Parameter storage area' (Un\G12288 to Un\G18431) The parameter storage area of the ASLINKER M12 connector type (mixed type) with address 20 (ID: 214H) moves from the parameter storage area 5 to the parameter storage area 6, because the ASLINKER M12 connector type (input type) with address 10 (ID: 20AH) is added.
  • Page 67 ■Values stored in 'Parameter storage location memory number (bit output)' (Un\G10496 to Un\G10751) and 'Parameter storage location memory number (bit input)' (Un\G11008 to Un\G11263) After the ASLINKER M12 connector type (input type) with address 10 (ID: 20AH) is added and then automatic address detection is executed, the values stored in 'Parameter storage location memory number (bit output)' (Un\G10496 to Un\G10751) and 'Parameter storage location memory number (bit input)' (Un\G11008 to Un\G11263) change as follows.
  • Page 68: Setting In The Rj51aw12al

    Setting in the RJ51AW12AL Connect an engineering tool to the CPU module and set parameters. Set the CPU module as follows. [Project]  [New] Click the [OK] button to add the module labels of the CPU module. Set the RJ51AW12AL as follows. [Navigation window] ...
  • Page 69 Click the [OK] button to add the module labels of the RJ51AW12AL. Set the items in "Basic setting" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ51AW12AL]  [Module Parameter]  [Basic setting] Write the set parameters into the CPU module, and reset the CPU module or power off and on the system. [Online] ...
  • Page 70: Settings In The Slave Modules

    Settings in the slave modules Write addresses to slave modules and register them with the RJ51AW12AL. Address setting Write addresses to slave modules with an address writer. Page 63 System configuration example Automatic address detection Keep pressing the SET switch on the RJ51AW12AL until the SET LED turns on. When the SET LED flashes and then turns off, it indicates that the registration of IDs (addresses) has been completed.
  • Page 71: Program Example

    Program example This section provides examples of programs that read the status details and sensing level information. Parameters of a threshold value can be written in the same way as parameter read. Reading the status details (I/O disconnection) The following shows a program example that reads the status details of the slave module (address: 20) when the start I/O number of the RJ51AW12AL is assigned to X/Y00 to X/Y1F.
  • Page 72 (16) Once 'ProgramStart' (M1) turns on, the buffer memory address determined by adding 39 to 'ParamAdd_214' (U0\G11028) of the slave module (ID: 214H) with the address 20 is stored in 'StatusArea_214' (D3000). (27) 'I/O disconnection detection flag' (M2) turns on when a disconnection of the slave module (ID: 214H) with the address 20 is detected. (29) 'Status details error detection flag' (M3) turns on when an error of the slave module (ID: 214H) with the address 20 is detected.
  • Page 73 Reading the sensing level information The sensing level is a device parameter for the ASLINKAMP or ASLINKSENSOR only. This example uses a system configuration in which an ASLINKAMP or ASLINKSENSOR is used as a slave module with address 20 instead of the ASLINKER M12 connector type (mixed type) in the system configuration above. This section describes an example of a program in which the photoelectric transmission type ASLINKSENSOR is used.
  • Page 74 (16) Once 'ProgramStart' (M1) turns on, the buffer memory address determined by adding 40 to 'ParamAdd_214' (U0\G11028) of the slave module (ID: 214H) with the address 20 is stored in 'SensingLevelArea_214' (D4000). The sensing level of the slave module (address 20) is stored in 41st (Un\G12616) of 48 words of the parameter storage area 7 (Un\G12576 to Un\G12623).
  • Page 75: Chapter 4 Troubleshooting

    RJ51AW12AL.  MELSEC iQ-R AnyWireASLINK Master Module User's Manual (Startup) 4 TROUBLESHOOTING 4.1 Checking with LED...
  • Page 76 RJ51AW12AL.  MELSEC iQ-R AnyWireASLINK Master Module User's Manual (Startup) When the ALM LED is on When the ALM LED is on, check the following.
  • Page 77: Checking Module Status

    Checking Module Status Checking with the "Module Diagnostics" window The following items can be checked in the "Module Diagnostics" window of the RJ51AW12AL. Item Description Error Information Displays the details of the errors currently occurring. Clicking the [Event History] button will display the history of errors that occurred in AnyWireASLINK and errors that occurred and operations that were performed in modules.
  • Page 78: Checking With The Buffer Memory

    Checking with the buffer memory The following shows the check method with the buffer memory. Check method [Online]  [Monitor]  [Device/Buffer Memory Batch Monitor] Check item For details on the buffer memory, refer to the following. Page 94 Buffer Memory ■Check of the error details The error code of the RJ51AW12AL is stored in 'Latest error code storage area' (Un\G10256).
  • Page 79: Troubleshooting By Symptom

    Troubleshooting by Symptom This section describes troubleshooting method by symptom. If an error has occurred in the RJ51AW12AL, identify the error cause with an engineering tool. ( Page 75 Checking Module Status) AnyWireASLINK transmission is not available When AnyWireASLINK transmission is not available, check the following. Check item Action Is the LINK LED of the RJ51AW12AL on or off?
  • Page 80 When data of the slave module cannot be checked When I/O data and parameter data of the slave module cannot be checked, check the following. Check item Action Is the I/O information of the slave module stored in the following buffer Check that information regarding the slave module has been properly memory addresses in the program? assigned and that the commands written in the program are free from...
  • Page 81 When the AnyWireASLINK version compatibility inspection cannot be executed When the AnyWireASLINK version compatibility inspection cannot be executed, check the following. Check item Action Is the word data points setting of the RJ51AW12AL valid? Set the word data points setting of the RJ51AW12AL to 2 words (1 input word/ 1 output word) or larger, and execute the AnyWireASLINK version compatibility inspection.
  • Page 82: List Of Error Codes

    List of Error Codes This section describes errors that occur in processing for data communication between the RJ51AW12AL and slave modules and in processing requests from the CPU module, and error codes, error definitions, and causes of the errors, and actions against the errors.
  • Page 83 Error code Error details and causes Action Detailed information  0D2CH Slave module hardware error Writing data to read only areas in the slave module was attempted. Perform either of the following operations. • Reset the CPU module or power off and on the system. •...
  • Page 84 Error code Error details and causes Action Detailed information  0D84H Access error detected in compatibility During the AnyWireASLINK version compatibility inspection, the inspection access to the slave module failed, and the AnyWireASLINK version compatibility inspection was interrupted. Check the following on the slave module having the ID detected in 'Sub information area' (Un\G12097 to Un\G12224).
  • Page 85 Error code Error details and causes Action Detailed information  3064H to 3066H RJ51AW12AL hardware failure A malfunction has been detected in the RJ51AW12AL hardware. Reset the CPU module or power off and on the system. If the error occurs again, the RJ51AW12AL may be in failure. Please consult your local Mitsubishi representative.
  • Page 86: Event List

    Event List This section lists the events which occur in the RJ51AW12AL. The events are classified into three types: system, error, and operation. System Event code Overview Cause 00CC8 Transmission cable voltage drop error The voltage of the 24VDC external power supply may be insufficient. 00CC9 DP/DN short error A short-circuit may be occurring in the transmission cables (DP, DN) or the...
  • Page 87 Operation Event code Overview Cause 24000 Error flag clear command Error flag clear command was turned off and on. 24001 Automatic address detection command Automatic address detection command was turned off and on. 24002 Overlap address inspection command Overlap address inspection command was turned off and on. 24010 Parameter access request command for the slave module Parameter access request command for the slave module was turned off...
  • Page 88: Appendices

    APPENDICES Appendix 1 Module Label The I/O signals and buffer memory of the RJ51AW12AL can be set using module label. Structure of the module label The module label name is defined with the following structure. "Instance name"_"Module number"."Label name" "Instance name"_"Module number"."Label name"_D RJ51AW12AL_1.bModuleREADY ■Instance name The following is the instance name of the RJ51AW12AL.
  • Page 89: Appendix 2 I/o Signals

    Appendix 2 I/O Signals This section describes the I/O signals for the CPU module. The assignment of the I/O signals when the start I/O number of the RJ51AW12AL is 0 is shown. List of I/O signals The following table lists I/O signals. Device X is an input signal from the RJ51AW12AL to the CPU module. Device Y is an output signal from CPU module to the RJ51AW12AL.
  • Page 90 Output signal Device No. Signal name Error flag clear command Automatic address detection command Overlap address inspection command Y3 to YC Use prohibited AnyWireASLINK version compatibility inspection command YE to YF Use prohibited Parameter access request command for the slave module Parameter batch read command for the slave module Parameter batch write command for the slave module Y13 to Y1F...
  • Page 91: Details Of The Input Signal

    Details of the input signal The following shows the on/off timing or condition of the input signal. Module READY: X0 When the CPU module is reset or powered on, this signal turns on as soon as the RJ51AW12AL is completely ready to be processed.
  • Page 92 AnyWireASLINK version compatibility inspection error: X8 This signal turns on when an error is detected in the AnyWireASLINK version compatibility inspection. ■Turning off of 'AnyWireASLINK version compatibility inspection error' (X8) After the error is cleared, execute any of the following operations. Until then, 'AnyWireASLINK version compatibility inspection error' (X8) remains on.
  • Page 93 AnyWireASLINK version compatibility inspection executing flag: XD This signal turns on when the AnyWireASLINK version compatibility inspection is started. ■Turning off of 'AnyWireASLINK version compatibility inspection executing flag' (XD) 'AnyWireASLINK version compatibility inspection executing flag' (XD) turns off when both of the following conditions are met. •...
  • Page 94 Parameter access completion flag: X11 This signal turns on and off in any of the following cases and turns off and on when the relevant operation has completed. • During the parameter access • During the easy replacement for one slave module •...
  • Page 95: Details Of The Output Signal

    Details of the output signal The following shows the on/off timing or condition of the output signal. Error flag clear command: Y0 When 'Error flag clear command' (Y0) is turned off and on, the following input signals and the buffer memory areas are cleared.
  • Page 96: Appendix 3 Buffer Memory

    Appendix 3 Buffer Memory Buffer memory is for data communications between the RJ51AW12AL and the CPU module or the RJ51AW12AL and slave modules. When the CPU module is reset or the system is powered off and on, the data in the buffer memory are set back to the default (initial values).
  • Page 97 Address (decimal) Address Name Initial value Read/write (hexadecimal) 12288 to 18431 3000H to 47FFH Parameter storage area Read/write 18432 to 19455 4800H to 4BFFH System area 19456 to 19967 4C00H to 4DFFH Parameter storage location memory number Read (word output) 19968 to 20479 4E00H to 4FFFH Parameter storage location memory number...
  • Page 98: Details Of Buffer Memory Addresses

    Details of buffer memory addresses Input information area This buffer memory area automatically stores the on/off status of the input signal of the slave module. ■Bit input information area (Un\G0 to Un\G15) Address Input information area Un\G0 Un\G1 Un\G2 Un\G3 Un\G4 Un\G5 Un\G6...
  • Page 99 Output information area When the on/off data of an output signal of a slave module is written from the CPU module, the slave module automatically outputs a signal. ■Bit output information area (Un\G4096 to Un\G4111) Address Output information area Un\G4096 Un\G4097 Un\G4098 Un\G4099...
  • Page 100 Number of the error IDs ■Number of the error IDs (Un\G8192) This buffer memory area stores the number of error IDs that send no response due to disconnection of the transmission cable (DP, DN) or a failure in the slave module alone among the IDs of the connected modules. (Up to 128 IDs) The stored values are retained until the power is turned off and on or 'Error flag clear command' (Y0) is turned off and on after the error is cleared.
  • Page 101 Error ID information bit area These buffer memory areas show error IDs in units of bits for reference. These areas are used in the same manner as 'Error ID information storage area' (Un\G8193 to Un\G8320). ■Error ID information bit area (bit output) (Un\G8704 to Un\G8719) The bits of error IDs corresponding to the bit output slave module turn on.
  • Page 102 ■Error ID information bit area (word output) (Un\G8768 to Un\G8799) The bits of error IDs corresponding to the word output slave module turn on. Address Un\G8768 40FH 40EH 40DH 40CH 40BH 40AH 409H 408H 407H 406H 405H 404H 403H 402H 401H 400H Un\G8769...
  • Page 103 ■Error ID information bit area (word input) (Un\G8800 to Un\G8831) The bits of error IDs corresponding to the word input slave module or word I/O combined slave module turn on. Address Un\G8800 60FH 60EH 60DH 60CH 60BH 60AH 609H 608H 607H 606H 605H...
  • Page 104 Number of the connected modules ■Number of the connected modules (Un\G8960) This buffer memory area stores the number of slave modules detected by automatic address detection. (Up to 128 modules) Number of the IDs of the connected modules ■Number of the IDs of the connected modules (Un\G9216) This buffer memory area stores the number of IDs of the connected modules through automatic address detection.
  • Page 105 Alarm ID information storage area ■Alarm ID information storage area (Un\G9985 to Un\G10112) This buffer memory area stores the ID information of all the slave modules where an alarm has occurred in the ascending order. The IDs to be stored are as follows. •...
  • Page 106 Parameter access setting ■Parameter access setting (Un\G10320) Specify the parameter access method. When a value other than those below is stored, the parameter is read. • 0000H: Read (slave module  RJ51AW12AL  CPU module) • 0001H: Write (CPU module  RJ51AW12AL  slave module) •...
  • Page 107 Parameter storage location memory number This buffer memory area stores the start addresses of the buffer memory areas of the parameter storage areas for each slave modules. ■Parameter storage location memory number (bit output) (Un\G10496 to Un\G10751) Address Details Un\G10496 Buffer memory start address of the bit output slave module ID 0000H Un\G10497 Buffer memory start address of the bit output slave module ID 0001H...
  • Page 108 Event code for sub information area ■'Event code for sub information area' (Un\G12096) This buffer memory area stores the latest event code detected in the RJ51AW12AL. For details on the event code, refer to the following. Page 84 Event List ■'Sub information area' (Un\G12097 to Un\G12224) The bits of target IDs for the event code stored in 'Event code for sub information area' (Un\G12096) turn on.
  • Page 109 Parameter storage area This buffer memory area stores parameters for slave modules with IDs. ■Parameter storage area (Un\G12288 to Un\G18431) Address Description Details Un\G12288 to Un\G12335 Parameter storage area 1 (48 words) • The parameter storage area of each ID has 48 words. •...
  • Page 110 ■48-word structure (details on parameter storage area) The parameter storage area 1 (Un\G12288 to Un\G12335) is given as an example of the 48-word structure below. Address Description Read/write Parameter name Un\G12288 Module ID Read (Slave module to AnyWireASLINK parameter RJ51AW12AL) Un\G12289 Device parameter 1 Read/write (RJ51AW12AL to slave...
  • Page 111 ■Parameters Each slave module has the following types of parameters: • Device parameter (19 types) These parameters are unique to each slave module. The contents of the parameters vary depending on the types of slave modules. For details, refer to the specifications of the slave module. •...
  • Page 112 Number of word data points setting ■Number of word data points setting (Un\G31488) This area stores the number of word data points. When the number of word data points is set with the engineering tool, the setting is reflected when the CPU module is reset. Setting value Description 0 words (Word data is not used.)
  • Page 113: Appendix 4 Processing Time

    Appendix 4 Processing Time This section describes the processing time related to the transmission of AnyWireASLINK. Transmission cycle time In the transmission cycle time, I/O data of the RJ51AW12AL and all the slave modules is updated. The following table lists the transmission cycle times of the RJ51AW12AL. Bit transmission cycle time The bit transmission cycle time is determined according to "Transmission points setting"...
  • Page 114 Word transmission cycle time The word transmission cycle time is determined according to "Transmission points setting", "Word data points setting", and "Word data points setting per frame" in the Basic setting. ■When "Transmission points setting" is set to 0 (when the bit transmission is not used) Word data points setting Word data points setting per frame Word transmission cycle...
  • Page 115 ■When "Transmission points setting" is set to 64 Word data points setting Word data points setting per frame Word transmission cycle time 2 words (1 input word/1 output word) 2 words (1 input word/1 output word) 4.9ms 4 words (2 input words/2 output words) 2 words (1 input word/1 output word) 9.8ms 4 words (2 input words/2 output words)
  • Page 116 ■When "Transmission points setting" is set to 128 Word data points setting Word data points setting per frame Word transmission cycle time 2 words (1 input word/1 output word) 2 words (1 input word/1 output word) 6.1ms 4 words (2 input words/2 output words) 2 words (1 input word/1 output word) 12.1ms 4 words (2 input words/2 output words)
  • Page 117 ■When "Transmission points setting" is set to 256 Word data points setting Word data points setting per frame Word transmission cycle time 2 words (1 input word/1 output word) 2 words (1 input word/1 output word) 8.5ms 4 words (2 input words/2 output words) 2 words (1 input word/1 output word) 16.9ms 4 words (2 input words/2 output words)
  • Page 118 ■When "Transmission points setting" is set to 512 Word data points setting Word data points setting per frame Word transmission cycle time 2 words (1 input word/1 output word) 2 words (1 input word/1 output word) 13.2ms 4 words (2 input words/2 output words) 2 words (1 input word/1 output word) 26.4ms 4 words (2 input words/2 output words)
  • Page 119 Transmission cycle time formula The transmission cycle times can be calculated using the following formulas. ■Bit transmission cycle time formula ((Number of bit data points  2) + 67.5 + (Number of word data points per frame  32))  37s ■Word transmission cycle time formula ((Number of bit points ...
  • Page 120: Bit Data Update Timing

    Bit data update timing Input Unless the RJ51AW12AL receives the same data twice successively, data in the input area is not updated. A minimum of one-transmission cycle time and a maximum of two-transmission cycle time are required as data response time.
  • Page 121: Update Timing Of Word Data

    Update timing of word data Input The RJ51AW12AL receives the main data and the verification data in the same frame, and therefore the word input data will be sampled with the response delay time of one-transmission cycle time or shorter. ■Case of minimum data response time If the word data has no abnormalities, the input data is updated in one-transmission cycle time or shorter.
  • Page 122: Response Delay Time

    Response delay time The following shows the response delay time of input and output. Input response delay time The figure below shows the time from a signal input to the slave module to turning on or off of a device of the CPU module. The input response delay time is the total of ...
  • Page 123 Output response delay time The figure below shows the time from turning on or off of a device of the CPU module to turning on or off of an output of a slave module. The output response delay time is the total of  to  in the following figure. Ö...
  • Page 124: Parameter Access Response Time

    Parameter access response time The parameters of AnyWireASLINK provide monitoring information of slave modules or the entire system and setting information of the slave modules. Parameter data is synchronized between the buffer memory of the RJ51AW12AL and slave modules at a cycle different from that of the I/O data.
  • Page 125: Appendix 5 When Connecting The Module To A Remote Head Module

    Appendix 5 When Connecting the Module to a Remote Head Module This section describes the restrictions and communication example for when connecting the RJ51AW12AL to a remote head module. Restricted functions and specifications Function As for the iQSS functions (such as backup/restoration and automatic reading of system configuration), when the RJ51AW12AL is mounted on the remote head module, only the functions supported by the remote head module are usable.
  • Page 126 Link device assignment This section describes the RX/RY assignment of program example. ■RX/RY assignment R04CPU RJ71GF11-T2 RJ72GF15-T2 RJ51AW12AL 1000H 0000H 0000H 0000H 101FH 001FH 001FH 001FH 1000H 0000H 0000H 0000H 101FH 001FH 001FH 001FH The following shows the correspondence between CPU module devices and I/O signals of the RJ51AW12AL. CPU module RJ51AW12AL Device...
  • Page 127 Setting in the master station Connect the engineering tool to the CPU module on the master station and set parameters. Set the CPU module as follows. [Project]  [New] Click the [OK] button to add the module labels of the CPU module. Set the CC-Link IE Field Network master/local module as follows.
  • Page 128 Click the [OK] button to add the module labels of the CC-Link IE Field Network master/local module. Set the items in "Required Settings" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Required Settings] Set the network configuration as follows. [Navigation window] ...
  • Page 129 Set the refresh settings as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the master station. Then, reset the CPU module or power off and on the system.
  • Page 130 Setting in the intelligent device station Connect the engineering tool to the remote head module on the intelligent device station and set the parameters. Set the remote head module as follows. [Project]  [New] Set the items in "Network Required Setting" of "CPU Parameter" as follows. [Navigation window] ...
  • Page 131 Set the items in "Basic setting" of "Module Parameter" as follows. [Navigation window]  [Parameter]  [Module Information]  [RJ51AW12AL]  [Module Parameter]  [Basic setting] Write the set parameters to the remote head module on the intelligent device station. Then, reset the remote head module or power off and on the system.
  • Page 132 Checking the system status ■Checking CC-Link IE Field Network After setting parameters for the master station and intelligent device station, perform the CC-Link IE Field Network diagnostics of the engineering tool to check whether data link can normally be performed between the master station and intelligent device station.
  • Page 133 APPX Appendix 5 When Connecting the Module to a Remote Head Module...
  • Page 134 (0) Check the data link status of the remote head module (station No.1). (20) When 'bStartDirection' (M1) is turned on, the data stored in 16-point areas starting from 'ReadData' (D500) are transferred to 'InputData' (K4X100). In addition, the data stored in 16-point areas in 'OutputData' (K4Y100) are transferred to 'WriteData' (D100). (32) Write the data stored in 16-point areas starting from 'wWriteData' (D100) to buffer memory areas of the RJ51AW12AL (U0\G4096 to U0\G4111) using the ZP.REMTO instruction.
  • Page 135: Appendix 6 Added Or Changed Functions

    Appendix 6 Added or Changed Functions This section describes added or changed functions of the RJ51AW12AL. Addition or change First two digits of the production information Word transmission was made available. "03" or later The word data start address setting function was added. "03"...
  • Page 136: Index

    INDEX 0 to 9 ..... . 89 ....... . .14 24V/DP short error Label .
  • Page 137 ......14 Terminating unit ..89 Transmission cable voltage drop error .
  • Page 138: Revisions

    Japanese manual number: SH-081583-C 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 139: 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 140: Trademarks

    TRADEMARKS Anywire and AnyWireASLINK are either registered trademarks or trademarks of Anywire Corporation. 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 142 Anywire Corporation www.anywire.jp SH(NA)-081585ENG-C(1904)MEE MODEL: R-ANYWIRE-U-OU-E MODEL CODE: 13JX48 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.

This manual is also suitable for:

Melsec iq-r series

Comments to this Manuals

Symbols: 0
Latest comments: