Mitsubishi MELSEC L, MELSEC L60DA4 User Manual

SAFETY PRECAUTIONS

(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user's manual for the CPU module used.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
WARNING
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.
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
[Design Precautions]
WARNING
Analog outputs may remain on due to a failure of the module. Configure an external interlock circuit for output signals that could cause a serious accident.
Do not write any data to the "system area" and "write-protect area" (R) of the buffer memory in the intelligent function module. Also, do not use any "use prohibited" signals as an output signal from the programmable controller CPU to the intelligent function module. Doing so may cause malfunction of the programmable controller system.
[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.
At power-on, a voltage may occur or a current may flow between output terminals for a moment. In this case, start the control after analog outputs become stable.
Power on or off the external power supply while the programmable controller is on. Failure to do so may result in incorrect output or malfunction.
1
[Installation Precautions]
WARNING
Shut off the external power supply for the system in all phases before connecting or removing a 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 manual "Safety Guidelines", the manual supplied with the CPU module or head module. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product.
To interconnect modules, engage the respective connectors and securely lock the module joint levers. Incorrect interconnection may cause malfunction, failure, or drop of the module.
Tighten the screw 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.
Do not directly touch any conductive parts and electronic components of the module. Doing so can cause malfunction or failure of the module.
[Wiring Precautions]
WARNING
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.
[Wiring Precautions]
CAUTION
Ground the FG terminal to the protective ground conductor dedicated to the programmable controller. Failure to do so may result in electric shock or malfunction.
Tighten the terminal block screw within the specified torque range. Undertightening can cause short circuit, fire, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, fire, or malfunction.
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.
2
[Wiring Precautions]
CAUTION
Mitsubishi 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 methods, refer to the MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection).
[Startup and Maintenance Precautions]
WARNING
Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
Shut off the external power supply for the system in all phases before cleaning the module or
retightening the terminal block screw. Failure to do so may result in electric shock.
[Startup and Maintenance Precautions]
CAUTION
Do not disassemble or modify the module. Doing so may cause failure, malfunction, injury, or a fire.
Shut off the external power supply for the system in all phases before connecting or removing a
module. Failure to do so may cause the module to fail or malfunction.
Tighten the terminal block screw 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 (module, display unit, and terminal block), the number of connections/disconnections is limited to 50 times (in accordance with IEC 61131-2). Exceeding the limit may cause malfunction.
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.
[Disposal Precautions]
CAUTION
When disposing of this product, treat it as industrial waste.
3
.

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.
4
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 MELSEC-L series programmable controllers. This manual describes the functions and programming of a digital-analog converter module (hereafter abbreviated as D/A converter module).
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC-L series programmable controller to handle the product correctly. When applying the program examples introduced in this manual to the actual system, ensure the applicability and confirm that it will not cause system control problems.
Relevant module: L60DA4
Remark
Unless otherwise specified, this manual describes the program examples in which the I/O numbers of X/Y00 to X/Y0F are assigned for a D/A converter module. For I/O number assignment, refer to the following.
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)
Operating procedures are explained using GX Works2. When using GX Developer or GX Configurator-DA, refer to the following.
• When using GX Developer or GX Configurator-DA ( Page 125, Appendix 8)
5
COMPLIANCE WITH THE EMC AND LOW VOLTAGE
DIRECTIVES
(1) For programmable controller system
To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller (EMC and Low Voltage Directives compliant) into other machinery or equipment, refer to the manual "Safety Guidelines", the manual supplied with the CPU module or head module. The CE mark, indicating compliance with the EMC and Low Voltage Directives, is printed on the rating plate of the programmable controller.
(2) For the product
No additional measures are necessary for the compliance of this product with the EMC and Low Voltage Directives.
6

RELEVANT MANUALS

(1) CPU module user's manual
Manual name
<manual number (model code)>
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
<SH-080890ENG, 13JZ36>
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)
<SH-080889ENG, 13JZ35>
(2) Head module user's manual
Manual name
<manual number (model code)>
MELSEC-L CC-Link IE Field Network Head Module User's Manual
<SH-080919ENG, 13JZ48>
MELSEC-Q CC-Link IE Field Network Master/Local Module User's Manual
<SH-080917ENG, 13JZ47>
(3) Operating manual
Description
Specifications of the CPU modules, power supply modules, display unit, SD memory cards, and batteries, information on how to establish a system, maintenance and inspection, and troubleshooting
Functions and devices of the CPU module, and programming
Description
Specifications for a head module, procedures before operation, system configuration, installation and wiring, settings, and troubleshooting
Specifications for master/local module, procedures before operation, system configuration, installation, settings, functions, programming, and troubleshooting
Manual name
<manual number (model code)>
GX Works2 Version1 Operating Manual (Common)
<SH-080779ENG, 13JU63>
GX Developer Version 8 Operating Manual
<SH-080373E, 13JU41>
Description
System configuration, parameter settings, and online operations (common to Simple project and Structured project) of GX Works2
Operating methods of GX Developer, such as programming, printing, monitoring, and debugging
7

CONTENTS

CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
MANUAL PAGE ORGANIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
PACKING LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
CHAPTER 1 D/A CONVERTER MODULE 15
1.1 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
CHAPTER 2 PART NAMES 17
CHAPTER 3 SPECIFICATIONS 19
3.1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.2.1 Number of parameter settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
3.3 Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.4 I/O Signal List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.5 Buffer Memory List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
CHAPTER 4 PROCEDURES BEFORE STARTING THE OPERATION 29
CHAPTER 5 SYSTEM CONFIGURATION 31
5.1 Overall System Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.2 Applicable System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.3 Restrictions When D/A Converter Module is Connected to Head Module . . . . . . . . . . . . . . . . 32
CHAPTER 6 INSTALLATION AND WIRING 33
6.1 Installation Environment and Installation Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6.2 Terminal Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6.3 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.4 External Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
CHAPTER 7 VARIOUS SETTINGS 38
7.1 Addition of Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
7.2 Switch Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
7.3 Parameter Setting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
7.4 Auto Refresh. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7.5 Offset/Gain Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.5.1 Setting from GX Works2 "Offset/Gain Setting" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42
7.5.2 Setting from a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
8
CHAPTER 8 FUNCTIONS 49
8.1 D/A Conversion Enable/Disable Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.2 D/A Output Enable/Disable Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.3 Analog Output HOLD/CLEAR Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.4 Analog Output Test when CPU Module is in STOP Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
8.5 Scaling Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.6 Alarm Output Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
8.7 Error Log Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
8.8 Module Error Collection Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
8.9 Error Clear Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
8.10 Saving and Restoring Offset/Gain Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
CHAPTER 9 DISPLAY UNIT 70
9.1 Display Unit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
9.2 Menu Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
9.3 List of Setting Value Change Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
9.4 Checking and Clearing Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
CHAPTER 10 PROGRAMMING 77
10.1 Procedure for Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
10.2 When Using a Standard System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
10.3 When D/A Converter Module is Connected to Head Module . . . . . . . . . . . . . . . . . . . . . . . . . . 83
CHAPTER 11 TROUBLESHOOTING 90
11.1 Checking on the Module Detailed Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
11.2 Checking by Latest Error Code (Un\G19). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
11.3 Checking on the Module Error Collection Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
11.4 Error Code List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
11.5 Alarm Code List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
11.6 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
11.7 Checking the Status of D/A Converter Module by the System Monitor . . . . . . . . . . . . . . . . . . 97
APPENDICES 98
Appendix 1 Details of I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Appendix 1.1 Input Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .98
Appendix 1.2 Output Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102
Appendix 2 Details of Buffer Memory Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Appendix 3 I/O Conversion Characteristic of D/A Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Appendix 4 D/A Conversion Accuracy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Appendix 5 Dedicated Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Appendix 5.1 Instruction List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Appendix 5.2 G(P).OFFGAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
9
Appendix 5.3 G(P).OGLOAD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
Appendix 5.4 G(P).OGSTOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
Appendix 6 Checking Serial Number and Function Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Appendix 7 Differences with Q Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Appendix 8 When Using GX Developer or GX Configurator-DA. . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Appendix 8.1 Operation of GX Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Appendix 8.2 Operation of GX Configurator-DA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Appendix 9 External Dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
INDEX 131
INSTRUCTION INDEX 133
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Warranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
10

MANUAL PAGE ORGANIZATION

In this manual, pages are organized and the symbols are used as shown below. The following page illustration is for explanation purpose only, and is different from the actual pages.
"" is used for screen names and items.
The chapter of
shows operating procedures.
the current page is shown.
shows mouse operations.
[ ] is used for items in the menu bar and the project window.
Ex.
shows setting or operating examples.
shows reference manuals.
shows reference pages.
*1
*1 The mouse operation example is provided below. (For GX Works2)
The section of the current page is shown.
shows notes that requires attention.
shows useful information.
Menu bar
Ex.
A window selected in the view selection area is displayed.
Ex.
View selection area
[Online] [Write to PLC...]
Select [Online] on the menu bar, and then select [Write to PLC...].
Project window
[PLC Parameter]
Select [Project] from the view selection area to open the Project window.
In the Project window, expand [Parameter] and select [PLC Parameter].
[Parameter]
11
Pages describing instructions are organized as shown below.
Descriptions of
C
The following page illustrations are for explanation purpose only, and are different from the actual pages.
Instruction name
Execution condition of the instruction
Structure of the instruction in the ladder mode
shows the devices applicable to the instruction
Setting side
: Device value is set by the user.
setting data and data type
Descriptions of control data (if any)
User System: Device value is set by the CPU module.
Detailed descriptions of the instruction
onditions for the error and error codes For the errors not described in this manual, refer to the following. MELSEC-Q/L Programming Manual (Common Instruction)
Simple program example(s) and descriptions of the devices used
12
• Instructions can be executed under the following conditions.
Execution condition Any time During on
Symbol No symbol
On the rising
edge
During off
• The following devices can be used.
Internal device
Setting
data
Applicable
*1
device
(system, user)
Bit Word Bit Word
X, Y, M, L,
SM, F, B,
SB, FX,
FY*2
T, ST, C, D,
W, SD,
SW, FD,
@
File
register
R, ZR
*1 For details on each device, refer to the following.
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals) *2 FX and FY can be used for bit data only, and FD for word data only. *3 In the "Constant" and "Others" columns, a device(s) that can be set for each instruction is shown.
Link direct device
J\
U\G
Intelligent
function module
device
U\G
Index
register
Zn
Z K, H, E, $
• The following data types can be used.
Data type Description
Bit Bit data or the start number of bit data
BIN 16-bit 16-bit binary data or the start number of word device
BIN 32-bit 32-bit binary data or the start number of double-word device
BCD 4-digit Four-digit binary-coded decimal data
BCD 8-digit Eight-digit binary-coded decimal data
Real number Floating-point data
Character string Character string data
Device name Device name data
On the falling
edge
Con-
*3
stant
Others
*3
P, I, J, U, D, X, DY,
N, BL, TR,
BL\S, V
13

TERMS

Unless otherwise specified, this manual uses the following terms.
Term Description
D/A converter module Another term for the MELSEC-L series digital-analog converter module
Head module Abbreviation for the LJ72GF15-T2 CC-Link IE field network head module
Display unit A liquid crystal display to be attached to the CPU module
Programming tool Generic term for GX Works2 and GX Developer
Factory default setting Generic term for analog output ranges of 0 to 5V, 1 to 5V, -10 to 10V, 0 to 20mA, and 4 to 20mA
GX Works2
GX Developer
GX Configurator-DA A setting and monitoring tool added in GX Developer (for D/A converter modules)
Buffer memory
Product name of the software package for the MELSEC programmable controllers
The memory of an intelligent function module used to store data (such as setting values and monitored values) for communication with a CPU module.

PACKING LIST

The following items are included in the package of this product. Before use, check that all the items are included.
L60DA4
14
L60DA4 Before Using the Product

CHAPTER 1 D/A CONVERTER MODULE

CHAPTER 1 D/A CONVERTER MODULE
This chapter describes the application and features of the D/A converter module.
1.1 Application
This module converts the digital data received from the CPU module to the analog signal and outputs the signal to external devices. By converting the data, which has been processed through the CPU module, to an analog data, the input information can be sent to the devices including an inverter.
Digital to analog
conversion
Digital signal (discrete signal)
The D/A converter module enables works as follows.
Analog signal (continuous signal)
1
Connect the module to the control valve to control the flow to
a tank.
Control valve
Connect the module to the power conditioning equipment to
control the heating temperature of a heater or others.
Power conditioner
Flow control
Tan k
Connect the module to an inverter to control the conveyer
belt speed.
Inverter
Conveyer

