Indicates that incorrect handling may cause hazardous conditions, resulting in
death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in
minor or moderate injury or property damage.
(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.
In this manual, the safety precautions are classified into two levels: "WARNING" and "CAUTION".
Under some circumstances, failure to observe the precautions given under "CAUTION" may lead to serious
consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future reference.
2
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.
(2) When the programmable controller detects an abnormal condition, it stops the operation and all
outputs are:
• Turned off if the overcurrent or overvoltage protection of the power supply module is activated.
• Held or turned off according to the parameter setting if the self-diagnostic function of the CPU
module detects an error such as a watchdog timer error.
(3) All outputs may be turned on if an error occurs in a part, such as an I/O control part, where the
CPU module cannot detect any error. To ensure safety operation in such a case, provide a safety
mechanism or a fail-safe circuit external to the programmable controller. For a fail-safe circuit
example, refer to "General Safety Requirements" in the MELSEC iQ-R Module Configuration
Manual.
(4) Outputs may remain on or off due to a failure of a component such as a relay and transistor in an
output circuit. Configure an external circuit for monitoring output signals that could cause a
serious accident.
● In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a
load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an
external safety circuit, such as a fuse.
● For the operating status of each station after a communication failure, refer to manuals relevant to the
network. Incorrect output or malfunction due to a communication failure may result in an accident.
● 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. Improper
operation may damage machines or cause accidents.
3
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.
● Do not write any data to the "system area" and "write-protect area" of the buffer memory in the
module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to
each module. Doing so may cause malfunction of the programmable controller system. For the
"system area", "write-protect area", and the "use prohibited" signals, refer to the user's manual for the
module used.
● If a communication cable is disconnected, the network may be unstable, resulting in a communication
failure of multiple stations. Configure an interlock circuit in the program to ensure that the entire
system will always operate safely even if communications fail. Failure to do so may result in an
accident due to an incorrect output or malfunction.
● To maintain the safety of the programmable controller system against unauthorized access from
external devices via the network, take appropriate measures. To maintain the safety against
unauthorized access via the Internet, take measures such as installing a firewall.
● An AnyWireASLINK system has no control function for ensuring safety.
[Design Precautions]
CAUTION
● Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction
due to noise.
● During control of an inductive load such as a lamp, heater, or solenoid valve, a large current
(approximately ten times greater than normal) may flow when the output is turned from off to on.
Therefore, use a module that has a sufficient current rating.
● After the CPU module is powered on or is reset, the time taken to enter the RUN status varies
depending on the system configuration, parameter settings, and/or program size. Design circuits so
that the entire system will always operate safely, regardless of the time.
● Do not power off the programmable controller or reset the CPU module while the settings are being
written.
Doing so will make the data in the flash ROM and SD memory card undefined. The values need to be
set in the buffer memory and written to the flash ROM and SD memory card again. Doing so also may
cause malfunction or failure of the module.
● When changing the operating status of the CPU module from external devices (such as the remote
RUN/STOP functions), select "Do Not OPEN in Program" for "Open Method Setting" of "Module
Parameter". If "OPEN in Program" is selected, an execution of the remote STOP function causes the
communication line to close. Consequently, the CPU module cannot reopen the line, and external
devices cannot execute the remote RUN function.
4
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
● Use the programmable controller in an environment that meets the general specifications in the Safety
Guidelines included with the base unit. Failure to do so may result in electric shock, fire, malfunction,
or damage to or deterioration of the product.
● To mount a module, place the concave part(s) located at the bottom onto the guide(s) of the base unit,
and push in the module until the hook(s) located at the top snaps into place. Incorrect interconnection
may cause malfunction, failure, or drop of the module.
● To mount a module with no module fixing hook, place the concave part(s) located at the bottom onto
the guide(s) of the base unit, push in the module, and fix it with screw(s). Incorrect interconnection
may cause malfunction, failure, or drop of the module.
● When using the programmable controller in an environment of frequent vibrations, fix the module with
a screw.
● Tighten the screws within the specified torque range. Undertightening can cause drop of the screw,
short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop,
short circuit, or malfunction.
● When using an extension cable, connect it to the extension cable connector of the base unit securely.
Check the connection for looseness. Poor contact may cause malfunction.
● When using an SD memory card, fully insert it into the SD memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.
● Securely insert an extended SRAM cassette or a battery-less option cassette into the cassette
connector of the CPU module. After insertion, close the cassette cover and check that the cassette is
inserted completely. Poor contact may cause malfunction.
● Do not directly touch any conductive parts and electronic components of the module, SD memory
card, extended SRAM cassette, battery-less option cassette, or connector. Doing so can cause
malfunction or failure of the module.
5
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. Failure to do so may result in electric shock.
[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.
● Check the rated voltage and signal layout before wiring to the module, and connect the cables
correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause fire
or failure.
● Connectors for external devices must be crimped or pressed with the tool specified by the
manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or
malfunction.
● Securely connect the connector to the module. Poor contact may cause malfunction.
● Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction
due to noise.
● Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled,
resulting in damage to the module or cables or malfunction due to poor contact. Do not clamp the
extension cables with the jacket stripped. Doing so may change the characteristics of the cables,
resulting in malfunction.
● Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an
incorrect interface) may cause failure of the module and external device.
● Tighten the terminal screws or connector screws within the specified torque range. Undertightening
can cause drop of the screw, short circuit, fire, or malfunction. Overtightening can damage the screw
and/or module, resulting in drop, short circuit, fire, or malfunction.
6
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. Pulling the cable connected to the module may result in malfunction or
damage to the module or cable.
● Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can
cause a fire, failure, or malfunction.
● A protective film is attached to the top of the module to prevent foreign matter, such as wire chips,
from entering the module during wiring. Do not remove the film during wiring. Remove it for heat
dissipation before system operation.
● Programmable controllers must be installed in control panels. Connect the main power supply to the
power supply module in the control panel through a relay terminal block. Wiring and replacement of a
power supply module must be performed by qualified maintenance personnel with knowledge of
protection against electric shock. For wiring, refer to the MELSEC iQ-R Module Configuration Manual.
● For Ethernet cables to be used in the system, select the ones that meet the specifications in the user's
manual for the module used. If not, normal data transmission is not guaranteed.
● Do not apply the 24VDC power before wiring the entire AnyWireASLINK system. If the power is
applied before wiring, normal data transmission is not guaranteed.
● Connect a 24VDC external power supply to the device(s) in an AnyWireASLINK system.
[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.
● Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal screws, connector screws, or module fixing screws. Failure to do so may
result in electric shock.
7
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. Improper
operation may damage machines or cause accidents.
● 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.
● Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
● Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm away in all directions from the programmable controller. Failure to do so
may cause malfunction.
● Shut off the external power supply (all phases) used in the system before mounting or removing the
module. Failure to do so may cause the module to fail or malfunction.
● Tighten the screws within the specified torque range. Undertightening can cause drop of the
component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module,
resulting in drop, short circuit, or malfunction.
● After the first use of the product, do not perform each of the following operations more than 50 times
(IEC 61131-2/JIS B 3502 compliant).
Exceeding the limit may cause malfunction.
• Mounting/removing the module to/from the base unit
• Inserting/removing the extended SRAM cassette or battery-less option cassette to/from the
CPU module
• Mounting/removing the terminal block to/from the module
● After the first use of the product, do not insert/remove the SD memory card to/from the CPU module
more than 500 times. Exceeding the limit may cause malfunction.
● Do not touch the metal terminals on the back side of the SD memory card. Doing so may cause
malfunction or failure of the module.
● Do not touch the integrated circuits on the circuit board of an extended SRAM cassette or a batteryless option cassette. Doing so may cause malfunction or failure of the module.
● Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the
battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is
applied to it, dispose of it without using.
● 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.
● Before handling the module, touch a conducting object such as a grounded metal to discharge the
static electricity from the human body. Failure to do so may cause the module to fail or malfunction.
8
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.
● Do not power off the programmable controller or reset the CPU module while the setting values in the
buffer memory are being written to the flash ROM in the module. Doing so will make the data in the
flash ROM and SD memory card undefined. The values need to be set in the buffer memory and
written to the flash ROM and SD memory card again. Doing so can cause malfunction or failure of the
module.
[Disposal Precautions]
CAUTION
● When disposing of this product, treat it as industrial waste.
● When disposing of batteries, separate them from other wastes according to the local regulations. For
details on battery regulations in EU member states, refer to the MELSEC iQ-R Module Configuration
Manual.
[Transportation Precautions]
CAUTION
● When transporting lithium batteries, follow the transportation regulations. For details on the regulated
models, refer to the MELSEC iQ-R Module Configuration Manual.
● The halogens (such as fluorine, chlorine, bromine, and iodine), which are contained in a fumigant
used for disinfection and pest control of wood packaging materials, may cause failure of the product.
Prevent the entry of fumigant residues into the product or consider other methods (such as heat
treatment) instead of fumigation. The disinfection and pest control measures must be applied to
unprocessed raw wood.
9
Page 12
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL
RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY
INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE
OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR
WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL
BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above restrictions, Mitsubishi may in its sole discretion, authorize use of the PRODUCT in one or
more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific
applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or
other safety features which exceed the general specifications of the PRODUCTs are required. For details, please
contact the 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.
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.
Please make sure that the end users read this manual.
This module was jointly developed by Mitsubishi and Anywire Corporation. The module allows the AnyWireASLINK
to be connected to a MELSEC iQ-R series programmable controller system.
iQ Sensor Solution Reference Manual
[SH-081133ENG]
e-Manual refers to the Mitsubishi 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.
• Other manuals can be accessed from the links in the manual.
• The hardware specifications of each part can be found from the product figures.
• Pages that users often browse can be bookmarked.
• Sample programs can be copied to an engineering tool.
Functions, parameter settings, programming, troubleshooting, I/O signals, and
buffer memory of the AnyWireASLINK master module
Specifications, procedures before operation, system configuration, wiring, and
communication examples of the AnyWireASLINK master module
Operation methods of the online function with iQ Sensor SolutionPrint book
Print book
e-Manual
PDF
Print book
e-Manual
PDF
e-Manual
PDF
13
Page 16
TERMS
Unless otherwise specified, this manual uses the following terms.
TermDescription
AddressA setting value assigned to a slave module to identify each node on the AnyWireASLINK network
Address writerA hand-held device to read/write device parameters (including addresses) from/to a slave module
AnyWireASLINKA reduced wiring network where sensors at the end of a control system are connected to a programmable
Buffer memoryMemory in an intelligent function module for storing data such as setting values and monitored values.
DeviceA device (X, Y, M, D, or others) in a CPU module
Engineering toolAnother term for the software package for the MELSEC programmable controllers
IDA parameter to identify whether the module is an input module or output module based on its address
Intelligent device stationA station that exchanges I/O signals (bit data) and I/O data (word data) with another station by cyclic
Intelligent function moduleA module that has functions other than input and output, such as an A/D converter module and D/A converter
LabelA label that represents a device in a given character string
Link deviceA device (RX, RY, RWr, or RWw) in a module on CC-Link IE Field Network
Master stationA station that controls the entire network. This station can perform cyclic transmission and transient transmission
Module labelA label that represents one of memory areas (I/O signals and buffer memory areas) specific to each module in a
Power cable (24V, 0V)A cable that connects 24VDC external power supply to the RJ51AW12AL.
Terminating unitA waveform shaper
Transmission cable (DP, DN)A signal cable that connects between a slave module and the RJ51AW12AL
Transmission cycle timeA data sampling interval
controller.
This network enables a master module to detect sensor disconnection and enables a user to set the I/O
operations of an AnyWireASLINK system on the RJ51AW12AL from the upper system without using the I/O
areas of the CPU module.
transmission. This station responds to a transient transmission request from another station and also issues a
transient transmission request to another station.
module
with all stations. Only one master station can be used in a network.
given character string.
For the module used, GX Works3 automatically generates this label, which can be used as a global label.
This cable is also used when the isolation (4-line) type slave module and RJ51AW12AL are connected.
14
Page 17
GENERIC TERMS AND ABBREVIATION
Unless otherwise specified, this manual uses the following generic terms and abbreviations.
Ter mDescription
AnyWireASLINK bridge moduleA generic term for the NZ2AW1C2AL and NZ2AW1GFAL
AnyWireASLINK master moduleA generic term for the RJ51AW12AL, QJ51AW12AL, and LJ51AW12AL
ASLINKAMPA generic term for sensor amplifiers that have an AnyWireASLINK interface
ASLINKERA generic term for I/O devices that have an AnyWireASLINK interface
ASLINKMONITORA generic term for small display units that have an AnyWireASLINK interface
ASLINKSENSORA generic term for sensors that have an AnyWireASLINK interface
Bit slave moduleA generic term for slave modules that communicate bit data only
CC-Link IE Field Network master/local
module
CPU moduleA generic term for the MELSEC iQ-R series CPU modules
Data linkA generic term for cyclic transmission and transient transmission
Remote head moduleAn abbreviation for the RJ72GF15-T2 CC-Link IE Field Network remote head module
Slave moduleA generic term for modules that communicate data with the RJ51AW12AL
Word slave moduleA generic term for slave modules that communicate word data only
There are following types of bit slave module:
• Bit input slave module
• Bit output slave module
• Bit I/O combined slave module
Some slave modules can be operated as a word slave module depending on the setting.
A generic term for the RJ71GF11-T2, QJ71GF11-T2, QS0J71GF11-T2, LJ71GF11-T2 CC-Link IE Field Network
master/local module and the following modules when the CC-Link IE Field Network function is used:
• RJ71EN71
• RnENCPU
There are following types of slave module:
• Bit slave module
• Word slave module
There are following types of word slave module:
• Word input slave module
• Word output slave module
• Word I/O combined slave module
Some slave modules can be operated as a bit slave module depending on the setting.
15
Page 18
1FUNCTIONS
(1)(2)
(5)
X100
X101
X102
X1FF
Y100
Y101
Y102
Y1FF
(3)
ID: 200H
IN 1
IN 0
(4)
(6)
(7)
ID: 0H
OUT 1
OUT 0
U0\G0.0
U0\G0.1
U0\G0.2
U0\G15.F
U0\G4096.0
U0\G4096.1
U0\G4096.2
U0\G4111.F
1.1AnyWireASLINK 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.
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 133 Added or
Changed Functions)
18
1 FUNCTIONS
1.1 AnyWireASLINK Transmission
Page 21
1.2Double Verification
bit bit
·
bit bit
·
(1)
·
·
(4)
(2)
(3)(3)
wordword
·
wordword
·
(1)
·
·
(4)
(2)
(3)(3)
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. The double verification ensures reliability of communication.
There are two types of double verification: double verification in 1-bit unit and double verification in 16-bit unit.
Overview
■Double verification in 1-bit unit
If one bit of data is the same between two successive transmission cycles, the data is valid and I/O data is communicated.
(1) Transmission cycle (last)
(2) Transmission cycle (current)
(3) I/O data
(4) This data is compared with the verification data (one bit) of the last transmission cycle.
■Double verification in 16-bit unit
If one word (16 bits) of data is the same between two successive transmission cycles, the data is valid and I/O data is
communicated.
1
(1) Transmission cycle (last)
(2) Transmission cycle (current)
(3) I/O data
(4) The data is compared with the verification data (one word) of the last transmission cycle.
The double verification in 1-bit unit is suitable for slave modules that handle information in units of bits such as
ASLINKER.
The double verification in 16-bit unit is suitable for slave modules that handle information in units of 16 bits
such as ASLINKAMP (analog input module).
Setting method
Set the double verification of bit data in "Double verification" of "Basic setting". ( Page 50 Bit data double verification
setting)
The double verification of word data does not need any setting.
1 FUNCTIONS
1.2 Double Verification
19
Page 22
1.3Remote Address Change Function
ID
0200H 0210H
With this function, an ID (address) of a slave module can be changed using the buffer memory area without an address writer.
Applicable slave module
For the slave modules that support the remote address change function, consult Anywire Corporation.
Operating procedure
1. Execute automatic address detection to check that no error has occurred in the AnyWireASLINK system. ( Page 58
Automatic Address Detection Function)
2. Specify an access method to a slave module.
Store 0002H (remote address change) in 'Parameter access setting' (Un\G10320).
3. Specify an ID of the slave module to be accessed.
Store the ID to be changed (old ID) in 'Parameter access target module ID specification' (Un\G10321).
IDDescription
0000H to 00FEHID of a bit output slave module
0200H to 02FEHID of a bit input slave module or bit I/O combined slave module
0400H to 05FEHID of a word output slave module
0600H to 07FEHID of a word input slave module or word I/O combined slave module
4. Specify a new ID of the slave module.
Store the new ID in 'Change ID specification' (Un\G10323).
IDDescription
0000H to 00FEHID of a bit output slave module
0200H to 02FEHID of a bit input slave module or bit I/O combined slave module
0400H to 05FEHID of a word output slave module
0600H to 07FEHID of a word input slave module or word I/O combined slave module
If the specified ID has already been registered or is out of the allowable specification range, an error occurs.
5. Turn on and off 'Parameter access request command for the slave module' (Y10).
At this time, 'Parameter access completion flag' (X11) turns off, and 'Parameter accessing flag (with handshake)' (XB) turns
on. When the parameter access is completed, 'Parameter access completion flag' (X11) automatically turns on.
6. After changing the IDs of all the target slave modules, execute automatic address detection. ( Page 58 Automatic
Address Detection Function)
Precautions
• Before executing this function, make sure to execute automatic address detection to check that no error has occurred in the
• This function cannot be executed for slave modules separated from the RJ51AW12AL because of disconnection or slave
modules having the same ID. Use an address writer to change the IDs of such slave modules.
• This function can be executed if only one slave module having no ID exists within one AnyWireASLINK line. If IDs of
multiple slave modules are not set, it is recognized as an ID duplication. Thus, the IDs cannot be changed.
20
1 FUNCTIONS
1.3 Remote Address Change Function
Page 23
1.4Same 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.
• Even if an ID is assigned to multiple modules, a single ID is stored in 'Number of the alarm IDs' (Un\G9984)
and 'Alarm ID information storage area' (Un\G9985 to Un\G10112). For example, even when multiple
modules have an ID 000AH, "1" is stored in 'Number of the alarm IDs' (Un\G9984) and "000AH" is stored in
'Alarm ID information storage area' (Un\G9985 to Un\G10112).
How to execute automatic address detection
For details on automatic address detection, refer to the following.
Page 58 Automatic Address Detection Function
How to execute same address used check
Turn off and on 'Overlap address inspection command' (Y2). If 'Overlap address inspection flag' (X15) turns on and off, it
indicates that the same address used check is completed.
The same address used check cannot be executed under any of the following conditions.
• 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
• While 'Adjustment mode executing flag' (XF) is on
• While 'Parameter access completion flag' (X11) is off
• When the automatic address detection is in progress (While 'Automatic address detection flag' (X14) is on)
• When the same address used check is in progress (While 'Overlap address inspection flag' (X15) is on)
• When the parameter access is in progress (While 'Parameter access request command for the slave module' (Y10),
'Parameter batch read command for the slave module' (Y11), or 'Parameter batch write command for the slave module'
(Y12) is on)
• When any of the following errors has occurred
Error codeError description
0CC8HTransmission cable voltage drop error
0CC9HDP/DN short error
0CCBH24V/DP short error
3064HRJ51AW12AL hardware failure
3065H
3066H
3068HCPU module stop error (IORSTL signal detection)
3069HSystem error (NMI signal detection)
306BHCPU module error (ITERR signal detection)
306CHASIC access error (library I/F function access error)
1
1 FUNCTIONS
1.4 Same ID Used Detection Function
21
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.
• Same ID used error (error code: 0D90H) is stored in 'Latest error code storage area' (Un\G10256) and the same ID is
stored in 'Latest error ID storage area' (Un\G10257).
• An error (error code: 0D90H) is displayed on an engineering tool. ( Page 75 Checking with the "Module Diagnostics"
window)
• The relevant ID is stored in 'Alarm ID information storage area' (Un\G9985 to Un\G10112).
*1 If multiple errors occur simultaneously, the latest error is displayed.
*1
*1
How to recover from same ID used status
Check 'Number of the alarm IDs' (Un\G9984) and 'Alarm ID information storage area' (Un\G9985 to Un\G10112). Then set a
unique ID (address) in all the slave modules. ( Page 102 Number of the alarm IDs, Page 103 Alarm ID information
storage area)
Set IDs (addresses) of slave modules and execute automatic address detection of the RJ51AW12AL. Then, the IDs of the
slave modules are stored in the RJ51AW12AL and the error is cleared. ( Page 58 Automatic Address Detection Function)
Precautions
While an ID (address) is used for multiple slave modules, executing either of the following can eliminate the same ID used
error. However, the address is still used for the multiple slave modules.
• Powering off and on the AnyWireASLINK system
• Turning off and on 'Error flag clear command' (Y0)
22
1 FUNCTIONS
1.4 Same ID Used Detection Function
Page 25
1.5Module with No ID Setting Detection Function
This function detects slave modules with no ID assigned (default ID) through automatic address detection or same address
*1 Bit slave modules and word slave modules have the same default ID.
*2 The default address of bit slave modules is 255 or 511.
The default address of word slave modules is 511.
• Modules with no ID set are detected through automatic address detection or same address used check. If
the CPU module is reset or the power is turned off after a module with no ID set is detected, the no ID
number setting status cannot be checked until automatic address detection or same address used check is
executed again.
• Even if no ID is assigned to modules, a single ID is stored in 'Number of the alarm IDs' (Un\G9984) and
'Alarm ID information storage area' (Un\G9985 to Un\G10112). For example, even when multiple modules
have an ID 00FFH, "1" is stored in 'Number of the alarm IDs' (Un\G9984) and "00FFH" is stored in 'Alarm ID
information storage area' (Un\G9985 to Un\G10112).
How to execute automatic address detection
For details on automatic address detection, refer to the following.
Page 58 Automatic Address Detection Function
Default ID
1
How to execute same address used check
Turn off and on 'Overlap address inspection command' (Y2). If 'Overlap address inspection flag' (X15) turns on and off, it
indicates that the same address used check is completed.
The same address used check cannot be executed under any of the following conditions.
• 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
• While 'Adjustment mode executing flag' (XF) is on
• While automatic address detection is in progress (While 'Automatic address detection flag' (X14) is on)
• When the same address used check is in progress (While 'Overlap address inspection flag' (X15) is on)
• When the parameter access is in progress (While 'Parameter access request command for the slave module' (Y10),
'Parameter batch read command for the slave module' (Y11), or 'Parameter batch write command for the slave module'
(Y12) is on)
• When any of the following errors has occurred
Error codeError description
0CC8HTransmission cable voltage drop error
0CC9HDP/DN short error
0CCBH24V/DP short error
3064HRJ51AW12AL hardware failure
3065H
3066H
3068HCPU module stop error (IORSTL signal detection)
3069HSystem error (NMI signal detection)
306BHCPU module error (ITERR signal detection)
306CHASIC access error (library I/F function access error)
1 FUNCTIONS
1.5 Module with No ID Setting Detection Function
23
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.
• No ID setting error (error code: 0D91H) is stored in 'Latest error code storage area' (Un\G10256) and unset IDs are stored
in 'Latest error ID storage area' (Un\G10257).
• An error (error code: 0D91H) is displayed on an engineering tool. ( Page 75 Checking with the "Module Diagnostics"
window)
• Unset IDs are stored in 'Alarm ID information storage area' (Un\G9985 to Un\G10112).
*1 If multiple errors occur simultaneously, the latest error is displayed.
*1
*1
How to recover from the no ID number setting status
Check 'Number of the alarm IDs' (Un\G9984) and 'Alarm ID information storage area' (Un\G9985 to Un\G10112). Then set
addresses to slave modules. ( Page 102 Number of the alarm IDs, Page 103 Alarm ID information storage area)
Check that the following address is not set as the address of the slave module.
ModelAddress
Bit slave module255, 511
Word slave module511
Set IDs (addresses) of slave modules and execute automatic address detection of the RJ51AW12AL. Then, the IDs of the
slave modules are stored in the RJ51AW12AL and the error is cleared. ( Page 58 Automatic Address Detection Function)
For operations of slave modules with no ID assigned (default ID), refer to the following.
Manual of the slave module used (manufactured by Anywire Corporation)
Precautions
While an ID (address) of a slave module is not set, executing either of the following can eliminate the no ID setting error.
However the address of the slave module is still not set.
• Powering off and on the AnyWireASLINK system
• Turning off and on 'Error flag clear command' (Y0)
24
1 FUNCTIONS
1.5 Module with No ID Setting Detection Function
Page 27
1.6Transmission 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.
• The ALM LED flashes at 2-second intervals.
• When any of the transmission cables (DP, DN) is short-circuited, 'DP/DN short error' (X1) turns on.
• When any of the transmission cables (24V, DP) is short-circuited, '24V/DP short error' (X2) turns on.
• DP/DN short error (error code: 0CC9H) or 24V/DP short error (error code: 0CCBH) is stored in 'Latest error code storage
area' (Un\G10256) and 0FFFH is stored in 'Latest error ID storage area' (Un\G10257).
• An error (error code: 0CC9H or 0CCBH) is displayed on an engineering tool. ( Page 75 Checking with the "Module
Diagnostics" window)
• The AnyWireASLINK transmission stops.
*1 If multiple errors occur simultaneously, the latest error is displayed.
*1
How to recover from the transmission cable short status
How to recover from the transmission cable short status is as follows.
1. Eliminate the short circuit in the AnyWireASLINK system.
When the short status is exited, the AnyWireASLINK transmission resumes automatically.
If the status does not change, the short circuit has not been eliminated. Check it again.
*1
*1
1
2. Power off and on the AnyWireASLINK system or turn on and off 'Error flag clear command' (Y0).
The following status is resulted:
• 'DP/DN short error' (X1) and '24V/DP short error' (X2) turn off.
• The ALM LED turns off.
• The data in 'Latest error code storage area' (Un\G10256) and 'Latest error ID storage area' (Un\G10257) are cleared.
1 FUNCTIONS
1.6 Transmission Cable Short Detection Function
25
Page 28
1.7Disconnected 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.
• To enable the disconnected transmission cable location detection function, execute automatic address
detection when configuring, modifying, or expanding the system. ( Page 58 Automatic Address
Detection Function)
• After a system is configured, the disconnection detection may work when a slave module is disconnected
from the system. Execute automatic address detection after modifying the system.
• Even if disconnection in the transmission cable (DP, DN) is detected, the AnyWireASLINK transmission
does not stop.
How to check the transmission cable disconnection status
When the AnyWireASLINK system is in the following status, the transmission cable (DP, DN) have been disconnected or a
slave module error has occurred.
• The ALM LED turns on.
• 'DP/DN disconnection error' (X4) turns on.
• The number of error IDs is stored in 'Number of the error IDs' (Un\G8192).
• The disconnected ID (address) is stored in 'Error ID information storage area' (Un\G8193 to Un\G8320).
• The bits corresponding to disconnected IDs (addresses) of the following buffer memory areas turn on.
AddressName
Un\G8704 to Un\G8719Error ID information bit area (bit output)
Un\G8736 to Un\G8751Error ID information bit area (bit input)
Un\G8768 to Un\G8799Error ID information bit area (word output)
Un\G8800 to Un\G8831Error ID information bit area (word input)
*1
• DP/DN disconnection error (error code: 0CCAH) is stored in 'Latest error code storage area' (Un\G10256) and the
disconnected ID is stored in 'Latest error ID storage area' (Un\G10257).
• An error (error code: 0CCAH) is displayed on an engineering tool. ( Page 75 Checking with the "Module Diagnostics"
window)
*1 If multiple errors occur simultaneously, the latest error is displayed.
*1
*1
26
1 FUNCTIONS
1.7 Disconnected Transmission Cable Location Detection Function
Page 29
How to recover from the transmission cable disconnection status
How to recover from the transmission cable disconnection status is as follows.
1. 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)
2. Power off and on the AnyWireASLINK system or turn on and off 'Error flag clear command' (Y0).
The following status is resulted:
• 'DP/DN disconnection error' (X4) turns off.
• The ALM LED turns off.
• The data in 'Latest error code storage area' (Un\G10256) and 'Latest error ID storage area' (Un\G10257) are cleared.
• When the automatic address detection is executed in the step 1, the operation in the step 2 is not
necessary.
• When the error status automatic recovery mode is enabled by "Error status automatic recovery" of "Basic
setting", the error is automatically cleared after the disconnection status is exited.
1
1 FUNCTIONS
1.7 Disconnected Transmission Cable Location Detection Function
27
Page 30
1.8Transmission Cable Voltage Drop Detection
Function
This function detects a voltage drop in the 24VDC external power supply, enabling the RJ51AW12AL to detect a failure in the
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.
• The ALM LED flashes at 0.4-second intervals.
• 'Transmission cable voltage drop error' (X3) turns on.
• Transmission cable voltage drop error (error code: 0CC8H) is stored in 'Latest error code storage area' (Un\G10256) and
0FFFH is stored in 'Latest error ID storage area' (Un\G10257).
• An error (error code: 0CC8H) is displayed on an engineering tool. ( Page 75 Checking with the "Module Diagnostics"
window)
• The AnyWireASLINK transmission stops.
*1 If multiple errors occur simultaneously, the latest error is displayed.
*1
*1
*1
How to recover from the transmission cable voltage drop status
How to recover from the transmission cable voltage drop status is as follows.
1. Check the voltage of the 24VDC external power supply and replace the power supply or check the wiring, as necessary.
When the transmission cable voltage drop is corrected, the AnyWireASLINK transmission resumes automatically.
2. Power off and on the AnyWireASLINK system or turn on and off 'Error flag clear command' (Y0).
The following status is resulted:
• 'Transmission cable voltage drop error' (X3) turns off.
• The ALM LED turns off.
• The data in 'Latest error code storage area' (Un\G10256) and 'Latest error ID storage area' (Un\G10257) are cleared.
28
1 FUNCTIONS
1.8 Transmission Cable Voltage Drop Detection Function
Page 31
1.9Parameter Access Error Detection Function
This function allows parameter access errors to be detected.
Replacement error due to use of slave module
of earlier device version
New ID error
*1
*1
*1
• The data in 'Latest error code storage area' (Un\G10256) is cleared.
• The data in 'Latest error ID storage area' (Un\G10257) is cleared.
• The data in 'Number of the alarm IDs' (Un\G9984) is cleared.
• The data in 'Alarm ID information storage area' (Un\G9985 to Un\G10112) is cleared.
• The data in 'Latest error code storage area' (Un\G10256) is cleared.
• The data in 'Latest error ID storage area' (Un\G10257) is cleared.
• The data in 'Number of the error IDs' (Un\G8192) is cleared.
• The data in 'Error ID information storage area' (Un\G8193 to Un\G8320) is cleared.
• The data in 'Error ID information bit area (bit output)' (Un\G8704 to Un\G8719) is cleared.
• The data in 'Error ID information bit area (bit input)' (Un\G8736 to Un\G8751) is cleared.
• The data in 'Error ID information bit area (word output)' (Un\G8768 to Un\G8799) is cleared.
• The data in 'Error ID information bit area (word input)' (Un\G8800 to Un\G8831) is cleared.
• The data in 'Latest error code storage area' (Un\G10256) is cleared.
• The data in 'Latest error ID storage area' (Un\G10257) is cleared.
*1 When factors causing errors are eliminated, the data in 'Number of the alarm IDs' (Un\G9984) and 'Alarm ID information storage area'
(Un\G9985 to Un\G10112) are cleared.
30
1 FUNCTIONS
1.9 Parameter Access Error Detection Function
Page 33
1.10Error 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).
Error that can be automatically recovered
The following shows the errors that can be automatically recovered.
Error codeError descriptionStatus when an error occurredStatus when an error is cleared
0CCAHDP/DN disconnection
error
0D30HParameter access error• 'Parameter access error' (X12) turns on.
*1 The error causes must be eliminated from all the slave modules in which errors have occurred.
*2 If the errors 0CCAH and 0D30H have occurred in one slave module, the causes of both the errors must be eliminated.
• 'DP/DN disconnection error' (X4) turns on.
• Error ID information is registered in the buffer
memory address. ( Page 26 How to check the
transmission cable disconnection status)
• Error ID information is registered in the buffer
memory address. ( Page 29 How to check the
parameter access error status)
• 'DP/DN disconnection error' (X4) turns off.
• The error ID information registered in the buffer
memory address is cleared. (corresponding ID
*2
only)
• 'Parameter access error' (X12) turns off.
• The error ID information registered in the buffer
memory address is cleared. (corresponding ID
*2
only)
Setting method
Set the error status automatic recovery function in "Error status automatic recovery" of "Basic setting". ( Page 50 Error
status automatic recovery setting)
*1
*1
1
1 FUNCTIONS
1.10 Error Status Automatic Recovery Function
31
Page 34
1.11Slave 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.
For the parameters of the slave module stored, refer to the following.
Page 33 Slave Module Parameter Read/Write
Setting method
Set the slave module information acquisition at start-up function in "Startup operating mode" of "Basic setting". ( Page 49
Startup operating mode setting)
Operation at start-up
When communication of the RJ51AW12AL is normally established after the CPU module is reset or the power is turned off
and on, the parameters of all the registered slave modules are read at a time. The read parameters are then stored in the
buffer memory.
32
1 FUNCTIONS
1.11 Slave Module Information Acquisition at Start-up Function
Page 35
1.12Slave 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 104 Parameter access setting
• Page 104 Parameter access target module ID specification
• Page 105 Parameter storage location memory number
• Page 107 Parameter storage area
Parameter reading and writing methods
There are four methods as follows to read or write the parameter information from or to a slave module.
Typ eDescription
Automatic updateThe status details and the sensing level of all slave modules are read at regular intervals. (Setting values are
Parameter accessAll the parameter values of the slave modules are read or written individually in accordance with the setting of
Parameter batch readAll the parameter values of all slave modules are read out into the buffer memory of the RJ51AW12AL.
Parameter batch writeValues set in the buffer memory of the RJ51AW12AL are written to all the parameter of all slave modules.
The following shows the readable/writable parameters.
: Possible, : Impossible
Parameter nameRead/writeParameter read and write methods
Device parameter
AnyWireASLINK
parameter
*1
Module IDRead
Status detailsRead
Sensing levelRead
excluded.)
reading or writing and the target slave module.
Automatic
update
Read/write
Parameter accessParameter
ReadWrite
batch read
Parameter
batch write
1
*1 The device parameter name differs depending on the slave module to be used.
Parameter access, parameter batch read, or parameter batch write does not affect the AnyWireASLINK
transmission cycle time.
Automatic update
No special operation is required because data are automatically updated. To check the parameter information, refer to the
corresponding buffer memory address.
1 FUNCTIONS
1.12 Slave Module Parameter Read/Write
33
Page 36
Parameter access
The operating procedure for parameter access is as follows.
■To read parameters
1. Set the access method.
Store 0000H (read) in 'Parameter access setting' (Un\G10320).
2. Set the access target ID.
Store the access target ID in 'Parameter access target module ID specification' (Un\G10321).
IDDescription
0000H to 00FEHID of a bit output slave module
0200H to 02FEHID of a bit input slave module or bit I/O combined slave module
0400H to 05FEHID of a word output slave module
0600H to 07FEHID of a word input slave module or word I/O combined slave module
3. Turn off and on 'Parameter access request command for the slave module' (Y10).
At this time, 'Parameter access completion flag' (X11) turns off. In addition, 'Parameter accessing flag (with handshake)' (XB)
turns on.
4. When the parameter access is completed, 'Parameter access completion flag' (X11) automatically turns on.
5. Turn on and off 'Parameter access request command for the slave module' (Y10).
6. When 'Parameter access completion flag' (X11) turns on and the following signals are turned off, 'Parameter accessing
flag (with handshake)' (XB) turns off.
• '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)
7. The read parameters are stored in the following location of each ID.
Device parameter in 'Parameter storage area' (Un\G12288 to Un\G12335)
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 107 Parameter storage area
*1
34
1 FUNCTIONS
1.12 Slave Module Parameter Read/Write
Page 37
■To write parameters
1. 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.
Executing parameter write without executing parameter read will result in a malfunction.
*1
2. Set the access method.
Store 0001H (write) in 'Parameter access setting' (Un\G10320).
3. Set the access target ID.
Store the access target ID in 'Parameter access target module ID specification' (Un\G10321).
IDDescription
0000H to 00FEHID of a bit output slave module
0200H to 02FEHID of a bit input slave module or bit I/O combined slave module
0400H to 05FEHID of a word output slave module
0600H to 07FEHID of a word input slave module or word I/O combined slave module
4. Store the parameters to be written in the following location.
Device parameter read/write areas in 'Parameter storage area' (Un\G12288 to Un\G12335)
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 107 Parameter storage area
*1
5. Turn off and on 'Parameter access request command for the slave module' (Y10).
At this time, 'Parameter access completion flag' (X11) turns off. In addition, 'Parameter accessing flag (with handshake)' (XB)
turns on.
1
6. When the parameter access is completed, 'Parameter access completion flag' (X11) automatically turns on.
7. Turn on and off 'Parameter access request command for the slave module' (Y10).
8. When 'Parameter access completion flag' (X11) turns on and the following signals are turned off, 'Parameter accessing
flag (with handshake)' (XB) turns off.
• '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)
9. After executing parameter write, read the parameters of the slave module referring to the procedure in "To read
parameters" or "Parameter batch read" to check that the parameters have been correctly applied to the slave modules.
1 FUNCTIONS
1.12 Slave Module Parameter Read/Write
35
Page 38
Parameter batch read
The procedure for parameter batch read is as follows.
1. 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.
2. When the parameter access is completed, 'Parameter access completion flag' (X11) automatically turns on.
3. Turn on and off 'Parameter batch read command for the slave module' (Y11).
4. When 'Parameter access completion flag' (X11) turns on and the following signals are turned off, 'Parameter accessing
flag (with handshake)' (XB) turns off.
• '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)
5. The read parameters are stored in the following location of each ID.
Device parameter in 'Parameter storage area' (Un\G12288 to Un\G12335)
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 107 Parameter storage area
Parameter batch write
The operating procedure for parameter batch write is as follows.
*1
1. Read the parameters referring to the procedure in "Parameter batch read".
Read the parameters of all slave modules with registered IDs before executing parameter batch read.*
*1 Because parameter batch write updates all parameters of target slave modules, all parameters to which no changes are made need to
be set correctly.
Executing parameter batch write without executing parameter batch read will result in a malfunction.
1
2. Store the parameters to be written in the following location.
Device parameter read/write areas in 'Parameter storage area' (Un\G12288 to Un\G12335)
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 107 Parameter storage area
*1
3. Turn off and on 'Parameter batch write command for the slave module' (Y12).
At this time, 'Parameter access completion flag' (X11) turns off. In addition, 'Parameter accessing flag (with handshake)' (XB)
turns on.
4. When the parameter access is completed, 'Parameter access completion flag' (X11) automatically turns on.
5. Turn on and off 'Parameter batch write command for the slave module' (Y12).
6. When 'Parameter access completion flag' (X11) turns on and the following signals are turned off, 'Parameter accessing
flag (with handshake)' (XB) turns off.
• '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)
7. After executing parameter batch write, read the parameters of the slave module referring to the procedure in "To read
parameters" or "Parameter batch read" to check that the parameters have been correctly applied to the slave modules.
• During the parameter access, parameter batch read, and parameter batch write, 'Parameter access
completion flag' (X11) is off.
• When ''Parameter access completion flag' (X11) is off, the parameter access, parameter batch read,
parameter batch write, and AnyWireASLINK version compatibility inspection cannot be performed.
• Upon parameter batch read or parameter batch write, the values stored in 'Parameter access setting'
(Un\G10320) and 'Parameter access target module ID specification' (Un\G10321) are ignored.
36
1 FUNCTIONS
1.12 Slave Module Parameter Read/Write
Page 39
Parameter information storage location
ON
ON
OFF
OFF
OFF
ON
ON
OFF
(1)
(2)(4)
(5)
(6)
(7)
(3)
Executed by the RJ51AW12AL
Executed in the program
'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 completion flag' (X11)
'Parameter access error' (X12)
'Error flag clear command' (Y0)
The parameter information storage location differs depending on the slave module to be used.
Slave moduleParameter storage location
memory number
Bit output slave moduleUn\G10496 to Un\G1075148 words from the buffer memory
Bit input slave module or bit I/O combined slave moduleUn\G11008 to Un\G11263
Word output slave moduleUn\G19456 to Un\G19967
Word input slave module or word I/O combined slave moduleUn\G19968 to Un\G20479
Parameter information storage
location
start address
Parameter access timing
The parameter access timing is as follows.
1
No.Description
(1)Turn off and on any of the signals below with a program to start parameter access.
(2)The operation in (1) turns off 'Parameter access completion flag' (X11).
(3)The parameter access is in progress.
(4)When parameter access (read/write) is completed, 'Parameter access completion flag' (X11) automatically turns off and on.
(5)If parameter access has an error, 'Parameter access error' (X12) turns off and on and 'Parameter access completion flag' (X11) automatically
(6)Turning off and on 'Error flag clear command' (Y0) with a program turns on and off 'Parameter access error' (X12).
(7)Turn on and off the signal that has been turned off and on in the step (1) with a program.
• '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)
turns off and on.
*2
*1 Before the start of parameter access from the RJ51AW12AL to the slave module, apply the access method, access target ID, and
parameter data to the buffer memory.
*2 Error codes are stored in 'Latest error code storage area' (Un\G10256) and the target IDs are stored in 'Latest error ID storage area'
(Un\G10257). (The latest information is overwritten.)
*1
1.12 Slave Module Parameter Read/Write
1 FUNCTIONS
37
Page 40
Check of the parameter access completion
ON
OFF
OFF
ON
ON
OFF
(1)
(2)(5)
(3)(7)
(4)
(6)
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)
ON
OFF
OFF
ON
ON
OFF
(1)
(2)(6)
(3)(7)
(4)
(5)
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)
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 133 Added or
Changed Functions)
■When Y10, Y11, or Y12 is turned off after the parameter access processing is completed
(1) Turn off and on any of the signals at any time to start the parameter access.
(2) The signal turns on and off the moment the parameter access processing starts.
(3) The signal turns off and on the moment the parameter access processing starts.
(4) The parameter access is in progress.
(5) The signal turns off and on the moment the parameter access processing is completed.
(6) Turn on and off the signal at any time.
(7) The signal turns on and off when the output signal is turned on and off in (6) after the parameter access processing is completed.
■When Y10, Y11, or Y12 is turned off before the parameter access processing is completed
(1) Turn off and on any of the signals at any time to start the parameter access.
(2) The signal turns on and off the moment the parameter access processing starts.
(3) The signal turns off and on the moment the parameter access processing starts.
(4) The parameter access is in progress.
(5) Turn on and off the signal at any time.
(6) The signal turns off and on the moment the parameter access processing is completed.
(7) The signal turns on and off the moment the parameter access processing is completed.
1 FUNCTIONS
38
1.12 Slave Module Parameter Read/Write
Page 41
■When Y10, Y11, or Y12 is turned off before the parameter access processing starts.
ON
OFF
OFF
ON
ON
OFF
(1)(2)
(3)
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)
(1) Turn off and on any of the signals at any time to start the parameter access.
(2) Turn on and off the signal at any time.
(3) The parameter access will not be executed when Y10, Y11, or Y12 is turned off before the parameter access processing starts.
• To start the parameter access processing using Y10, Y11, or Y12, Y10, Y11, or Y12 must be on until
'Parameter accessing flag (with handshake)' (XB) turns off and on. When Y10, Y11, or Y12 is turned on and
off before 'Parameter accessing flag (with handshake)' (XB) turns off and on, the parameter access
processing does not start.
• When any of Y10, Y11, or Y12 is turned on, 'Parameter accessing flag (with handshake)' (XB) does not turn
on and off.
1
■Precautions
Under the following conditions, the parameter access processing does not start even when any of Y10, Y11, or Y12 is turned
off and on. Turn on the signal after the parameter access processing becomes enabled.
• 'Parameter accessing flag (with handshake)' (XB) is on
• 'One slave module changing flag' (X16) is on
• 'Parameter access completion flag' (X11) is off
1 FUNCTIONS
1.12 Slave Module Parameter Read/Write
39
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
• While 'AnyWireASLINK version compatibility inspection executing flag' (XD) is on
• While 'Adjustment mode executing flag' (XF) is on
• When the automatic address detection is in progress (While 'Automatic address detection flag' (X14) is on)
• When the same address used check is in progress (While 'Overlap address inspection flag' (X15) is on)
• When the parameter access is in progress (While 'Parameter access request command for the slave module' (Y10),
'Parameter batch read command for the slave module' (Y11), or 'Parameter batch write command for the slave module'
(Y12) is on)
• When any of the following errors has occurred
Error codeError description
0CC8HTransmission cable voltage drop error
0CC9HDP/DN short error
0CCBH24V/DP short error
1867HEEPROM access error
3064HRJ51AW12AL hardware failure
3065H
3066H
3068HCPU module stop error (IORSTL signal detection)
3069HSystem error (NMI signal detection)
306BHCPU module error (ITERR signal detection)
306CHASIC access error (library I/F function access error)
■Parameter reading and writing
• When parameter read or write is in progress, 'Parameter access completion flag' (X11) turns off. Refer to the section
describing the parameter access timing, and adjust the access timing. ( Page 38 Check of the parameter access
completion)
• While the parameters are being read or written, do not execute re-access to the parameters, automatic address detection,
same address used check, or AnyWireASLINK version compatibility inspection.
■Parameter access, parameter batch read, and parameter batch write
• These operations cannot be performed to a slave module whose ID has not been registered in the RJ51AW12AL.
• Remove a same ID used error or a no ID setting error of the slave module. Then perform the operations.
• Because parameter batch write updates all parameters of target slave modules, all parameters to which no changes are
made need to be set correctly. Be sure to execute parameter batch read right before executing parameter batch write.
Then, import the latest parameters and execute parameter batch write. Executing parameter batch write without executing
parameter batch read will result in a malfunction.
■Others
• When the automatic address detection is executed, the parameter batch read is executed simultaneously.
• Note that the RJ51AW12AL may communicate with a slave module and output parameters even if no parameters are set.
• When Y10, Y11, and Y12 are turned on at the same time, the order of priority will be Y10 > Y11 > Y12.
40
1 FUNCTIONS
1.12 Slave Module Parameter Read/Write
Page 43
1.13Easy 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)
1
After the slave module replacement, the RJ51AW12AL checks that the new slave module has the same type as the old one.
When the types of the old and new slave modules match, the following backup data is restored to the new slave module so
that the new slave module can be used.
• Module ID
• Device parameters 1 to 19 (parameter value detected by the automatic address detection)
*1 Parameter information acquired through parameter access cannot be restored.
*1
Applicable slave module
For slave modules that support this function, consult Anywire Corporation.
Replace the slave module with the one that meets the following conditions.
• Unused slave module of which address and device parameter are not changed
• Slave module to which the teaching is not executed
1 FUNCTIONS
1.13 Easy Replacement function for One Slave Module
41
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" is set to "0: Enable" in the module parameter of the RJ51AW12AL. (Parameter information of the slave module is
stored in the RJ51AW12AL.)
• Other slave modules than the one to be replaced have no errors.
• Slave modules with no IDs assigned are not registered.
1. Turn off the 24VDC external power supply connected to the RJ51AW12AL.
Voltage of the transmission cable drops, and 'Transmission cable voltage drop error' (X3) turns off and on.
2. Disconnect the slave module to be replaced. (Two or more slave modules cannot be replaced at the same time.)
3. Connect an unused slave module of the same type. ( Page 41 Applicable slave module)
4. Turn on the 24VDC external power supply connected to the RJ51AW12AL.
A DP/DN disconnection error occurs, and 'DP/DN disconnection error' (X4) turns off and on.
5. 'One slave module changing flag' (X16) turns off and on, and the backup data is restored from the RJ51AW12AL.
6. After the backup data is restored, 'One slave module changing flag' (X16) turns on and off, and 'Slave module
replacement completion flag' (X17) turns off and on.
Simultaneously, the error status of the RJ51AW12AL is cleared. (As with turning off and on 'Error flag clear command' (Y0)
(Page 93 Error flag clear command: Y0))
7. Approximately five seconds later, 'Slave module replacement completion flag' (X17) turns on and off, and the
replacement of the slave module is completed.
• Every time "Easy replacement enable/disable setting for one slave module" is changed from "1: Disable" to
"0: Enable", execute the automatic address detection. Executing the automatic address detection with the
easy one-device replacement enabled stores the device parameters of the slave module to the
RJ51AW12AL.
• Unless the automatic address detection is executed, the replacement of the slave module will not be
completed successfully, and a malfunction may be caused.
• The easy replacement function for one slave module stops if an error occurs in midstream. Eliminate the
error cause, and follow the procedures from step 1 again.
42
1 FUNCTIONS
1.13 Easy Replacement function for One Slave Module
Page 45
Timing of slave module replacement
(2)
(8)
(1)
(7)(5)
(3)
(9)
(6)
(4)
OFF
ON
ON
OFF
ON
OFF
OFF
ON
ON
OFF
Slave module to be replaced
Slave module unused
'DP/DN disconnection error' (X4)
'Parameter access completion flag' (X11)
'Slave module changing flag' (X16)
'Slave module change completion flag' (X17)
Receivable or not receivable for automatic address
detection and parameter access
ReceivableReceivableNot receivable
Connecting
Connecting
Not connected
Not
connected
24VDC external power supply
The following shows the timing up until the completion of the slave module replacement.
1
(1) Turn off the 24VDC external power supply connected to the RJ51AW12AL.
(2) When an unused slave module is mounted and the 24VDC external power supply is turned on, 'Parameter access completion flag' (X11) turns off and on.
(3) Check the connection status of the slave modules of which IDs have been registered. In addition, 'DP/DN disconnection error' (X4) turns off and on.
(4) Connection status is checked to see that an unused slave module is connected. In addition, 'Parameter access completion flag' (X11) turns on and off.
(5) The RJ51AW12AL verifies the model name of the new slave module against that of the old one during the parameter access processing.
(6) The moment the parameter access processing has been completed, 'Parameter access completion flag' (X11) and 'One slave module changing flag'' (X16)
turn off and on.
(7) 'Parameter access completion flag' (X11) turns on and off, and the backup data is restored to the new slave module from the RJ51AW12AL.
(8) The statuses of the following input signals change when the backup data is restored. In addition, the error status of the RJ51AW12AL is cleared. (As with
turning off and on 'Error flag clear command' (Y0))
• 'Parameter access completion flag' (X11) turns off and on.
• 'One slave module changing flag' (X16) turns on and off.
• 'Slave module replacement completion flag' (X17) turns off and on.
(9) Approximately five seconds later, 'Slave module replacement completion flag' (X17) turns on and off.
1.13 Easy Replacement function for One Slave Module
1 FUNCTIONS
43
Page 46
1.14Word Data Start Address Setting Function
012345678
...
247 248 249 250 251 252 253 254 255
(2)
(1)
012345678
...
247 248 249 250 251 252 253 254 255
250
(3)
Address
Address
Address
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.
(1) Registered address (word slave module)
(2) Access to unregistered addresses existing before the registered address causes extra time for word transmission cycle. (Number of word data points setting:
512 words (256 input words/256 output words))
(3) When the word data points setting is 2 words (1 input word/1 output word) and the word data transmission start address is set to 250, the address targeted
for access will be 250 only.
When using this function, check the production information of the RJ51AW12AL. ( Page 133 Added or
Changed Functions)
This function can be used for word data only. This function does not affect the target input and output
addresses of bit data.
Setting method
Set this function in "Word data points setting" of "Basic setting". ( Page 51 Word data point setting)
Precautions
An address exceeding the specified number of word data points cannot be set to "Word data points setting".
44
1 FUNCTIONS
1.14 Word Data Start Address Setting Function
Page 47
1.15AnyWireASLINK 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
1. Perform either of the following operations.
• Turn off and on 'AnyWireASLINK version compatibility inspection command' (YD).
• While holding down the SET switch on the RJ51AW12AL, reset the CPU module or power off and on the system.
2. The status will be changed as follows, and the AnyWireASLINK version compatibility inspection will start.
• 'AnyWireASLINK version compatibility inspection executing flag' (XD) turns off and on.
• 'Parameter access completion flag' (X11) turns on and off.
• The LINK LED stops flashing and stays on.
3. When the AnyWireASLINK version compatibility inspection completes, the LINK LED stops illuminating and flashes.
(The inspection takes approximately 15 seconds.)
1
• The AnyWireASLINK transmission stops when the AnyWireASLINK version compatibility inspection starts.
• Error flags are cleared before the AnyWireASLINK version compatibility inspection starts. (As with turning
off and on 'Error flag clear command' (Y0))
How to check the error status
If an AnyWireASLINK version compatibility inspection error exists after the inspection, the status will be as follows.
ItemDescription
'AnyWireASLINK version compatibility inspection error' (X8)Turns off and on.
Timing of the AnyWireASLINK version compatibility inspection
The following shows the timing of each step in the AnyWireASLINK version compatibility inspection.
■When the inspection is executed by 'AnyWireASLINK version compatibility inspection
command' (YD)
(1) When 'AnyWireASLINK version compatibility inspection command' (YD) is turned off and on, 'AnyWireASLINK version compatibility inspection executing
flag' (XD) turns off and on, and 'Parameter access completion flag' (X11) turns on and off.
(2) The AnyWireASLINK version compatibility inspection starts.
(3) Parameter access is in progress.
(4) 'Parameter access completion flag' (X11) turns off and on upon completion of the parameter access.
(5) The AnyWireASLINK version compatibility inspection completes.
(6) When 'AnyWireASLINK version compatibility inspection command' (YD) is turned on and off, 'AnyWireASLINK version compatibility inspection executing
flag' (XD) turns on and off.
1 FUNCTIONS
46
1.15 AnyWireASLINK Version Compatibility Inspection Function
Page 49
■When the inspection is executed by the SET switch
(2)
(6)
(5)
ON
ONON
OFF
OFF
ON
OFF
OFF
OFF
(4)
(1)
(3)(7)
ALM LED
LINK LED
'AnyWireASLINK version compatibility
inspection executing flag' (XD)
'Parameter access completion flag' (X11)
SET switch
CPU module or power supply
AnyWireASLINK transmission
Stopping
the transmission
Transmitting
Inputting/outputting word data or
bit data
'AnyWireASLINK version compatibility
inspection error' (X8)
Inputting/outputting
ON (error completion only)
On (error completion only)
Stopping
Off
Off
OnFlashing
1
(1) While holding down the SET switch, reset the CPU module or power off and on the system. (Hold down the SET switch for one second or longer.)
(2) When the AnyWireASLINK transmission starts, 'AnyWireASLINK version compatibility inspection executing flag' (XD) turns off and on, and 'Parameter
access completion flag' (X11) turns on and off.
(3) The AnyWireASLINK version compatibility inspection starts.
(4) During this period, the operation is not affected by the on/off status of the switch or the command.
(5) Parameter access is in progress.
(6) 'Parameter access completion flag' (X11) turns off and on upon completion of the parameter access.
(7) The AnyWireASLINK version compatibility inspection completes.
When 'AnyWireASLINK version compatibility inspection command' (YD) is turned off and on during
AnyWireASLINK version compatibility inspection, 'AnyWireASLINK version compatibility inspection executing
flag' (XD) does not turn on and off even if AnyWireASLINK version compatibility inspection is completed.
When 'AnyWireASLINK version compatibility inspection command' (YD) is turned on and off, 'AnyWireASLINK
version compatibility inspection executing flag' (XD) turns on and off.
1.15 AnyWireASLINK Version Compatibility Inspection Function
1 FUNCTIONS
47
Page 50
2PARAMETER SETTINGS
This chapter describes the parameter setting required for the RJ51AW12AL.
2.1Parameter Setting Procedure
1. Add the RJ51AW12AL to an engineering tool.
[Navigation window] [Parameter] [Module Information] Right click [Add New Module]
2. The parameter setting includes a basic setting and refresh setting. Select the settings in the tree and set the items in the
3. Write the setting to the CPU module with the engineering tool.
[Online] [Write to PLC]
4. Reset the CPU module or power off and on the system to apply the setting.
48
2 PARAMETER SETTINGS
2.1 Parameter Setting Procedure
Page 51
2.2Basic Setting
Set the number of transmission points of the RJ51AW12AL and others.
2
Bit data setting
Set the number of bit data transmission points of AnyWireASLINK.
ItemDescriptionSetting range
Transmission points
setting
Set the number of bit data points.
The transmission cycle time is determined based on the specified
number of bit data points. ( Page 111 Transmission cycle time)
Set whether to read the parameters of slave modules at start-up of the RJ51AW12AL.
ItemDescriptionSetting range
Startup operating mode
setting
Set the operation mode at start-up.• 0: Without slave information acquisition
• 1: Get slave Information acquisition
(Default: 0: Without slave information acquisition)
2 PARAMETER SETTINGS
2.2 Basic Setting
49
Page 52
Bit data double verification setting
Set the double verification of the bit data of the RJ51AW12AL.
ItemDescriptionSetting range
Double verification
setting
Set the bit data double verification mode. ( Page 19 Double
Verification)
• 0: All points, double verification of a bit
• 1: Double verification of the 16bit(word) until the 1st word
• 2: Double verification of the 16bit(word) until the 2nd word
• 3: Double verification of the 16bit(word) until the 3rd word
• 4: Double verification of the 16bit(word) until the 4th word
• 5: Double verification of the 16bit(word) until the 5th word
• 6: Double verification of the 16bit(word) until the 6th word
• 7: Double verification of the 16bit(word) until the 7th word
• 8: Double verification of the 16bit(word) until the 8th word
• 9: Double verification of the 16bit(word) until the 9th word
• 10: Double verification of the 16bit(word) until the 10th word
• 11: Double verification of the 16bit(word) until the 11th word
• 12: Double verification of the 16bit(word) until the 12th word
• 13: Double verification of the 16bit(word) until the 13th word
• 14: Double verification of the 16bit(word) until the 14th word
• 15: Double verification of the 16bit(word) until the 15th word
• 16: All points, double verification of the 16bit(word)
(Default: 0: All points, double verification of a bit)
Error status automatic recovery setting
Set whether to automatically recover the RJ51AW12AL from the error status.
ItemDescriptionSetting range
Error status automatic
recovery mode setting
Set the error status automatic recovery mode. ( Page 31 Error
Status Automatic Recovery Function)
• 0: No error status automatic recovery
• 1: Error status automatic recovery
(Default: 0: No error status automatic recovery)
Holding/clearing output data against error setting
Set the slave module to hold or clear the output data when the RJ51AW12AL detects the following errors.
• CPU module stop error (IORSTL signal detection)
• System error (NMI signal detection)
• CPU module error (ITERR signal detection)
• ASIC access error (library I/F function access error)
ItemDescriptionSetting range
Output data hold/clear
setting when error
occurs
Set whether to hold or clear the output data when an error occurs.• 0: CLEAR
•1: HOLD
(Default: 0: CLEAR)
Holding/clearing word output data against error setting
Set the word slave module to hold or clear the input data when a disconnection is detected.
ItemDescriptionSetting range
"Word input data hold/
clear setting when error
occurs
Set whether to hold or clear the word input data when a
disconnection is detected.
• 0: CLEAR
•1: HOLD
(Default: 0: CLEAR)
50
2 PARAMETER SETTINGS
2.2 Basic Setting
Page 53
Enabling/disabling the easy replacement setting for one slave
module
Set whether to enable or disable easy replacement setting for one slave module.
ItemDescriptionSetting range
Easy replacement
enable/disable setting
for one slave module
Enable or disable easy replacement setting for one slave module.• 0: Enable
• 1: Disable
(Default: 0: Enable)
Word data point setting
Set the number of word data points to be used.
ItemDescriptionSetting range
To use or not to use
word data setting
Word data points setting Set the number of word data points to be used.
Word data start addressSet the word data transmission start address.
Word data points setting
per frame
Set whether to use the word data.• 0: Not use
•1: Use
(Default: 0: Not use)
*1
Because the number of word data points should be the same
between input and output, set the number of word data points to
that of input or output, whichever is larger.
*1
Set the number of points to be stored in one frame of word
transmission of AnyWireASLINK.
*1
• 0: word data (no word data)
• 1: 2 words (1 input word, 1 output word)
• 2: 4 words (2 input words, 2 output words)
• 4: 8 words (4 input word, 4 output word)
• 8: 16 words (8 input word, 8 output word)
• 16: 32 words (16 input word, 16 output word)
• 32: 64 words (32 input words, 32 output words)
• 64: 128 words (64 input words, 64 output words)
• 128: 256 words (128 input words, 128 output words)
• 256: 512 words (256 input words, 256 output words)
• 512: 1024 words (512 input words, 512 output words)
(Default: 0: word data (no word data))
0 to 511
(Default: 0)
• 0: word data (no word data)
• 1: 2 words (1 input word, 1 output word)
• 2: 4 words (2 input words, 2 output words)
• 3: 8 words (4 input words, 4 output words)
• 4: 16 words (8 input words, 8 output words)
• 5: 32 words (16 input words, 16 output words)
(Default: 0: word data (no word data))
2
*1 This item can be set when "To use or not to use word data setting" is set to "1: Use".
When the word data is used, slave modules not supporting word data stops operation and disables the ID
registration by the automatic address detection.
Slave modules not supporting word data can be identified by the AnyWireASLINK version compatibility
inspection. ( Page 45 AnyWireASLINK Version Compatibility Inspection Function)
2 PARAMETER SETTINGS
2.2 Basic Setting
51
Page 54
2.3Refresh 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.
Enable or disable "Output 0-15" to enable or disable the refresh.
• When "Target" is "Refresh Data Register (RD)"
Set a start device in "Start Device Name" to set transfer destinations of all the items automatically.
• When "Target" is "Device"
Double-click the item to set and enter a refresh target device.
3. Click "Refresh Timing", and set the refresh timing.
Set "Refresh Timing" to "At the Execution Time of END Instruction" or "At the Execution Time of Specified Program".
If "At the Execution Time of Specified Program" is selected, double-click "Refresh group [n] (n: 1-64)", and select the desired
number from 1 to 64.
When refresh is enabled, the values of refresh targets become effective at the refresh timing set with an
engineering tool. At this time, buffer memory areas are overwritten with the values of the refresh targets. To
change the values of the buffer memory areas to be refreshed, create a program that modifies module labels
and device values of the refresh targets.
52
2 PARAMETER SETTINGS
2.3 Refresh Setting
Page 55
2.4Refresh 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.
• Refresh processing time [s] = Refresh read (refresh of transfer to the CPU) time + Refresh write (refresh of transferred to
intelligent function modules) time
The refresh read time and refresh write time vary depending on refresh targets.
When the refresh target is a module label or refresh data register
(RD)
The following shows the refresh read time and refresh write time when a CPU module is used.
ClassificationRefresh processing time
Refresh read time21.8s
Refresh write time0.16s
When the refresh target is a specified device
The refresh read time and refresh write time are calculated according to the number of refresh-target items and the number of
the items to be transferred (words). For the calculation method, refer to the following.
MELSEC iQ-R CPU Module User's Manual (Application)
2
2 PARAMETER SETTINGS
2.4 Refresh Processing Time
53
Page 56
2.5Slave Module Address Setting
(1)
(2)
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).
For details, refer to the manual of the address writer.
Image of address read/write
(1) Address setting port
(2) Light projecting/receiving part
• Addresses cannot be read or written using the address writer unless the power is supplied to the slave
module.
• When making the settings related to the word transmission function using the address writer, check the
supported models or versions.
Address setting
Set the address of each slave module to assign the slave module to the buffer memory area.
Address means the start bit or word of the memory area occupied by the slave module, which is set using a decimal number.
The buffer memory area corresponding to the number of slave module points is occupied from the specified address.
The number of occupied points differs depending on the slave module. In addition, the same buffer memory area cannot be
occupied by different slave modules.
For details, refer to the following.
Manual of the slave module used (manufactured by Anywire Corporation)
54
2 PARAMETER SETTINGS
2.5 Slave Module Address Setting
Page 57
Address and ID
The following table shows the relationship between address and ID.
ModelAddressID
Bit typeOutput slave module0 to 2540000H to 00FEH
Input slave module0200H to 02FEH
I/O combined slave module
Word typeOutput slave module0 to 5100400H to 05FEH
Input slave module0600H to 07FEH
I/O combined slave module
When data is written to the slave module, the data is written in the range of the above address (not in the range of the ID).
■Slave module that uses both bit transmission and word transmission
The following table shows the address and ID of the slave module that uses both bit transmission and word transmission.
ItemDescription
AddressUse word address on slave modules that use both bit transmission and word transmission.
When a word address is set, the same address will be applied to the bit address.
For example, when the word address is set to 120, the bit address is set to 120.
IDID is assigned as a word address.
For example, when address 120 (0078H) is set on the word input slave module, the ID is set to 0678H.
*1 Slave modules for which bit address is selected do not perform word transmission. For the operation of slave modules for which bit
address is selected, refer to the following.
Manual of the slave module used (manufactured by Anywire Corporation)
*1
2
Address setting example
■Assignment by 2-point bit slave module only
When 0 is set for the input slave module address, and 0 and 2 for the output slave module address, bits are occupied as
follows.
• Buffer memory address of the input slave module
Buffer memory addressBit No.
1514131211109876543210
Un\G01514131211109876543210
Areas occupied by address 0 of the 2-point slave module: Un\G0.0, Un\G0.1
• Buffer memory address of the output slave module
Buffer memory addressBit No.
1514131211109876543210
Un\G40961514131211109876543210
Areas occupied by address 0 of the 2-point slave module: Un\G4096.0, Un\G4096.1
Areas occupied by address 2 of the 2-point slave module: Un\G4096.2, Un\G4096.3
2 PARAMETER SETTINGS
2.5 Slave Module Address Setting
55
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.
• Buffer memory address of the input slave module
Buffer memory addressBit No.
1514131211109876543210
Un\G01514131211109876543210
Areas occupied by address 0 of the 2-point slave module: Un\G0.0, Un\G0.1
Area occupied by address 2 of the 1-point slave module: Un\G0.2
Areas occupied by address 3 of the 2-point slave module: Un\G0.3, Un\G0.4
• Buffer memory address of the output slave module
Buffer memory addressBit No.
1514131211109876543210
Un\G40961514131211109876543210
Areas occupied by address 0 of the 2-point slave module: Un\G4096.0, Un\G4096.1
Area occupied by address 2 of the 1-point slave module: Un\G4096.2
Areas occupied by address 3 of the 2-point slave module: Un\G4096.3, Un\G4096.4
■Assignment by 2-word word slave module only
When 0 is set for the input slave module address, and 0 and 2 for the output slave module address, words are occupied as
follows.
• Buffer memory address of the input slave module
Buffer memory addressWord No.
Un\G5120
Un\G5131
Un\G5142
Un\G5153
Un\G5164
Areas occupied by address 0 of the 2-word slave module: Un\G512, Un\G513
• Buffer memory address of the output slave module
Buffer memory addressWord No.
Un\G46080
Un\G46091
Un\G46102
Un\G46113
Un\G46124
Areas occupied by address 0 of the 2-word slave module: Un\G4608, Un\G4609
Areas occupied by address 2 of the 2-word slave module: Un\G4610, Un\G4611
Values are correctly stored in the buffer memory only when the number of points is set to 8 words (4 input words/4 output
words) or larger.
56
2 PARAMETER SETTINGS
2.5 Slave Module Address Setting
Page 59
Precautions
Ex.
• 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.
• In the address setting, ensure that the address occupied by the slave module does not exceed the number of transmission
points set in the RJ51AW12AL. For the operation mode setting of the RJ51AW12AL, refer to the following.
Page 49 Bit data setting
When "Transmission points setting" is set to "0: 64 points (32 input points/32 output points)", the effective address range is
between 0 and 31.
If the address is set to 32 or larger, the slave module does not communicate I/O data.
When "Word data points setting" is set to "4: 8 words (input 4 words, output 4 words)", the effective address range is between
0 and 3.
If the address is set to 4 or larger, the slave module does not communicate I/O data.
• Do not use the following values when writing the address of the slave module. Doing so will cause a No ID setting error.
ModelAddress
Bit slave module255, 511
Word slave module511
2
2 PARAMETER SETTINGS
2.5 Slave Module Address Setting
57
Page 60
2.6Automatic 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.
The ID (address) information stored in the EEPROM is held even when the power is turned off. However, information about
unset IDs, the same IDs, and the parameter information of each slave module are not held.
Whenever starting the system or changing the system configuration, set the correct addresses to all the slave modules and
execute the automatic address detection.
Executing the automatic address detection
To execute the automatic address detection, use the SET switch or 'Automatic address detection command' (Y1).
Using the SET switch
1. Check that all of the slave modules are operating normally.
2. Keep pressing the SET switch on the RJ51AW12AL until the SET LED turns on.
At this time, 'Automatic address detection flag' (X14) turns on.
3. When the SET LED flashes for a while and turns off, the ID (address) has been stored.
4. When 'Automatic address detection flag' (X14) turns off, the automatic address detection is completed.
Using 'Automatic address detection command' (Y1)
1. Check that all of the slave modules are operating normally.
2. Turn on and off 'Automatic address detection command' (Y1).
At this time, 'Automatic address detection flag' (X14) turns on.
3. When the SET LED flashes for a while and turns off, the ID (address) has been stored.
4. When 'Automatic address detection flag' (X14) turns off, the automatic address detection is completed.
58
2 PARAMETER SETTINGS
2.6 Automatic Address Detection Function
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
• While 'Adjustment mode executing flag' (XF) is on
• While 'Parameter access completion flag' (X11) is off
• When automatic address detection is in progress (While 'Automatic address detection flag' (X14) is on)
• When the same address used check is in progress (While 'Overlap address inspection flag' (X15) is on)
• When the easy replacement setting for one slave module is in progress (While One slave module changing flag' (X16) is
off)
• When the parameter access is in progress (While 'Parameter access request command for the slave module' (Y10),
'Parameter batch read command for the slave module' (Y11), or 'Parameter batch write command for the slave module'
(Y12) is on)
• When any of the following errors has occurred
Error codeError description
0CC8HTransmission cable voltage drop error
0CC9HDP/DN short error
0CCBH24V/DP short error
1867HEEPROM access error
3064HRJ51AW12AL hardware failure
3065H
3066H
3068HCPU module stop error (IORSTL signal detection)
3069HSystem error (NMI signal detection)
306BHCPU module error (ITERR signal detection)
306CHASIC access error (library I/F function access error)
2
■Situations in which automatic address detection is required
Execute automatic address detection in the following cases.
• When starting the system operation (when all of the slave modules are connected and operating normally)
• When adding a slave module after starting the system operation
• When removing a slave module after starting the system operation
• When changing the address of a slave module after starting the system operation
• When enabling easy replacement setting for one slave module
• When changing device parameters of a slave module or restoring data with the data backup/restoration after enabling easy
replacement setting for one slave module
■Check after execution of automatic address detection
After executing automatic address detection, check that there is no inconsistency between the actual system configuration
and the IDs registered in the RJ51AW12AL, referring to the value stored in 'Number of the IDs of the connected modules'
(Un\G9216) and values stored in 'Connected module ID information storage area' (Un\G9217 to Un\G9344).
■Executing automatic address detection again
Use an address writer to set the ID (address) in a slave module that has the same ID as other slave modules or where an ID
is not set. Then execute automatic address detection again.
■Word slave modules
When the automatic address detection function is executed with a word slave module connected, set the number of word data
points in the parameter setting to 2 words (1 input word/1 output word) or larger. (Page 51 Word data point setting)
If the number of word data points is not set, the address is not stored in the EEPROM of the RJ51AW12AL even when the
automatic address detection function is executed.
2 PARAMETER SETTINGS
2.6 Automatic Address Detection Function
59
Page 62
Automatic address detection execution timing
ON
ON
OFF
ON
OFF
OFF
OFF
ON
ON
OFF
SET LED
Turning on 'Automatic address detection command' (Y1)
*1
(or long press of the SET switch)
'Automatic address detection flag' (X14)
'Overlap address inspection flag' (X15)
'Parameter access completion flag' (X11)
'Parameter access error' (X12)
Automatic address detection
being executed
Batch read
executed
In process
Automatic
Automatic
Automatic
Automatic
Automatic
A parameter access
error has occurred.
OFF
ID searchOverlap inspection + parameter read
The LED on
The LED flashing
(Address being written)
The following shows automatic address detection execution timing.
*1 After turning on 'Automatic address detection command' (Y1), check that 'Automatic address detection flag' (X14) is on or check the SET
LED status. Then, turn off 'Automatic address detection command' (Y1) with a program.
2 PARAMETER SETTINGS
60
2.6 Automatic Address Detection Function
Page 63
2.7Automatic reading of system configuration
Man-hour for setting parameters can be reduced by automatically reading the information of the slave module connected over
Label to be definedDefine global labels as shown below:
62
3 PROGRAMMING
3.1 Precautions on Programming
Page 65
3.2Communication Example When the Slave Module
(1)(2)(3)(4)(5)(6)
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. (The parameter of a non-existing ID is deleted and displayed.)
Therefore, the address of the slave module later than the ID where the slave module is added or deleted must be changed
when a program is created with buffer memory addresses directly specified. (This also applies if the ID is changed and sorting
order is switched.)
To create a program that reads/writes the parameter without considering the addition or deletion of slave modules, use the
following buffer memory areas.
AddressName
Un\G10496 to Un\G10751Parameter storage location memory number (bit output)
Un\G11008 to Un\G11263Parameter storage location memory number (bit input)
Un\G19456 to Un\G19967Parameter storage location memory number (word output)
Un\G19968 to Un\G20479Parameter storage location memory number (word input)
After automatic address detection, the start address of the buffer memory that stores the parameter of the ID is stored in these
areas. ( Page 105 Parameter storage location memory number)
System configuration example
3
This section describes when the ASLINKER M12 connector type (input type) is added with address 10.
A slave module (address 10) of (4) is added in the following system configuration.
*1 The parameter of the slave module with address 10 (ID: 20AH), which has been added, is stored.
*2 The parameter moves from the parameter storage area 5 to the parameter storage area 6.
64
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
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.
Buffer memory
address
Un\G104960000HOutput slave module
Un\G104970000HOutput slave module
Un\G104980000HOutput slave module
Un\G104990000HOutput slave module
Un\G105003000HOutput slave module
Un\G105010000HOutput slave module
Un\G105183030HOutput slave module
Un\G107510000HOutput slave module
Un\G110083060HInput/mixed slave module
Un\G110090000HInput/mixed slave module
Un\G110103090HInput/mixed slave module
Un\G110110000HInput/mixed slave module
Un\G110180000H (before addition)
Un\G1102830C0H (before addition)
Un\G112630000HInput/mixed slave module
DataDetailsSlave module
ASLINKER cable type (output type)
Address 4 (ID: 004H)
ASLINKER M12 connector type (output type)
Address 22 (ID: 016H)
ASLINKER cable type (input type)
Address 0 (ID: 200H)
ASLINKER cable type (mixed type)
Address 2 (ID: 202H)
ASLINKER M12 connector type (input type)
Address 10 (ID: 20AH)
ASLINKER M12 connector type (mixed type)
Address 20 (ID: 214H)
30C0H (after addition)
30F0H (after addition)
ID 000H buffer memory start address
ID 001H buffer memory start address
ID 002H buffer memory start address
ID 003H buffer memory start address
ID 004H buffer memory start address
ID 005H buffer memory start address
ID 016H buffer memory start address
ID 0FFH buffer memory start address
ID 200H buffer memory start address
ID 201H buffer memory start address
ID 202H buffer memory start address
ID 203H buffer memory start address
Input/mixed slave module
ID 20AH buffer memory start address
Input/mixed slave module
ID 214H buffer memory start address
ID 2FFH buffer memory start address
3
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
65
Page 68
Setting in the RJ51AW12AL
Connect an engineering tool to the CPU module and set parameters.
1. Set the CPU module as follows.
[Project] [New]
2. Click the [OK] button to add the module labels of the CPU module.
3. Set the RJ51AW12AL as follows.
[Navigation window] [Parameter] [Module Information] Right click [Add New Module]
66
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
Page 69
4. Click the [OK] button to add the module labels of the RJ51AW12AL.
Label to be definedDefine global labels as shown below:
3
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
69
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.
The status details of the slave module (address 20) are stored in 40th (Un\G12567) of 48 words of the parameter storage area
6 (Un\G12528 to Un\G12575). ( Page 109 Parameters)
70
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
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.
The photoelectric transmission type operates based on the combination of the two types: "Transmission floodlight type" and
"Transmission light receiving type".
If the slave module with address 20 is replaced with the ASLINKSENSOR, two slave modules, "Transmission floodlight type"
and "Transmission light receiving type" (both have address 20.), will be added. Thus, the system is configured with seven
slave modules.
The following shows a program example that reads the sensing level of the slave module (address: 20) when the start I/O
number of the RJ51AW12AL is assigned to X/Y00 to X/Y1F.
Label to be definedDefine global labels as shown below:
3
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
71
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 109 Parameters)
72
3 PROGRAMMING
3.2 Communication Example When the Slave Module is Added or Deleted
Page 75
4TROUBLESHOOTING
This chapter describes the troubleshooting of the RJ51AW12AL.
4.1Checking with LED
This section describes troubleshooting using LED.
When the RUN LED turns off
When the RUN LED turns off after powering on the RJ51AW12AL, check the following.
Check itemAction
Is the RJ51AW12AL mounted correctly?Securely mount the RJ51AW12AL on the base unit.
When the ERR LED turns on or flashes
When the ERR LED turns on or flashes, check the following.
Check itemAction
Does any error occur in the module diagnostics?Take the actions displayed on the window.
Was the power turned off during automatic address detection?Execute automatic address detection again.
Executing automatic address detection will recover corrupted data in the
EEPROM.
Is the word data points setting value within the setting range?Set the number of word data points within the setting range.
4
When the LINK LED turns on or off
When the LINK LED turns on or off, check the following.
Check itemAction
Does a programmable controller error occur in the engineering tool?Check the error with the engineering tool and correct the error.
Is the AnyWireASLINK version compatibility inspection in progress?Wait for the AnyWireASLINK version compatibility inspection to complete.
When the ALM LED is flashing at 0.2 second intervals
When the ALM LED is flashing at 0.2 second intervals, check the following.
Check itemAction
Does a programmable controller error occur in the buffer memory?Check the error with the buffer memory and correct the error. ( Page 76
Checking with the buffer memory)
Is the power supply voltage of the 24VDC external power supply within the
rated value?
Is any power cable short-circuited?• Check that the power cables (24V, 0V) are not disconnected or short-
Is the terminal block properly wired?• Check that the 24VDC external power supply is properly connected to the
Is the current consumption of the AnyWireASLINK system within the specified
range?
Adjust the power supply voltage of the 24VDC external power supply within
the rated value (21.6 to 27.6VDC). (The recommended voltage is 26.4VDC.)
circuited.
• When crimping the link connector, check that the pin layout is correct.
terminal blocks of the RJ51AW12AL and the slave module.
• Check that there is no short circuit or incorrect wiring and screws are
tightened sufficiently.
Correct the cables (wire diameter, total wiring length) and modules (type, the
number of connected modules) so that the current consumption of all the
slave modules does not exceed the transmission cable supply current of the
RJ51AW12AL. MELSEC iQ-R AnyWireASLINK Master Module User's
Manual (Startup)
4 TROUBLESHOOTING
4.1 Checking with LED
73
Page 76
When the ALM LED is flashing at 1 second intervals
When the ALM LED is flashing at 1 second intervals, check the following.
Check itemAction
Does a programmable controller error occur in the buffer memory?Check the error with the buffer memory and correct the error. ( Page 76
Is any transmission cable (between DP and DN, between 24V and DP, or
between 0V and DP) short-circuited?
Is the terminal block properly wired?Check that the transmission cables (DP, DN) are not in contact with each other
Is the current consumption of the AnyWireASLINK system within the specified
range?
Checking with the buffer memory)
• Check that the transmission cables (between DP and DN, between 24V and
DP, or between 0V and DP) are not short-circuited.
• When crimping the link connector, check that the pin layout is correct.
and that there is no incorrect wiring in the terminal block wiring of the
RJ51AW12AL and the slave module.
Correct the cables (wire diameter, total wiring length) and modules (type, the
number of connected modules) so that the current consumption of all the
slave modules does not exceed the transmission cable supply current of the
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.
Check itemAction
Does a programmable controller error occur in the buffer memory?Check the error with the buffer memory and correct the error. ( Page 76
Checking with the buffer memory)
Is any transmission cable (DP, DN) disconnected?• Check that the transmission cables (DP, DN) are free from disconnection.
• Check that the cables are crimped with proper pin layout using link
connectors appropriate to the wire diameter.
Is the terminal block properly wired?• Check that the transmission cables (DP, DN) and power cables (24V, 0V)
are properly connected to the terminal block of the RJ51AW12AL.
• Check that there is no incorrect wiring and that screws are tightened
sufficiently.
Has the automatic address detection been executed?When creating a new system, adding or removing a slave module, or
Is the slave module operating properly?When the LINK LED of the slave module does not flash, check that there is no
Does an AnyWireASLINK version compatibility inspection error exist?For measures to be taken, refer to the following.
Does a Backup/Restore unsupported error exist?For measures to be taken, refer to the following.
changing the address of the slave module, execute the automatic address
detection. ( Page 58 Automatic Address Detection Function)
After executing the automatic address detection function, check that the
number of slave modules and the address are consistent with those of the
actual system.
disconnection, short circuit, incorrect wiring, or poor contact in the
transmission cables (DP, DN) around the module.
Page 79 When the AnyWireASLINK version compatibility inspection
cannot be executed
Page 79 When the backup/restoring function is not available
When the SET LED turns on and does not turn off
When the SET LED turns on and does not turn off, check the following.
Check itemAction
Was the power turned off during automatic address detection?Execute automatic address detection again.
Executing automatic address detection will recover corrupted data in the
EEPROM.
74
4 TROUBLESHOOTING
4.1 Checking with LED
Page 77
4.2Checking Module Status
Checking with the "Module Diagnostics" window
The following items can be checked in the "Module Diagnostics" window of the RJ51AW12AL.
ItemDescription
Error InformationDisplays the details of the errors currently occurring.
Module Information ListThis item does not support the RJ51AW12AL.
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.
Error Information
Check the details of errors that have occurred and actions for the errors.
4
ItemDescription
Detailed InformationDisplays detailed information about each error (maximum of 3 pieces).
CauseDisplays the detailed error causes.
Corrective ActionDisplays the actions to eliminate the error causes.
4 TROUBLESHOOTING
4.2 Checking Module Status
75
Page 78
Checking with the buffer memory
The following shows the check method with the buffer memory.
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).
■Check of the error ID area
The number of error IDs is stored in 'Number of the error IDs' (Un\G8192) and the ID information is stored in 'Error ID
information storage area' (Un\G8193 to Un\G8320).
■Check of the alarm signal area
The number of slave modules having an error is stored in 'Number of the alarm IDs' (Un\G9984) and the ID information is
stored in 'Alarm ID information storage area' (Un\G9985 to Un\G10112).
■Check of the error details of the slave module
The details of errors in the slave module are stored in the status details in 'Parameter storage area' (Un\G12288 to
Un\G12335).
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 107 Parameter storage area
* 1
76
4 TROUBLESHOOTING
4.2 Checking Module Status
Page 79
4.3Troubleshooting 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 itemAction
Is the LINK LED of the RJ51AW12AL on or off?Perform the troubleshooting for when the LINK LED is on or off. ( Page 73
Are the number of transmission points of the RJ51AW12AL and the address
setting of the slave module correct?
Does the total wiring length of the transmission cables (DP, DN) exceed
200m?
Do the wires or cables used satisfy standards?When they do not satisfy the standards, change the wires or cables with the
When communication is unstable
When communications are unstable, check the following.
Check itemAction
Is the ambient temperature for the module within the specified range?Keep the ambient temperature within the specified range by taking action
Is there any noise affecting the system?Check the wiring condition.
Is the terminating unit connected properly?Pay attention to the polarities of the terminating unit and connect it properly.
Does the total wiring length of the transmission cables (DP, DN) exceed the
specified range?
Do the transmission cables (DP, DN) satisfy the specifications?• Use transmission cables (DP, DN) that satisfy the specifications such as the
Does the power supply voltage of the 24VDC external power supply satisfy
the specifications?
Are two or more RJ51AW12AL modules connected within one
AnyWireASLINK line?
Are there AnyWireASLINK master modules of different series connected
within one AnyWireASLINK line?
Are the RJ51AW12AL module and AnyWireASLINK bridge module connected
within one AnyWireASLINK line?
When the LINK LED turns on or off)
• Check that the address of the slave module is within the number of
transmission points of the RJ51AW12AL.
• Check that the ID or occupied address range of the slave module is not the
same as that of other slave modules.
• When using word transmission, check that the setting items are correct.
• Check that the bit address is not mixed up with the word address.
Adjust the total wiring length within 200m.
ones that satisfy the standards.
such as removing heat source.
Adjust the total wiring length of the AnyWireASLINK system within the
specified range.
type and wire diameter, and tightening torque to the terminal block.
• Do not run multiple transmission cables (DP, DN) using a multicore cable.
Adjust the power supply voltage of the 24VDC external power supply within
the rated value (21.6 to 27.6VDC). (The recommended voltage is 26.4VDC.)
Connect only one RJ51AW12AL module within one AnyWireASLINK line.
Connect only one AnyWireASLINK master module within one
AnyWireASLINK line.
Connect only one RJ51AW12AL module or AnyWireASLINK bridge module
within one AnyWireASLINK line.
4
4 TROUBLESHOOTING
4.3 Troubleshooting by Symptom
77
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 itemAction
Is the I/O information of the slave module stored in the following buffer
memory addresses in the program?
• 'Bit input information area' (Un\G0 to Un\G15)
• 'Word input information area' (Un\G512 to Un\G1023)
• 'Bit output information area' (Un\G4096 to Un\G4111)
• 'Word output information area' (Un\G4608 to Un\G5119)
Are the I/O LEDs of the slave module normal?Check the I/O LED status of the slave module and check that there is no
Are two or more RJ51AW12AL modules connected within one
AnyWireASLINK line?
Are the number of transmission points of the RJ51AW12AL and the address
setting of the slave module correct?
Are the automatic address detection and AnyWireASLINK version
compatibility inspection in progress?
Check that information regarding the slave module has been properly
assigned and that the commands written in the program are free from
mistakes.
disconnection, short circuit, or poor contact in the wiring on the load side.
Connect only one RJ51AW12AL module within one AnyWireASLINK line.
• Check that the address of the slave module is within the setting range of the
number of points of the RJ51AW12AL.
• Check that the ID or occupied address range of the slave module is not the
same as that of other slave modules.
• When using word transmission, check that the setting items are correct.
• Check that the bit address is not mixed up with the word address.
Check again after the automatic address detection and AnyWireASLINK
version compatibility inspection complete.
When the easy replacement setting for one slave module is not available
When the easy replacement setting for one slave module is not available, check the following.
Check itemAction
Is the easy replacement setting for one slave module enabled?Enable the easy replacement setting for one slave module by setting the
module parameter. ( Page 51 Enabling/disabling the easy replacement
setting for one slave module)
Does a DP/DN disconnection error exist on only one slave module?Disconnect the slave module to be replaced from the transmission cable, and
replace it using the easy replacement for one slave module function.
To replace two or more slave modules, turn off the power after replacing the
first module, disconnect the second slave module, and replace it using the
easy replacement setting for one slave module.
Are the old and new slave modules of the same type?Replace the slave module with a new one of the same type.
Was the slave module replaced with a new one of an updated device version? Replace the slave module with a new one of an updated device version.
Is the new slave module connected firmly?Connect the new slave module firmly to the transmission cable.
Does the new slave module support easy replacement function for one slave
module?
Do any errors other than DP/DN disconnection errors exist?Eliminate errors other than DP/DN disconnection errors, and replace the slave
Replace the slave module with a new one supporting easy replacement
function for one slave module.
module using the easy replacement for one slave module function.
78
4 TROUBLESHOOTING
4.3 Troubleshooting by Symptom
Page 81
When the AnyWireASLINK version compatibility inspection cannot be executed
When the AnyWireASLINK version compatibility inspection cannot be executed, check the following.
Check itemAction
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/
Is an error code other than an AnyWireASLINK version compatibility
inspection error stored in the latest error code storage area?
Is a slave module with a duplicate ID connected?Change the address of the slave module so that the ID is not duplicated, and
Is a connected slave module broken?Replace the broken slave module, and execute the AnyWireASLINK version
Are slave modules more than the maximum number of connectable modules
connected?
1 output word) or larger, and execute the AnyWireASLINK version
compatibility inspection.
Eliminate errors other than an AnyWireASLINK version compatibility
inspection error, and execute the AnyWireASLINK version compatibility
inspection.
execute the AnyWireASLINK version compatibility inspection.
compatibility inspection.
Reduce the number of connected slave modules to the maximum number of
connectable modules or less, and execute the AnyWireASLINK version
compatibility inspection.
When the backup/restoring function is not available
When the backup/restoring function is not available, check the following.
Check itemAction
Is the CPU module in use support backup/restoration?Use a CPU module that supports backup/restoration. For the versions of CPU
modules supporting backup/restoration, refer to the following.
iQ Sensor Solution Reference Manual
4
4 TROUBLESHOOTING
4.3 Troubleshooting by Symptom
79
Page 82
4.4List 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.
Error codeError details and causesActionDetailed information
0CC8HTransmission cable voltage drop error The voltage of the 24VDC external power supply may be
insufficient. Perform the following:
• Adjust the power supply voltage of the 24VDC external power
supply within the rated value (21.6 to 27.6VDC). (The
recommended voltage is 26.4VDC.)
• Check that the power cables (24V, 0V) are not disconnected
or short-circuited. When crimping the link connector, check
that the pin layout is correct.
• Check that the 24VDC external power supply is properly
connected to the terminal blocks of the RJ51AW12AL and the
slave module.
• Check that there is no short circuit or incorrect wiring and
screws are tightened sufficiently.
0CC9HDP/DN short errorA short-circuit may be occurring in the transmission cables (DP,
DN) or the maximum supply current of the transmission cables
(DP, DN) may be exceeded. Perform the following:
• Check that the transmission cables (DP, DN) are not shortcircuited. When crimping the link connector, check that the pin
layout is correct.
• Check that the transmission cables (DP, DN) are not in
contact with each other and that there is no incorrect wiring in
the terminal block wiring of the RJ51AW12AL and the slave
module.
• Correct the cables (wire diameter, total wiring length) and
modules (type, the number of connected modules) so that the
current consumption of all the slave modules does not exceed
the transmission cable supply current of the RJ51AW12AL.
0CCAHDP/DN disconnection errorThe transmission cables (DP, DN) may be disconnected, or
there may be no response from the slave module.
The slave module may be in failure or the system configuration
may have been changed after the automatic address detection.
Check 'Number of the error IDs' (Un\G8192) and 'Error ID
information storage area' (Un\G8193 to Un\G8320), find out the
disconnected area, and perform the following:
• Check that the transmission cables are free from
disconnection. Check that the cables are crimped with proper
pin layout using link connectors appropriate to the wire
diameter.
• Check that the transmission cables (DP, DN) are properly
connected to the terminal block of the RJ51AW12AL. Check
that there is no incorrect wiring and that screws are tightened
sufficiently.
• When creating a new system, adding or removing a slave
module, or changing the address of the slave module,
execute the automatic address detection. After executing the
automatic address detection function, check that the number
of slave modules and the address are consistent with those of
the actual system.
• If the LINK LED of the slave module does not flash, check that
there is no disconnection, short circuit, incorrect wiring, or
poor contact in the transmission cables (DP, DN) around the
module.
0CCBH24V/DP short errorA short-circuit may be occurring in the transmission cables (24V,
DP). Perform the following:
• Check that the transmission cables (24V, DP) are not shortcircuited. When crimping the link connector, check that the pin
layout is correct.
• Check that the transmission cables (24V, DP) are not in
contact with each other and that there is no incorrect wiring in
the terminal block wiring of the RJ51AW12AL and the slave
module.
80
4 TROUBLESHOOTING
4.4 List of Error Codes
Page 83
Error codeError details and causesActionDetailed information
0D2CHSlave module hardware errorWriting data to read only areas in the slave module was
0D2DHSlave module hardware errorReading data from write only areas in the slave module was
0D2EHParameter access target module ID
error
0D2FHParameter value errorThe slave module has detected a signal of writing a parameter
0D30HParameter access errorThe parameter access signal sent by the RJ51AW12AL is
0D31HSlave module status errorThe slave module has notified of error status. Check the target
0D80HType mismatch errorWhen a slave module is replaced using the easy replacement
0D81HReplacement error due to use of
slave module of earlier device version
0D83HNon-compatible slave module
connection error detected in
compatibility inspection
attempted.
Perform either of the following operations.
• Reset the CPU module or power off and on the system.
• Power off and on the slave module.
Check that there is no influence from noise.
When the error occurs during easy replacement for one slave
module or remote address change, check that the slave module
supports those functions.
attempted.
Perform either of the following operations.
• Reset the CPU module or power off and on the system.
• Power off and on the slave module.
Check that there is no influence from noise.
The RJ51AW12AL accessed the parameter of the ID where the
automatic address detection has not been executed.
Check that the slave module ID for parameter access in the
actual system matches that of the program.
• Bit input slave module ID (address + 200H)
• Bit I/O combined slave module ID (address + 200H)
• Word output slave module ID (address + 400H)
• Word input slave module ID (address + 600H)
• Word I/O combined slave module ID (address + 600H)
When creating a new system, adding or removing a slave
module, or changing the address of the slave module, execute
the automatic address detection. After executing the automatic
address detection function, check that the number of slave
modules and the address are consistent with those of the actual
system.
Check that one or more slave modules have been registered.
that cannot be set to the slave module itself.
Check 'Number of the alarm IDs' (Un\G9984) and 'Alarm ID
information storage area' (Un\G9985 to Un\G10112) to find out
the error ID. Then check that the slave module parameter
setting value is within the allowable setting range.
corrupt.
Check that none of the following errors have occurred. (
Page 29 How to check the parameter access error status)
• Slave module hardware error
• Slave module status error
• Same ID used error
When none of the above have occurred, check that there is no
influence from noise.
module's status details and solve the problem.
function for one slave module, the type of the new slave module
is different from that of the old slave module.
Connect a proper slave module.
Replacement by the easy one-device replacement function has
failed because the old slave module was replaced with a new
slave module of an earlier device version than the one of the old
slave module.
For easy one-device replacement, replace the old slave module
with a new slave module of the same or a later device version
than the one of the old slave module.
During the AnyWireASLINK version compatibility inspection, a
non-compatible slave module was detected.
Refer to the manual of the slave module having the ID detected
in 'Sub information area' (Un\G12097 to Un\G12224).
4
4 TROUBLESHOOTING
4.4 List of Error Codes
81
Page 84
Error codeError details and causesActionDetailed information
0D84HAccess error detected in compatibility
inspection
0D85HExcessive number of connected
slave modules error detected in
compatibility inspection
0D90HSame ID used errorThe same ID (address) has been set to some of the connected
0D91HNo ID setting errorThere is a slave module with no address setting. Perform the
0D92HNew ID errorThe new ID (address) of the slave module may be in the
0DF4HBackup data errorThe data backed up in the SD memory card of the CPU module
0DF6HBackup/Restore acceptance error
(adjustment mode)
0E05HBackup/Restore unsupported error
(word slave module ID)
1867HEEPROM access errorA malfunction has been detected in the RJ51AW12AL
186EHEEPROM error (ID, parameter
information)
During the AnyWireASLINK version compatibility inspection, the
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).
• Check the slave module for disconnection, short circuit,
incorrect wiring, and contact failure.
• Check that the slave module ID is not duplicated.
• Check that there is no influence from noise.
During the AnyWireASLINK version compatibility inspection,
responses from slave modules more than the maximum number
of connectable modules were detected, and the
AnyWireASLINK version compatibility inspection was
interrupted.
Check the number of connected slave modules, and disconnect
unnecessary slave modules.
Check that the IDs of unnecessary slave modules are not
connected to 'Sub information area' (Un\G12097 to
Un\G12224).
slave modules.
Check 'Number of the alarm IDs' (Un\G9984) and 'Alarm ID
information storage area' (Un\G9985 to Un\G10112) to find out
the error ID. Check the ID (address) of the slave module, and
then set a unique number.
following:
• Set the address of the bit slave module to a value other than
255 and 511.
• Set the address of the word slave module to a value other
than 511.
following condition.
• The ID has already been used.
• The ID exceeds the allowable specification range.
Check 'Connected module ID information storage area'
(Un\G9217 to Un\G9344) and set another new ID (address).
is broken. Check that there is no influence from noise, and
perform the following:
• Reset the CPU module or power off and on the system, and
then set the switch to RUN status again.
• Use normal backup data, and restore the data.
• Set the write protect switch of the SD memory card to off
(writable).
If the error occurs again, the SD memory card may be in failure.
Please consult your local Mitsubishi representative.
Backup or restoration was executed during the adjustment
mode. Perform the following to execute backup.
• Clear the error status by turning off and on 'Error flag clear
command' (Y0), resetting the CPU module, or turning off and
on the power.
• Clear the adjustment mode execution status.
Backup or restoration was executed using a CPU module not
supporting word slave modules.
Use a CPU module that supports word slave modules.
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.
An EEPROM error has been detected on the RJ51AW12AL.
Power off and on the system after performing the automatic
address detection function.
If the error occurs again, the RJ51AW12AL may be in failure.
Please consult your local Mitsubishi representative.
82
4 TROUBLESHOOTING
4.4 List of Error Codes
Page 85
Error codeError details and causesActionDetailed information
3064H to 3066HRJ51AW12AL hardware failureA malfunction has been detected in the RJ51AW12AL
3068HCPU module stop error (IORSTL
signal detection)
3069HSystem error (NMI signal detection)An internal control power supply error or watchdog timer error
306BHCPU module error (ITERR signal
detection)
306CHASIC access error (library I/F function
access error)
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.
A stop error has occurred in the CPU module.
Check the error in the "Module Diagnostics" window of an
engineering tool and correct the error.
has occurred.
Check the error in the "Module Diagnostics" window of an
engineering tool and correct the error.
The RJ51AW12AL cannot receive signals from the CPU
module.
Check the error in the "Module Diagnostics" window of an
engineering tool and correct the error.
A malfunction (ASIC access error) 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.
4
4 TROUBLESHOOTING
4.4 List of Error Codes
83
Page 86
4.5Event List
This section lists the events which occur in the RJ51AW12AL.
The events are classified into three types: system, error, and operation.
System
Event codeOverviewCause
00CC8Transmission cable voltage drop errorThe voltage of the 24VDC external power supply may be insufficient.
00CC9DP/DN short errorA short-circuit may be occurring in the transmission cables (DP, DN) or the
maximum supply current of the transmission cable (DP, DN) may be
exceeded.
00CCADP/DN disconnection errorThe transmission cable (DP, DN) may be disconnected, or there may be
no response from the slave module.
00CCB24V/DP short errorA short-circuit may be occurring in the transmission cables (24V, DP).
00D2CSlave module hardware error (write to read only)Writing data to read only areas in the slave module was attempted.
00D2DSlave module hardware error (read from write only)Reading data from write only areas in the slave module was attempted.
00D2EParameter access target module ID errorThe parameter access is executed to the ID not detected by the automatic
00D2FParameter value errorThe slave module has detected a signal of writing a parameter that cannot
00D30Parameter access errorThe sent parameter access signal is corrupt.
00D31Slave module status errorThe slave module is in the error state.
00D80Type mismatch errorWhen a slave module is replaced using the easy replacement function for
00D81Replacement error due to use of slave module of earlier device
version
00D83Non-compatible slave module connection error detected in
compatibility inspection
00D84Access error detected in compatibility inspectionDuring the AnyWireASLINK version compatibility inspection, the access to
00D85Excessive number of connected slave modules error detected
in compatibility inspection
00D90Same ID used errorThe same ID (address) has been set to some of the connected slave
00D91No ID setting errorThere is a slave module with no address setting.
00D92New ID errorThe new ID (address) of the slave module may be in the following
00DF4Backup data errorThe data backed up in the SD memory card of the CPU module is broken.
00DF6Backup/Restore acceptance error (adjustment mode)Backup or restoration was executed during the adjustment mode.
00E05Backup/Restore unsupported error (word slave module ID)Backup or restoration was executed using a CPU module not supporting
01867EEPROM access errorA malfunction has been detected in the RJ51AW12AL hardware.
0186EEEPROM error (ID, parameter information)An EEPROM error has been detected on the RJ51AW12AL.
03064RJ51AW12AL hardware failure (internal ROM error)A malfunction has been detected in the RJ51AW12AL hardware.
03065RJ51AW12AL hardware failure (internal RAM error)A malfunction has been detected in the RJ51AW12AL hardware.
03066RJ51AW12AL hardware failure (module initialization error)A malfunction has been detected in the RJ51AW12AL hardware.
03068CPU module stop error (IORSTL signal detection)A stop error has occurred in the CPU module.
03069System error (NMI signal detection)An error of the power supply or watchdog timer controlled internally has
0306BCPU module error (ITERR signal detection)The RJ51AW12AL cannot receive signals from the CPU module.
0306CASIC access error (library I/F function access error)A malfunction (ASIC access error) has been detected in the RJ51AW12AL
address detection.
be set to the slave module itself.
one slave module, the type of the new slave module is different from that
of the old slave module.
Replacement by the easy one-device replacement function has failed
because the old slave module was replaced with a new slave module of an
earlier device version than the one of the old slave module.
During the AnyWireASLINK version compatibility inspection, a noncompatible slave module was detected.
the slave module failed, and the AnyWireASLINK version compatibility
inspection was interrupted.
During the AnyWireASLINK version compatibility inspection, responses
from slave modules more than the maximum number of connectable
modules were detected.
modules.
condition.
• The ID has already been used.
• The ID exceeds the allowable specification range.
word slave modules.
occurred.
hardware.
84
4 TROUBLESHOOTING
4.5 Event List
Page 87
Operation
Event codeOverviewCause
24000Error flag clear commandError flag clear command was turned off and on.
24001Automatic address detection commandAutomatic address detection command was turned off and on.
24002Overlap address inspection commandOverlap address inspection command was turned off and on.
24010Parameter access request command for the slave moduleParameter access request command for the slave module was turned off
and on.
24011Parameter batch read command for the slave moduleParameter batch read command for the slave module was turned off and
on.
24012Parameter batch write command for the slave moduleParameter batch write command for the slave module was turned off and
on.
4
4 TROUBLESHOOTING
4.5 Event List
85
Page 88
APPENDICES
Ex.
Appendix 1Module 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.
ModelInstance name
RJ51AW12ALRJ51AW12AL
■Module number
A sequential number starting with "1" for identifying a module from the one with the same instance name.
■Label name
A label name unique to the module.
■_D
This symbol indicates that the module label is for direct access. The label without "_D" is for refresh. The following are the
differences between refresh and direct access.
Typ eDescriptionAccess timing
RefreshThe values read/written from/to the module labels are reflected to the module at
refresh.
The execution time of the program can be shortened.
Direct accessThe values read/written from/to the module labels are reflected to the module
immediately. Although the execution time of the program is longer than the one
at the refresh, the responsiveness is improved.
At refresh
At writing to or reading from the
module label
86
APPX
Appendix 1 Module Label
Page 89
Appendix 2I/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.
Input signal
Device No.Signal name
X0Module READY
X1DP/DN short error
X224V/DP short error
X3Transmission cable voltage drop error
X4DP/DN disconnection error
X5 to X7Use prohibited
X8AnyWireASLINK version compatibility inspection error
X9Backup/Restore unsupported error
XAParameter access flag (with handshake)
XBParameter accessing flag (with handshake)
XCUse prohibited
XDAnyWireASLINK version compatibility inspection executing flag
XEUse prohibited
XFAdjustment mode executing flag
X10Slave module alarm signal
X11Parameter access completion flag
X12Parameter access error
X13Use prohibited
X14Automatic address detection flag
X15Overlap address inspection flag
X16One slave module changing flag
X17Slave module replacement completion flag
X18 to X1FUse prohibited
*1 This signal is usable on the RJ51AW12AL of which first two digits of the production information are "03" or later.
*1
*1
*1
*1
*1
*1
*1
*1
A
APPX
Appendix 2 I/O Signals
87
Page 90
Output signal
Device No.Signal name
Y0Error flag clear command
Y1Automatic address detection command
Y2Overlap address inspection command
Y3 to YCUse prohibited
YDAnyWireASLINK version compatibility inspection command
YE to YFUse prohibited
Y10Parameter access request command for the slave module
Y11Parameter batch read command for the slave module
Y12Parameter batch write command for the slave module
Y13 to Y1FUse prohibited
*1 This signal is usable on the RJ51AW12AL of which first two digits of the production information are "03" or later.
Do not use (turn on) any "use prohibited" signals as an input or output signal to the CPU module.
Doing so may cause malfunction of the programmable controller system.
*1
88
APPX
Appendix 2 I/O Signals
Page 91
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.
DP/DN short error: X1
This signal turns on when a short circuit occurs in the transmission cables (DP, DN) or the maximum supply current is
exceeded.
■Turning off of 'DP/DN short error' (X1)
After removing the short circuit in the transmission cables (DP, DN) or adjusting the current within the specification range,
perform either of the following operations. Until then, 'DP/DN short error' (X1) remains on.
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
For how to remove the short circuit in the transmission cables (DP, DN) or adjust the current within the specification range,
refer to the following.
Page 80 List of Error Codes
24V/DP short error: X2
This signal turns on when any of the transmission cables (24V, DP) is short-circuited.
■Turning off of '24V/DP short error' (X2)
After removing the short circuit in the transmission cables (24V, DP), perform either of the following operations. Until then,
'24V/DP short error' (X2) remains on.
• Reset the CPU module or turn off and on the power.
• Turn on and off 'Error flag clear command' (Y0).
For how to remove the short circuit in the transmission cables (24V, DP), refer to the following.
Page 80 List of Error Codes
Transmission cable voltage drop error: X3
This signal turns on when the 24VDC external power supply voltage drops.
■Turning off of 'Transmission cable voltage drop error' (X3)
After removing the drop of the 24VDC external power supply voltage, perform either of the following operations. Until then,
'Transmission cable voltage drop error' (X3) remains on.
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
For how to remove the drop of the 24VDC external power supply voltage, refer to the following.
Page 80 List of Error Codes
DP/DN disconnection error: X4
This signal turns on when the transmission cables (DP, DN) or a slave module is disconnected.
A
■Turning off of 'DP/DN disconnection error' (X4)
After removing the short circuit in the transmission cables (DP, DN) or reconnecting the slave module, perform either of the
following operations. Until then, 'DP/DN disconnection error' (X4) remains on.*
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
For how to remove the short circuit in the transmission cables (DP, DN) or reconnect the slave module, refer to the following.
Page 80 List of Error Codes
*1 If the error status automatic recovery function is enabled, this signal turns automatically off.
1
APPX
Appendix 2 I/O Signals
89
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.
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
• Turn off and on 'AnyWireASLINK version compatibility inspection command' (YD).
Backup/Restore unsupported error: X9
This signal turns on when the data backup/restoration is performed on the CPU module that does not support the data
backup/restoration.
■Turning off of 'Backup/Restore unsupported error' (X9)
Perform either of the following operations. Until then, 'Backup/Restore unsupported error' (X9) remains on.
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
Parameter access flag (with handshake): XA
The RJ51AW12AL that supports 'Parameter accessing flag (with handshake)' (XB) is continuously on.
Parameter accessing flag (with handshake): XB
This signal turns on when any of the following output signals is turned on to start the parameter access processing.
• '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)
■Turning off of 'Parameter accessing flag (with handshake)' (XB)
'Parameter accessing flag (with handshake)' (XB) turns off when both of the following conditions are met.
• The parameter access processing has been completed.
• 'Parameter access request command for the slave module' (Y10), 'Parameter batch read command for the slave module'
(Y11), and 'Parameter batch write command for the slave module' (Y12) are all turned off.
For the completion timing of the parameter access processing, refer to the following.
Page 38 Check of the parameter access completion
90
APPX
Appendix 2 I/O Signals
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.
• The AnyWireASLINK version compatibility inspection has completed.
• 'AnyWireASLINK version compatibility inspection command' (YD) is turned on and off.
Adjustment mode executing flag: XF
This flag turns on when the ASLINKMONITOR is in the adjustment mode.
The parameter access stops during the adjustment mode.
■Turning off of 'Adjustment mode executing flag (XF)'
'Adjustment mode executing flag (XF)' turns off when the following conditions are met.
• The ASLINKMONITOR is turned into the normal mode.
• The ASLINKMONITOR in the adjustment mode is disconnected.
Slave module alarm signal: X10
This signal turns on when any of the following errors occurs.
• A status error, such as an I/O disconnection or short circuit, occurs in a slave module.
• An error occurs in the slave module address setting.
• When a slave module is replaced using the easy replacement function for one slave module, the model name of the new
slave module is different from that of the old slave module.
For details on the target slave module's addresses and alarms, refer to 'Number of the alarm IDs' (Un\G9984) and 'Alarm ID
information storage area' (Un\G9985 to Un\G10112). ( Page 102 Number of the alarm IDs, Page 103 Alarm ID
information storage area)
■Turning off of 'Slave module alarm signal' (X10)
After eliminating the status error of the slave module or setting the address of the slave module again, perform either of the
following operations. Until then, 'Slave module alarm signal' (X10) remains on.
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
For how to eliminate the status error in the slave module, refer to the following.
Page 80 List of Error Codes
A
APPX
Appendix 2 I/O Signals
91
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
• During the AnyWireASLINK version compatibility inspection
Parameter access error: X12
This signal turns on when an error occurs in the parameter access.
The latest error codes are stored in 'Latest error code storage area' (Un\G10256) and the target IDs of the error codes are
stored in 'Latest error ID storage area' (Un\G10257).
■Turning off of 'Parameter access error' (X12)
After the error is cleared, execute any of the following operations. Until then, 'Parameter access error' (X12) remains on.*
• Reset the CPU module or power off and on the system.
• Turn on and off 'Error flag clear command' (Y0).
For how to eliminate the parameter access error, refer to the following.
Page 80 List of Error Codes
*1 If the error status automatic recovery function is enabled, this signal turns automatically off.
1
Automatic address detection flag: X14
The signal remains on from a start of execution of automatic address detection to the end of the execution.
Overlap address inspection flag: X15
The signal remains on from a start of execution of same address used check to the end of the execution.
One slave module changing flag: X16
This flag turns on during the slave module replacement using the easy replacement function for one slave module.
Slave module replacement completion flag: X17
This flag turns on when 'One slave module changing flag' (X16) turns off during the slave module replacement using the easy
replacement function for one slave module.
■Turning off of 'Slave module replacement completion flag' (X17)
'Slave module replacement completion flag' (X17) is on for five seconds and then turns off.
92
APPX
Appendix 2 I/O Signals
Page 95
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.
Typ eItemOperation
Input signal• 'DP/DN short error' (X1)
• '24V/DP short error' (X2)
• 'Transmission cable voltage drop error' (X3)
• 'DP/DN disconnection error' (X4)
• 'AnyWireASLINK version compatibility inspection error' (X8)
• 'Backup/Restore unsupported error' (X9)
• 'Slave module alarm signal' (X10)
• 'Parameter access error' (X12)
Buffer memory area• 'Number of the error IDs' (Un\G8192)
• 'Error ID information storage area' (Un\G8193 to Un\G8320)
• 'Error ID information bit area (bit output)' (Un\G8704 to Un\G8719)
• 'Error ID information bit area (bit input)' (Un\G8736 to Un\G8751)
• 'Error ID information bit area (word output)' (Un\G8768 to Un\G8799)
• 'Error ID information bit area (word input)' (Un\G8800 to Un\G8831)
• 'Number of the alarm IDs' (Un\G9984)
• 'Alarm ID information storage area' (Un\G9985 to Un\G10112)
• 'Latest error code storage area' (Un\G10256)
• 'Latest error ID storage area' (Un\G10257)
• 'Event code for sub information area' (Un\G12096)
• 'Sub information area' (Un\G12097 to Un\G12224)
The input signal is
turned on and off.
Zero is stored as the
value of the buffer
memory area.
Resetting the CPU module or turning off and on the power supply also clears the input signals and the buffer memory areas
shown above.
Automatic address detection command: Y1
Turn on this signal to execute automatic address detection.
Overlap address inspection command: Y2
Turn on this signal to execute same address used check.
AnyWireASLINK version compatibility inspection command: YD
Turn on this signal to execute the AnyWireASLINK version compatibility inspection.
Parameter access request command for the slave module: Y10
Turn on this signal to perform the following operations from the RJ51AW12AL to a slave module.
• Read and write the parameter of the slave module.
• Execute the remote address change function.
Parameter batch read command for the slave module: Y11
Turn on this signal to collectively read parameters from all slave modules that the RJ51AW12AL recognizes.
Parameter batch write command for the slave module: Y12
Turn on this signal to collectively write parameters to all slave modules that the RJ51AW12AL recognizes.
A
APPX
Appendix 2 I/O Signals
93
Page 96
Appendix 3Buffer 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).
List of buffer memory addresses
Address (decimal)Address
NameInitial valueRead/write
(hexadecimal)
0 to 150H to FHBit input information area0Read
16 to 51110H to 1FFHSystem area
512 to 1023200H to 3FFHWord input information area
1024 to 4095400H to FFFHSystem area
4096 to 41111000H to 100FHBit output information area0Read/write
4112 to 46071010H to 11FFHSystem area
4608 to 51191200H to 13FFHWord output information area
5120 to 81911400H to 1FFFHSystem area
81922000HNumber of the error IDs0Read
8193 to 83202001H to 2080HError ID information storage area0Read
8321 to 87032081H to 21FFHSystem area
8704 to 87192200H to 220FHError ID information bit area (bit output)0Read
8720 to 87352210H to 221FHSystem area
8736 to 87512220H to 222FHError ID information bit area (bit input)0Read
8752 to 87672230H to 223FHSystem area
8768 to 87992240H to 225FHError ID information bit area (word output)
8800 to 88312260H to 227FHError ID information bit area (word input)
8832 to 89592280H to 22FFHSystem area
89602300HNumber of the connected modules0Read
8961 to 92152301H to 23FFHSystem area
92162400HNumber of the IDs of the connected modules0Read
9217 to 93442401H to 2480HConnected module ID information storage area 0Read
9345 to 99832481H to 26FFHSystem area
99842700HNumber of the alarm IDs0Read
9985 to 101122701H to 2780HAlarm ID information storage area0Read
10113 to 102552781H to 280FHSystem area
102562810HLatest error code storage area0Read
102572811HLatest error ID storage area0Read
10258 to 103192812H to 284FHSystem area
103202850HParameter access setting0Read/write
103212851HParameter access target module ID
specification
103222852HSystem area
103232853HChange ID specification0Read/write
10324 to 104952854H to 28FFHSystem area
10496 to 107512900H to 29FFHParameter storage location memory number
(bit output)
10752 to 110072A00H to 2AFFHSystem area
11008 to 112632B00H to 2BFFHParameter storage location memory number
(bit input)
11264 to 120952C00H to 2F3FHSystem area
120962F40HEvent code for sub information area
12097 to 122242F41H to 2FC0HSub information area
12225 to 122872FC1H to 2FFFHSystem area
*1
*1
*1
*1
0Read
0Read/write
*1
0Read
*1
0Read
0Read/write
0Read
0Read
0Read
0Read
94
APPX
Appendix 3 Buffer Memory
Page 97
Address (decimal)Address
NameInitial valueRead/write
(hexadecimal)
12288 to 184313000H to 47FFHParameter storage area0Read/write
18432 to 194554800H to 4BFFHSystem area
19456 to 199674C00H to 4DFFHParameter storage location memory number
(word output)
19968 to 204794E00H to 4FFFHParameter storage location memory number
(word input)
20480 to 314875000H to 7AFFHSystem area
314887B00HNumber of word data points setting
314897B01HSystem area
314907B02HWord data start address setting
314917B03HSystem area
314927B04HNumber of word data points per frame setting
314937B05HNumber of word data cycles setting
31494 to 327677B06H to 7FFFHSystem area
*1
*1
*1
*1
*1
0Read
0Read
0Read/write
0Read/write
*1
0Read/write
0Read/write
*1 This signal is usable on the RJ51AW12AL of which first two digits of the production information are "03" or later.
Do not write data to "System area".
Doing so may cause malfunction of the programmable controller system.
A
APPX
Appendix 3 Buffer Memory
95
Page 98
Details of buffer memory addresses
Ex.
Ex.
Input information area
This buffer memory area automatically stores the on/off status of the input signal of the slave module.