Mitsubishi Electric R60AD8-G, R60AD16-G User Manual

MELSEC iQ-R Channel Isolated Analog-Digital Converter Module User's Manual (Application)
-R60AD8-G
-R60AD16-G

SAFETY PRECAUTIONS

WARNING
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.)
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.
1
[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.
Configure a circuit so that the programmable controller is turned on first and then the external power supply. If the external power supply is turned on first, an accident may occur due to an incorrect output or malfunction.
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.
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.
2
[Design Precautions]
WARNING
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.
[Precautions for using the channel isolated analog-digital converter modules in SIL2 mode]
When the R60AD8-G detects a fault in the external power supply or programmable controller, a digital operation value becomes an OFF value (equivalent to 0V/0mA) in all channels. Configure an external circuit to ensure that the power source of a hazard is shut off when a digital operation value of the R60AD8-G is an OFF value (equivalent to 0V/0mA). Failure to do so may result in an accident.
When a communication failure occurs in CC-Link IE Field Network, a digital operation value of the R60AD8-G becomes an OFF value (equivalent to 0V/0mA). Check the communication status information and configure an interlock circuit in the program to ensure that the entire system will operate safely. Failure to do so may result in an accident due to an incorrect output or malfunction.
[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 undefined. The values need to be set in the buffer memory and written to the flash ROM 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" in the module parameters. 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.
3
[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.
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 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, or connector. Doing so can cause malfunction or failure of the module.
[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 the included terminal cover to the module before turning it on for operation. Failure to do so may result in electric shock.
4
[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.
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.
Individually ground the shielded cables of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction.
5
[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.
6
[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 mount/remove the module to/from the base unit, and the terminal block to/from the module, and do not insert/remove the extended SRAM cassette to/from the CPU module more than 50 times (IEC 61131-2 compliant) respectively. Exceeding the limit may cause malfunction.
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. 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.
7
[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 undefined. The values need to be set in the buffer memory and written to the flash ROM 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.
8

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.
(1) Although MELCO has obtained the certification for Product's compliance to the international safety standards
IEC61508, IEC61511 from TUV Rheinland, this fact does not guarantee that Product will be free from any malfunction
or failure. The user of this Product shall comply with any and all applicable safety standard, regulation or law and take
appropriate safety measures for the system in which the Product is installed or used and shall take the second or third
safety measures other than the Product. MELCO is not liable for damages that could have been prevented by
compliance with any applicable safety standard, regulation or law.
(2) MELCO prohibits the use of Products with or in any application involving, and MELCO shall not be liable for a default, a
liability for defect warranty, a quality assurance, negligence or other tort and a product liability in these applications.
(a) power plants,
(b) trains, railway systems, airplanes, airline operations, other transportation systems,
(c) hospitals, medical care, dialysis and life support facilities or equipment,
(d) amusement equipments,
(e) incineration and fuel devices,
(f) handling of nuclear or hazardous materials or chemicals,
(g) mining and drilling,
(h) and other applications where the level of risk to human life, health or property are elevated.
• When SIL2 mode is set
9

INTRODUCTION

Thank you for purchasing the Mitsubishi Electric MELSEC iQ-R series programmable controllers.
This manual describes the functions, parameter settings, and troubleshooting of the relevant products 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.
Unless otherwise specified, this manual provides program examples in which the I/O numbers of X/Y0 to X/YF
are assigned to the A/D converter module. Assign I/O numbers when applying the program examples to an
actual system. For I/O number assignment, refer to the following. MELSEC iQ-R Module Configuration Manual
Relevant products
R60AD8-G, R60AD16-G
Modes
Modes of the R60AD8-G are roughly classified into two groups listed below. A mode is set using the module parameter of GX
Works3. Mode transition is not possible while the module is operating.
Mode Description
Standard mode • The mode for using the A/D converter module in a normal system
• The standard mode is subdivided into three types: normal mode, offset/gain setting mode, and Q compatible mode.
SIL2 mode • The mode is certified according to the safety requirements of IEC61508:
2010 SIL2 and IEC61511: 2015 SIL2. This mode is used when a customer builds a SIL2 system using products compliant with IEC61508: 2010 SIL2 or IEC61511: 2015 SIL2.
• The R60AD8-G in SIL2 mode can be used to build safety functions for general industry machinery.
Note that the R60AD16-G does not support SIL2 mode and operates only in standard mode.
Enabling/disabling the safety module
To operate the R60AD8-G in SIL2 mode, it is necessary to enable the safety module so that the set parameters become
enabled.
To stop the safety I/O of the R60AD8-G operating in SIL2 mode, or to use that module in standard mode in the other system,
disabling the safety module is required.
10

CONTENTS

SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
PART 1 STANDARD MODE
CHAPTER 1 FUNCTIONS 18
1.1 Processing of Each Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
1.2 Range Switching Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
1.3 A/D Conversion Enable/Disable Setting Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
1.4 A/D Conversion Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
1.5 Scaling Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
1.6 Alert Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Process alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Rate alarm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
1.7 Input Signal Error Detection Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .38
When the function is used in the Q compatible mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
1.8 Shift Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
1.9 Digital Clipping Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
1.10 Difference Conversion Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
1.11 Maximum Value/Minimum Value Hold Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
1.12 Logging Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
Stopping the logging operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
Logging hold request. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
Level trigger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Initial settings of the logging function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Logging read function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
Saving to a CSV file. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Displaying logging data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
1.13 Interrupt Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
1.14 Error History Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84
1.15 Event History Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87
1.16 Backing up, Saving, and Restoring Offset/Gain Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
When the module-specific backup parameter is used. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
When the module-specific backup parameter is not used. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
1.17 Q Compatible Mode Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
CONTENTS
CHAPTER 2 PARAMETER SETTINGS 96
2.1 Basic Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
2.2 Application Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
2.3 Interrupt Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
2.4 Refresh Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Refresh processing time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
11
CHAPTER 3 TROUBLESHOOTING 101
3.1 Troubleshooting with the LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
3.2 Checking the State of the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
3.3 Troubleshooting by Symptom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
When the A/D converter module does not start up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
When the RUN LED flashes or turns off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
When the ERR LED turns on. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104
When the ALM LED turns on or flashes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
When a digital output value cannot be read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
When the digital output value does not fall within the range of accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
3.4 List of Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
3.5 List of Alarm Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
APPENDICES (STANDARD MODE) 113
Appendix 1 Module Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Appendix 2 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
List of I/O signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Details of input signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Details of output signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
Appendix 3 Buffer Memory Areas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
List of buffer memory addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Details of buffer memory addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
Appendix 4 Dedicated Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205
Instruction list. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Appendix 5 Operation Examples of When the Remote Head Module Is Mounted . . . . . . . . . . . . . . . . . . . . . . . . 206
System configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Setting in the master station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207
Setting in the intelligent device station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Checking the network status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Program examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214
Appendix 6 Disabling the Safety Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217
Appendix 7 Added or Modified Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218
12
PART 2 SIL2 MODE
CHAPTER 4 OVERVIEW 220
CHAPTER 5 PART NAMES 223
CHAPTER 6 SPECIFICATIONS 225
6.1 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
6.2 Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
CHAPTER 7 PROCEDURES BEFORE OPERATION 228
CHAPTER 8 SYSTEM CONFIGURATION 235
8.1 Redundant Master Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
8.2 Redundant Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .238
8.3 Firmware Version for SIL2 Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240
8.4 Reference Product. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .240
CHAPTER 9 INSTALLATION AND WIRING 241
9.1 Wiring Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Connector for external devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
9.2 External Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Signal layout for the connector for external devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Examples of external wiring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .243
Relay switching wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .247
Precautions for channel number and output signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
CHAPTER 10 FUNCTIONS 249
10.1 SIL2 Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .250
10.2 Processing of Each Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264
10.3 Range Switching Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265
10.4 A/D Conversion Enable/Disable Setting Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
10.5 A/D Conversion Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266
10.6 Scaling Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .269
10.7 Digital Clipping Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
10.8 SIL2 A/D Conversion Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .274
Double input discrepancy detection function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .281
A/D conversion circuit diagnostic function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .286
Input HOLD function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .289
10.9 Self-diagnostic Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
10.10 Error History Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
10.11 Event History Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .292
CONTENTS
CHAPTER 11 PARAMETER SETTINGS 294
11.1 Basic Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .294
11.2 Application Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295
11.3 Refresh Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
CHAPTER 12 EXAMPLE OF OPERATION 297
CHAPTER 13 MAINTENANCE AND INSPECTION 303
CHAPTER 14 TROUBLESHOOTING 305
14.1 Troubleshooting with the LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
14.2 Checking the State of the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
14.3 Troubleshooting by Symptom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
When the R60AD8-G does not start up. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
When the RUN LED flashes or turns off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
When the ERR LED flashes or turns on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
When the S MODE LED flashes or turns off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
When the ALM LED flashes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
When a module parameter error is displayed in the "Module Diagnostics" window . . . . . . . . . . . . . . . . . . . . .310
When a double input discrepancy detection error occurs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
When an A/D conversion circuit diagnostic error occurs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
When it takes time for the SIL2 analog input system to start up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
When the safety device value is the OFF value (equivalent to 0V/0mA). . . . . . . . . . . . . . . . . . . . . . . . . . . . . .312
13
When the safety device does not fall within the range of accuracy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
When the module shuts down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
14.4 Troubleshooting While Proceeding Procedures Before Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
When the module parameter write to the remote head module fails. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Troubleshooting on the "Safety Communication Setting" window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Troubleshooting on the "Safety Module Operation" window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
14.5 Troubleshooting SIL2 Diagnostic FB Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
When the SIL2 diagnostic FB library is not registered as a product option. . . . . . . . . . . . . . . . . . . . . . . . . . . .316
When a program conversion error occurs in GX Works3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
When the execution status of the SIL2 diagnostic FB library is off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
Checking by status code of the SIL2 safety program FB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
Checking by error code of the SIL2 safety program FB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
14.6 List of Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .320
APPENDICES (SIL2 MODE) 323
Appendix 8 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .323
List of I/O signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Appendix 9 Buffer Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .324
List of buffer memory addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .324
Details of buffer memory area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Appendix 10I/O Conversion Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Appendix 11Accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328
Appendix 12Calculation Method of Safety Response Time (Maximum Value) . . . . . . . . . . . . . . . . . . . . . . . . . . .329
Appendix 13Added or Modified Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .330
Appendix 14External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
INDEX 332
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .334
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .335
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .338
14

RELEVANT MANUALS

Manual name [manual number] Description Available form
MELSEC iQ-R Channel Isolated Analog-Digital Converter Module User's Manual (Application) [SH-081487ENG] (this manual)
MELSEC iQ-R Channel Isolated Analog-Digital Converter Module User's Manual (Startup) [SH-081485ENG]
MELSEC iQ-R Programming Manual (Module Dedicated Instructions) [SH-081976ENG]
e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated
tool.
e-Manual has the following features:
• Required information can be cross-searched in multiple manuals.
• 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 the engineering tool.
Functions, parameter settings, troubleshooting, I/O signals, and buffer memory of the A/D converter module
Performance specifications, procedures before operation, wiring, programming, and offset/gain setting of the A/D converter module
Dedicated instructions for the intelligent function modules
Print book
e-Manual PDF
Print book
e-Manual PDF
e-Manual PDF

TERMS

Unless otherwise specified, this manual uses the following terms.
Ter m Description
A/D converter module The abbreviation for the MELSEC iQ-R series channel isolated analog-digital converter module
Buffer memory A memory in an intelligent module for storing data (such as setting values and monitored values) to be transferred
to the CPU module
Engineering tool Another term for GX Works3
Factory default setting A generic term for analog input ranges of 0 to 10V, 0 to 5V, 1 to 5V, -10 to 10V, 0 to 20mA, 4 to 20mA, 1 to 5V
Global label A label that is valid for all the program data when multiple program data are created in the project. There are two
GX Works3 The product name of the software package for the MELSEC programmable controllers
Module Label A label that represents one of memory areas (I/O signals and buffer memory areas) specific to each module in a
Normal mode A mode used for normal A/D conversion.
Offset/gain setting mode A mode used for performing the offset/gain setting
Q compatible mode A mode in which the module operates with the buffer memory map converted to the equivalent one of the MELSEC
R mode A mode in which the module operates with the buffer memory map that has been newly laid out in the MELSEC iQ-
Remote head module The abbreviation for the RJ72GF15-T2 CC-Link IE Field Network remote head module
SIL2 mode A mode certified according to the safety requirements of IEC61508: 2010 SIL2 and IEC61511: 2015 SIL2
Standard mode A mode for using the A/D converter module in a normal system
User range An analog input range where any value can be set. This range can be set in the offset/gain setting.
Watchdog timer error An error that occurs if the internal processing of the A/D converter module fails. The module monitors its own
(extended mode), and 4 to 20mA (extended mode). In the window on the engineering tool, 4 to 20mA (extended mode) and 1 to 5V (extended mode) are displayed as the following:
• 4 to 20mA (Extension)
• 1 to 5V (Extension)
types of global label: a module specific label (module label), which is generated automatically by GX Works3, and an optional label, which can be created for any specified device.
given character string. For the module used, GX Works3 automatically generates this label, which can be used as a global label.
In the engineering tool, the item name of the mode is displayed as "Normal mode (A/D conversion process)".
Q series
R series
internal processing by using the watchdog timer.
15
MEMO
16

PART 1 STANDARD MODE

This part consists of the following chapters. These chapters describe the details on using the A/D converter
module in standard mode.
1 FUNCTIONS
2 PARAMETER SETTINGS
3 TROUBLESHOOTING
APPENDICES (STANDARD MODE)
PART 1
17
1 FUNCTIONS
This chapter describes the functions of the A/D converter module and the setting procedures for those functions.
For details on the I/O signals and the buffer memory, refer to the following.
Page 115 I/O SignalsPage 125 Buffer Memory Areas
• This chapter describes buffer memory addresses for CH1. For details on the buffer memory addresses after
CH2, refer to the following.
Page 125 List of buffer memory addresses
• Numerical values corresponding to the channel where an error has occurred and the error description fit in
the and of an error code and alarm code described in this chapter. For details on the numerical values,
refer to the following.
Page 108 List of Error CodesPage 112 List of Alarm Codes
18

1 FUNCTIONS

1.1 Processing of Each Function
CH Digital output value
CH Maximum value
CH Minimum value
CH Digital operation value
CH Logging data
Analog input (CH1 to CH16)
A/D conversion method
Input signal
error detection
function
Sampling
processing
Count average
Time average
Alert output
function
Moving average
Primary delay
filter
Digital clipping
function
Scaling function
Shift function
Difference
conversion
function
Maximum value/
minimum value
hold function
Logging function
CH Digital output value (32 bits)
Rate alarm
Process alarm
The functions are processed in the order shown below. If multiple functions are enabled, the output of the first processed
function is used as the input of the next function.
1
Digital output value (32 bits)
These values are the digital values after the sampling processing, each averaging processing, or primary delay filter has been
performed.
Digital output value
These values are the 16-bit digital output values that were converted from 32-bit digital output values.
Digital operation value
These values are obtained by operating a digital output value using the digital clipping function, scaling function, shift function,
or difference conversion function. When each function is not used, the same value as the digital output value is stored.
Maximum and minimum value
The maximum and minimum values of the digital operation values are stored.
Logging data
When the logging function is used, digital output values or digital operation values are collected.
1 FUNCTIONS

1.1 Processing of Each Function

19
1.2 Range Switching Function
This function allows switching the input range of an analog input for each channel.
Switching the range makes it possible to change the I/O conversion characteristic.
Operation
Analog input values are converted to digital values within the set input range, and the converted values are stored in the
following areas.
• 'CH1 Digital output value' (Un\G400)
• 'CH1 Digital operation value' (Un\G402)
• 'CH1 Digital output value (32 bits)' (Un\G410, Un\G411)
The data of 32768 or more cannot be output to 'CH1 Digital output value' (Un\G400) or 'CH1 Digital operation value'
(Un\G402).
To check the data of 32768 or more, monitor 'CH1 Digital output value (32 bits)' (Un\G410, Un\G411).
Digital output values (32768 to 36767) in the extended mode can be monitored within the range of 'CH1 Digital
operation value' (Un\G402) with the shift function or scaling function.
For details, refer to the following.
Page 51 Shift FunctionPage 26 Scaling Function
Setting procedure
Set the input range to be used in the "Input range setting".
[Navigation window] [Parameter] [Module Information] Module model name [Module Parameter] [Basic
setting] [Range switching function]
Input range setting Digital output value
4 to 20mA 0 to 32000
0 to 20mA
1 to 5V
0 to 5V
-10 to 10V -32000 to 32000
0 to 10V 0 to 32000
4 to 20mA (extended mode) -8000 to 36000
1 to 5V (extended mode)
User range setting -32000 to 32000
After the data is written, the range is switched when the programmable controller power supply is turned off and on or when
the CPU module is reset.
The range can be switched or set with the following buffer memory areas.
• 'CH1 Range setting' (Un\G598)
• 'CH1 Range setting monitor' (Un\G430)
For details on the buffer memory addresses, refer to the following.
Page 195 CH1 Range settingPage 159 CH1 Range setting monitor
Precautions
The input range cannot be changed for channels with A/D conversion disabled. To change the input range, set "A/D
conversion enable/disable setting" to "A/D conversion enable".
20
1 FUNCTIONS

1.2 Range Switching Function

1.3 A/D Conversion Enable/Disable Setting Function
This function controls whether to enable or disable the A/D conversion for each channel.
Disabling the A/D conversion for unused channels reduces the A/D conversion cycles.
Setting procedure
Set "A/D conversion enable/disable setting" to "A/D conversion enable" or "A/D conversion disable".
[Navigation window] [Parameter] [Module Information] Module model name [Module Parameter] [Basic
setting] [A/D conversion enable/disable setting function]
1
1 FUNCTIONS

1.3 A/D Conversion Enable/Disable Setting Function

21
1.4 A/D Conversion Method
Ex.
Ex.
Lower limit value to be set Conversion speed × Number of conversion enabled channels × Minimum number of processing times (4 times)
Number of processing times =
Setting time
(Number of conversion enabled channels × Conversion speed)
= 6.25
*1
250
(4 × 10)
An A/D conversion method can be set for each channel.
Sampling processing
This function converts analog input values to digital values at every sampling period and stores the digital output values in
buffer memory areas.
The sampling period is "Conversion speed (10ms) number of conversion enabled channels".
Whether to enable or disable the A/D conversion can be set for each channel. Disabling the A/D conversion
for unused channels reduces the A/D conversion cycles.
Conversion cycle that applies when CH1 to CH3 is set to A/D conversion enabled
•10 3 = 30 (ms)
The conversion cycle is 30 (ms).
Digital output values and digital operation values of CH1 to CH3 are updated every 30ms.
Averaging processing
The A/D converter module performs the averaging processing on digital output values for each channel. The processed
values are stored in the buffer memory area.
The following three types of averaging processing are provided.
• Time average
• Count average
• Moving average
Time average
The A/D converter module executes the A/D conversion for the setting time, and performs the averaging processing on the
total value excluding the maximum and the minimum values. The processed values are stored in the buffer memory area.
• Setting time
Set a value that satisfies the following condition.
The following shows the lower limit value to be set for when CH1 to CH8 are used. 10 (ms) 8 (CH) 4 (times) = 320 (ms)
• Processing times
The number of processing times within the set time changes depending on the number of channels where the A/D conversion
is enabled.
The following table shows the processing times with the setting below.
Item Setting
Number of channels where the A/D conversion is enabled Four channels (CH1 to CH4)
Setting time 250ms
*1 Values after the decimal point are omitted.
Conversion is processed 6 times and the mean value is output.
22
1 FUNCTIONS

1.4 A/D Conversion Method

When the number of processing times is less than 4 due to the set time, a time average setting range error
Ex.
(1) + (2) + (3) + (4)+ (5)
5
(2) + (3) + (4) + (5)+ (6)
5
(3) + (4) + (5) + (6)+ (7)
5
32000
(1)
(2)
(3) (4)
(5)
(6)
(7)
(8) (9)
(10) (11)
(12)
16000
0
0
(a) (b) (c)
ON
OFF
1st storage (a) 2nd storage (b) 3rd storage (c)
Data transition in buffer memory
0
3rd storage (c)
Time [ms]
2nd storage (b)
1st storage (a)
Sampling cycle
Digital output value
'CH1 Digital output value' (Un\G400)
'A/D conversion completed flag' (XE)
(error code: 192H) occurs. The value 0 is stored in the following buffer memory areas.
• 'CH1 Digital output value' (Un\G400)
• 'CH1 Digital operation value' (Un\G402)
• 'CH1 Digital output value (32 bits)' (Un\G410, Un\G411)
Count average
The A/D converter module executes the A/D conversion for a set number of times, and performs the averaging processing on
the total value excluding the maximum and the minimum values. The processed values are stored in the buffer memory area.
The time taken for the mean value calculated through the average processing to be stored in the buffer memory changes
depending on the number of channels where the A/D conversion is enabled. Processing time = Set number of times (Number of conversion enabled channels Conversion speed)
The following table shows the processing time with the setting below.
Item Setting
Number of channels where the A/D conversion is enabled Four channels (CH1 to CH4)
Set number of times Five times
5 (times) (4 (CH) 10 (ms)) = 200 (ms)
A mean value is output every 200ms.
1
Because the count average requires a sum of at least two counts excluding the maximum and minimum
values, the set number of times should be four or more.
Moving average
The A/D converter module averages digital output values taken at every sampling period for a specified number of times, and
stores the mean value in the buffer memory area. Since the averaging processing is performed on a moving set of sampling,
the latest digital output values can be obtained.
The following figure shows the moving average processing of when the set number of times is five.
1 FUNCTIONS
1.4 A/D Conversion Method
23
Primary delay filter
Ex.
Yn = X
n-1
+
Δt + TA
(X
n
- X
n-1
)
Δt
Y
n
= Y
n-1
+
Δt
Δt + TA
(X
n
- Y
n-1
)
040
0
0.2
0.4
0.6
0.8
1.0
1.2 3840
3200
640
1280
1920
2560
63.2%
Analog input value Digital output value
0
Elapsed time (ms)
Digital output value
Analog input value (V)
Depending on the set time constant, transient noise of analog input is smoothed. The smoothed digital output values are
stored in the buffer memory area.
Time constant is the time taken for the digital output value to reach 63.2% of the steady-state value.
The following shows the relational expressions of time constants and digital output values.
When n = 1
Yn = 0
When n = 2
When n  3
Yn: Current digital output value Y
-1: Last digital output value
n
n: Number of samplings X
: Digital output value before smoothing
n
X
-1: Last digital output value before smoothing
n
T: Conversion time TA: Time constant
*1 The corresponding bit of 'A/D conversion completed flag' (Un\G42) turns on when n 2.
*1
Digital output value when an analog input value is changed from 0 to 1V
The following figure shows the change of the digital output value with the input range of 0 to 10V and time constant (Conversion cycle Primary delay filter) of 40ms.
After 40ms from the analog input value becomes 1V, the digital output value reaches 63.2% of the digital output value of when
the sampling processing is selected.
24
1 FUNCTIONS
1.4 A/D Conversion Method
Setting procedure
Sampling processing
Set "Averaging process specification" to "Sampling processing".
[Navigation window] [Parameter] [Module Information] Module name [Module Parameter] [Basic setting]
[A/D conversion method]
Averaging processing and primary delay filter
1. Set "Averaging process specification" to "Time average", "Count average", "Moving average", or "Primary delay filter".
[Navigation window] [Parameter] [Module Information] Module model name [Module Parameter] [Basic
setting] [A/D conversion method]
2. Set a value for "Time average/Count average/Moving average/Primary delay filter constant setting".
Item Setting range
Time average 40 to 5000 (ms)
Count average 4 to 500 (times)
Moving average 2 to 200 (times)
Primary delay filter 1 to 500 (times)
*1 Set a value greater than the value calculated by the following formula as the time average.
Conversion speed Number of conversion enabled channels Minimum processing times (4 times)
*1
1
1 FUNCTIONS
1.4 A/D Conversion Method
25
1.5 Scaling Function
Ex.
DX × (SH - SL)
D
Max
+ S
L
DY =
DX × (SH - SL)
D
Max
- D
Min
+
D
Y
=
(SH + SL)
2
This function performs the scale conversion on digital output values. The values are converted within a specified range
between a scaling upper limit value and scaling lower limit value. This function helps reduce the time taken for creating a scale
conversion program.
The converted values are stored in 'CH1 Digital operation value' (Un\G402).
Concept of scaling setting
When the input range is set to -10 to 10V:
For the scaling lower limit value, set a value corresponding to the lower limit value of the input range (-32000).
For the scaling upper limit value, set a value corresponding to the upper limit value of the input range (32000).
Calculating the scaling value
The scale conversion is based on the following formula. (In scale conversion, values are rounded to the nearest whole
number.)
*1
Current: 0 to 20mA, 4 to 20mA, 4 to 20mA (extended mode)
Voltage: 0 to 10V, 0 to 5V, 1 to 5V, 1 to 5V (extended mode)*1, user range setting (voltage)
, user range setting (current)
Voltage: -10 to 10V
DX: Digital output value D
: Scaling value (Digital operation value)
Y
D
: Maximum digital output value of the input range in use
Max
D
: Minimum digital output value of the input range in use
Min
S
: Scaling upper limit value
H
S
: Scaling lower limit value
L
*1 Although the range of the digital output value in the extended mode is -8000 to 36000, this function performs the scale conversion for
digital output values within the range of 0 to 32000.
When the calculated digital operation value exceeds 32767, the value 32767 is stored as the digital operation
value. When the calculated digital operation value is falls below -32768, the value -32768 is stored.
Setting procedure
1. Set "Scaling enable/disable setting" to "Enable".
[Navigation window] [Parameter] [Module Information] Module model name [Module Parameter]
[Application setting] [Scaling setting]
2. Set values for "Scaling upper limit value" and "Scaling lower limit value".
Item Setting range
Scaling upper limit value -32000 to 32000
Scaling lower limit value
26
1 FUNCTIONS

1.5 Scaling Function

• Even when the scaling upper limit value and the scaling lower limit value are set so that the change is
greater than the resolution, the resolution will not increase.
• If the relation between the values is the scaling lower limit value > the scaling upper limit value, the scale
conversion can be performed according to a negative slope.
• Set the scaling with the condition "Scaling upper limit value Scaling lower limit value".
Setting example
Ex.
Ex.
32000
0
50
Analog input voltage (V)
Scaling upper limit value 20000
Scaling lower limit value 4000
32000
-32000 10
0
-10
0
Analog input voltage (V)
Scaling upper limit value: 20000
Scaling lower limit value: 4000
When 20000 is set to the scaling upper limit value and 4000 is set to the scaling lower limit value for the module with the input
range of 0 to 5V
1
Voltage input (V) Digital output value
*1
Digital operation value (scaling value)
0 0 4000
1 6400 7200
2 12800 10400
3 19200 13600
4 25600 16800
5 32000 20000
*1 These values are also applied to the case of digital output values (32 bits).
When 20000 is set to the scaling upper limit value and 4000 is set to the scaling lower limit value for the module with the input
range of -10 to 10V
Voltage input (V) Digital output value
-10 -32000 4000
-5 -16000 8000
0 0 12000
5 16000 16000
10 32000 20000
*1 These values are also applied to the case of digital output values (32 bits).
*1
Digital operation value (scaling value)
1 FUNCTIONS
1.5 Scaling Function
27
Ex.
When 20000 is set to the scaling upper limit value and 4000 is set to the scaling lower limit value for the module with the input
32000
36000
0
-8000 5 5.501
Analog input voltage (V)
Scaling upper limit value: 20000
Scaling lower limit value: 4000
range of 1 to 5V (extended mode)
Voltage input (V) Digital output value Digital operation value
16 bits 32 bits
0 -8000 -8000 0
1004000
2 8000 8000 8000
3 16000 16000 12000
4 24000 24000 16000
5 32000 32000 20000
5.5 32767
*1
36000 22000
*1 Because the value exceeds the range of -32768 to 32767, the value is fixed to 32767 (the upper limit value).
(scaling value)
1 FUNCTIONS
28
1.5 Scaling Function
Loading...
+ 312 hidden pages