1.1 Application

Heater
15

1.2 Features

(1) Improved response by high-speed conversion
The high-speed conversion speed of 20µs/channel is achieved.
(2) Detailed control by high resolution
In all analog output ranges, the high resolution of 1/20000 is achieved.
(3) Reliability by high accuracy
The accuracy for the maximum value of analog output value is ± 0.1% (25 ± 5°C) and ± 0.3% (0 to 55°C).
(4) Scaling function
This function converts a digital value to the ratio value (%) in any width to represent the digital value in a numeric value easy to understand.
(5) Error detection and monitoring
When the digital value exceeds the specified range, the module detects an alarm so that the digital value error monitoring and the output control are enabled.
16
CHAPTER 2 PART NAMES

CHAPTER 2 PART NAMES

The following table shows the part names of the D/A converter module.
1)
2)
3)
6)
1)
4)
7)
8)
Number Name Description
1) Module joint levers Levers for connecting two modules
Displays the operating status of the D/A converter module.
2) RUN LED (green)
3) ERR. LED (red)
4) ALM LED (red)
5) DIN rail hook A hook used to mount the module to a DIN rail
6) Terminal block
7) Terminal block cover Cover for preventing electric shock while the power is on.
8) Serial number display Displays the serial number printed on the rating plate.
On: The module is operating normally. Flashing: In the offset/gain setting mode Off: The 5V power off or watchdog timer error has occurred.
Displays the errors and status of the D/A converter module.
On: an error has occurred except for error code: 112
Flashing: Error code: 112 has occurred. Off : during normal operation
Displays the alarm status of the D/A converter module.
On: Alarm output is occurring
Off: The module is operating normally.
18-pin screw terminal block for connecting output signal lines of such as external devices
2
1)
5)
1)
*1
*1
*2
*2
*1 Error Code List ( Page 93, Section 11.4) *2 Alarm Code List ( Page 94, Section 11.5)
17
Memo
18

CHAPTER 3 SPECIFICATIONS

CHAPTER 3 SPECIFICATIONS
This chapter describes general specifications, performance specifications, function list, list of I/O signals, and list of buffer memory addresses.
3.1 General Specifications
For the general specifications of the D/A converter module, refer to the following.
The manual "Safety Guidelines", the manual supplied with the CPU module or head module
3

3.1 General Specifications

19

3.2 Performance Specifications

The following table shows the performance specifications of the D/A converter module.
Item
Number of analog output points 4 points (4 channels)
Digital input -20480 to 20479
When using the scaling function
Analog output
I/O characteristics, resolution
Accuracy (accuracy for the maximum value of analog output value) *2
Conversion speed 20µs/channel
Offset/gain setting count Up to 50000 counts
Output short protection Protected
Isolation method
Dielectric withstand voltage
Insulation resistance Between I/O terminals and programmable controller power supply: 500VDC 10MΩ or higher
Number of occupied I/O points 16 points (I/O assignment: Intelligent 16 points)
Connected terminal 18-point terminal block
Applicable wire size
Applicable solderless terminal R1.25 to 3 (solderless terminals with sleeve are not usable)
External supply power
Internal current consumption (5VDC) 0.16A
Weight 0.20kg
Voltage -10 to 10 VDC (external load resistance 1kΩ to 1MΩ)
Current 0 to 20 mADC (external load resistance 0Ω to 600Ω))
Analog output range Digital value Resolution
0 to 5V
1 to 5V 200µV
-10 to 10V
User range setting
0 to 20mA
4 to 20mA 800nA
User range setting -20000 to 20000
Within ±0.1% (voltage: ±10mV, current: ±20µA)
Within ±0.3% (voltage: ±30mV, current: ±60µA)
Between output channels: no isolation
Between external power supply and analog output: transformer isolation
Between external power supply and analog output: 500VACrms for 1 minute
Ripple, spike 500mV
Inrush current: 4.3A, 1000µs or shorter
Current consumption: 0.18A
Ambient temperature
±5°C
25
Ambient temperature 0 to 55°C
Voltag e
Current
Between I/O terminals and programmable controller power supply: photocoupler isolation
Between I/O terminals and programmable controller power supply: 500VACrms for 1 minute
Model
L60DA4
-32768 to 32767
0 to 20000
-20000 to 20000
0 to 20000
0.3 to 0.75mm
24VDC +20%, -15%
2
P-P or lower
250µV
500µV
333µV
1000nA
700nA
*1
*1
20
*1 Maximum resolution in the user range setting. *2 Except when receiving noise influence.
Warm up (or power on) the module for 30 minutes to satisfy the accuracy shown in the table.
CHAPTER 3 SPECIFICATIONS
3.2.1 Number of parameter settings
Set the initial setting of D/A converter module and the parameter setting of auto refresh setting so that the number of parameters, including these of other intelligent function modules, does not exceed the number of parameters that can be set in the CPU module or the head module. For the maximum number of parameters that can be set in the CPU module or the head module (maximum number of parameter settings), refer to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CC-Link IE Field Network Head Module User's Manual
(1) Number of the D/A converter module parameters
For D/A converter modules, the following number of parameters can be set per module.
Target module Initial setting Auto refresh setting
L60DA4 4 11 (maximum number of settings)
(2) Checking method
The maximum number of parameter settings and the number of parameter settings set for the intelligent function module can be checked with the following operation.
3
Project window [Intelligent Function Module] Right-click
[Intelligent Function Module Parameter List]
1) 2) 3) 4)
No. Description
1) The total number of parameters in the initial settings selected on the dialog box
2) The maximum number of parameter settings in the initial settings
3) The total number of parameters in the auto refresh settings selected on the dialog box
4) The maximum number of parameter settings in the auto refresh settings

3.2.1 Number of parameter settings

3.2 Performance Specifications
21

3.3 Function List

The following shows the function list of the D/A converter module.
Item Description Reference
D/A conversion enable/disable function
D/A output enable/disable function
Range switching function
Offset/gain setting function This function compensates for errors in analog output values.
Analog output HOLD/CLEAR function
Analog output test when CPU module is in STOP status
Scaling function
Alarm output function This function outputs an alarm when the digital value is outside the preset range.
External power supply READY flag (X7)
Error log function
Module error collection
Error clear function Clearing the error from the system monitor at error occurrence is possible.
Save/restoration of offset/gain value The offset/gain value of the user range setting can be saved or restored.
Sets whether to enable or disable D/A conversion for each channel. Disabling the D/A conversion for unused channels reduces the conversion cycles.
This function sets whether to output the D/A conversion value or the offset value, for each channel. The conversion speed is constant, regardless of the output enable/disable status.
The output range to use can be selected from the factory default range (4mA to 20mA, 0mA to20mA, 1V to 5V, 0V to 5V or -10V to 10V) and user range (user range setting).
This function sets whether to hold the output analog value (HOLD) or clear the output analog value (CLEAR), according to the CPU module operating status (RUN, STOP or stop error).
When the CPU module is in STOP operation status, forcibly turning CH Output enable/disable flag (Y1 to Y4) ON outputs the D/A-converted analog value.
This function performs a scale conversion of the digital value that was input into a digital value between -20000 and 20000 (or 0 and 20000) using any given set scaling upper or lower limit value, and outputs the corresponding analog value.
This signal turns ON when the external power supply 24VDC is supplied. When the flag is OFF, 0V/0mA are output to analog output values regardless of other settings.
This function stores up to 16 errors and alarms that occur on the D/A converter module to the buffer memory as history.
This function collects errors and alarms occurred in the D/A converter module and stores to the CPU module or the head module.
Page 49,
Section 8.1
Page 49,
Section 8.2
Page 39,
Section 7.2
Page 42,
Section 7.5
Page 50,
Section 8.3
Page 52,
Section 8.4
Page 54,
Section 8.5
Page 59,
Section 8.6
Page 98,
Appendix
1.1(2)
Page 61,
Section 8.7
Page 63,
Section 8.8
Page 64,
Section 8.9
Page 65,
Section 8.10
22
CHAPTER 3 SPECIFICATIONS
3.4 I/O Signal List
The following shows the I/O signal list of the D/A converter module. For details on the setting status, refer to the following.
• Details of I/O signals ( Page 98, Appendix 1)
Input signal Output signal
Device number Signal name Device number Signal name
X0 Module READY Y0 Use prohibited
X1
X2 Y2 CH2 Output enable/disable flag
X3 Y3 CH3 Output enable/disable flag
X4 Y4 CH4 Output enable/disable flag
X5 Y5
X6 Y6
X7 External power supply READY flag Y7
X8 Use prohibited Y8
X9 Operating condition setting completed flag Y9 Operating condition setting request
XA Offset/gain setting mode flag YA User range writing request
XB Channel change completed flag YB Channel change request
XC Set value change completed flag YC Set value change request
XD Use prohibited YD Use prohibited
XE Warning output signal YE Warning output clear request
XF Error flag YF Error clear request
Use prohibited
Y1 CH1 Output enable/disable flag
Use prohibited
3
The I/O number (X/Y) described above shows the case that the start I/O number of the D/A converter module is set to "0".

3.4 I/O Signal List

23

3.5 Buffer Memory List

