Mitsubishi MELSEC L Series User Manual

Mitsubishi MELSEC L Series User Manual

Programmable controller, digital-analog converter module
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MELSEC L Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Mitsubishi MELSEC L Series

  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user's manual for the CPU module used.
  • Page 4 [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 ●...
  • Page 5 [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.
  • Page 6: Conditions Of Use For The Product

    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.
  • Page 7: Introduction

    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.
  • Page 8: Compliance With The Emc And Low Voltage Directives

    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.
  • Page 9: Relevant Manuals

    RELEVANT MANUALS (1) CPU module user's manual Manual name Description <manual number (model code)> Specifications of the CPU modules, power supply modules, display MELSEC-L CPU Module User's Manual (Hardware Design, unit, SD memory cards, and batteries, information on how to Maintenance and Inspection) establish a system, maintenance and inspection, and <SH-080890ENG, 13JZ36>...
  • Page 10: Table Of Contents

    CONTENTS CONTENTS SAFETY PRECAUTIONS ............. 1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 11 CHAPTER 8 FUNCTIONS D/A Conversion Enable/Disable Function......... 49 D/A Output Enable/Disable Function .
  • Page 12 Appendix 5.3 G(P).OGLOAD............118 Appendix 5.4 G(P).OGSTOR .
  • Page 13: Manual Page Organization

    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 the current page is shown.
  • Page 14 Pages describing instructions are organized as shown below. 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 Descriptions of...
  • Page 15 • Instructions can be executed under the following conditions. On the rising On the falling Execution condition Any time During on During off edge edge Symbol No symbol • The following devices can be used. Internal device Link direct device Intelligent Index Con-...
  • Page 16: Terms

    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...
  • Page 17: Chapter 1 D/A Converter Module

    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. Application This module converts the digital data received from the CPU module to the analog signal and outputs the signal to external devices.
  • Page 18: Features

    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.
  • Page 19: Chapter 2 Part Names

    CHAPTER 2 PART NAMES CHAPTER 2 PART NAMES The following table shows the part names of the D/A converter module. Number Name Description Module joint levers Levers for connecting two modules Displays the operating status of the D/A converter module. On: The module is operating normally.
  • Page 20 Memo...
  • Page 21: Chapter 3 Specifications

    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. 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...
  • Page 22: Performance Specifications

    Performance Specifications The following table shows the performance specifications of the D/A converter module. Model Item L60DA4 Number of analog output points 4 points (4 channels) Digital input -20480 to 20479 When using the -32768 to 32767 scaling function Voltage -10 to 10 VDC (external load resistance 1kΩ...
  • Page 23: Number Of Parameter Settings

    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.
  • Page 24: Function List

    Function List The following shows the function list of the D/A converter module. Item Description Reference D/A conversion enable/disable Sets whether to enable or disable D/A conversion for each channel. Page 49, function Disabling the D/A conversion for unused channels reduces the conversion cycles. Section 8.1 This function sets whether to output the D/A conversion value or the offset value, Page 49,...
  • Page 25: I/O Signal List

    CHAPTER 3 SPECIFICATIONS 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...
  • Page 26: Buffer Memory List

    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.
  • Page 27 CHAPTER 3 SPECIFICATIONS Address Address Default Read/Write Name (decimal) (hexadecimal) ⎯ ⎯ System area 000F Scaling enable/disable setting CH1 Scaling lower limit value CH1 Scaling upper limit value CH2 Scaling lower limit value CH2 Scaling upper limit value CH3 Scaling lower limit value CH3 Scaling upper limit value CH4 Scaling lower limit value CH4 Scaling upper limit value...
  • Page 28 Address Address Default Read/Write Name (decimal) (hexadecimal) CH1 User range settings gain value CH2 User range settings offset value CH2 User range settings gain value CH3 User range settings offset value CH3 User range settings gain value CH4 User range settings offset value CH4 User range settings gain value ⎯...
  • Page 29 CHAPTER 3 SPECIFICATIONS (2) Error history (Un\G1800 to Un\G1969) Address Address Default Read/Write Name (decimal) (hexadecimal) 1800 Latest error code address 1801 ⎯ ⎯ System area 1809 1810 Error code First two Last two 1811 digits of the digits of the year year 1812...
  • Page 30 Address Address Default Read/Write Name (decimal) (hexadecimal) 1900 No. 10 Same as No. 1 1909 1910 No. 11 Same as No. 1 1919 1920 No. 12 Same as No. 1 1929 1930 No. 13 Same as No. 1 1939 1940 No.
  • Page 31: Chapter 4 Procedures Before Starting The Operation

    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 Page 31, Section 5.1 Connect the D/A converter module in any desired configuration. Wiring Page 37, Section 6.4 Connects external devices to the D/A converter module.
  • Page 32 Memo...
  • Page 33: Chapter 5 System Configuration

    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. 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)
  • Page 34: Applicable System

    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.
  • Page 35: Chapter 6 Installation And Wiring

    CHAPTER 6 INSTALLATION AND WIRING CHAPTER 6 INSTALLATION AND WIRING This chapter describes the installation and wiring of the D/A converter module. 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...
  • Page 36: Terminal Block

    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.
  • Page 37 CHAPTER 6 INSTALLATION AND WIRING (3) Removal and installation of the terminal block The following shows how to remove and install the terminal block. (a) Removal procedure Open the terminal cover and loosen the terminal block mounting screw. Terminal block mounting screw Using the terminal block fixing holes as a fulcrum, remove the terminal block.
  • Page 38: Wiring

    Wiring (1) Wiring to a terminal block The following shows wirings to a terminal block. (a) For voltage output +24V (b) For current output +24V...
  • Page 39: External Wiring

    CHAPTER 6 INSTALLATION AND WIRING External Wiring The following describes the external wiring. (1) For voltage output Motor drive module, etc. conversion Motor drive module, etc. Motor drive module, etc. conversion Motor drive module, etc. +24V DC24V DC/DC converter Filter (2) For current output Motor drive module, etc.
  • Page 40: Chapter 7 Various Settings

    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.
  • Page 41: Switch Setting

    CHAPTER 7 VARIOUS SETTINGS 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] Item Description Setting value •...
  • Page 42: Parameter Setting

    Parameter Setting Set the parameters of each CH. (1) Setting procedure Open the "Parameter" dialog box. Start "Parameter" Project window [Intelligent Function Module] module name "Parameter" Pull-down list type Text box type Double-click the item to change the setting, and input the setting value. •...
  • Page 43: Auto Refresh

    CHAPTER 7 VARIOUS SETTINGS Auto Refresh This setting transfers data in the buffer memory to specified devices. (1) Setting procedure Open the "Auto_Refresh" dialog box. Start "Auto_Refresh" Project window [Intelligent Function Module] module name [Auto_Refresh] Click the item to setup, and input the auto refresh target device.
  • Page 44: Offset/Gain Setting

    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. •...
  • Page 45 CHAPTER 7 VARIOUS SETTINGS Specify the channel to use the offset/gain setting. ↓ 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.) ↓...
  • Page 46 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). ↓ Clicking the button fine- adjusts the analog output voltage or analog output current value by the set adjusted value.
  • Page 47: Setting From A Program

    CHAPTER 7 VARIOUS SETTINGS 7.5.2 Setting from a program (1) Setting procedure The following describes the procedures when setting the offset/gain from a program. Start Turns on Channel change request (YB). Switches to the Offset/gain setting mode.* Checks that Channel change completed flag (XB) is on.
  • Page 48 ● 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.
  • Page 49 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, •...
  • Page 50 (c) Switching the mode by Mode switching setting (Un\G158, Un\G159) and Operating condition setting request (Y9) Normal mode initial setting D/A conversion enable/disable program Setting programs for other initial setting items Turns on Operating condition setting request (Y39). Switches to the Offset/gain setting mode Sets 4144 to Mode switching setting (U3\G158).
  • Page 51: Chapter 8 Functions

    CHAPTER 8 FUNCTIONS 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) •...
  • Page 52: Analog Output Hold/Clear Function

    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).
  • Page 53 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"...
  • Page 54: Analog Output Test When Cpu Module Is In Stop Status

    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) •...
  • Page 55 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.
  • Page 56: Scaling Function

    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.
  • Page 57 CHAPTER 8 FUNCTIONS (3) Setting procedure Set "D/A conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name [Parameter] Set "Scaling function" to "0: Enable". Set values for "Scaling upper limit value" and "Scaling lower limit value". Item Setting range Scaling upper limit value...
  • Page 58 (4) Scaling setting example 1. When setting the "Scaling upper limit value" to "16000" and the "Scaling lower limit value" to "4000" for a channel with output range of 0V to 5V: The following shows the digital values before and after scaling. Analog output voltage (V) Digital value 20000 20479...
  • Page 59 CHAPTER 8 FUNCTIONS 2. When setting the "Scaling upper limit value" to "16000" and the "Scaling lower limit value" to "4000" for a channel with output range of -10V to 10V: The following shows the digital values before and after scaling. Analog output voltage (V) -10V Digital value...
  • Page 60 3: When setting the "Scaling upper limit value" to "16000" and the "Scaling lower limit value" to "4000" for a channel with output range of -8V to 8V: The following shows the digital values before and after scaling. Analog output voltage (V) Digital value -20480 -20000...
  • Page 61: Alarm Output Function

    CHAPTER 8 FUNCTIONS Alarm Output Function This function outputs an alarm when the digital value is out of the preset range. Digital value Digital value Analog output 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...
  • Page 62 (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.
  • Page 63: Error Log Function

    CHAPTER 8 FUNCTIONS 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.
  • Page 64 2. When the 17th error occurs: 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 Error history No.1 17th error 1st error...
  • Page 65: Module Error Collection Function

    CHAPTER 8 FUNCTIONS 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.
  • Page 66: Error Clear Function

    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.
  • Page 67: Saving And Restoring Offset/Gain Values

    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.
  • Page 68 (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. Save the offset/gain values of module No.1. ↓ 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.
  • Page 69 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.
  • Page 70 • 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). For the source D/A converter module 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).
  • Page 71 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) Pass data Reference...
  • Page 72: Chapter 9 Display Unit

    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.
  • Page 73 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 disable setting screen Standby screen Warning output setting screen Function selection screen Warning output upper limit screen Module setting_start I/O No.
  • Page 74: List Of Setting Value Change Screens

    List of Setting Value Change Screens The following is a list of setting value change screens. (1) Displayed in English: Name Input regulation Screen Upper limit Lower limit format Setting item Screen display value value ⎯ ⎯ D/A conversion enable/disable setting D/A CONVERSION Selection ⎯...
  • Page 75 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 Use the buttons to select "DISABLE" or "ENABLE", and then confirm with the button. (3) Warning output setting Select "DISABLE"...
  • Page 76 (4) SCALING Select "DISABLE" or "ENABLE" in the "Scaling setting" screen. "Scaling setting" screen Use the buttons to select "DISABLE" or "ENABLE", and then confirm with the button. (If you selected "ENABLE", follow the rest of the procedure.) ↓ "Scaling upper limit" screen Move the cursor using the buttons, then increment or decrement the value at the cursor,...
  • Page 77: Checking And Clearing Errors

    CHAPTER 9 DISPLAY UNIT 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".
  • Page 78 (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 "CPU monitor/test"...
  • Page 79: Chapter 10 Programming

    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 80: When Using A Standard System Configuration

    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.
  • Page 81 CHAPTER 10 PROGRAMMING (3) Switch Setting Set the output range, HOLD/CLEAR function and operation mode. Project window [Intelligent Function Module] module name [Switch Setting] (4) Initial setting description (a) Channel setting Setting item D/A conversion enable/disable setting Enable Enable Disable Disable Warning output setting Disable...
  • Page 82 (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...
  • Page 83 CHAPTER 10 PROGRAMMING (d) Program example Writes a digital value CH1 Digital value setting CH2 Digital value setting Sets the analog output enable CH1 Output enable/disable flag CH2 Output enable/disable flag Reads the warning output flag Checks the CH2 warning output. CH2 Warning output processing Warning output processing (upper limit) (upper limit)
  • Page 84 (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...
  • Page 85: When D/A Converter Module Is Connected To Head Module

    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) Head module (LJ72GF15-T2) Master/local module (QJ71GF11-T2)
  • Page 86 (4) Devices used by a user Device Description CH1 Digital value CH2 Digital value W1008 Warning output flag W1010 Latest error code M20 to M27 Warning output flag Batch output enable signal Digital value write command input signal QX10 (X20 to X2F) Warning output reset signal Error reset signal Y30 to Y3F...
  • Page 87 CHAPTER 10 PROGRAMMING Display the Network Configuration Setting screen and configure the setting as follows. Project window [Parameter] [Network Parameter] [Ethernet/CC IE/MELSECNET] button Display the Refresh Parameter setting screen and configure the setting as follows. Project window [Parameter] [Network Parameter] [Ethernet/CC IE/MELSECNET] button Write the set parameter to the CPU module of the master station and reset the CPU module, or turn...
  • Page 88 (6) Setting on intelligent device station Create a project on GX Works2. Select "LCPU" for "PLC Series" and select "LJ72GF15-T2" for "PLC Type." [Project] [New Project] Display the PLC Parameter setting screen and configure the setting as follows. Project window [Parameter] [PLC Parameter] "Communication Head Setting"...
  • Page 89 CHAPTER 10 PROGRAMMING Add the D/A converter module (L60DA4) to the GX Works2 project. Project window [Intelligent Function Module] Right-click [New Module] Display the Switch Setting screen for the D/A converter module (L60DA4) and configure the setting as follows. Project window [Intelligent Function Module] [L60DA4] [Switch Setting]...
  • Page 90 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] 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]...
  • Page 91 CHAPTER 10 PROGRAMMING (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 CH1 Digital value setting CH2 Digital value setting Enabling analog output CH1 Output enable/disable flag...
  • Page 92: Chapter 11 Troubleshooting

    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.
  • Page 93: Checking On The Module Detailed Information

    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…] Select the D/A converter module in "Main Block" and click the button. ↓ "Module Detailed Information" of the D/A converter module is displayed.
  • Page 94: Checking By Latest Error Code (Un\G19)

    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.
  • Page 95: Error Code List

    If the same error occurs again, the possible cause is a failure of the module. A hardware failure occurs in the module. Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem. Other than "0" is set to the intelligent function module switch Set "0"...
  • Page 96: Alarm Code List

    Error code Description and cause of error Action (decimal) When the user range setting is performed or restored, the Correct the value so that the offset value may be smaller offset value is greater than or equal to the gain value. than the gain value.
  • Page 97: Troubleshooting

    Reset the CPU module, and check if the RUN LED turns If the RUN LED remains off, the module may be failed. Is there any watchdog timer error? Please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem.
  • Page 98 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...
  • Page 99: Checking The Status Of D/A Converter Module By The System Monitor

    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.
  • Page 100: Appendices

    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".
  • Page 101 APPENDICES (b) Offset/gain setting 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 Offset/gain setting mode flag (XA) turns from OFF to ON. Also, if Offset/gain setting mode flag (XA) is ON and the external power supply is input later, External power supply READY flag (X7) turns from OFF to ON after 100ms.
  • Page 102 (4) Offset/gain setting mode flag (XA) (a) Offset/gain setting mode When registering the offset or gain value, which was adjusted with the offset/gain setting, Offset/gain setting mode flag (XA) is used as an interlock condition to turn User range writing request (YA) OFF → ON → OFF. For the offset/gain setting, refer to the following.
  • Page 103 APPENDICES (6) Set value change completed flag (XC) When adjusting the offset/gain setting, Set value change completed flag (XC) is used as an interlock condition to turn Set value change request (YC) OFF → ON → OFF. For the offset/gain setting, refer to the following. •...
  • Page 104: Appendix 1.2 Output Signal

    Appendix 1.2 Output Signal (1) CH Output enable/disable flag (Y1 to Y4) This function sets whether to output the D/A-converted value or the offset value, for each channel. ON : D/A conversion value OFF : offset value (a) D/A conversion speed The D/A conversion speed is calculated by 20µs x number of conversion enabled channels, regardless of the turning of CH Output enable/disable flag (Y1 to Y4) from OFF to ON.
  • Page 105 APPENDICES (6) Warning output clear request (YE) Turn Warning output clear request (YE) OFF → ON → OFF to clear the alarm output. For the timing of turning the signal OFF → ON → OFF, refer to the following. • Warning output signal (XE) ( Page 98, Appendix 1.1) (7) Error clear request (YF) Turn Error clear request (YF) OFF →...
  • Page 106: Appendix 2 Details Of Buffer Memory Addresses

    Appendix 2 Details of Buffer Memory Addresses The following describes the details of buffer memory. (1) D/A conversion enable/disable setting (Un\G0) Sets whether to enable or disable D/A conversion for each channel. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 Data for b4 to b15 are fixed to "0".
  • Page 107 APPENDICES (3) CH Set value check code (Un\G11 to Un\G14) Check code is stored in this area if the digital value out of the settable range is written to CH Digital value (Un\G1 to Un\G4). The following shows the check codes to be stored when the digital value out of the setting range is written. Check code Description 000F...
  • Page 108 (6) Offset/gain setting mode Offset specification (Un\G22), Offset/gain setting mode Gain specification (Un\G23) Specify the channel to perform the offset/gain setting adjustment. For details on offset/gain setting, refer to the following. • Offset/Gain Setting ( Page 42, Section 7.5) b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 Offset/gain setting mode Offset specification (Un\G22) Offset/gain setting mode Gain specification (Un\G23) Data for b4 to b15 are fixed to "0".
  • Page 109 APPENDICES (8) HOLD/CLEAR function setting (Un\G26) The HOLD/CLEAR function setting status of the D/A converter module can be checked. b12 b11 b8 b7 HOLD/CLEAR function setting Setting value APPEN CLEAR 1 to F (value other than 0) HOLD The setting cannot be changed with HOLD/CLEAR function setting (Un\G26). For changing the setting, refer to the following.
  • Page 110 (10)Warning output flag (Un\G48) Alarms can be checked if the alarm is the upper limit warning or lower limit warning, for each channel. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 CH4 CH4 Data for b4 to b15 are fixed to "0". 0: Normal 1: Alarm on (a) Warning output flag (Un\G48) status...
  • Page 111 APPENDICES (12)CH Scaling lower limit value (Un\G54, Un\G56, Un\G58, Un\G60), Scaling upper limit value (Un\G55, Un\G57, Un\G59, Un\G61) Set the input range of digital value when using the scaling function. (a) Setting range The setting range is as follows; • Setting range: -32000 to 32000 (scaling upper limit value > scaling lower limit value) (b) Enabling the setting APPEN Turn OFF →...
  • Page 112 (14)Mode switching setting (Un\G158, Un\G159) Set the setting value for the mode to be switched to. Setting value Mode switching to Un\G158 Un\G159 0964 4144 Normal mode 4144 0964 Offset/gain setting mode (a) Setting procedure Turn OFF → ON → OFF Operating condition setting request (Y9) to enable the setting. (b) After the mode switching When the mode is switched, this area is cleared to zero and Operating condition setting completed flag (X9) is turned to OFF.
  • Page 113 APPENDICES (16)CH1 Industrial shipment settings offset value (Un\G202) to CH4 User range settings gain value (Un\G217) This is the area for restoring the offset/gain setting value in user range setting. The data to be used when restoring the offset/gain setting value in user range setting is stored. The data is stored when;...
  • Page 114: Appendix 3 I/O Conversion Characteristic Of D/A Conversion

    Appendix 3 I/O Conversion Characteristic of D/A Conversion I/O conversion characteristic of D/A conversion means the slope of the line connected between the offset value and gain value when converting the digital value written from the CPU module to analog output value (voltage or current output).
  • Page 115 APPENDICES (4) Current output characteristic The following graph shows the current output characteristic. APPEN 10000 20000 20479 Digital value Output range setting Offset value Gain value Digital value Resolution 4 to 20mA 20mA 800nA 0 to 20000 0 to 20mA 20mA 1000nA ⎯...
  • Page 116: Appendix 4 D/A Conversion Accuracy

    Appendix 4 D/A Conversion Accuracy This is the accuracy for the maximum value of analog output value. Even when changing the offset/gain setting and output range to change the output characteristics, the accuracy does not change and is kept within the range of described performance specifications. The following graph shows the fluctuation range of accuracy when the range of -10 to 10V is selected.
  • Page 117: Appendix 5 Dedicated Instruction

    APPENDICES Appendix 5 Dedicated Instruction This chapter describes the dedicated instructions that can be used in D/A converter module. Appendix 5.1 Instruction List The following shows the dedicated instructions that can be used in D/A converter module. Instruction Description APPEN The operation mode is changed from the normal mode to the offset/gain setting mode.
  • Page 118: Appendix 5.2 G(P).Offgan

    Appendix 5.2 G(P).OFFGAN Command G.OFFGAN G.OFFGAN Command GP.OFFGAN GP.OFFGAN Internal device Setting R, ZR U \G Constant Others data Word Word ⎯ ⎯ (1) Setting data Device Description Setting range Data type 0 to FE Start I/O number of module BIN 16-bit Switching the operation mode 0: switch to the normal mode...
  • Page 119 APPENDICES (4) Program example The following shows the program of the D/A converter module, installed in I/O number X/Y10 to X/Y1F, with the following conditions: • turning ON M10 switches the operation mode to the offset/gain setting mode, and • turning OFF M10 restores the operation mode to the normal mode. Switches to the offset/gain setting mode.
  • Page 120: Appendix 5.3 G(P).Ogload

    Appendix 5.3 G(P).OGLOAD Command G.OGLOAD G.OGLOAD Command GP.OGLOAD GP.OGLOAD Internal device Setting R, ZR U \G Constant Others data Word Word ⎯ ⎯ ⎯ (1) Setting data Device Description Setting range Data type 0 to FE Start I/O number of module BIN 16-bit Within the range of Start number of device where the control data is stored...
  • Page 121 APPENDICES (2) Control data Device Item Setting data Setting range Set by ⎯ ⎯ ⎯ System area The status on instruction completion is stored. ⎯ Completion status : normal completion System Other than 0: error completion (error code) APPEN Specify the type of offset/gain setting value to read out.
  • Page 122 (b) Completion status indication device This device turns OFF → ON → OFF depending on the status of the G(P).OGLOAD instruction completion. • Normal completion: the device is kept to be OFF. • Error completion: the device turns ON at the END processing for the scan where the G(P).OGLOAD instruction is completed, and turns OFF at the next END processing.
  • Page 123: Appendix 5.4 G(P).Ogstor

    APPENDICES Appendix 5.4 G(P).OGSTOR Command G.OGSTOR G.OGSTOR Command GP.OGSTOR APPEN GP.OGSTOR Internal device Setting Constant R, ZR U \G Others data K, H, $ Word Word ⎯ ⎯ ⎯ (1) Setting data Device Description Setting range Data type 0 to FE Start I/O number of module BIN 16-bit Within the range of...
  • Page 124 (2) Control data Device Item Setting data Setting range Set by ⎯ ⎯ ⎯ System area The status on instruction completion is stored. ⎯ Completion status : normal completion System Other than 0: error completion (error code) The value which is set for Pass data classification setting +2 by G(P).OGLOAD instruction is stored.
  • Page 125 APPENDICES (b) Completion status indication device This device turns OFF → ON → OFF depending on the status of the G(P).OGSTOR instruction completion. • Normal completion: the device is kept to be OFF. • Error completion: the device turns ON at the END processing for the scan where the G(P).OGSTOR instruction is completed, and turns OFF at the next END processing.
  • Page 126: Appendix 6 Checking Serial Number And Function Version

    Appendix 6 Checking Serial Number and Function Version For details on how to check the serial number and function version, refer to the following. MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) Appendix 7 Differences with Q Series The following table shows a comparison of the specifications between the L60DA4 and the Q64DAN.
  • Page 127: Appendix 8 When Using Gx Developer Or Gx Configurator-Da

    APPENDICES Appendix 8 When Using GX Developer or GX Configurator- Appendix 8 describes the operating procedure when using GX Developer and GX Configurator-DA. (1) Compatible software version For compatible software version, refer to the following. MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) APPEN Appendix 8.1 Operation of GX Developer...
  • Page 128 (2) Intelligent function module switch setting Configure the setting from "Switch setting" in "PLC parameter". Parameter [PLC parameter] [I/O assignment] Click the button. Select "HEX.". Item Setting item Analog output range Output range setting 4 to 20mA Output range setting 0 to 20mA (CH1 to CH4) 1 to 5V...
  • Page 129: Appendix 8.2 Operation Of Gx Configurator-Da

    APPENDICES Appendix 8.2 Operation of GX Configurator-DA When setting the D/A converter module parameter using GX Configurator-DA, the display method such as a setting screen differs from that of GX Works2. This section describes the screen display method of GX Configurator-DA. The setting contents are the same as GX Works2.
  • Page 130 <<FB Support Parameter>>tab - FB conversion [Online] - [Monitor/Test] Select monitor/test module screen FB conversion screen Select a module to be monitored/tested. Monitor/Test screen...
  • Page 131: Appendix 9 External Dimensions

    APPENDICES Appendix 9 External Dimensions The following shows the external dimensions of D/A converter module. (1) L60DA4 APPEN DIN rail center 28.5 (Unit: mm)
  • Page 132 Memo...
  • Page 133: Index

    INDEX ......38 ......125 Addition of modules I/O assignment .
  • Page 134 ... . 103 Warning output clear request (YE) ....108 Warning output flag (Un\G48) ... . . 107 Warning output setting (Un\G47) .
  • Page 135: Instruction Index

    INSTRUCTION INDEX ......116 G(P).OFFGAN ......118 G(P).OGLOAD .
  • Page 136: Revisions

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

    6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
  • Page 138 Microsoft, Windows, Windows NT, and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries. Pentium is a trademark of Intel Corporation in the United States and other countries. Ethernet is a trademark of Xerox Corporation. All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies.
  • Page 140 Phone: +380 (0)44 / 490 92 29 Fax: +380 (0)44 / 248 88 68 Mitsubishi Electric Europe B.V. /// FA - European Business Group /// Gothaer Straße 8 /// D-40880 Ratingen /// Germany Tel.: +49(0)2102-4860 /// Fax: +49(0)2102-4861120 /// info@mitsubishi-automation.com /// www.mitsubishi-automation.com...

This manual is also suitable for:

Melsec l60da4

Table of Contents