Mitsubishi L Series User Manual
Mitsubishi L Series User Manual

Mitsubishi L Series User Manual

Analog-digital converter module
Hide thumbs Also See for L Series:
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi 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

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

    DIRECTIVES (1) Method of ensuring compliance To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment, certain measures may be necessary. Please refer to the Safety Guidelines Please refer to the manual included 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, branch module, extension module, SD memory cards, and Maintenance and Inspection) batteries, information on how to establish a system, maintenance <SH-080890ENG, 13JZ36>...
  • Page 10: Table Of Contents

    CONTENTS CONTENTS SAFETY PRECAUTIONS ............. 1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 11 CHAPTER 8 FUNCTIONS Processing Each Function ........... . 61 A/D Conversion Enable/Disable Function.
  • Page 12 APPENDICES Appendix 1 Details of I/O Signals ........... 167 Appendix 1.1 Input signal .
  • Page 13: Manual Page Organization

    MANUAL PAGE ORGANIZATION In this manual, pages are organized and the symbols are used as shown below. The following illustration is for explanation purpose only, and should not be referred to as an actual documentation. "" 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 illustration is for explanation purpose only, and should not be referred to as an actual documentation. Instruction name Execution condition of the instruction Structure of the instruction in the ladder mode shows the devices applicable to the instruction Setting side...
  • 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

    Unless otherwise specified, this manual uses the following terms. Term Description A/D converter module Another term for the MELSEC-L series analog-digital 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...
  • Page 17: Chapter 1 A/D Converter Module

    CHAPTER 1 A/D CONVERTER MODULE CHAPTER 1 A/D CONVERTER MODULE This chapter describes the applications and features of the A/D converter module. Application This module converts the analog value input from external devices to the digital output value, and inputs the converted data to the CPU module.
  • Page 18: Features

    Features (1) Response by high-speed conversion The high-speed conversion of 20μs/channel is achieved. (2) Detailed control by high resolution In all analog input ranges, the high resolution of 1/20000 is achieved. (3) Reliability by high accuracy The accuracy for the maximum value of the digital output value is ±0.1% (25±5°C), ±0.2% (0 to 55°C). (4) Operation of digital output value by each function The scaling function, shift function, digital clipping function and difference conversion function can represent the digital output value in a numeric value easy to understand according to the use environment.
  • Page 19: Chapter 2 Part Names

    CHAPTER 2 PART NAMES CHAPTER 2 PART NAMES The following table shows part names of the A/D converter module. Number Name Description Module joint levers Levers for connecting modules Displays the operating status of the A/D converter module. On: The module is operating normally. RUN LED (green) Flashing: In the offset/gain setting mode Off: The 5V power off or watchdog timer error has occurred.
  • 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 address. General Specifications For the general specifications of the A/D converter module, refer to the following. The manual "Safety Guidelines", the manual supplied with the a CPU module or head module...
  • Page 22: Performance Specifications

    Performance Specifications The following table shows the performance specifications of the A/D converter module. Model Item L60AD4 Number of analog input points 4 points (4 channels) -10 to 10 VDC (input resistance 1M Ω) Voltage Analog input 0 to 20mADC (input resistance 250 Ω) Current Digital output -20480 to 20479...
  • Page 23 CHAPTER 3 SPECIFICATIONS Except when receiving noise influence. The default value is 80µs/channel. The logging function can be used only in the middle speed (80µs/channel) or low speed (1ms/channel). The flow amount integration function can be used only in the low speed (1ms/channel). This is a momentary current value which does not cause damage to internal resistors of the module.
  • Page 24: Number Of Parameter Settings

    3.2.1 Number of parameter settings Set the initial setting of A/D 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 25: Function List

    CHAPTER 3 SPECIFICATIONS Function List The following is the function list of the A/D converter module. Item Description Reference Sets whether to enable or disable A/D conversion for each channel. Page 63, A/D conversion enable/disable function Disabling the A/D conversion for unused channels reduces the Section 8.2 conversion cycles.
  • Page 26 Item Description Reference The A/D converter module adds the set shifting amount to conversion value to the scaling value (digital operation value) and stores in the buffer Page 86, Shift function memory. Fine adjustment can be performed easily when the system Section 8.11 starts.
  • Page 27: I/O Signal List

    CHAPTER 3 SPECIFICATIONS I/O Signal List The following shows the list of the A/D converter module I/O signals. For the details of I/O signals, refer to the followings. • Details of I/O signals ( Page 167, Appendix 1) Input signal Output signal Device number Signal name...
  • Page 28: List Of Buffer Memory Addresses

    List of Buffer Memory Addresses The following shows the list of the A/D converter module buffer memory. For details of buffer memory addresses, refer to the following. • Details of buffer memory addresses ( Page 174, Appendix 2) Do not write data to the system area and the area where the data cannot be written from the program in the buffer memory. Writing data to these areas may lead the module to malfunction.
  • Page 29 CHAPTER 3 SPECIFICATIONS Address Address Default Read/Write Name (decimal) (hexadecimal) CH2 Maximum value CH2 Minimum value CH3 Maximum value CH3 Minimum value CH4 Maximum value CH4 Minimum value System area ⎯ ⎯ 000F Input signal error detection setting 000F Warning output setting 0000 Input signal error detection flag 0000...
  • Page 30 Address Address Default Read/Write Name (decimal) (hexadecimal) CH3 Process alarm lower lower limit value CH3 Process alarm lower upper limit value CH3 Process alarm upper lower limit value CH3 Process alarm upper upper limit value CH4 Process alarm lower lower limit value CH4 Process alarm lower upper limit value CH4 Process alarm upper lower limit value CH4 Process alarm upper upper limit value...
  • Page 31 CHAPTER 3 SPECIFICATIONS Address Address Default Read/Write Name (decimal) (hexadecimal) System area ⎯ ⎯ CH1 Difference conversion status flag CH2 Difference conversion status flag CH3 Difference conversion status flag CH4 Difference conversion status flag System area ⎯ ⎯ Pass data classification setting ⎯...
  • Page 32 Address Address Default Read/Write Name (decimal) (hexadecimal) CH4 User range settings gain value (L) CH4 User range settings gain value (H) System area ⎯ ⎯ 1000 CH1 Logging enable/disable setting 1001 CH2 Logging enable/disable setting 1002 CH3 Logging enable/disable setting 1003 CH4 Logging enable/disable setting 1004...
  • Page 33 CHAPTER 3 SPECIFICATIONS Address Address Default Read/Write Name (decimal) (hexadecimal) 1042 CH3 Logging cycle unit setting 1043 CH4 Logging cycle unit setting 1044 System area ⎯ ⎯ 1047 1048 CH1 Logging points after trigger 5000 1049 CH2 Logging points after trigger 5000 1050 CH3 Logging points after trigger...
  • Page 34 Address Address Default Read/Write Name (decimal) (hexadecimal) 1086 System area ⎯ ⎯ 1089 1090 CH1 Head pointer 1091 CH2 Head pointer 1092 CH3 Head pointer 1093 CH4 Head pointer 1094 ⎯ ⎯ System area 1097 1098 CH1 Latest pointer 1099 CH2 Latest pointer 1100 CH3 Latest pointer...
  • Page 35 CHAPTER 3 SPECIFICATIONS Address Address Default Read/Write Name (decimal) (hexadecimal) 1131 1132 CH4 Logging cycle monitor value (ms) 1133 (µs) 1134 ⎯ ⎯ System area 1153 Last two First two digits 1154 digits of the of the year year CH1 Trigger 1155 Month detection time...
  • Page 36 Address Address Default Read/Write Name (decimal) (hexadecimal) 1310 CH3 Integration cycle setting 1311 CH4 Integration cycle setting 1312 System area ⎯ ⎯ 1315 1316 CH1 Flow amount time unit setting 1317 CH2 Flow amount time unit setting 1318 CH3 Flow amount time unit setting 1319 CH4 Flow amount time unit setting 1320...
  • Page 37 CHAPTER 3 SPECIFICATIONS Address Address Default Read/Write Name (decimal) (hexadecimal) 1360 System area ⎯ ⎯ 1363 1364 CH1 Flow amount integration temporary stop flag 1365 CH2 Flow amount integration temporary stop flag 1366 CH3 Flow amount integration temporary stop flag 1367 CH4 Flow amount integration temporary stop flag 1368...
  • Page 38 (2) Error history (Un\G1800 to Un\G4999) Address Address Default Read/Write Name (decimal) (hexadecimal) 1800 Latest address of error history 1801 System area ⎯ ⎯ 1809 1810 Error code First two Last two 1811 digits of the digits of the year year 1812 Month...
  • Page 39 CHAPTER 3 SPECIFICATIONS 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.14 Same as No.
  • Page 40 Address Address Default Read/Write Name (decimal) (hexadecimal) AFC8 45000 System area ⎯ ⎯ C34F 49999 The default value is a value set after power-on or after resetting the CPU module. This shows whether read or write from programs is possible. R: Readable W: Writable...
  • Page 41: 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 41, Section 5.1 Connect the A/D converter module in any desired configuration. Wiring Page 47, Section 6.4 Connects external devices to the A/D converter module.
  • Page 42 Memo...
  • Page 43: 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 A/D converter module. Overall System Configuration The following shows a system configuration example for using the A/D converter module. (1) When connected to a CPU module Display unit (optional)
  • Page 44: 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 45: Chapter 6 Installation And Wiring

    CHAPTER 6 INSTALLATION AND WIRING CHAPTER 6 INSTALLATION AND WIRING This chapter describes the installation and wiring of the A/D 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 46: 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 table below shows applicable solderless terminals connected to the terminal block.
  • Page 47 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 48: Wiring

    Wiring (1) Wiring to a terminal block The following shows wirings to a terminal block. (a) For the voltage input V-/I- V-/I- V-/I- V-/I- (b) For the current input V-/I- V-/I- V-/I- V-/I-...
  • Page 49: External Wiring

    CHAPTER 6 INSTALLATION AND WIRING External Wiring The following describes the external wiring. (1) For voltage input Signal source -10 to 10V 500k V-/I- 500k Shield (2) For current input Signal source 0 to 20mA 500k V-/I- 500k Shield For the wire, use the shielded twisted pair cable. This indicates the input resistance of the A/D converter module.
  • Page 50: Chapter 7 Various Settings

    CHAPTER 7 VARIOUS SETTINGS This chapter describes the setting procedures of the A/D 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 ON the power supply, to validate the setting contents.
  • Page 51: Switch Setting

    CHAPTER 7 VARIOUS SETTINGS Switch Setting Set the operation mode and the input 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 52: Parameter Setting

    Parameter Setting Set the parameters of each CH. By setting the parameters, the setting by programming is unnecessary. (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 53 CHAPTER 7 VARIOUS SETTINGS Item Setting value Reference A/D conversion enable/disable 0: Enable (default value) Page 63, setting 1: Disable Section 8.2 0: Sampling Processing (default value) 1: Time Average Averaging process setting 2: Count Average 3: Moving Average Time 20µs: 2 to 1500ms (default value: 0) Page 63, Average...
  • Page 54 Item Setting value Reference 0: Enable Logging enable/disable setting 1: Disable (default value) 0: Digital Output Value Logging data setting 1: Scaling Value (Digital Operation Value) (default value) µs: 80 to 32767 (default value: 4) Logging cycle setting value ms: 1 to 32767 (default value: 4) s: 1 to 3600 (default value: 4) 0: µs Logging cycle unit setting...
  • Page 55: Auto Refresh

    CHAPTER 7 VARIOUS SETTINGS Auto Refresh This function transfers data in the buffer memory to specified devices. By the auto refresh setting, reading/writing data by programming is unnecessary. (1) Setting procedure Open the "Auto_Refresh" dialog box. Start "Auto_Refresh". Project window [Intelligent Function Module] module name [Auto_Refresh]...
  • Page 56: Offset/Gain Setting

    Offset/Gain Setting When using the user range setting, configure the offset/gain setting with the following operations. When using factory default settings, the offset/gain is not required. The offset/gain setting can be configured from the following two types of operations. • Setting from "Offset/Gain Setting" of GX Works2. •...
  • Page 57 CHAPTER 7 VARIOUS SETTINGS Select the channel to use the offset/gain setting, and click the button. ↓ Input the offset value voltage or current in the target channel terminal, and click the button. ↓ Check if "Offset Status" is changed to "Changed", and click the button.
  • Page 58 Check if "Gain Status" is changed to "Changed", and click the button. ↓ Click the button. ↓...
  • Page 59: 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 Switches to the Offset/gain setting mode.* Checks that the module is in Offset/gain setting mode and the RUN LED is flashing.
  • Page 60 ● Configure the offset/gain setting in accordance with the actual use situation. ● Offset and gain values are recorded in the flash memory in the A/D converter module by turning OFF → ON → OFF User range write 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 61 CHAPTER 7 VARIOUS SETTINGS (b) Switching the mode by the dedicated instruction (G(P).OFFGAN) This program performs the followings: • first, switches the mode to the offset/gain setting mode by the dedicated instruction (G(P).OFFGAN), • second, switches the channels for which the offset/gain settings is configured, •...
  • Page 62 (c) Switching the mode by Mode switching setting (Un\G158, Un\G159) and Operating condition setting request (Y9) Switches to the offset/gain setting mode. Sets 4144 to Mode switching setting 1 (U3\G158). Sets 0964 to Mode switching setting 2 (U3\G159). Turns on Operating condition setting request (Y39).
  • Page 63: Chapter 8 Functions

    CHAPTER 8 FUNCTIONS CHAPTER 8 FUNCTIONS This chapter describes the details of the functions available in the A/D converter module, and the setting procedures for those functions. For details on I/O signals and buffer memory, refer to the following. • Details of I/O signals ( Page 167, Appendix 1) •...
  • Page 64 (2) Scaling values (digital operation values) These are values obtained by operating the digital output value using the digital clipping function, scaling function, shift function, or difference conversion function. (3) Maximum and minimum values The maximum and minimum values of the scaling values (digital operation values) are stored. If averaging processing (time average/count average) is performed, the digital values are stored per averaging process cycle.
  • Page 65: A/D Conversion Enable/Disable Function

    CHAPTER 8 FUNCTIONS A/D Conversion Enable/Disable Function Sets whether to enable or disable A/D conversion for each channel. By disabling A/D conversion for the channels you are not using, the conversion cycle can be reduced. (1) Setting procedure Set "A/D conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name...
  • Page 66 (a) Time average Performs A/D conversion for a set time, averages the total without the maximum and minimum values, and stores the average value to the buffer memory. The processing count within the setting time varies depending on the number of channels used (number of channels for which A/D conversion is enabled).
  • Page 67 CHAPTER 8 FUNCTIONS Because the count average requires a sum of at least two counts, not counting the maximum and minimum values, the set number of times should be set to 4 or more. (c) Moving average Takes the average of digital output values sampled over a set number of sampling cycles, and stores it to the buffer memory.
  • Page 68 (b) Averaging processing To select "1: Time Average" for "Averaging process setting": Set "A/D conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name [Parameter] For "Averaging process setting", select "1: Time Average". For "Time Average/ CountAverage/Moving Average", enter the following: Setting item Conversion speed Setting range...
  • Page 69: Input Range Extended Mode Function

    CHAPTER 8 FUNCTIONS Input Range Extended Mode Function Using this function, the available input range in 4 to 20mA and 1 to 5V can be extended. Normal mode Extended mode Input range Input range Input range Digital output value Input range Digital output value setting setting...
  • Page 70: Conversion Speed Switch Function

    Conversion Speed Switch Function You can select from three conversion speeds: • High speed: 20 µs/channel • Medium speed: 80 µs/channel • Low speed: 1 ms/channel (1) Setting procedure Set "A/D conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name [Parameter] For "Conversion speed setting", select the appropriate conversion speed.
  • Page 71: Input Signal Error Detection Function

    CHAPTER 8 FUNCTIONS Input Signal Error Detection Function Detects any analog input value that is outside the setting range. By using the input signal error detection extension function, the upper limit detection, lower limit detection, or disconnection detection can be set. For details on the input signal error detection extension function, refer to the following.
  • Page 72 (2) Operation of the input signal error detection function The digital output value on the channel on which the error was detected is held at the value just before the error was detected, and A/D conversion completed flag (Un\G10) and A/D conversion completed flag (XE) are turned OFF.
  • Page 73 CHAPTER 8 FUNCTIONS Remark The following table lists the lower limit value, offset value, or gain value for each range. Analog input range Lower limit value Offset value Gain value 0 to 10V 0 to 5V 1 to 5V Voltage -10 to 10V -10V 1 to 5V (Extended mode)
  • Page 74 (6) Example of input signal error detection To detect an error when the analog input value becomes lower than 2.4mA for a channel with an input range of 4mA to 20mA: Substitute the following values into the input signal error detection lower limit value. •...
  • Page 75 CHAPTER 8 FUNCTIONS (7) Setting procedure To enable the input signal error detection function, the input signal error detection extension function should be disabled. When the input signal error detection extension function is enabled, the setting of input signal error detection function is ignored.
  • Page 76: Input Signal Error Detection Extension Function

    Input Signal Error Detection Extension Function Using this function, the detection method of the input signal error detection function can be extended. Use this function to detect an input signal error only at the lower or upper limit, or to execute the disconnection detection. To enable this function, the input signal error detection function does not need to be enabled.
  • Page 77 CHAPTER 8 FUNCTIONS (a) Disconnection detection By combining this detection method with the input range extended mode function, simple disconnection detection can be performed. When either of following conditions is satisfied, Input signal error detection flag (Un\G49) turns on and a disconnection occurs. Input range Disconnection detection condition Input analog value ≤...
  • Page 78 (5) Clearing the input signal error detection As in the input signal error detection function, turn Error clear request (YF) OFF → ON → OFF after the analog input value returns within the setting range. When the disconnection detection is set, after the analog input value exceeds 2.0mA or 0.5V, turn Error clear request (YF) OFF →...
  • Page 79: Warning Output Function (Process Alarm)

    CHAPTER 8 FUNCTIONS Warning Output Function (Process Alarm) Outputs an alarm when the digital output value enters a preset range. Warning output range Out of warning output range Digital output value Included Warning Warning Upper upper limit value Upper lower limit value Warning cleared Warning cleared...
  • Page 80 (3) Detection cycle When time average is specified, the function is executed per set time (for averaging). When count average is specified, the function is executed per set count (for averaging). In addition, when sampling processing and moving average are specified, the function is executed per sampling cycle.
  • Page 81 CHAPTER 8 FUNCTIONS Process alarm output settings must meet the following condition: Process alarm upper upper limit value ≥ Process alarm upper lower limit value ≥ Process alarm lower upper limit value ≥ Process alarm lower lower limit value...
  • Page 82: Scaling Function

    8.10 Scaling Function Performs scale conversion on the digital values that are output. The values are converted in the range between the scaling upper limit value and the scaling lower limit value. The converted values are stored to CH Scaling value (digital operation value) (Un\G54 to Un\G57). (1) Concept of scaling setting If the input range is set to -10 to 10V: For the scaling lower limit value, set it to a value corresponding to the lower limit of the input range (-20000),...
  • Page 83 CHAPTER 8 FUNCTIONS (3) Setting procedure Set "A/D conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name [Parameter] Set "Scaling enable/disable setting" to "0: Enable". Set values for "Scaling upper limit value" and "Scaling lower limit value". Item Setting range Scaling upper limit value...
  • Page 84 (4) Example of scaling setting 1. When values are set for a channel with input range of 0 to 5V as follows: • "Scaling upper limit value": 16000 • "Scaling lower limit value": 4000 The digital output values and scaling values (digital operation values) are as follows: Digital output value 20000 Scaling upper limit value 16000...
  • Page 85 CHAPTER 8 FUNCTIONS 2. When values are set for a channel with input range of -10 to 10V as follows: • "Scaling upper limit value": 16000 • "Scaling lower limit value": 4000 The digital output values and scaling values (digital operation values) are as follows: Digital output value 20000 Scaling upper limit value 16000...
  • Page 86 3: When values are set for a channel with input range of 1 to 5V (Extended mode) as follows: • "Scaling upper limit value": 16000 • "Scaling lower limit value": 4000 The digital output values and scaling values (digital operation values) are as follows: Digital output value Scaling upper limit value: 20000...
  • Page 87 CHAPTER 8 FUNCTIONS 4: When values are set for a channel with user range of 2 to 10V as follows: • "Scaling upper limit value": 16000 • "Scaling lower limit value": 4000 The digital output values and scaling values (digital operation values) are as follows: Digital output value Scaling upper limit value: 16000 20000...
  • Page 88: Shift Function

    8.11 Shift Function Using this function, the set shifting amount to conversion value can be added (shifted) to the digital output value and it can be stored in the buffer memory. When the shifting amount to conversion value is changed, it is reflected to the scaling value (digital operation value) in real time.
  • Page 89 CHAPTER 8 FUNCTIONS The initial value of the shifting amount to conversion value is 0. Item Setting range Shifting amount to conversion value -32768 to 32767 If the digital output value exceeds the range of -32768 to 32767 as a result of shift addition, the digital output value is fixed to the lower limit value (-32768) or the upper limit value (32767).
  • Page 90 (4) Setting example of when both the scaling function and shift function is used When the following settings are used for the A/D converter module with input range of 0 to 5V: • "Scaling upper limit value": 12000 • "Scaling lower limit value": 2000 •...
  • Page 91 CHAPTER 8 FUNCTIONS 20000 1) Digital output value 1) Digital output value Scaling Upper limit value: 20000 12000 Lower limit value: 0 2000 14000 12000 3) Scaling value 2) Value after scaling (digital operation value) Shift addition Adds 2000 to the value 2) Value after after scaling scaling...
  • Page 92: Digital Clipping Function

    8.12 Digital Clipping Function The range of the scaling value (digital operation value) for voltage or current over the input range is fixed between the maximum digital output value and the minimum digital output value. (1) Concept of digital clipping setting The following table lists the output range of the scaling value (digital operation value) when the digital clipping function is enabled for each range.
  • Page 93 CHAPTER 8 FUNCTIONS (3) Setting example of when both the digital clipping function and scaling function are used When setting as follows for the A/D converter module with input range of 0 to 5V: • "Scaling upper limit value": 32000 •...
  • Page 94 (4) Setting example of when the digital clipping function, scaling function, and shift function are used together When setting as follows for the A/D converter module with input range of 0 to 5V: • "Scaling upper limit value": 12000 • "Scaling lower limit value": 2000 •...
  • Page 95 CHAPTER 8 FUNCTIONS Digital output value 1) Digital output value 20479 Digital clipping Output range: -480 to 20479 20000 Output range: 0 to 20000 1) Digital output value 2) Value after digital clipping 2) Value after digital clipping 14000 12000 Scaling Upper limit value: 20000 12000...
  • Page 96: Difference Conversion Function

    8.13 Difference Conversion Function The scaling value (digital operation value) at the start of this function is treated as 0 (reference value). Thereafter, values that increase or decrease from the reference value are stored in the buffer memory. Scaling value (digital operation value) 20000 Scaling value...
  • Page 97 CHAPTER 8 FUNCTIONS (b) Stopping difference conversion Change CH Difference conversion trigger (Un\G172 to Un\G175) from Trigger request (1) to No request (0). The fall of Trigger request (1) → No request (0) is detected as a trigger. When the trigger is detected, the difference conversion stops, and CH Difference conversion status flag (Un\G190 to Un\G193) changes to Not converted (0).
  • Page 98 (b) Operation of when Operating condition setting request (Y9) is turned OFF → ON → OFF during difference conversion During the difference conversion, even if Operating condition setting request (Y9) is turned OFF → ON → OFF, the difference conversion before Operating condition setting request (Y9) continues and the difference conversion reference value is not updated.
  • Page 99 CHAPTER 8 FUNCTIONS (d) Operation of when the averaging processing is set If the difference conversion starts while the averaging processing is set, the scaling value (digital operation value) at the completion of the averaging processing is determined as the difference conversion reference value.
  • Page 100: Logging Function

    8.14 Logging Function Using this function, data can be consecutively collected at a set cycle and they can be stored in the buffer memory. Using the data stored in the buffer memory, debugging can be performed and the data variation can be checked periodically.
  • Page 101 CHAPTER 8 FUNCTIONS (2) Logging procedure (a) Use conditions of the logging function To use the logging function, set as follows. Item Setting Conversion speed 80µs, or 1ms Input signal error detection function Disable Input signal error detection extension function Disable (b) Starting logging and checking procedure of logging data Start...
  • Page 102 (3) Setting procedure Set "A/D conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name [Parameter] Set "Logging enable/disable setting" to "0: Enable". Set the logging target in "Logging data setting". Set the cycle of storing logging data in "Logging cycle setting value". Set the unit of the "Logging cycle setting value"...
  • Page 103 CHAPTER 8 FUNCTIONS The actual logging cycle is "an integral multiple of the conversion cycle of each A/D conversion method". The following table lists the conversion cycle of each A/D conversion method. A/D conversion The conversion cycle method Sampling processing Conversion speed ×...
  • Page 104 In "Level trigger condition setting", select any of the following. Setting Description value 0: Disable Select when a stop condition of logging is not set. (Logging can be stopped at any timing.) Logging stops when the status of "Trigger data < Trigger setting value" turns to that of "Trigger data >...
  • Page 105 CHAPTER 8 FUNCTIONS When other than "0: Disable" in "Level trigger condition setting" is selected, set the stop condition of logging with "Trigger data" and "Trigger setting value". Item Description Trigger data Set the buffer memory address monitored as a occurrence condition to stop logging. Trigger setting value Set the value of the buffer memory to stop logging.
  • Page 106 (4) Starting logging Turn Operating condition setting request (Y9) OFF → ON → OFF. Data is logged at every set logging cycle. (5) Stopping logging Use a hold trigger to stop logging. After the hold trigger is detected, the A/D converter module stops collecting data after logging for points that is previously set.
  • Page 107 CHAPTER 8 FUNCTIONS When "Level trigger condition setting" is set to other than "0: Disable" and CH1 Scaling value (digital operation value) (Un\G54) is logged CH1 Logging hold request No request (0) Requested (1) (Un\G1008) Trigger condition Established Unestablished established/unestablished A Hold trigger is The logging is held.
  • Page 108 Storage Item Storage contents example First two digits of the year/ 2011 Last two digits of the year Month/Day Stored in BCD code. 1035 Hour/Minute Second One of the following value is stored for each day of the week in BCD code.
  • Page 109 CHAPTER 8 FUNCTIONS Check the places where the latest data and the oldest data are stored. Those places can be checked in the following buffer memory areas. • CH Head pointer (Un\G1090 to Un\G1093) ( Page 195, Appendix 2(40)) • CH Latest pointer (Un\G1098 to Un\G1101) ( Page 195, Appendix 2(41)) When data is collected 10001 times or more...
  • Page 110 (9) Restarting logging To restart logging, turn CH Logging hold request (Un\G1008 to Un\G1011) ON → OFF. Logging is restarted from the head of the logging data storage area. At this time, head pointer, trigger pointer, and the number of logging data are cleared, and CH Logging hold flag (Un\G1016 to Un\G1019) turns off.
  • Page 111 CHAPTER 8 FUNCTIONS (10)When checking logging data without stopping logging Logging data can be checked during logging. Logging data can be easily checked on a display device just by monitoring the buffer memory without stopping logging on the display device. To check the logging data, adjust the logging cycle to prevent the logging data from being updated during read.
  • Page 112: Flow Amount Integration Function

    8.15 Flow Amount Integration Function This function performs the A/D conversion of analog input value (voltage or current) from a flow meter and others, and integrates the digital output value by every integration cycle. In this function, integral processing is performed regarding the scaling value (digital operation value) as the instantaneous flow amount.
  • Page 113 CHAPTER 8 FUNCTIONS (1) Concept of integral processing With this function, integral processing is performed using the following formula. Integrated flow amount = (Instantaneous flow amount Unit scaling) Previous amount Item Description Integrated flow This is a result of the integral processing. The integrated flow amount is stored in CH Integrated flow amount amount (Un\G1332 to Un\G1339) in the range of 0 to 2147483647.
  • Page 114 (2) Concept of integration cycle Set the integration cycle according to the analog output cycle of the flow meter connected to the A/D converter module. In addition, set this cycle as an integral multiple of the updating cycle of CH Scaling value (digital operation value) (Un\G54 to Un\G57).
  • Page 115 CHAPTER 8 FUNCTIONS (3) Concept of unit scaling Unit scaling adjusts the number of digits of the integrated flow amount by multiplying "instantaneous flow amount × T/T" by a multiple of 10. Set the unit scaling to store the value after the decimal point of "instantaneous flow amount × T/T"...
  • Page 116 (4) Setting procedure Set "A/D conversion enable/disable setting" to "0: Enable". Project window [Intelligent Function Module] module name [Parameter] Set "Conversion speed setting" to "2: 1ms". Set "Flow amount integration enable/disable setting" to "0: Enabled". Set a value for "Integration cycle setting". Set a value for "Flow amount time unit setting"...
  • Page 117 CHAPTER 8 FUNCTIONS When the flow meter connected to the A/D converter module output the instantaneous flow amount (range: /min) in analog at intervals of 500ms • "Integration cycle setting": 500ms • "Flow amount time unit setting": "1: /min" • "Unit scaling setting": "2: × 100" •...
  • Page 118 Controlled by the A/D converter module Performed by the program Integration cycle Flow amount integration temporary stop request No request (0) Temporary stop request (1) No request (0) (Un\G1356 to Un\G1359) Integrated flow amount (Un\G1332 to Un\G1339) Flow amount integration No temporary stop request (0) Temporarily stopped (1) No temporary stop request (0)
  • Page 119 CHAPTER 8 FUNCTIONS (7) Change of the integrated flow amount The following timing chart shows the timings that the integrated flow amount changes. Flow amount integration Disabled Enabled (0) enable/disable setting (Un\G1300 to Un\G1303) Operating condition setting request (Y9) Operating condition setting completed flag (X9) Flow amount integration No request (0)
  • Page 120 (9) Operation when Operating condition setting request (Y9) is turned OFF → ON → OFF The following processing is performed by changing the settings in the following buffer memory areas and turning Operating condition setting request (Y9) OFF → ON → OFF. The flow amount integration function is performed with the changed settings.
  • Page 121: Error Log Function

    CHAPTER 8 FUNCTIONS 8.16 Error Log Function Stores a history of errors and alarms that occurred in the A/D 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 122 (2) Checking error history You can check the start address of the latest stored error at Latest address of error history (Un\G1800) 1. When the third error occurs: 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 address of error history (Un\G1800).
  • Page 123 CHAPTER 8 FUNCTIONS 2. When a 17th error occurs: The 17th error is stored in error history No.1, and the value "1810" (start address of error history No.1) gets stored to Latest address of error history (Un\G1800). Latest address of error history (Un\G1800) Address 1810...
  • Page 124: Module Error Collection Function

    8.17 Module Error Collection Function Collects the errors and alarms that occurred in the A/D 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 125: Error Clear Function

    CHAPTER 8 FUNCTIONS 8.18 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 126: Saving And Restoring Offset/Gain Values

    8.19 Saving and Restoring Offset/Gain Values With the A/D converter module, you can save and restore offset/gain values in the user range setting. In the event that the A/D converter module fails and need to be replaced, you can restore the offset/gain values of the failed A/D converter module onto a replacement A/D converter module.
  • Page 127 CHAPTER 8 FUNCTIONS (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. ↓...
  • Page 128 (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 (L)(Un\G202) to CH4 User range settings gain value (H)(Un\G233), and User range write request (YA) to read the offset/gain values from the source A/D converter module, then use the buffer memory again to write to the destination A/D converter module.
  • Page 129 CHAPTER 8 FUNCTIONS • 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 A/D converter module Records the data stored in Pass data classification setting (Un\G200) and CH1 Industrial shipment settings offset value (L) (Un\G202) to CH4 User...
  • Page 130 (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 (L)(Un\G202) to CH4 Industrial shipment settings gain value (H)(Un\G217) The reference values will vary depending on Pass data classification setting (Un\G200) (voltage or current). Address (decimal) Pass data Reference value...
  • Page 131: Chapter 9 Display Unit

    CHAPTER 9 DISPLAY UNIT CHAPTER 9 DISPLAY UNIT This chapter describes the functions of the display unit that can be used with the A/D converter module. For instruction on operating the display unit, or for details on the functions and menu configuration, refer to the following.
  • Page 132 (2) Screen transitions up to the initial setting change screen The diagram below shows how the screens transition to the initial setting change screen.
  • Page 133: List Of Setting Value Change Screens

    CHAPTER 9 DISPLAY UNIT List of Setting Value Change Screens The following is a list of setting value change screens. (1) Displayed in English: Name Input limits Screen format Setting item Screen display Upper limit Lower limit ⎯ ⎯ A/D conversion enable/disable setting A/D CONVERSION Selection Averaging process setting...
  • Page 134 (2) A/D conversion enable/disable setting Select "ENABLE" or "DISABLE" in the "A/D CONVERSION" screen. "A/D CONVERSION" screen Use the buttons to select "ENABLE" or "DISABLE", and then confirm with the button. (3) Averaging process setting In the "AVE PROCESSING" screen, select whether to perform sampling processing or averaging processing (time average, count average, moving average).
  • Page 135 CHAPTER 9 DISPLAY UNIT (4) Warning output setting Select "DISABLE" or "ENABLE" in the "PROCESS ALARM" screen. "PROCESS ALARM" 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.) ↓...
  • Page 136 (5) Input signal error detection setting Select "DISABLE" or "ENABLE" in the "INPUT SIG ERR" screen. "INPUT SIG ERR" screen Use the buttons to select "DISABLE" or "ENABLE", and then confirm with the button. (If you selected "ENABLE", proceed to step 2.) ↓...
  • Page 137 CHAPTER 9 DISPLAY UNIT (6) Scaling setting Select "DISABLE" or "ENABLE" in the "SCALING" screen. "SCALING" 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.) ↓...
  • Page 138 (7) Shifting amount to conversion value Set the shifting amount to conversion value in the "SHIFT" screen. "SHIFT" screen Move the cursor using the buttons, then increment or decrement the value at the cursor, using buttons, respectively. Confirm with the button.
  • Page 139 CHAPTER 9 DISPLAY UNIT (10)Conversion speed setting In the "CONVERSION SPD" screen, specify the conversion speed of the A/D conversion processing. Use the buttons to select the conversion "CONVERSION SPD" screen speed, and then confirm with the button.
  • Page 140: Checking And Clearing Errors

    Checking and Clearing Errors You can check the errors that occurred in the A/D converter module, from the display unit. In addition, you can also clear an error during its occurrence. (1) Checking the error You can check the error that occurred in the A/D converter module, by specifying Latest error code (Un\G19) from "buffer memory monitor/test".
  • Page 141 CHAPTER 9 DISPLAY UNIT (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 A/D converter module with a start I/O number of 1 "CPU monitor/test"...
  • Page 142: Chapter 10 Programming

    CHAPTER 10 PROGRAMMING This chapter describes the procedure for programming and the basic program of the A/D converter module. 10.1 Procedure for Programming Create a program to execute A/D conversion, according to the following procedure. Start (1) Initial setting program Do the setting by using a program.
  • Page 143: When Using The Module In A Standard System Configuration

    CHAPTER 10 PROGRAMMING 10.2 When Using the Module in a Standard System Configuration The following shows program examples for the system configuration and usage conditions of the A/D converter module. (1) System configuration The following shows an example of the system configuration when using the module in a standard system configuration.
  • Page 144 (3) Switch setting Set the input range and the operation mode. Project window [Intelligent Function Module] [L60AD4] [Switch Setting]...
  • Page 145 CHAPTER 10 PROGRAMMING (4) Initial setting description (a) Channel setting Description Item A/D conversion enable/disable setting Enable Enable Enable Disable Sampling Sampling Averaging process setting Count average Moving average processing processing Time Average/ Count Average/ 50 times 10 times Moving Average Conversion speed setting 20µs Warning output setting...
  • Page 146 (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] [L60AD4] [Parameter] (b) Auto refresh setting Project window [Intelligent Function Module] [L60AD4] [Auto_Refresh]...
  • Page 147 CHAPTER 10 PROGRAMMING (c) Writing 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...] or Power OFF (d) Program example Read digital output values Reads A/D conversion completed flag.
  • Page 148 (6) Program example when not using the parameter of intelligent function module Initial settings Enables CH1 to CH3 A/D conversion. Sets CH2 time/count/moving average. Sets CH3 time/count/moving average. Sets CH1 to CH3 averaging processing. Sets conversion speed. Sets CH2 warning output. Sets CH2 process alarm lower lower limit value.
  • Page 149 CHAPTER 10 PROGRAMMING Process alarm occurrence status and processing at warning occurrence Reads Warning output flag (Process alarm). Processing when a warning occurs for Processing when a warning occurs CH2 process alarm upper limit value Processing when a warning occurs for Processing when a warning occurs CH2 process alarm lower limit value Input signal error defection status and processing at error detection...
  • Page 150: When A/D Converter Module Is Connected To Head Module

    10.3 When A/D Converter Module is Connected to Head Module This section describes the system configuration of A/D converter module and a program example of operation condition. (1) System configuration The following describes the system configuration examples when the A/D converter module is mounted to a head module.
  • Page 151 CHAPTER 10 PROGRAMMING (3) Description of initial settings Description Item A/D conversion enable/disable setting Enable Enable Enable Disable Sampling Sampling Averaging process setting Count average Moving average processing processing Time Average/Count Average/Moving 50 times 10 times Average Conversion speed setting 20µs Warning output setting Disable...
  • Page 152 (5) Setting on master station Create a project on GX Works2. Select "QCPU (Q mode)" for "PLC Series" and select "Q10UDH" for "PLC Type." [Project] [New...] Display the network parameter setting screen and configure the setting as follows. Project window [Parameter] [Network Parameter] [Ethernet/CC IE/MELSECNET]...
  • Page 153 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 Auto Refresh setting screen for the A/D converter module (L60AD4) and configure the setting as follows. Project window [Parameter] [Network Parameter]...
  • Page 154 (6) Setting by intelligent device station Create a project for GX Works2. Select "LCPU" for "PLC Series" and select "LJ72GF15-T2" for "PLC Type." [Project] [New...] Display the PLC Parameter setting screen and configure the setting as follows. Project window [Parameter] [PLC Parameter] "Communication Head Setting"...
  • Page 155 CHAPTER 10 PROGRAMMING Add the A/D converter module (L60AD4) to the GX Works2 project. Project window [Intelligent Function Module] Right-click [New Module] Display the Switch Setting screen for the A/D converter module (L60AD4) and configure the setting as follows. Project window [Intelligent Function Module] [L60AD4] [Switch Setting]...
  • Page 156 Display the initial setting screen for the A/D converter module (L60AD4) and configure the setting as follows. Project window [Intelligent Function Module] [L60AD4] [Parameter] Display the Auto Refresh setting screen for the A/D converter module (L60AD4) and configure the setting as follows. Project window [Intelligent Function Module] [L60AD4]...
  • Page 157 CHAPTER 10 PROGRAMMING 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...] or Power OFF (7) Program example The following shows a program example. The program can be written to the CPU module of the master station. Digital output value Reads A/D conversion completed flag.
  • Page 158: Chapter 11 Troubleshooting

    CHAPTER 11 TROUBLESHOOTING This chapter describes errors that may occur while the use of the A/D converter module, those troubleshooting. (1) Checking for the error codes and the alarm codes Errors and alarms occurred in the A/D converter module can be checked by any of the following methods: •...
  • Page 159: 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 A/D converter module in "Main Block" and click the button. ↓ "Module's Detailed Information" of the A/D converter module is displayed.
  • Page 160: 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 A/D converter module to the CPU module or the head module.
  • Page 161: Error Code List

    The data in the flash memory has a problem. If there is a problem of the digital output value, please consult a local Mitsubishi representative. Start over the offset/gain setting of all channels where the user range setting is used.
  • Page 162 Error code Description and cause of error Action (decimal) • Although the conversion speed has been set to 20µs, the averaging time value set in CH Time Average/Count Average/ • When the conversion speed is 20µs, set the Moving Average (Un\G1 to Un\G4) is outside the range of 2 to averaging time to a value in the range of 2 to 1500ms.
  • Page 163 CHAPTER 11 TROUBLESHOOTING Error code Description and cause of error Action (decimal) Set one of the following values in Input signal error detection extension setting (Un\G27) for the channel where the error has occurred. The value set in Input signal error detection extension setting •...
  • Page 164 Error code Description and cause of error Action (decimal) Logging points after trigger (Un\G1048 to Un\G1051) is set to Set a value within the range of 1 to 10000 in CH a value outside the range of 1 to 10000. Logging points after trigger (Un\G1048 to The channel where the error has occurred fits in Un\G1051).
  • Page 165: Alarm Code List

    CHAPTER 11 TROUBLESHOOTING Error code Description and cause of error Action (decimal) Integrated flow amount clear request (Un\G1372 to Set No request (0) or Clear request (1) in CH Un\G1375) is set to a value other than 0 and 1. Integrated flow amount clear request (Un\G1372 to The channel where the error has occurred fits in Un\G1375).
  • Page 166: Troubleshooting

    Reset the CPU module, and check if the RUN LED turns on. Is there any watchdog timer error? If the RUN LED remains off, the module may be failed. Please consult a local Mitsubishi representative. Is the module connected properly? Check the module connection.
  • Page 167 If digital output value cannot be read even after taking the above actions, the A/D converter module may be failed. Please consult a local Mitsubishi representative. (5) When an A/D conversion completed flag does not turn on in the normal mode...
  • Page 168: Checking The Status Of The A/D Converter Module By The System Monitor

    11.7 Checking the Status of the A/D Converter Module by the System Monitor To check the LED status or the setting status of the intelligent function module switch setting, select the H/W information of the A/D converter module on the system monitor of GX Works2. (1) Hardware LED information LED status is displayed.
  • Page 169: Appendices

    APPENDICES APPENDICES Appendix 1 Details of I/O Signals The following describes the details of the A/D converter module I/O signals assigned to the CPU module. The I/O numbers (X/Y) described in Appendix 1are for the case when the start I/O number of the A/D converter module is set to 0.
  • Page 170 (3) Operating condition setting completed flag (X9) When changing the following settings, use Operating condition setting completed flag (X9) as an interlock condition to turn Operating condition setting request (Y9) OFF → ON → OFF. • A/D conversion enable/disable setting (Un\G0) •...
  • Page 171 APPENDICES (4) Offset/gain setting mode flag (XA) (a) Offset/gain setting mode When registering the value, which was adjusted with the offset/gain setting, to the module, use Offset/gain setting mode flag (XA) as an interlock condition to turn User range write request (YA) OFF → ON → OFF. For the offset/gain setting, refer to the following.
  • Page 172 (6) Input signal error detection signal (XC) (a) Turning Input signal error detection signal (XC) ON • Input signal error detection signal (XC) turns to ON when an analog input value exceeds the range set with Input signal error detection setting value (Un\G142 to Un\G145) in any channel which has been A/D conversion-enabled, after validating Input signal error detection setting (Un\G47).
  • Page 173 APPENDICES (7) Maximum value/minimum value reset completed flag (XD) Maximum value/minimum value reset completed flag (XD) turns ON after resetting the maximum or minimum values stored in CH Maximum value (Un\G30, Un\G32, Un\G34, Un\G36) and CH Minimum value (Un\G31, Un\G33, Un\G35, Un\G37) by turning Maximum value/minimum value reset request (YD) OFF → ON → OFF. Controlled by the A/D converter module Controlled by the program Maximum value/minimum value...
  • Page 174: Appendix 1.2 Output Signal

    Appendix 1.2 Output signal (1) Operating condition setting request (Y9) To validate the following settings, turn Operating condition setting request (Y9) OFF→ ON → OFF. • A/D conversion enable/disable setting (Un\G0) • CH Time Average/ Count Average/Moving Average (Un\G1 to Un\G4) •...
  • Page 175 APPENDICES (3) Channel change request (YB) Turn Channel change request (YB) OFF → ON → OFF to change a channel to perform the offset/gain setting. For the timing of turning the signal OFF → ON → OFF, refer to the following. •...
  • Page 176: Appendix 2 Details Of Buffer Memory Addresses

    Appendix 2 Details of Buffer Memory Addresses The following describes the details of buffer memory addresses of the A/D converter module. (1) A/D conversion enable/disable setting (Un\G0) Set if the A/D conversion is enabled or disabled for each channel. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 Data for b4 to b15 are fixed to "0".
  • Page 177 APPENDICES (3) Averaging process setting (used to replace Q64AD) (Un\G9) Write the setting for averaging processing when using the sequence program for initial setting of the Q64AD. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 0 CH4 CH3 CH2 CH1 0 Averaging processing channel specification Time/number of times specification 1: Averaging processing...
  • Page 178 (5) CH Digital output value (Un\G11 to Un\G14) The A/D-converted digital output value is stored as a signed 16-bit binary. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 Data section Sign bit 1: Negative 2: Positive (a) Updating cycle When performing the average processing, the value is updated in each specified averaging processing cycle.
  • Page 179 APPENDICES (8) 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. Offset/gain setting mode Offset specification (Un\G22): channel to adjust the offset Offset/gain setting mode Gain specification (Un\G23): channel to adjust the gain 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)
  • Page 180 (10)Conversion speed setting (Un\G26) Set the conversion speed for all channels. When the value of 0003 to FFFF is set, an error occurs and the operation is performed in the previous setting. Conversion speed Setting value 20μs 80μs (a) Enabling the setting Turn OFF →...
  • Page 181 APPENDICES (12)Digital clipping enable/disable setting (Un\G29) Set whether the digital clipping function is enabled or disabled, for each channel. For details on the digital clipping function, refer to the following. • Digital Clipping Function ( Page 90, Section 8.12) b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 0: Enabled Data for b4 to b15 are fixed to "0".
  • Page 182 (b) Default value All channels are set to disable (1) as the default value. When Input signal error detection extension setting (Un\G27) is set to other than Disable (0), the setting in this area is ignored. (15)Warning output setting (Un\G48) Set whether the alarm output of process alarm is enabled or disabled for each channel.
  • Page 183 APPENDICES (17)Warning output flag (Process alarm) (Un\G50) Alarms can be checked if the alarm is the upper limit alarm or lower limit alarm, 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 (Process alarm) (Un\G50) status...
  • Page 184 (19)CH Scaling value (digital operation value) (Un\G54 to Un\G57) The scaling value (digital operation value) which is obtained by the scaling function, shift function, digital clipping function, and difference conversion function is stored as signed 16-bit binary. b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 Data section Sign bit 1: Negative...
  • Page 185 APPENDICES (21)CH Process alarm lower lower limit value (Un\G86, Un\G90, Un\G94, Un\G98), Process alarm lower upper limit value (Un\G87, Un\G91, Un\G95, Un\G99), Process alarm upper lower limit value (Un\G88, Un\G92, Un\G96, Un\G100), Process alarm upper upper limit value (Un\G89, Un\G93, Un\G97, Un\G101) Set the digital output value range for each channel.
  • Page 186 (22)CH Input signal error detection setting value (Un\G142 to Un\G145) Set the setting value to detect an input analog value error for each channel. For details on the input signal error detection function and input signal error detection extension function, refer to the following.
  • Page 187 APPENDICES When a value out of the setting range above is set to a channel, an error occurs in the channel, an error code is stored in Latest error code (Un\G19) and Error flag (XF) is turned to ON. The operation is performed in the setting configured before the error occurrence.
  • Page 188 (25)CH Difference conversion trigger (Un\G172 to Un\G175) Use this buffer memory as a trigger to start/stop the difference conversion. For details on the difference conversion function, refer to the following. • Difference Conversion Function ( Page 94, Section 8.13) Difference conversion trigger Setting value No request Trigger request...
  • Page 189 APPENDICES (27)CH Difference conversion status flag (Un\G190 to Un\G193) Difference conversion status can be checked with this flag. Difference conversion status flag Difference conversion status (Un\G190 to Un\G193) Not converted Converting difference • When CH Difference conversion trigger (Un\G172 to Un\G175) is turned No request (0) → Requested (1), Difference conversion status flag (Un\G190 to Un\G193) is turned to Converting difference (1).
  • Page 190 (30)CH Logging enable/disable setting (Un\G1000 to Un\G1003) Set whether the logging is enabled or disabled. For details on the logging function, refer to the following. • Logging function ( Page 98, Section 8.14) Logging enable/disable setting Setting value Enable Disable (a) Enabling the setting Turn OFF →...
  • Page 191 APPENDICES (31)CH Logging hold request (Un\G1008 to Un\G1011) Use Logging hold request (Un\G1008 to Un\G1011) as a trigger to hold (stop) the logging at any timing during the logging. For details on the logging function, refer to the following. • Logging function ( Page 98, Section 8.14) Logging hold request Setting value...
  • Page 192 (33)CH Logging data setting (Un\G1024 to Un\G1027) When the logging function is used, set whether the logging data type is Digital output value or Scaling value (digital operation value). For details on the logging function, refer to the following. • Logging function ( Page 98, Section 8.14) Target of logging Setting value...
  • Page 193 APPENDICES (34)CH Logging cycle setting value (Un\G1032 to Un\G1035), CH Logging cycle unit setting (Un\G1040 to Un\G1043) Set the cycle of storing the logging data. Set a value for 1 cycle in CH Logging cycle setting value (Un\G1032 to Un\G1035). Set a unit of cycle in CH Logging cycle unit setting (Un\G1040 to Un\G1043).
  • Page 194 (35)CH Logging points after trigger (Un\G1048 to Un\G1051) When the logging function is used, set the data points recorded from hold trigger occurs until logging holds (stops). For details on the logging function, refer to the following. • Logging function ( Page 98, Section 8.14) (a) Setting range Setting range is 1 to 10000.
  • Page 195 APPENDICES (37)CH Trigger data (Un\G1064 to Un\G1067) When the logging function is used, set the buffer memory address monitored for the occurrence condition of level trigger. For details on the logging function, refer to the following. • Logging function ( Page 98, Section 8.14) (a) Setting range Setting range is 0 to 4999.
  • Page 196 (38)Level data (Un\G1072 to Un\G1081) This is the area for storing the data to be monitored when the level trigger of the logging function is used. 10 types of data are available: Level data 0 (Un\G1072) to Level data 9 (Un\G1081) Use Level data (Un\G1072 to Un\G1081) to monitor device values in other than the A/D converter module and generate triggers.
  • Page 197 APPENDICES (40)CH Head pointer (Un\G1090 to Un\G1093) The buffer memory address where the oldest data is stored can be checked in CH Logging data (Un\G5000 to Un\G44999). The difference between the buffer memory address where the oldest data is stored and the start address in CH Logging data (Un\G5000 to Un\G44999) is stored.
  • Page 198 (42)CH Number of logging data (Un\G1106 to Un\G1109) The number of data stored in the logging data storage area can be checked during the logging. ● The number of logging data increases one by one each time data is stored from the logging starts. ●...
  • Page 199 APPENDICES (44)CH Logging cycle monitor value (Un\G1122 to Un\G1133) This is the area for storing the actual logging cycle which is calculated from the update cycle of data to be logged. When Operating condition setting request (Y9) is turned OFF → ON → OFF, the logging cycle is stored in CH Logging cycle monitor value (Un\G1122 to Un\G1133) in the corresponding channel where the logging function is enabled.
  • Page 200 (46)CH Flow amount integration enable/disable setting (Un\G1300 to Un\G1303) Set whether the flow amount integration function is enabled or disabled. For details on the flow amount integration function, refer to the following. • Flow amount integration function ( Page 110, Section 8.15) Flow amount integration enable/disable setting Setting value Enable...
  • Page 201 APPENDICES (48)CH Flow amount time unit setting (Un\G1316 to Un\G1319) Set a conversion value to convert the time unit of instantaneous flow amount to ms. Set CH Flow amount time unit setting (Un\G1316 to Un\G1319) to the range of the flow meter connected to the A/D converter module.
  • Page 202 (50)CH Integrated flow amount (Un\G1332 to Un\G1339) This is the area for storing the result of the integral processing performed by the flow amount integration function. The integrated flow amount is stored with 32-bit signed binary. CH1 Integrated flow amount (H) (Un/G1333) CH1 Integrated flow amount (L) (Un/G1332) Data section Data section...
  • Page 203 APPENDICES (53)CH Flow amount integration temporary stop flag (Un\G1364 to Un\G1367) Flow amount integration temporary stop request status can be checked with this flag. Flow amount integration temporary stop Stored value request status No temporary stop request Temporary stopping • While the flow amount integration function temporarily stops by CH Flow amount integration temporary stop request (Un\G1356 to Un\G1359) being turned No request (0) →...
  • Page 204 (56)Latest error code address (Un\G1800) The latest address of error log is stored. (57)Error history No. (Un\G1810 to Un\G1969) Up to 16 errors occurred in the module are recorded. b8 b7 Un\G1810 Error code Un\G1811 First two digits of the year Last two digits of the year Un\G1812 Month...
  • Page 205: Appendix 3 I/O Conversion Characteristic Of A/D Conversion

    APPENDICES Appendix 3 I/O Conversion Characteristic of A/D Conversion I/O conversion characteristic of A/D conversion means the slope of the line connected between the offset value and gain value when converting the analog signal (voltage or current input) from outside of programmable controller to digital value.
  • Page 206 (3) Voltage input characteristic The following graph shows the voltage input characteristic. Practical analog input range 20479 20000 -480 -20000 -20480 Analog input voltage (V) Practical analog input range 22979 22500 20000 -5000 -5480 -20000 -20480 Analog input voltage (V) Input range setting Offset value Gain value...
  • Page 207 APPENDICES Set the offset value and gain value in user range setting within the range satisfying the following conditions. If the following conditions are not satisfied, A/D conversion may not be properly performed. • Setting range for offset value and gain value: -10 to 10V •...
  • Page 208 (4) Current input characteristic The following graph shows the current input characteristic. Practical analog input range 20479 20000 -480 -20000 -20480 Analog input current (mA) Practical analog input range 22979 22500 20000 -5000 -5480 -20000 -20480 Analog input current (mA) Input range setting Offset value Gain value...
  • Page 209 APPENDICES Set the offset value and gain value in the user range setting within the range satisfying the following conditions. If the following conditions are not satisfied, A/D conversion may not be properly performed. • gain value ≤ 20mA, offset value ≥ 0mA •...
  • Page 210: Appendix 4 A/D Conversion Accuracy

    Appendix 4 A/D Conversion Accuracy The A/D conversion accuracy is the accuracy for the maximum value of digital output value. Even when changing the offset/gain setting and input range to change the input 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 211: Appendix 5 Dedicated Instruction

    APPENDICES Appendix 5 Dedicated Instruction This chapter describes the dedicated instructions that can be used in A/D converter module. Appendix 5.1 Instruction list The following shows the dedicated instructions that can be used in the A/D converter module. Instruction Description •...
  • Page 212: 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 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 bits Mode change 0: changed to the normal mode...
  • Page 213 APPENDICES (4) Program example The following shows the program of the A/D 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 214: 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 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 bits Within the range of Start number of device where the control data is stored...
  • Page 215 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) Specify the type of offset/gain setting value to read out.
  • Page 216 Device Item Setting data Setting range Set by CH3 User range settings gain value (L) System ⎯ ⎯ CH3 User range settings gain value (H) System ⎯ ⎯ CH4 User range settings offset value (L) ⎯ ⎯ System CH4 User range settings offset value (H) System ⎯...
  • Page 217 APPENDICES (5) Program example The following shows the program to read out the offset/gain setting value of the A/D converter module, installed in I/O number X/Y10 to X/Y1F, by turning ON M11. Sets a control data. Specifies voltage. Reads a offset/gain setting value. Dedicated instruction (GP.OGLOAD) Processing when an instruction execution is failed...
  • Page 218: Appendix 5.4 G(P).Ogstor

    Appendix 5.4 G(P).OGSTOR Command G.OGSTOR G.OGSTOR Command GP.OGSTOR 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 bits Within the range of Start number of device where the control data is stored...
  • Page 219 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) The value which is set for Pass data classification setting +2 by G(P).OGLOAD instruction is stored.
  • Page 220 Device Item Setting data Setting range Set by CH3 User range settings offset value (H) ⎯ ⎯ System CH3 User range settings gain value (L) ⎯ ⎯ System ⎯ ⎯ CH3 User range settings gain value (H) System ⎯ ⎯ CH4 User range settings offset value (L) System CH4 User range settings offset value (H)
  • Page 221 APPENDICES (5) Program example The following shows the programs to write the offset/gain setting value to A/D converter module, installed in I/O number X/Y10 to X/Y1F, by turning OFF M11. Sets a control data. Restores a offset/gain setting value. Dedicated instruction (GP.OGSTOR) Processing when an instruction execution is failed...
  • Page 222: 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) MELSEC-L CC-Link IE Field Network Head Module User's Manual Appendix 7 Addition and Change of Functions Appendix 7.1...
  • Page 223 APPENDICES (1) CH Scaling value (digital operation value) (Un\G54 to Un\G57) When the digital clipping function, scaling function, shift function, or difference conversion function is not used, the same value as the one in CH Digital output value (Un\G11 to Un\G14) is stored. (a) When the non-compatible version of A/D converter module is used When the scaling function is not used, the value is not stored in CH Scaling value (digital operation value)
  • Page 224 (5) Scaling function The scaling function can be used in a channel in which the user range setting is used. For details on the function, refer to the following. • Scaling function ( Page 77, Section 8.9) (a) When the non-compatible version of A/D converter module is used For the A/D converter module of non-compatible version, when the scaling function is set to be enabled in a channel in which the user range setting is used, an error occurs (error code: 99 ).
  • Page 225: Appendix 8 Differences With Q Series

    Appendix 8 Differences with Q Series The following describes the differences between L series and Q series, and the precautions for configuring the L-series system using the Q-series program. The description in this chapter is in the case of Q64AD.
  • Page 226: Appendix 8.1 Precautions For Applying Q Series Sequence Program

    Appendix 8.1 Precautions for Applying Q Series Sequence Program The initial setting program of a Q-series A/D converter module is applicable to the program of the L60AD4 for the input signals and the buffer memory assignment of the L60AD4 are compatible between the L60AD4 and Q64AD. The resolution is also applicable with the use of the module scaling function.
  • Page 227 APPENDICES (2) Resolution Since the module has 1/20000 resolution, the program can be applied from Q-series A/D converter modules just by using the scaling function. Note that it is the prior condition of the sequence program, applied from a channel isolated A/D converter module (Q68AD-G or Q66AD-DG), does not have the scaling function program.
  • Page 228: Appendix 9 When Using Gx Developer Or Gx Configurator-Ad

    Appendix 9 When Using GX Developer or GX Configurator- Appendix 9 describes the operating procedure when using GX Developer and GX Configurator-AD. (1) Compatible software version For compatible software version, refer to the following. MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) Appendix 9.1 Operation of GX Developer Configure the setting on the following screen when using GX Developer.
  • Page 229 APPENDICES (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 input range Input range setting 4 to 20mA 0 to 20mA Input range setting 1 to 5V (CH1 to CH4)
  • Page 230: Appendix 9.2 Operation Of Gx Configurator-Ad

    Appendix 9.2 Operation of GX Configurator-AD When setting the A/D converter module parameter using GX Configurator-AD, the display method such as a setting screen differs from that of GX Works2. This section describes the screen display method of GX Configurator-AD. Setting of contents added to the A/D conversion module cannot be configured when the upper 5 digits of product information are 13041 or later.
  • Page 231 APPENDICES Screen for selecting a target intelligent GX Developer screen function module [Tools] - [Intelligent function utility] - [Start] Initial setting Auto refresh Initial setting screen Auto refresh setting screen Initial setting Initial setting screen...
  • Page 232 <<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 233: Appendix 10 External Dimensions

    APPENDICES Appendix 10 External Dimensions The following shows the external dimensions of A/D converter module. (1) L60AD4 DIN rail center 28.5 (Unit: mm)
  • Page 234 Memo...
  • Page 235: Index

    INDEX ..202 Logging data (Un\G5000 to Un\G44999) Logging data setting ....208 A/D conversion accuracy ....190 (Un\G1024 to Un\G1027) .
  • Page 236 ..202 ..172 Error history No. (Un\G1810 to Un\G1969) Operating condition setting request (Y9) ......119 Error log function .
  • Page 237: Instruction Index

    INSTRUCTION INDEX ......210 G(P).OFFGAN ......212 G(P).OGLOAD .
  • Page 238: 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 239: 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 240 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 244 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:

L60ad4

Table of Contents