The following shows the buffer memory list of the D/A converter module. For details on buffer memory, refer to the following.
• Detail of buffer memory ( Page 104, Appendix 2)
Do not write data to the system area and the area where the data cannot be written from the program in buffer memory. Writing data to these areas may lead the module to malfunction.
(1) Un\G0 to Un\G1799
Address
(decimal)
0
1
2
3
4
5
10
11
12
13
14
15
18
19
20
21
22
23
24
25
26
27
46
47
48
Address
(hexadecimal)
0
H
1
H
2
H
3
H
4
H
5
H
A
H
B
H
C
H
D
H
E
H
F
H
12
H
13
H
14
H
15
H
16
H
17
H
18
H
19
H
1A
H
1B
H
2E
H
2F
H
30
H
Name
D/A conversion enable/disable setting
Default
*1
000F
H
Read/Write
*2
R/W
CH1 Digital value 0 R/W
CH2 Digital value 0 R/W
CH3 Digital value 0 R/W
CH4 Digital value 0 R/W
System area ⎯⎯to to
CH1 Set value check code
CH2 Set value check code
CH3 Set value check code
CH4 Set value check code
0000
0000
0000
0000
H
H
H
H
R
R
R
R
System area ⎯⎯to to
Latest error code 0 R
Setting range
0000
H
R
System area ⎯⎯
Offset/gain setting mode Offset specification
Offset/gain setting mode Gain specification
0000
0000
H
H
R/W
R/W
Offset/gain adjustment value specification 0 R/W
System area ⎯⎯
HOLD/CLEAR function setting
0000
H
R
System area ⎯⎯to to
Warning output setting
Warning output flag
000F
0000
H
H
R/W
R
24
CHAPTER 3 SPECIFICATIONS
Address
(decimal)
49
52
53
54
55
56
57
58
59
60
61
62 3E
to to
85
86
87
88
89
90
91
92
93
94
157
158
159
160
199
200
201
202
203
204
205
206
207
208
209
210
Address
(hexadecimal)
31
H
34
H
35
H
36
H
37
H
38
H
39
H
3A
H
3B
H
3C
H
3D
H
H
55
H
56
H
57
H
58
H
59
H
5A
H
5B
H
5C
H
5D
H
5E
H
9D
H
9E
H
9F
H
A0
H
C7
H
C8
H
C9
H
CA
H
CB
H
CC
H
CD
H
CE
H
CF
H
D0
H
D1
H
D2
H
Name
Default
*1
Read/Write
*2
System area ⎯⎯to to
Scaling enable/disable setting
000F
H
R/W
CH1 Scaling lower limit value 0 R/W
CH1 Scaling upper limit value 0 R/W
CH2 Scaling lower limit value 0 R/W
CH2 Scaling upper limit value 0 R/W
CH3 Scaling lower limit value 0 R/W
CH3 Scaling upper limit value 0 R/W
CH4 Scaling lower limit value 0 R/W
CH4 Scaling upper limit value 0 R/W
System area ⎯⎯
CH1 Warning output upper limit value 0 R/W
CH1 Warning output lower limit value 0 R/W
CH2 Warning output upper limit value 0 R/W
CH2 Warning output lower limit value 0 R/W
CH3 Warning output upper limit value 0 R/W
CH3 Warning output lower limit value 0 R/W
3.5 Buffer Memory List
CH4 Warning output upper limit value 0 R/W
CH4 Warning output lower limit value 0 R/W
System area ⎯⎯to to
0R/W
Mode switching setting
0R/W
System area ⎯⎯to to
Pass data classification setting 0 R/W
System area ⎯⎯
CH1 Industrial shipment settings offset value 0 R/W
CH1 Industrial shipment settings gain value 0 R/W
CH2 Industrial shipment settings offset value 0 R/W
CH2 Industrial shipment settings gain value 0 R/W
CH3 Industrial shipment settings offset value 0 R/W
CH3 Industrial shipment settings gain value 0 R/W
CH4 Industrial shipment settings offset value 0 R/W
CH4 Industrial shipment settings gain value 0 R/W
CH1 User range settings offset value 0 R/W
3
25
Address
(decimal)
211
212
213
214
215
216
217
218
1799
*1 The default value is a value set after power-on or after resetting the CPU module. *2 This shows whether reading the data from or writing the data to the area with programs is possible.
Address
(hexadecimal)
R: Readable W: Writable
D3
D4
D5
D6
D7
D8
D9
DA
707
Name
H
H
H
H
H
H
H
H
H
CH1 User range settings gain value 0 R/W
CH2 User range settings offset value 0 R/W
CH2 User range settings gain value 0 R/W
CH3 User range settings offset value 0 R/W
CH3 User range settings gain value 0 R/W
CH4 User range settings offset value 0 R/W
CH4 User range settings gain value 0 R/W
System area ⎯⎯to to
Default
*1
Read/Write
*2
26
(2) Error history (Un\G1800 to Un\G1969)
CHAPTER 3 SPECIFICATIONS
Address
(decimal)
1800
1801
1809
1810
1811
1812
1813
1814
1815
1819
1820
1829
1830
1839
1840
1849
1850
1859
1860
1869
1870
1879
1880
1889
1890
1899
Address
(hexadecimal)
708
H
709
H
711
H
712
H
713
H
714
H
715
H
716
H
717
H
71B
H
71C
H
725
H
726
H
72F
H
730
H
739
H
73A
H
743
H
744
H
74D
H
74E
H
757
H
758
H
761
H
762
H
76B
H
Name
Default
*1
Read/Write
Latest error code address 0 R
System area ⎯⎯to to
Error code 0 R
No. 1
Error time
First two digits of the year
Month Day 0 R
Hour Minute 0 R
Second
Last two digits of the year
Day of the week
0R
0R
System area ⎯⎯to to
No. 2 Same as No. 1to to
No. 3 Same as No. 1to to
No. 4 Same as No. 1to to
No. 5 Same as No. 1to to
No. 6 Same as No. 1to to
No. 7 Same as No. 1to to
No. 8 Same as No. 1to to
No. 9 Same as No. 1to to
*2
3
3.5 Buffer Memory List
27
Address
(decimal)
1900
Address
(hexadecimal)
76C
H
Name
No. 10 Same as No. 1to to
1909
1910
775
776
H
H
No. 11 Same as No. 1to to
1919
1920
77F
780
H
H
No. 12 Same as No. 1to to
1929
1930
789
78A
H
H
No. 13 Same as No. 1to to
1939
1940
793
794
H
H
No. 14 Same as No. 1to to
1949
1950
79D
79E
H
H
No. 15 Same as No. 1to to
1959
1960
7A7
7A8
H
H
No. 16 Same as No. 1to to
1969
7B1
H
*1 The default value is a value set after power-on or after resetting the CPU module. *2 This shows whether reading the data from or writing the data to the area with programs is possible.
R: Readable W: Writable
Default
*1
Read/Write
*2
28

CHAPTER 4 PROCEDURES BEFORE STARTING THE OPERATION

CHAPTER 4 PROCEDURES BEFORE STARTING
THE OPERATION
This chapter describes the procedures before starting the operation.
Start
Module connecting
Connect the D/A converter module in any desired configuration.
Wiring
Connects external devices to the D/A converter module.
Use user range settings?
YES
Offset/gain setting
To use user range settings, set the offset/gain values.
Programming and debugging
Creates and checks a program.
Page 31, Section 5.1
( )
Page 37, Section 6.4
( )
NO
Page 42, Section 7.5
( )
4
29
Memo
30

CHAPTER 5 SYSTEM CONFIGURATION

CHAPTER 5 SYSTEM CONFIGURATION
This chapter describes the overall configuration, number of connectable modules, and compatible software version of the D/A converter module.
5.1 Overall System Configuration
The following shows a system configuration example for using the D/A converter module.
(1) When connected to a CPU module
Display unit
(optional)
5
Power supply module CPU module
(2) When connected to a head module
Power supply module Head module
I/O module
or intelligent
function module END coverD/A converter module
I/O module or
intelligent function
module END coverD/A converter module

5.1 Overall System Configuration

31

5.2 Applicable System

(1) Number of connectable modules
For the number of connectable modules, refer to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CC-Link IE Field Network Head Module User's Manual
(2) Compatible software version
For the compatible software versions, refer to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CC-Link IE Field Network Head Module User's Manual
5.3 Restrictions When D/A Converter Module is Connected
to Head Module
The following describes the restriction when the D/A converter module is connected to a head module.
• Dedicated instruction cannot be used.
32

CHAPTER 6 INSTALLATION AND WIRING

CHAPTER 6 INSTALLATION AND WIRING
This chapter describes the installation and wiring of the D/A converter module.
6.1 Installation Environment and Installation Position
For precautions for installation environment and installation position, refer to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CC-Link IE Field Network Head Module User's Manual
6

6.1 Installation Environment and Installation Position

33

6.2 Terminal Block

(1) Precautions
Tighten the terminal block screws within the following specified torque range.
Screw type Tightening torque range
Terminal screw (M3 screw) 0.42 to 0.58N • m
Terminal block mounting screw (M3.5 screw) 0.66 to 0.89N • m
The following table shows the applicable solderless terminal installed to the terminal block. For wiring, use the wire applicable to the following wire and mount with the applicable tightening torque. Use a UL-approved solderless terminal and tools recommended by the manufacturer of the solderless terminal. The sleeve solderless
terminal cannot be used.
Solderless terminal Wire
Model Name
R1.25-3 0.42 to 0.58N • m 22 to 18 AWG Stranded wire Copper wire 75°C or higher
(2) Signal names of the terminal block
The following shows signal names of the terminal block.
Applicable
tightening torque
CH1
COM
SLD
CH2
COM
SLD
CH3
COM
SLD
CH4
COM
+24V
Wire diameter Ty pe Material
Pin number Signal name
1
CH1
CH2
CH3
CH4
FG
CH1
v+
CH1
I+
CH2
V+
CH2
I+
CH3
V+
CH3
I+
CH4
V+
CH4
I+
24G
2COM
3I+
4SLD
5
6COM
7I+
8SLD
9
10 COM
11 I+
12 SLD
13
14 COM
15 I+
16 +24V
17 24G
18 FG
Temperature
rating
V+
V+
V+
V+
34
(3) Removal and installation of the terminal block
The following shows how to remove and install the terminal block.
(a) Removal procedure
1. Open the terminal cover and loosen the terminal
block mounting screw.
Terminal block mounting screw
CHAPTER 6 INSTALLATION AND WIRING
(b) Installation procedure
Terminal block fixing hole
2. Using the terminal block fixing holes as a fulcrum,
remove the terminal block.
1. Fully insert the projections on the top of the terminal
block into the terminal block fixing holes and press the terminal block until it snaps into place.
6
6.2 Terminal Block
Terminal block
mounting screw
2. Open the terminal cover and tighten the terminal
block mounting screw.
35

6.3 Wiring

(1) Wiring to a terminal block
The following shows wirings to a terminal block.
(a) For voltage output
CH1
COM
SLD
CH2
COM
SLD
CH3
COM
SLD
CH4
COM
+24V
FG
CH1
V+
CH1
I+
CH2
V+
CH2
I+
CH3
V+
CH3
I+
CH4
V+
CH4
I+
24G
CH1
CH2
CH3
CH4
(b) For current output
CH1
COM
SLD
CH2
COM
SLD
CH3
COM
SLD
CH4
COM
+24V
FG
CH1
V+
CH1
I+
CH2
V+
CH2
I+
CH3
V+
CH3
I+
CH4
V+
CH4
I+
24G
CH1
CH2
CH3
CH4
36
6.4 External Wiring
The following describes the external wiring.
(1) For voltage output
D/A
conversion
D/A
conversion
V+
COM
SLD
V+
COM
SLD
V+
COM
SLD
V+
COM
CH1
*3
CH2
CH3
*3
CH4
*1 *2
CHAPTER 6 INSTALLATION AND WIRING
Motor drive module, etc.
1k
1M
GND
Motor drive module, etc.
1k
1M
GND
Motor drive module, etc.
1k
1M
GND
Motor drive module, etc.
1k
1M
GND
6
AG
(2) For current output
D/A
conversion
D/A
conversion
DC/DC converter
Filter
+24V
24G
FG
I+
COM
SLD
I+
COM
SLD
I+
COM
SLD
I+
COM
CH1
*3
CH2
CH3
*3
CH4
*1 *2
DC24V
Motor drive module, etc.
GND
Motor drive module, etc.
GND
Motor drive module, etc.
GND
Motor drive module, etc.
GND
600
600
600
600

6.4 External Wiring

0
0
0
0
+24V
DC/DC converter
AG
Filter
24G
FG
DC24V
*1 For wire, use the shielded twisted pair cable. *2 For external wiring, if noise or ripple occurs, connect a capacitor with values between 0.1µF and 0.47µF with voltage
around of 25V between terminal (V+) and COM.
*3 Connect the each channel shielded wire to any one of three shield terminals for the channel. Be sure to ground the FG
terminal. In addition, ground the FG terminal of the power supply module.
37

CHAPTER 7 VARIOUS SETTINGS

This chapter describes the setting procedures of the D/A converter module.
After writing the contents of new module, switch settings, parameter settings and auto refresh settings into the CPU module, reset the CPU module, switch STOP → RUN → STOP → RUN, or switch OFF ON the power supply, to validate the setting contents.

7.1 Addition of Modules

Add the model name of D/A converter modules to use on the Project.
(1) Addition procedure
Open the "New Module" dialog box.
Project window [Intelligent Function Module] Right-click [New Module…]
38
Item Description
Module Type
Mount Position
Title Setting Title Set any title.
Module Type Set "analog module".
Module Name Select the name of the module to be connected.
Mounted Slot No. Set the slot No. where the target module is connected.
Specify start X/Y address
The start I/O number (hexadecimal) of the target module is set, according to the mounted slot No. Setting any start I/O number is also possible.
7.2 Switch Setting
Set the operation mode, HOLD/CLEAR function, and the output range used in each CH.
(1) Setting procedure
Open the "Switch Setting" dialog box.
Project window [Intelligent Function Module] module name [Switch Setting]
CHAPTER 7 VARIOUS SETTINGS
Item Description Setting value
Output range Set the output range used in each CH.
Output Range Setting
HOLD/CLEAR function
Operation Mode Setting
Set whether to hold or clear the output analog value in each CH when the CPU module enters to the STOP status or when an error occurs.
Set the operation mode of the D/A converter module.
• 4 to 20mA (default value)
• 0 to 20mA
• 1 to 5V
• 0 to 5V
• -10 to 10V
• User range setting
• CLEAR (default value)
•HOLD
• Normal mode (default value)
• Offset/gain setting mode
7

7.2 Switch Setting

39

7.3 Parameter Setting

Set the parameters of each CH.
(1) Setting procedure
Open the "Parameter" dialog box.
1. Start "Parameter"
Project window [Intelligent Function Module] module name "Parameter"
Pull-down list type
Text box type
2. Double-click the item to change the setting, and input the setting value.
• Items to input from the pull-down list Double-click the item to set, to display the pull-down list. Select the item.
• Items to input from the text box Double-click the item to set, and input the setting value.
3. For setting CH2 to CH4, follow the operation of step2.
Item Setting value Reference
Basic setting D/A conversion enable/disable setting
Warning output setting
Warning Output Function
Warning output lower limit value -32768 to 32767 (default value: 0)
Scaling function
Scaling function
Scaling lower limit value -32000 to 32000 (default value: 0)
0: Enable 1: Disable (default value)
0: Enable 1: Disable (default value)
0: Enable 1: Disable (default value)
Page 49,
Section 8.1
Page 59,
Section 8.6Warning output upper limit value -32768 to 32767 (default value: 0)
Page 54,
Section 8.5Scaling upper limit value -32000 to 32000 (default value: 0)
40
7.4 Auto Refresh
This setting transfers data in the buffer memory to specified devices.
(1) Setting procedure
Open the "Auto_Refresh" dialog box.
1. Start "Auto_Refresh"
Project window [Intelligent Function Module] module name [Auto_Refresh]
2. Click the item to setup, and input the auto refresh target device.
CHAPTER 7 VARIOUS SETTINGS
7

7.4 Auto Refresh

41

7.5 Offset/Gain Setting

When using the user range setting, configure the offset/gain setting with the following operations. When using the factory default setting, the offset/gain setting is not necessary. The offset/gain setting can be configured from the following two types of operations.
• Setting from "Offset/Gain Setting" of GX Works2.
• Setting from a program

7.5.1 Setting from GX Works2 "Offset/Gain Setting"

(1) Setting procedure
Open the "Offset/Gain Setting" dialog box.
[Tool] [Intelligent Function Module Tool] [Analog Module] [Offset/Gain Setting]
1. Select the module to configure the offset/gain
setting, and click the button.
2. Click the button.
42
CHAPTER 7 VARIOUS SETTINGS
3. Specify the channel to use the offset/gain setting.
4. Use the radio button to specify whether to perform
the offset setting or gain setting.
(Step 5 and later describes when the offset setting is specified.)
7
7.5 Offset/Gain Setting
7.5.1 Setting from GX Works2 "Offset/Gain Setting"
43
5. The adjustment amount of the offset value or gain
value can be selected from "1", "100", "500", "1000", "2000", and "3000" or it can be set by
inputting any value (1 to 3000).
6. Clicking the or button fine-
adjusts the analog output voltage or analog output
current value by the set adjusted value.
7. The offset status in the specified channel is
changed to "Changed".
8. To perform the gain setting, repeat from step 4.
End
9. After setting, click the button.
10. Click the button.
44
7.5.2 Setting from a program
(1) Setting procedure
The following describes the procedures when setting the offset/gain from a program.
Start
1
Switches to the Offset/gain setting mode.*
Checks that the module is in Offset/gain setting mode (the RUN LED is flashing).
1
CHAPTER 7 VARIOUS SETTINGS
Turns on Channel change request (YB).
Checks that Channel change completed flag (XB) is on.
2
Specifies the offset target channel in Offset/gain setting mode Offset specification (Un\G22). Only one channel can be set at a time. Set "0" in Offset/gain setting mode Gain specification (Un\G23).
Turns on Channel change request (YB).
Checks that Channel change completed flag (XB) is on.
Turns off Channel change request (YB).
Sets a value in Offset/gain adjustment value specification (Un\G24).
Turns on Set value change request (YC).
Turns off Set value change request (YC) when Set value change completed flag (XC) turns on by the analog output value changes.
No
Turns off Channel change request (YB).
Sets a value in Offset/gain adjustment value specification (Un\G24).
Turns on Set value change request (YC).
Turns off the Set value change request (YC) when Set value change completed flag (XC) turns on by the analog output value changes.
No
Is the analog output value satisfied?
Yes
Adjust other channels?
No
Turns on User range writing request (YA).
Checks that Offset/gain setting mode flag (XA) has turned off, and then turn off User range writing request (YA).
No
Yes
7
7.5 Offset/Gain Setting

7.5.2 Setting from a program

2
Is the analog output value satisfied?
Yes
Specifies the offset target channel in Offset/gain setting mode Gain specification (Un\G23). Only one channel can be set at a time. Set "0" in Offset/gain setting mode Offset specification (Un\G22).
Is the "ERR." LED on?
No
Switches to the normal mode.*
End
1
Yes
1
*1 The following shows the procedure for switching the mode (normal mode offset/gain setting mode normal mode).
Dedicated instruction (G(P).OFFGAN) ( Page 116, Appendix 5.2)
• Changing for Mode switching setting (Un\G158, Un\G159) and OFF → ON → OFF of Operating condition setting
request (Y9) ( Page 110, Appendix 2(14))
• Intelligent function module switch setting ( Page 39, Section 7.2 (1))
45
Configure the offset/gain setting in accordance with the actual use situation.
Offset and gain values are recorded in the flash memory in the D/A converter module by turning OFF ON OFF User
range writing request (YA). Once recorded, the values are not deleted even after turning the power off. When the values are written 26 times in succession, an error occurs and the error code is stored in Latest error code (Un\G19) to prevent an improper write to flash memory.
Configure the offset/gain setting in the range satisfying the following condition. When the setting value out of the range is configured, the resolution and accuracy of the module may not fall within the range shown in the following performance specifications.
• I/O conversion characteristic of D/A conversion ( Page 112, Appendix 3)
Configure the offset/gain setting for each channel. When configuring the setting for offset and gain channels at the same time, an error occurs and ERR. LED turns on.
When error occurs even in one channel, offset/gain value is not written to the module. Check the value in Latest error code (Un\G19) and perform the following procedures to reconfigure the offset/gain setting from the beginning.
• Error code list ( Page 93, Section 11.4)
When the mode is switched from the offset/gain setting mode to the normal mode by the setting of the dedicated instruction (G(P).OFFGAN) or Mode switching setting (Un\G158, Un\G159), Module READY (X0) turns from OFF to ON. Note the initial setting process is executed at the switching of the mode if the sequence program executes the initial setting at Module READY (X0) ON.
To validate the intelligent function module switch setting after writing the setting to the CPU module, reset the CPU module or turn the power supply from OFF to ON.
(2) Program example
(a) Device
Ex.
I/O number of D/A converter module is X/Y30 to 3F (when L26CPU-BT is used)
The following shows the devices used in the program example.
Device Function
M0 Channel selection
M2 Gain setting
M3 Channel change command
M4 Offset/gain setting value channel change command
M5 Mode switching
M6 Analog output value adjustment command
M7 Command to write offset/gain setting values to the module
M8 Adjustment amount setting
M50 Signal for checking the offset/gain setting mode
M51 Signal for checking the normal mode
D0 Channel-specified storage device
D1 Adjustment amount setting storage device
D2 Storage device for the setting value of the dedicated instruction (G(P).OFFGAN)
M100 Module READY checking flag
46
For configuring the same I/O assignment as the system above, when using L02CPU, set the I/O assignment of the D/A converter module within X/Y30 to 3F.
CHAPTER 7 VARIOUS SETTINGS
(b) Switching the mode by the dedicated instruction (G.OFFGAN)
This program performs the followings:
• first, switches the mode to the offset/gain setting mode by the dedicated instruction (G.OFFGAN),
• second, switches the channels for which the offset/gain settings are configured,
• third, writes the offset/gain value to the D/A converter module,
• finally, switches the mode back to the normal mode.
Switches to the Offset/gain setting mode
Switches to the Offset/gain setting channel
Sets the changed value in one time for the range between -3000 and 3000 when adjusting
Adjusts the analog output value
Registers the Offset/gain setting result to the modules
Switches to the normal mode
Stores the setting data of the dedicated instruction (G.OFFGAN) in D2.
Dedicated instruction (G.OFFGAN).
Sets the offset/gain setting mode. Stores the channel number to D0.
Specifies the offset target channel.
Sets the buffer memory address 23 to 0.
Sets the buffer memory address 22 to 0.
Specifies the gain target channel.
Turns on Channel change request (YB).
Turns off Channel change request (YB).
Sets the adjustment of offset value to D1.
Sets the buffer memory address24 to D1.
Turns on Set value change request (YC).
Turns off Set value change request (YC).
Turns on User range writing request (YA).
Turns off User range writing request (YA).
Stores the setting data of the dedicated instruction (G.OFFGAN) in D2.
7
7.5 Offset/Gain Setting
7.5.2 Setting from a program
Processing in normal mode
The program in the dot-line box is common with the following three programs.
• Switching the mode by the dedicated instruction (G(P).OFFGAN)
• Switching the mode by Mode switching setting (U3\G158, U3\G159) and Operating condition setting request (Y39)
• Switching the mode by the intelligent function module switch setting
Dedicated instruction (G.OFFGAN)
47
(c) Switching the mode by Mode switching setting (Un\G158, Un\G159) and Operating
condition setting request (Y9)
Normal mode initial setting
Switches to the Offset/gain setting mode
Switches to the normal mode
Setting programs for other initial setting items
Common program
D/A conversion enable/disable program
Turns on Operating condition setting request (Y39).
H
Sets 4144 (U3\G158).
Sets 964 (U3\G159).
Turns on Operating condition setting request (Y39).
Sets 964 (U3\G158).
Sets 4144 (U3\G159).
to Mode switching setting
H
to Mode switching setting
H
to Mode switching setting
H
to Mode switching setting
48
Turns off Operating condition setting request (Y39).
One second timer
(d) Switching the mode by the intelligent function module switch setting
The program other than the common program is not required.
CHAPTER 8 FUNCTIONS
This chapter describes the details on functions that can be used in the D/A converter module and the setting procedures. For details on I/O signals and buffer memory, refer to the following.
• Detail of I/O signals ( Page 98, Appendix 1)
• Details of buffer memory addresses ( Page 104, Appendix 2)
8.1 D/A Conversion Enable/Disable Function
This function sets whether to enable or disable the analog value output for each channel. Disabling the D/A conversion for unused channels reduces the conversion cycles.
(1) Setting procedure
Set "D/A conversion enable/disable setting" to "0: Enable".

CHAPTER 8 FUNCTIONS

Project window [Intelligent Function Module] module name [Parameter]

8.2 D/A Output Enable/Disable Function

This function sets whether to output the D/A conversion value or the offset value, for each channel. The conversion speed is constant, regardless of the output enable/disable status.
(1) Setting procedure
Configure the setting with CH Output enable/disable flag (Y1 to Y4)
CH Output enable/disable flag (Y1 to Y4) Analog output
Enable (ON) D/A conversion value is output.
Disable (OFF) Offset value is output.
8

8.1 D/A Conversion Enable/Disable Function

49

8.3 Analog Output HOLD/CLEAR Function

This function sets whether to hold the output analog value (HOLD) or clear the output analog value (CLEAR), according to the CPU module operating status (RUN, STOP or stop error).
(1) Combination of analog output statuses
The analog output status changes as shown in the following table, depending on the combination of settings for
D/A conversion enable/disable setting (Un\G0) and CH Output enable/disable flag (Y1 to Y4).
D/A conversion enable/disable
setting (Un\G0)
Execution
status
Analog output status when CPU module is in RUN status
Analog output status when CPU module is in STOP status Hold Offset value
Analog output status when CPU module is in stop error Hold Offset value Offset value 0V/0mA
Analog output status when a watchdog timer error*
CH Output enable/disable flag
(Y1 to Y4)
Analog output HOLD/CLEAR
function setting
1
occurs
*1 Occurs when the program operation is not completed within the estimated time due to such as a hardware trouble in the
D/A converter module. When a watchdog timer error occurs, Module READY (X0) turns OFF and the RUN LED on the D/A converter module turns off.
*2 The following operation is performed when the CPU module is in STOP status, D/A conversion enable/disable setting
(Un\G0) is set to D/A conversion enabled (0) and Operating condition setting request (Y9) is turned to OFF ON OFF. Output enable/disable flag OFF: 0 V/0 mA output Output enable/disable flag OFF ON: offset value output
HOLD CLEAR
Analog value converted from digital
value with D/A conversion is output.
0V/0mA 0V/0mA 0V/0mA 0V/0mA
Enable Disable
Enable Disable
Enable or
disable
HOLD
or CLEAR
Offset value 0V/0mA
Offset value*
2
HOLD
or CLEAR
0V/0mA
(2) Setting procedure
Configure the setting from "HOLD/CLEAR function".
50
Project window [Intelligent Function Module] module name [Switch Setting]
CHAPTER 8 FUNCTIONS
The following describes the conditions for using the analog output HOLD/CLEAR function with a head module.
• Enable the station-based block data assurance of the cyclic data on the send side.
• When a link error occurs, configure the setting to hold the D/A conversion output through "I/O assignment setting error output mode" *
module switch will be invalid.
This setting is enabled for each module. Setting by each channel are not available. Therefore, set the HOLD/CLEAR function to the same setting for all channels in order to match the output status when a CPU module occurs a stop error or actually stopped and when a link error occurs.
1
. The HOLD/CLEAR setting configured from the Switch Setting of the intelligent function
Project window [Parameter] [PLC Parameter] [I/O Assignment]
button
HOLD/CLEAR setting (All channels
Operating status
Holds the analog output Hold HOLD
Clears the analog output (Outputs offset value)
For the block guarantee of cyclic data per station, refer to the following manual.
MELSEC-Q CC-Link IE Field Network Master/Local Module User's Manual
*1 When the error time output mode is enabled
• Data link stopped due to a network error
• Data link is stopped by CC-Link IE Field diagnostics using GX Works2
Error time output mode *
Clear CLEAR
1
should be the same settings)
8
8.3 Analog Output HOLD/CLEAR Function
51

8.4 Analog Output Test when CPU Module is in STOP Status

Analog output test can be performed when CPU module is in STOP status. When the following settings are configured, the settings are enabled even during the analog output test.
• Alarm output function ( Page 59, Section 8.6)
• Scaling Function ( Page 54, Section 8.5) When a digital value out of the range is written to each channel, a check code is stored in CH Set value check code (Un\G11 to Un\G14).
(1) Setting procedure
For analog output test, configure the following settings in the device test of GX Works2.
1. Set D/A conversion enable/disable setting (Un\G0) to "enable" for the channel where the analog
output test is to be performed.
2. Turn OFF ON OFF Operating condition setting request (Y9).
3. Turn OFF ON Output enable/disable flag (Y1 to Y4) for the channel where the analog output test
is to be performed.
4. Set the digital value equivalent to the analog value to be output to CH Digital value (Un\G1 to
Un\G4) in buffer memory.
D/A conversion enable/disable
Setting
combination
Analog output test Allowed Not allowed
*1 When performing the analog output test, set D/A conversion enable/disable setting (Un\G0) to "enable" beforehand.
CH Output enable/disable flag
setting (Un\G0)
(Y1 to Y4)
Enable Disable Enable Disable
Enable Disable
(2) Operation timing
By forcibly turning CH Output enable/disable flag (Y1 to Y4) OFF ON when the CPU module is in STOP status, analog output value is changed from offset value to D/A-converted analog value. The following shows the relation between CH1 Output enable/disable flag (Y1) and analog output value when the CPU module is in STOP status.
D/A conversion is output even when CPU STOP is operated.
CPU module status
CH1 Output enable/disable flag (Y1)
RUN
OFF*
3
ON*
2
OFF
Not allowed*
ON
1
RUNSTOP
Analog output value status
52
Analog output value
converted from digital value
*2 CH1 Output enable/disable flag (Y1) turns OFF with CPU STOP. *3 By forcibly turning the CH1 Output enable/disable flag (Y1) OFF ON, analog output value is changed from offset value
to D/A-converted analog value.
Offset value
Analog output value
converted from digital value
Offset value
Analog output value
converted from digital value
CHAPTER 8 FUNCTIONS
Analog output tests can be performed if a head module is connected even when the CPU module is stopped due to an error.
8
8.4 Analog Output Test when CPU Module is in STOP Status
53

8.5 Scaling Function

This function converts the input digital value to the scaled value of -20000 to 20000 (or 0 to 20000) using the specified scaling upper and lower limit values, and outputs the corresponding analog value.
(1) Concept of scaling setting
The setting for scaling lower and upper limit values differs depending on either the factory default setting or the user range setting is used for analog output range.
(a) When the factory default setting is used for analog output range
When using the factory default range, set a value corresponding to the upper limit value of the analog output value of the factory default range for the scaling upper limit value. Also, set a value corresponding to the lower limit value of the analog output of the factory default range for the scaling lower limit value.
(b) When the user range setting is used for analog output range
When using the user range, set a value corresponding to the analog output gain value for the scaling upper limit value. Also, set a value corresponding to the analog output offset value for the scaling lower limit value.
(2) Calculating the scaling value
Values converted using the following formulas are used for D/A conversion. (Values lower than the decimal point are rounded down in scale conversion.)
(a) When the factory default setting is used for output range
• Voltage: 1 to 5 V, 0 to 5 V Current: 4 to 20 mA, 0 to 20 mA
Digital value used for D/A conversion =
• When the voltage is -10 to 10 V
Digital value used for D/A conversion =
20000
SH - SL
40000
SH - SL
(D
(b) When the user range setting is used for output range
Digital value used for D/A conversion =
Item Description
Dx digital value
DMax
DMin
SH
SL
20000
SH - SL
digital maximum value of the used output range
digital minimum value of the used output range
scaling upper limit value
Scaling lower limit value
(D
X - SL)
(D
X - SL) - 20000
X - SL)
54
Even if the input range of digital value is increased, the resolution does not become higher than that of when the scaling function is not used.
(3) Setting procedure
1. Set "D/A conversion enable/disable setting" to "0: Enable".
Project window [Intelligent Function Module] module name [Parameter]
2. Set "Scaling function" to "0: Enable".
3. Set values for "Scaling upper limit value" and "Scaling lower limit value".
CHAPTER 8 FUNCTIONS
Item Setting range
Scaling upper limit value
Scaling lower limit value
Your scaling settings must meet the following condition: Scaling upper limit value > Scaling lower limit value
-32000 to 32000
8
8.5 Scaling Function
55
(4) Scaling setting example
1. When setting the "Scaling upper limit value" to "16000" and the "Scaling lower limit value" to "4000" for a
Ex.
channel with output range of 0V to 5V:
The following shows the digital values before and after scaling.
Analog output voltage (V)
5V
0V
0
Scaling lower limit value 4000
20000
Scaling upper limit value 16000
Digital value
20479
Analog output voltage (V) Digital value Digital value after scaling
0 4000 0
1 6400 4000
2 8800 8000
3 11200 12000
4 13600 16000
5 16000 20000
56
CHAPTER 8 FUNCTIONS
2. When setting the "Scaling upper limit value" to "16000" and the "Scaling lower limit value" to "4000" for a
Ex.
channel with output range of -10V to 10V:
The following shows the digital values before and after scaling.
Analog output voltage (V)
10V
-10V
Digital value
-20480
-20000
Scaling lower limit value 4000
0
10000
20479
20000
Scaling upper limit value 16000
Analog output voltage (V) Digital value Digital value after scaling
-10 4000 -20000
-5 7000 -10000
0 10000 0
5 13000 10000
10 16000 20000
8
8.5 Scaling Function
57
3: When setting the "Scaling upper limit value" to "16000" and the "Scaling lower limit value" to "4000" for a
Ex.
Ex.
channel with output range of -8V to 8V:
The following shows the digital values before and after scaling.
Analog output voltage (V)
8V
0V
-8V
-20480
-20000
-8000
0
Scaling lower limit value 4000
20000
Scaling upper limit value 16000
20479
Digital value
Analog output voltage (V) Digital Value Digital value after scaling
-8 -8000 -20000
-4 -2000 -10000
0 4000 0
4 10000 10000
8 16000 20000
When using the scaling function, the digital value before scaling can be set to a value out of the range of scaling upper and lower limit values (dotted line area in the I/O characteristics). However, use the scaling function within the range of analog output practical range (solid line area in the I/O characteristics). If the value exceeds the analog output practical range, the resolution and accuracy may not fall within the range of performance specifications.
The default digital value "0" may not be appropriate, depending on the scaling function setting. Especially in the examples 1 and 2, the out-of-range digital value error (error code: 60) occurs if the output enable/ disable flag is turned on with the digital value "0". Therefore, be sure to set an appropriate digital value, within the scaling range, before turning on the output enable/ disable flag. The following shows the error codes that occur.
58
60
Fixed
When using the user range, note that the scaling lower limit value is equal to the offset value.
Error channel number
8.6 Alarm Output Function
This function outputs an alarm when the digital value is out of the preset range.
CHAPTER 8 FUNCTIONS
Digital value
Warning output upper limit value
20000
Warning output lower limit value
-2000
CH1 Warning output flag
(upper limit value) (Un\G48.b0)
CH1 Warning output flag
(lower limit value) (Un\G48.b1)
Warning output signal (XE)
Warning output clear request (YE)
OFF ON
OFF ON
OFF
OFF
ON ON
OFF
OFF
ON OFF
Digital value
Analog output value
8

8.6 Alarm Output Function

(1) Alarm output notification
When the digital value moves above the alarm output upper limit value, or below the alarm output lower limit value, alarm notifications are made by Warning output flag (Un\G48), Warning output signal (XE) and the ALM LED turning ON.
In addition, alarm code 15 is stored in Latest error code (Un\G19). The alarm code that is stored is shown below:
15
Fixed
Warning channel number
1: Lower limit 0: Upper limit
(2) Operation of alarm output function
When the digital value moves above the alarm output upper limit value, or below the alarm output lower limit value, alarm notifications are made, and the analog output value becomes any of the following.
• When the digital value exceeds the alarm output upper limit value: An analog value converted from the digital value of alarm output upper limit value is output.
• When the digital value is less than the alarm output lower limit value: An analog value converted from the digital value of alarm output lower limit value is output.
After an alarm has occurred, the analog output value returns to the normal value by changing the digital value to a value within the setting range. However, Warning output flag (Un\G48) and Warning output signal (XE) are not cleared. (ALM LED keeps ON.)
59
(3) Clearing the Warning output
The alarm output can be cleared in the following two procedures:
• Turning OFF → ON → OFF Warning output clear request (YE)
• Turning OFF → ON → OFF Operating condition setting request (Y9)
Clearing the alarm output puts the D/A converter module into the following status.
• Warning output flag (Un\G48) is cleared.
• Warning output signal (XE) is turned to OFF.
• ALM LED is turned off.
• Warning code: 15 stored in Latest error code (Un\G19) is cleared.
(4) If the scaling function is enabled
If Scaling enable/disable setting (Un\G53) is set to "Enable", the digital value converted to the scaling range becomes a subject for alarm detection. When setting CH1 Warning output upper limit value (Un\G86) to CH4 Warning output lower limit value (Un\G93), make sure to specify values that reflect the scaling range.
(5) Setting procedure
1. Set "D/A conversion enable/disable setting" to "0: Enable".
Project window [Intelligent Function Module] module name [Parameter]
2. Set "Warning output function" to "0: Enable".
3. Set a value for "Warning output upper limit value" and "Warning output lower limit value".
Item Setting range
Warning output upper limit value
Warning output lower limit value
-32768 to 32767
60
CHAPTER 8 FUNCTIONS
8.7 Error Log Function
This function stores a history of errors and alarms that occurred in the D/A converter module to the buffer memory (Un\G1810 to Un\G1969). A maximum of 16 errors and alarms can be stored.
(1) Process of the error log function
The error code and the time of error occurrence are stored in the buffer memory address, starting from error history No.1 (start address Un\G1810) and sequentially thereafter.
(2) Checking error history
You can check the start address of the latest stored error at Latest error code address (Un\G1800)
1. When the third error occurs:
Ex.
The third error is stored in error history No.3, and the value "1830" (start address of error history No.3) is stored to Latest error code address (Un\G1800).
Latest error code address
(Un\G1800)
Address
The start address of the error history where the latest error is stored is stored.
1810
1820
1830
1960
Error history No.1
1st error
Error history No.2
2nd error
Error history No.3
(Empty)
Error history No.16
Details of error history
An error history consists of the following data.
Error code
3rd error
First two digits
of the year
Month
Hour
Second
New
Last two digits
of the year
Day
Minute
Day of the week
Error occurrence time
8

8.7 Error Log Function

(Empty)
61
2. When the 17th error occurs:
Ex.
The 17th error is stored in error history no.1, and the value "1810" (start address of error history No.1) is stored to Latest error code address (Un\G1800).
Latest error code address
(Un\G1800)
Address
1810
1820
1830
1960
Error history No.1
1st error
Error history No.2
2nd error
Error history No.3
3rd error
Error history No.16
16th error
New
17th error
The 17th error is stored in Error history No.1 and the 1st error history will be erased.
The same process for errors is used when an alarm occurs.
Once the error history storage area becomes full, subsequent errors will overwrite the previous errors, starting from error
history No.1, and continues sequentially thereafter (Un\G1810 to G1819). (The overwritten history is deleted.)
The stored error history is cleared when power supply is turned OFF, or when the CPU module is reset.
62
CHAPTER 8 FUNCTIONS
8.8 Module Error Collection Function
This function collects the errors and alarms occurred in D/A converter module into the CPU module or the head module. By holding the module errors in a memory that can hold data in the event of power failure, the errors can be held even after powering off or resetting the CPU module or the head module.
Error history (CPU module including built-in I/O and built-in CC-Link) and error log (intelligent function module) are displayed on one screen.
Errors that occurred in the entire system can be monitored in reverse chronological order.
Programming tool
Error history display
Time
19:29 19:33 19:34 19:36
Module in error
Module A
CPU Module B Module A
Error code
Error A1 Error C1 Error B1 Error A2
CPU
19:33 Error C1 occurred!
Error history
(CPU module)
19:33 Error C1
Module A
19:29 Error A1 occurred! 19:36 Error A2 occurred!
Time
19:29 19:34 19:36
Module B
19:34 Error B1 occurred!
Module error log
Module in error
Module A Module B Module A
Error code
Error A1 Error B1 Error A2
[Example of screen display]
For details on the module error collection, refer to the following.
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)
MELSEC-L CC-Link IE Field Network Head Module User's Manual
8

8.8 Module Error Collection Function

63

8.9 Error Clear Function

When an error occurs, you can clear the error from the system monitor.
By clicking the button in the system monitor, the latest error code stored in Latest error code (Un\G19)
is cleared and the ERR. LED is also turned off. The operation is the same as Error clear request (YF) as well as executing error clear from the display unit. However, error history cannot be cleared. For instructions on error clear request and executing error clear from the display unit, refer to the following.
• Error clear request (YF) ( Page 98, Appendix 1)
• Checking/Clearing an Error ( Page 75, Section 9.4)
[Diagnostics] [System Monitor…] error module
64
CHAPTER 8 FUNCTIONS
8.10 Saving and Restoring Offset/Gain Values
The D/A converter module can save and restore the offset/gain values in the user range setting. When replacing a module in case of failure, this function enables to pass the offset/gain value from a module to be changed (disconnected) to the newly-connected CPU module. If multiple D/A converter modules are installed in the same system, this function enables to apply the offset/gain value set to one module to the other modules. However, if you save and restore the offset/gain values, the accuracy after the restoration decreases by approximately three times compared to that before the restoration. Reconfigure the offset/gain as necessary.
(1) Procedure for saving and restoring offset/gain values
(a) To restore offset/gain values onto a new replacement module:
1. Save the offset/gain values.
8

8.10 Saving and Restoring Offset/Gain Values

2. Replace the D/A converter module.
3. Restore the offset/gain values.
65
(b) To apply the offset/gain values of one module to the other modules in the same
system:
Here, the offset/gain setting of module No.1 is applied to modules No.2 to No.4.
Ex.
1. Save the offset/gain values of module No.1.
2. Apply the offset/gain values to modules No.2 to No.4.
(2) Methods for saving and restoring offset/gain values
There are two methods for saving and restoring offset/gain values.
• Saving and restoring by dedicated instructions
• Saving and restoring by reading from and writing to the buffer memory
(a) Saving and restoring by dedicated instructions
Temporarily save the offset/ gain value in the source D/A converter module into the internal device of CPU module using G(P).OGLOAD of dedicated instruction. Then, write the data to the restoring target D/A converter module using G(P).OGSTOR. You can prevent the saved offset/gain value data from getting deleted, by doing one of the following before replacing the modules:
• Use latch settings for the internal device of the destination module.
• Save the data onto an SD card To write data: use SP.FWRITE instruction To read data: use SP.FREAD instruction
• Store the saved data
For use of dedicated instructions, refer to the following.
• Dedicated Instructions ( Page 115, Appendix 5)
When performing the dedicated instruction G(P).OGSTOR, the D/A conversion is stopped. Turn OFF → ON → OFF Operating condition setting request (Y9) to restart the D/A conversion.
66
CHAPTER 8 FUNCTIONS
(b) Saving and restoring by reading from and writing to the buffer memory
In the buffer memory, use Pass data classification setting (Un\G200), CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217) and User range writing request (YA) to read the offset/gain values from the source D/A converter module, then use the buffer memory again to write to the destination D/A converter module. The procedure for using the buffer memory is described below.
• To restore offset/gain values onto a new replacement module:
Start
Sets values in Pass data classification setting (Un\G200).
Turns off, then on, and off again Operating condition setting request (Y9).
Takes down the values stored in Pass data classification setting (Un\G200) and CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217).*
1
For the source D/A converter module
Turns off the power.
Replaces the D/A converter module.
Turns on the power.
Writes the recorded data to Pass data classification setting (Un\G200) and CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217).*
Turns off and then on User range writing request (YA).
Checks that Offset/gain setting mode flag (XA) is on.
Turns on and then off User range writing request (YA).
Turns off, then on, and off again Operating condition setting request (Y9).
Checks that the replaced D/A converter module operates with the restored offset/gain values.
1
For the destination D/A converter module
8
8.10 Saving and Restoring Offset/Gain Values
End
*1 When replacing modules, you can prevent the saved offset/gain value data from getting deleted, by doing one of the
following before turning the power off:
• Use latch settings for the internal device of the destination module.
• Save the data onto an SD card. To write data: use SP.FWRITE instruction To read data: use SP.FREAD instruction
• Store the saved data.
67
• To apply the offset/gain values of one module to the other modules:
Start
Sets values in Pass data classification setting (Un\G200).
Turns off, then on, and off again Operating condition setting request (Y9).
Records the data stored in Pass data classification setting (Un\G200) and CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217).
Writes the recorded data to Pass data classification setting (Un\G200) and CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217).
Turns off and then on User range writing request (YA).
For the source D/A converter module
Checks that Offset/gain setting mode flag (XA) is on.
For the destination D/A converter module
Turns on and then off User range writing request (YA).
Turns off, then on, and off again Operating condition ]setting request (Y9).
Checks that the replaced D/A converter module operates with the restored offset/gain values.
End
When the data is written to the following buffer memory address in the source D/A converter module and User range writing request (YA) is turned from OFF to ON, the D/A conversion is stopped.
• Pass data classification setting (Un\G200)
• CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217)
Turn OFF → ON → OFF Operating condition setting request (Y9) to restart the D/A conversion.
68
CHAPTER 8 FUNCTIONS
(3) Range reference tables
Below are reference ranges to be used for saving and restoring offset/gain values.
(a) Reference table for CH1 Industrial shipment settings offset value (Un\G202) to CH4
Industrial shipment settings gain value (Un\G209)
The reference values will vary depending on the Pass data classification setting (Un\G200) (voltage or current).
Address (decimal)
CH1 CH2 CH3 CH4
202 204 206 208
203 205 207 209
Industrial shipment settings offset value
Industrial shipment settings gain value
Description
(b) Reference table for CH1 User range settings offset value (Un\G210) to CH4 User
range settings gain value (Un\G217)
Pass data
classification
setting
Voltage
Current
Voltage
Current
Reference
value
(hexadecimal)
Approx. 8000
Approx. 8000
Approx. F712
Approx. F166
H
H
H
H
Offset/gain value
0V
Voltage
Current
*1 This is the value that is stored in user range settings offset value at the time of shipping. *2 This is the value that is stored in user range settings gain value at the time of shipping.
1V
5V
10V
0mA
4mA*
20mA*
1
2
Approx. 8000
Approx. 8BE8
Approx. BB89
Approx. F712
Approx. 8000
Approx. 96AE
Approx. F166
Reference value
(hexadecimal)
H
H
H
H
H
H
H
8
8.10 Saving and Restoring Offset/Gain Values
69

CHAPTER 9 DISPLAY UNIT

This chapter describes the functions of the display unit that can be used in D/A converter module. For instruction on operating the display unit, or for details on the functions and menu configuration, refer to the following.
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)

9.1 Display Unit

The display unit is an LCD to be attached to the CPU module. By attaching the display unit to the CPU module, you can check the status of the system and change system settings without the software package. In addition, in the event a problem occurs, you can identify the cause of the problem by displaying the error information on the display unit. For details on how to check and clear an error from the display unit, refer to the following.
• Check/clear error ( Page 75, Section 9.4)

9.2 Menu Structure

(1) Organization
The diagram below shows how the "MOD MON/TEST" menu and "MOD SETTINGS" are organized.
CPU MON/TEST
CPU SETTINGS
MOD MON/TEST
MOD SETTINGS
USER MESSAGE
OPTIONS
SPECIFY I/O No.
MODULE LIST
SPECIFY I/O No.
MODULE LIST
BUF MEM MON/TES
INIT CHANGE
CH1
CH2
CH3
CH4
D/A CONVERSION
WARN OUTPUT
WARN UP LIMIT
WARN LOW LIMIT
SCALING
SCALE UP LIMIT
SCALE LOW LIMIT
70
CHAPTER 9 DISPLAY UNIT
(2) Screen transitions up to the initial setting change screen
The diagram below shows how the screens transition to the initial setting change screen.
D/A conversion enable and
Standby screen
Warning output setting screen
Function selection screen
Warning output upper limit screen
Module setting_module
specification screen
Module setting_start I/O No.
specification screen
Warning output lower limit screen
9
disable setting screen
Initial setting change screen
Parameter-valid drive
confirmation screen
Module setting_module
selection screen
Change item selection
menu screen
INIT CHANGE
Scaling setting screen
Scaling upper limit screen
Scaling lower limit screen
9.2 Menu Structure
Channel selection screen
71

9.3 List of Setting Value Change Screens

The following is a list of setting value change screens.
(1) Displayed in English:
Name
Setting item Screen display
D/A conversion enable/disable setting D/A CONVERSION Selection ⎯⎯
Warning output setting WARNING OUTPUT Selection ⎯⎯
Warning output upper limit value WARN UP LIMIT
Warning output lower limit value WARN LOW LIMIT
Scaling enable/disable setting SCALING Selection ⎯⎯
Scaling upper limit value SCALE UP LIMIT
Scaling lower limit value SCALE LOW LIMIT
Screen
format
Numeric
value
Numeric
value
Numeric
value
Numeric
value
Input regulation
Upper limit
value
32767 -32768
32767 -32768
32000 -32000
32000 -32000
Lower limit
value
72
CHAPTER 9 DISPLAY UNIT
(2) D/A CONVERSION
Select "DISABLE" or "ENABLE" in the "D/A conversion enable/disable conversion" screen.
"D/A conversion enable/disable conversion" screen
1. Use the and buttons to select "DISABLE" or
"ENABLE", and then confirm with the button.
(3) Warning output setting
Select "DISABLE" or "ENABLE" on the "Warning output setting" screen.
"Warning output setting" screen
"Warning output upper limit" screen
1. Use the and buttons to select "DISABLE" or
"ENABLE", and then confirm with the button. (If
you selected "ENABLE", follow the rest of the procedure.)
2. Move the cursor using the and buttons, then
increment or decrement the value at the cursor,
using the and buttons, respectively. Confirm
with the button.
OK
9
OK
OK
9.3 List of Setting Value Change Screens
"Warning output lower limit" screen
Table of input items
Input item
WARN UP LIMIT
WARN LOW LIMIT
3. Move the cursor using the and buttons, then
increment or decrement the value at the cursor,
using the and buttons, respectively. Confirm
with the button.
Input upper limit Input lower limit
32767 -32768
OK
Input range
73
(4) SCALING
Select "DISABLE" or "ENABLE" in the "Scaling setting" screen.
"Scaling setting" screen
"Scaling upper limit" screen
"Scaling lower limit" screen
1. Use the and buttons to select "DISABLE" or
"ENABLE", and then confirm with the button. (If you selected "ENABLE", follow the rest of the
procedure.)
OK
2. Move the cursor using the and buttons, then
increment or decrement the value at the cursor,
using the and buttons, respectively. Confirm
with the button.
OK
3. Move the cursor using the and buttons, then
increment or decrement the value at the cursor,
using the and buttons, respectively. Confirm
with the button.
OK
Table of input items
SCALE UP LIMIT
SCALE LOW LIMIT
Input item
Input range
Input upper limit Input lower limit
32000 -32000
74
CHAPTER 9 DISPLAY UNIT
9.4 Checking and Clearing Errors
You can check the errors that occurred in the D/A converter module, from the display unit. In addition, you can also clear an error during its occurrence.
(1) Checking errors
You can check the error that occurred in the D/A converter module, by specifying Latest error code (Un\G19) from "buffer memory monitor/test".
When an error occurs in the D/A converter module with a start I/O number of 1
Ex.
"Buffer memory monitor/test" screen
"Buffer memory address input format selection" screen
1. Press the button.
2. Use the and buttons to select "DEC" for the
input format of the buffer memory address, and
then confirm with the button.
OK
OK
9
"Buffer memory address setting" screen
"Buffer memory monitor" screen
3. Move the cursor using the and buttons, then
increment or decrement the value at the cursor,
using the and buttons, respectively. Confirm
with the button.
OK
4. You can check the error that occurred, in the "Buffer
memory monitor" screen.

9.4 Checking and Clearing Errors

75
(2) Clearing errors
You can clear an error by eliminating the cause of the error, and turning Error clear request (YF) OFF → ON → OFF from "Device Monitor/Test".
When an error occurs in the D/A converter module with a start I/O number of 1
Ex.
"CPU monitor/test" screen
"Device monitor" screen
"Device test" screen
1. Use the and buttons to select "DEV MON/TES",
and then confirm with the button.
2. Set the device to Y and press the button.
OK
OK
3. Use the and buttons to set the device to Y1F,
and then confirm with the button.
OK
4. Use the and buttons to switch ON/OFF. Press
OK
the button to set the value at the device test setting.
76
CHAPTER 10 PROGRAMMING

CHAPTER 10 PROGRAMMING

This chapter describes the procedure for programming and the basic program of the D/A converter module.
10.1 Procedure for Programming
Create a program executed by D/A converter module according to the following procedure.
Start
(1) Initial setting program
Performs initial setting by using a program.
Page 78, Section 10.2
*1
*1
Use the configuration
function?
YES
Switch setting, parameter setting, and auto refresh setting
( )
Page 78, Section 10.2
NO
D/A conversion enable/disable program Scaling function program Alarm output function program
*1 A program that is created according to the function to be used
Program to write a digital value and a scaling value, and program to read a warning output flag
( )
Initial setting
10

10.1 Procedure for Programming

Error reset program
End
(2) Auxiliary program
*2 A program that is added according to the control target (Create a program if needed.)
*2
77

10.2 When Using a Standard System Configuration

The following shows program examples for the system configuration and usage conditions of the D/A converter module.
(1) System configuration
The following shows an example of the system configuration when using the module in a standard system configuration.
D/A converter module (L60DA4)
CPU module (L26CPU-BT)
Input module (LX40C6)
Output module (LY42NT1P)
Power supply module (L61P)
For configuring the same I/O assignment as the system above, when using the L02CPU, set I/O Assignment of the D/A converter module within X/Y30 to X/YF. Also, set the I/O assignment of the LX40C6 within X/Y40 to X/Y4F, and the same of the LY42NT1P, within X/Y50 to X/Y8F.
X/Y00
to
X/Y0F
X/Y10
to
X/Y2F
X/Y30
to
X/Y3F
X/Y40
to
X/Y4F
X/Y50
to
X/Y8F
END cover (L6EC)
(2) Programming condition
Set CH1 and CH2 of the D/A converter module to D/A conversion enabled, and then write the digital values. If a digital value write error occurs, an error code is displayed in BCD. Configure the scaling setting in CH1 only, and configure the warning output function in CH2 only.
78
(3) Switch Setting
Set the output range, HOLD/CLEAR function and operation mode.
CHAPTER 10 PROGRAMMING
Project window [Intelligent Function Module] module name [Switch Setting]
(4) Initial setting description
(a) Channel setting
10
Setting item CH1 CH2 CH3 CH4
D/A conversion enable/disable setting Enable Enable Disable Disable
Warning output setting Disable Enable Disable Disable
Warning output lower limit value 3000 −−
Warning output upper limit value 10000 −−
Scaling enable/disable setting Enable Disable Disable Disable
Scaling upper limit value 32000 −−−
Scaling lower limit value 0 −−−
(b) Devices for users
Device Description
D1 CH1 digital value
D2 CH2 digital value
D8 Warning output flag
D10 Error code
D11 CH1 Scaling value
M20 to 27 Warning output flag
M100 Module READY checking flag
X41 Batch output enable signal
X42 Digital value write command input signal
X44 Alarm output reset signal
X45 Error reset signal
Y50 to 5F Error code notation (BCD 4 digits) LY42NT1P (Y50 to Y5F)
LX40C6 (X40 to X4F)
10.2 When Using a Standard System Configuration
79
(5) Program example when using the parameter of intelligent function module
(a) Parameter setting
Set the contents of initial settings in the parameter.
Project window [Intelligent Function Module] module name "Parameter"
(b) Auto refresh setting
Project window [Intelligent Function Module] module name
[Auto_Refresh]
(c) Writing the parameter of intelligent function module
Write the set parameter to the CPU module and reset the CPU module, or then off and then on the programmable controller power supply.
[Online] [Write to PLC]
80
or Power OFF ON
(d) Program example
CHAPTER 10 PROGRAMMING
Writes a digital value
Sets the analog output enable
Reads the warning output flag
Error code display and reset processing
Warning output processing (upper limit)
Warning output processing (lower limit)
CH1 Digital value setting
10
CH2 Digital value setting
CH1 Output enable/disable flag
CH2 Output enable/disable flag
Checks the CH2 warning output.
CH2 Warning output processing (upper limit)
CH2 Warning output processing (lower limit)
Turns on Warning output clear.
Turns off Warning output clear.
Outputs the error code in BCD.
Error clear request
10.2 When Using a Standard System Configuration
81
(6) Program example when not using the parameter of intelligent function module
Initial setting
D/A conversion enable
Scaling setting
Warning output setting
CH1 Scaling lower limit value
CH1 Scaling upper limit value
CH2 Warning output upper limit value
CH2 Warning output lower limit value
Turns on Operating condition setting
Turns off Operating condition setting
Writes a digital value
CH1 Digital value setting
Sets the analog output enable
Reads the warning output flag
Error code display and reset processing
Warning output processing (upper limit)
Warning output processing (lower limit)
CH2 Digital value setting
CH1 Output enable/disable flag
CH2 Output enable/disable flag
Checks the CH2 warning output.
CH2 Warning output processing (upper limit)
CH2 Warning output processing (lower limit)
Turns on Warning output clear.
Turns off Warning output clear.
Outputs the error code in BCD.
Error clear request
82
CHAPTER 10 PROGRAMMING
10.3 When D/A Converter Module is Connected to Head
Module
This section describes system configuration of the D/A converter module and a program example of operation condition.
(1) System configuration
Power supply module (Q62P) Power supply module (L61P)
CPU module (Q10UDHCPU)
Master/local module (QJ71GF11-T2)
Input module (QX10)
Output module (QY10)
Masster station (Station No.0)
X/Y00
to
X/Y1F
X/Y20
X/Y30
to
X/Y2F
to
X/Y3F
Ethernet cable (1000BASE-T)
Network No.1
Head module (LJ72GF15-T2)
D/A converter module (L60DA4)
Input module (LX40C6)
Output module (LY10R2)
END cover (L6EC)
X/Y1000
X/Y100F
X/Y1010
to
X/Y101F
Intelligent device station (Station No.1)
X/Y1020
to
to
X/Y102F
10

10.3 When D/A Converter Module is Connected to Head Module

(2) Programming conditions
This section describes the example of outputting analog values by setting CH1 and CH2 of the D/A converter module to D/A conversion enabled. When a write error of digital value occurs, the error code is displayed in BCD. Scaling setting is configured only for CH1 and warning output function only for CH2.
(3) Description of initial setting
Setting items CH1 CH2 CH3 CH4
D/A conversion enable/disable setting Enabled Enabled Disabled Disabled
Warning output function Disabled Enabled Disabled Disabled
Warning output upper limit value 10000 −−
Warning output lower limit value 3000 −−
Scaling enable/disable setting Enabled Disabled Disabled Disabled
Scaling upper limit value 32000 −−−
Scaling lower limit value 0 −−−
83
(4) Devices used by a user
Device Description
W1 CH1 Digital value
W2 CH2 Digital value
W1008 Warning output flag
W1010 Latest error code
M20 to M27 Warning output flag
X21 Batch output enable signal
X22 Digital value write command input signal
X24 Warning output reset signal
X45 Error reset signal
Y30 to Y3F Error code display (BCD 4 digits) QY10 (Y30 to Y3F)
SB49 Data link status (own station)
SWB0.0 Data link status (each station) (station number 1)
N0 Nesting (station number 1)
M0 Flag for meeting the communication condition (station number 1)
QX10 (X20 to X2F)
(5) Setting on master station
1. Create a project on GX Works2.
Select "QCPU (Q mode)" for "PLC Series" and select "Q10UDH" for "PLC Type."
84
2. Display the network parameter setting screen and configure the setting as follows.
Project window [Parameter] [Network Parameter]
[Ethernet/CC IE/MELSECNET]
CHAPTER 10 PROGRAMMING
3. Display the Network Configuration Setting screen and configure the setting as follows.
Project window [Parameter] [Network Parameter]
[Ethernet/CC IE/MELSECNET] button
4. Display the Refresh Parameter setting screen and configure the setting as follows.
Project window [Parameter] [Network Parameter]
[Ethernet/CC IE/MELSECNET] button
10
5. Write the set parameter to the CPU module of the master station and reset the CPU module, or turn
off and then on the programmable controller power supply.
[Online] [Write to PLC]
or Power OFF ON
10.3 When D/A Converter Module is Connected to Head Module
85
(6) Setting on intelligent device station
1. Create a project on GX Works2.
Select "LCPU" for "PLC Series" and select "LJ72GF15-T2" for "PLC Type."
[Project] [New Project]
2. Display the PLC Parameter setting screen and configure the setting as follows.
Project window [Parameter] [PLC Parameter] "Communication Head Setting"
86
CHAPTER 10 PROGRAMMING
3. Add the D/A converter module (L60DA4) to the GX Works2 project.
Project window [Intelligent Function Module] Right-click [New Module]
4. Display the Switch Setting screen for the D/A converter module (L60DA4) and configure the
setting as follows.
10
Project window [Intelligent Function Module] [L60DA4] [Switch Setting]
10.3 When D/A Converter Module is Connected to Head Module
87
5. Display the initial setting screen for the D/A converter module (L60DA4) and configure the setting
as follows.
Project window [Intelligent Function Module] [L60DA4] [Parameter]
6. Display the Auto Refresh setting screen for the D/A converter module (L60D/A4) and configure the
setting as follows.
Project window [Intelligent Function Module] [L60AD4]
[Auto_Refresh]
7. Write the set parameter to the head module and reset the head module, or turn off and then on the
programmable controller power supply.
[Online] [Write to PLC]
88
or Power OFF ON
(7) Program example
The following shows a program example. The program is written to the CPU module of the master station.
Checking the data link status of station No.1 (head module)
Writing a digital value
CHAPTER 10 PROGRAMMING
10
CH1 Digital value setting
Enabling analog output
Reading the warning output flag
Error code display and reset processing
Processing for warning output (upper limit)
Processing for warning output (lower limit)
CH2 Digital value setting
CH1 Output enable/disable flag
CH2 Output enable/disable flag
Checks CH2 warning output.
CH2 Warning output processing (upper limit)
CH2 Warning output processing (lower limit)
Turns on Warning output clear.
Turns off Warning output clear.
Outputs the error code in BCD.
Error clear request
10.3 When D/A Converter Module is Connected to Head Module
89

CHAPTER 11 TROUBLESHOOTING

This chapter describes errors that may occur while using the D/A converter module, and those troubleshooting.
(1) Checking for the error codes and the alarm codes
Errors and alarms occurred in the D/A converter module can be checked with the following methods. Check according to the purpose and application.
• Checking on the Module Detailed Information ( Page 91, Section 11.1)
• Checking by Latest error code (Un\G19) of the buffer memory address ( Page 92, Section 11.2)
• Checking on the module error collection function ( Page 92, Section 11.3)
• Checking by a display unit ( Page 75, Section 9.4)
90
CHAPTER 11 TROUBLESHOOTING
11.1 Checking on the Module Detailed Information
The following describes how to check the errors on the module detailed information.
[Diagnostics] [System Monitor…]
1. Select the D/A converter module in "Main
Block" and click the button.
11
2. "Module Detailed Information" of the D/A
converter module is displayed.

11.1 Checking on the Module Detailed Information

91

11.2 Checking by Latest Error Code (Un\G19)

The following describes how to check the error codes and alarm codes in Latest error code (Un\G19).
[Online] [Monitor] [Device/Buffer Memory Batch]

11.3 Checking on the Module Error Collection Function

Using the module error collection function stores the errors occurred in the D/A converter module to the CPU module. Once being stored, the errors remain even after powering-off or resetting of the CPU module or the head module.
(1) How to check the errors by the module error collection function
To check the errors of the D/A converter module collected by the CPU module, open the "Error History" dialog box.
[Diagnostics] [System Monitor…] click the button.
For checking method from module, refer to the following.
MELSEC-L CC-Link IE Field Network Head Module User's Manual
(2) Errors to be collected
The D/A converter module reports the following information to the CPU module:
• Error code list ( Page 93, Section 11.4)
• Alarm code list ( Page 94, Section 11.5)
92
CHAPTER 11 TROUBLESHOOTING
11.4 Error Code List
When errors in the D/A converter module occur while writing data to or reading data from the CPU module, the following error codes are stored in Latest error code (Un\G19). At the same time, the D/A converter module reports the errors to the CPU module.
Error code
(decimal)
A value outside the range is set to Switch 1 (output range) in the Switch Setting for I/O and Intelligent Function Module
10
111 A hardware failure occurs in the module.
screen of GX Works2. indicates the number of a channel where an invalid value is set.
Description and cause of error Action
Correct the value in the parameter setting of GX Works2.
Power off and then on the module. If the same error occurs again, the possible cause is a failure of the module. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
11
112
113 The flash memory data is an error.
*1*2
120
*1*3
12
*1*4
161
*1
162
*1
163
*1
170
Other than "0" is set to the intelligent function module switch 5.Set "0" for Switch 5 in the Switch Setting for I/O and
An invalid value is set to the offset/gain setting. The number of an error channel cannot be identified.
An invalid value is set to the offset/gain setting. indicates the number of a channel where an error occurs.
The G(P).OGSTOR instruction was executed in the offset/ gain setting mode.
• The G(P).OGSTOR instruction has been consecutively executed.
• In offset/gain setting, a setting value has been consecutively written to the flash memory more than 25 times.
The G(P).OGSTOR instruction was executed for the module different from the one to which the G(P).OGLOAD instruction had been executed.
The offset/gain setting is configured exceeding the maximum number of times.
Intelligent Function Module screen of GX Works2.
Check the analog output value. If the same error occurs again, please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
Perform offset/gain setting again for all channels where the user range setting has been configured. If the same error occurs again, the possible cause is a failure of the module. If the same error occurs again, the possible cause is a failure of the module. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
Perform offset/gain setting again for the error channel. If the same error occurs again, the possible cause is a failure of the module. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
Do not execute the G(P).OGSTOR instruction in the offset/gain setting mode.
• Execute the G(P).OGSTOR instruction once per module.
• Do not write a setting value consecutively.
Execute the G(P).OGLOAD and G(P).OGSTOR instructions to the same module.
The offset/gain setting will not be performed according to the setting.

11.4 Error Code List

93
Error code
(decimal)
*1
40
*1
500
Description and cause of error Action
When the user range setting is performed or restored, the offset value is greater than or equal to the gain value. indicates the number of a channel where an error occurs.
• When the offset/gain setting is performed, several channels have been set.
• In offset/gain setting, channel numbers or "0" is set for both Offset/gain setting mode Offset specification (Un\G22) and Offset/gain setting mode Gain specification (Un\G23).
Correct the value so that the offset value may be smaller than the gain value.
Correct the Offset/gain setting mode Offset specification (Un\G22) value and/or the Offset/gain setting mode Gain specification (Un\G23) value.
60
62
700
90
91
*1
*1
*1
*1
*1
A value set to CH Digital value (Un\G1 to Un\G4) is outside the range. indicates the number of a channel where an error occurs.
Among CH1 Warning output upper limit value (Un\G86) to CH4 Warning output lower limit value (Un\G93), any of the lower limit value is greater than or equal to the corresponding upper limit value. indicates the number of a channel where an error occurs.
In offset/gain setting mode, a value set to Offset/gain adjustment value specification (Un\G24) is outside the range.
A value outside -32000 to 32000 is set to any of CH1 Scaling lower limit value (Un\G54) to CH4 Scaling upper limit value (Un\G61). indicates the number of a channel where an error occurs.
Among CH1 Scaling lower limit value (Un\G54) to CH4 Scaling upper limit value (Un\G61), any of the lower limit value is greater than or equal to the corresponding upper limit value. indicates the number of a channel where an error occurs.
*1 This error code can be cleared by turning off, on, and then off Error clear request (YF). *2 If an error occurs, D/A conversion performed in all channels will stop.
Therefore, after performing the offset/gain setting again, reconfigure initial settings.
*3 If an error occurs, D/A conversion performed in the error channel will stop.
Therefore, after performing the offset/gain setting again, reconfigure initial settings.
*4 An error code is not stored in Latest error code (Un\G19) but in the completion status of the G(P). OGSTOR instruction
S
( +1).
Set the value within the range.
Correct the value so that the upper limit value may be greater than the lower limit value.
Correct the value within the range of -3000 to 3000.
Correct the value within the range of -32000 to 32000.
Correct the value so that the upper limit value may be greater than the lower limit value.

11.5 Alarm Code List

The following shows the alarm code list.
Alarm code
(decimal)
94
15
A warning occurred. indicates the number of a channel where a warning occurred.
indicates a value representing the following status: 0: Upper limit of a warning 1: Lower limit of a warning
Description and cause of alarm Action
Reset the digital value within the setting range and then turn off, on, and off Warning output clear request (YE).
11.6 Troubleshooting
(1) When the RUN LED flashes or turns off
(a) When flashing
CHAPTER 11 TROUBLESHOOTING
Check item Action
Switch the operation mode in the intelligent function
Is the operation mode setting in the offset/gain setting mode?
module switch setting of GX Works2 to the normal mode. Or reconfigure the Switch 4 in the intelligent function module switch setting and set the normal mode.
(b) When turning off
Check item Action
Is the power supplied?
Is the capacity of power supply module enough?
Is there any watchdog timer error?
Is the module installed properly? Check the module connection.
Check that the supply voltage of power supply module is within the rated range.
Make sure that the power capacity is enough by calculating the current consumption of such as the connected CPU module, I/O modules, and intelligent function modules.
Reset the CPU module, and check if the RUN LED turns on. If the RUN LED remains off, the module may be failed. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
(2) When the ERR. LED turns on or flashes
11

11.6 Troubleshooting

(a) When turning on
Check item Action
Check Latest error code (Un\G19), and take actions
Does any error occur?
described in the error code list. ( Page 93, Section
11. 4)
(b) When flashing
Check item Action
Is the value other than 0 set for Switch 5 of the intelligent function module switch setting?
With the parameter setting of GX Works2, set 0 for Switch 5 in the intelligent function module switch setting.
(3) When the ALM LED flashes
Check item Action
Is there any alarm output? Check Warning output flag (Un\G48).
95
(4) When analog output value does not come out
Check item Action
Check External power supply READY flag (X7), and if the
Is the external power supply 24VDC supplied?
Is there any problem with wiring, such as off or disconnection of analog signal lines?
Is the CPU module in the STOP status? Change the status of the CPU module to RUN.
Is the offset/gain setting correct?
Is the output range setting correct?
Is D/A conversion enable/disable setting (Un channel to output set to D/A conversion disabled?
Is the D/A output enable/disable flag of the channel to output set to disabled?
Is any digital value written to the channel to output?
Is Operating condition setting request (Y9) being executed?
\G0) of the
flag is turned OFF, provide a 24VDC power supply to the external power supply terminal (pin number 16, 17).
Check the faulty area by checking the signal line visually or conductively.
Check whether the offset/gain is set properly. When using the user range setting, shift it to the factory default setting, and check the D/A conversion. If the D/A conversion is performed properly, reconfigure the offset/gain setting.
Check Setting range (Un\G20) through the monitoring screen of GX Works2. When the output range setting is wrong, reconfigure the intelligent function module switch setting.
Check D/A conversion enable/disable setting (Un\G0) through the monitoring screen of GX Works2. Then, set D/A conversion enable for Un\G0 with the sequence program or the parameter of the intelligent function module.
Check whether CH Output enable/disable flag (Y1 to Y4) is OFF or ON through the monitoring screen of GX Works2. If CH Output enable/disable flag (Y1 to Y4) is OFF, review the sequence program.
Check CH Digital value (Un\G1 to Un\G4) through the monitoring screen of GX Works2.
Check if the analog output is performed properly after turning Operating condition setting request (Y9) OFF → ON OFF with GX Works2. If the output is performed properly, review the sequence program.
If the analog output value does not come out even after taking the above actions, the module may be failed. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
(5) When HOLD of analog output value is not available
Check item Action
Is the HOLD/CLEAR function setting correct?
96
Set HOLD for the HOLD/CLEAR function in the intelligent function module switch setting of GX Works2. Also, check the setting value of switches in the intelligent function module switch setting.
CHAPTER 11 TROUBLESHOOTING
11.7 Checking the Status of D/A Converter Module by the
System Monitor
To check the LED status or the setting status of the intelligent function module switch setting, select "H/W Information" in the D/A converter module on the system monitor of GX Works2.
(1) Hardware LED information
LED status is displayed.
No. LED name On status
1) RUN LED
2) ERR. LED
3) ALM LED
0000
: Indicates the LED off.
H
: Indicates the LED on.
0001
H
Alternating indication between 0000
(GX Works2 displays the communication status with the D/A converter module, so that the displaying intervals of 0000
and 0001H : Indicates the LED flashing.
H
and 0001H are not always even.)
H
11
(2) Hardware switch information
The setting status of the intelligent function module switch setting is displayed. For details on the setting status, refer to the following.
• Intelligent function module switch setting ( Page 126, Appendix 8.1(2))
Item Intelligent function module switch
RANGE Switch 1
Switch 2
HOLD/CLEAR Switch 3
MODE Switch 4
Switch 5
1)
2)
3)

11.7 Checking the Status of D/A Converter Module by the System Monitor

97

APPENDICES

Appendix 1 Details of I/O Signals

This section describes the details of I/O signals of D/A converter module for the CPU module. The I/O number described in Appendix 1 shows the case that the start I/O number of the D/A converter module is set to "0".

Appendix 1.1 Input Signal

(1) Module READY (X0)
Module READY (X0) turns ON to indicate that the preparation for the D/A conversion is completed after the power-on or after the reset operation of the CPU module. In the following cases, Module READY (X0) turns off.
• In the offset/gain setting mode (In this case, the D/A conversion processing is executed).
• When a watch dog timer error occurs to the D/A converter module (In this case, the D/A conversion processing is not executed).
(2) External power supply READY flag (X7)
100ms after the external power supply is supplied, External power supply READY flag (X7) turns on, and the D/A conversion processing is executed. The following shows the time chart when the external power supply is turned to ON after the power-on of the CPU module.
ON
Power to the CPU module
In normal mode : (X0) In offset/gain setting mode : (XA)
External power supply
External power supply READY flag (X7)
(a) Normal mode
When the module is started with the external power supply input status, External power supply READY flag (X7) turns from OFF to ON, at the same time as Module READY (X0) turns from OFF to ON. Also, if Module READY (X0) is ON and the external power supply is input later, External power supply READY flag (X7) turns from OFF to ON after 100ms.
ON
ON
D/A conversion is not performed.
100ms
OFF
ON
OFF
D/A converted.
98
Loading...