Download Print this page

Mitsubishi Electric MELSEC iQ-R User Manual

High speed analog-digital converter module
Hide thumbs

Advertisement

Quick Links

MELSEC iQ-R High Speed Analog-Digital
Converter Module
User's Manual (Application)
-R60ADH4

Advertisement

loading

  Also See for Mitsubishi Electric MELSEC iQ-R

  Summary of Contents for Mitsubishi Electric MELSEC iQ-R

  • Page 1 MELSEC iQ-R High Speed Analog-Digital Converter Module User's Manual (Application) -R60ADH4...
  • Page 3: Safety Precautions

    CPU module cannot detect any error. To ensure safety operation in such a case, provide a safety mechanism or a fail-safe circuit external to the programmable controller. For a fail-safe circuit example, refer to "General Safety Requirements" in the MELSEC iQ-R Module Configuration Manual.
  • Page 4 [Design Precautions] WARNING ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 5 [Design Precautions] CAUTION ● Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise. ●...
  • Page 6 [Installation Precautions] CAUTION ● Use the programmable controller in an environment that meets the general specifications in the Safety Guidelines included with the base unit. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product. ●...
  • Page 7 For wiring, refer to the MELSEC iQ-R Module Configuration Manual. ● For Ethernet cables to be used in the system, select the ones that meet the specifications in the user's...
  • Page 8 [Startup and Maintenance Precautions] WARNING ● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction. ● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the battery to produce heat, explode, ignite, or leak, resulting in injury and fire.
  • Page 9 [Startup and Maintenance Precautions] CAUTION ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 ● When disposing of this product, treat it as industrial waste. ● When disposing of batteries, separate them from other wastes according to the local regulations. For details on battery regulations in EU member states, refer to the MELSEC iQ-R Module Configuration Manual.
  • Page 11: Conditions Of Use For The Product

    Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC iQ-R series programmable controller to handle the product correctly. When applying the program examples provided in this manual to an actual system, ensure the applicability and confirm that it will not cause system control problems.
  • Page 12: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 13 CHAPTER 2 PARAMETER SETTINGS Basic Setting ................146 Application Setting .
  • Page 14: Relevant Manuals

    Standard Functions/Function Blocks) modules, and standard functions/function blocks [SH-081266ENG] e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool. e-Manual has the following features: • Required information can be cross-searched in multiple manuals.
  • Page 15: Terms

    Term Description A/D converter module The abbreviation for MELSEC iQ-R series high speed analog-digital converter module Buffer memory A memory in an intelligent function module for storing data (such as setting values and monitored values) to be transferred to the CPU module...
  • Page 16: Manual Page Organization

    MANUAL PAGE ORGANIZATION In this manual, pages about functions, I/O signals, and buffer memory areas 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. Ò...
  • Page 17: Chapter 1 Functions

    The A/D conversion is performed at the inter-module synchronization cycle in this mode. Offset/gain setting mode The mode for the offset/gain setting. For details on the offset/gain setting, refer to the following.  MELSEC iQ-R High Speed Analog-Digital Converter Module User's Manual (Startup) 1 FUNCTIONS 1.1 Modes...
  • Page 18 Mode transition The following figure and table describe the transition condition for each mode. At the power-on or the reset of CPU module Inter-module Offset/gain setting mode synchronization mode Simultaneous conversion mode Normal mode Normal mode Normal mode (medium speed: 10μs/CH) (low speed: 20μs/CH) (high speed: 1μs/CH) Transition condition...
  • Page 19 Checking method The current mode can be checked with the following items. Mode RUN LED status Value stored in 'Operation 'Offset/gain setting mode mode monitor' (Un\G60) status flag' (XA) Normal mode Normal mode (high speed: 1s/CH) Normal mode (medium speed: 10s/CH) Normal mode (low speed: 20s/CH) Simultaneous conversion mode Inter-module synchronization mode...
  • Page 20: Processing Of Each Function

    Processing of Each Function The functions are processed in the order shown below. If multiple functions are enabled, the output of the first processed function is used as the input of the next function. • In the normal mode (high speed: 1s/CH) Analog input Digital operation value (CH1 to CH4)
  • Page 21 • In the normal mode (medium speed: 10s/CH) and normal mode (low speed: 20s/CH) Analog input Digital output value (CH1 to 4) Maximum value (10) Minimum value Digital operation value Logging data area Processing details Input signal error detection function The A/D conversion is executed in one of the following A/D conversion methods.
  • Page 22 • In the simultaneous conversion mode or inter-module synchronization mode Analog input Digital output value (CH1 to CH4) Maximum value Minimum value Logging data area Processing details Input signal error detection function The A/D conversion is executed in one of the following A/D conversion methods. •...
  • Page 23: Range Switching Function

    Range Switching Function Common This function switches the input range of an analog input for each channel. Switching the range makes it possible to change the I/O conversion characteristics. Setting procedure Set the input range to be used in the "Input range setting". [Navigation window] ...
  • Page 24: A/D Conversion Enable/Disable Setting Function

    A/D Conversion Enable/Disable Setting Function Common This function controls whether to enable or disable the A/D conversion for each channel. Setting procedure Set "A/D conversion enable/disable setting" to "A/D conversion enable" or "A/D conversion disable". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [A/D conversion enable/disable setting function] 1 FUNCTIONS 1.4 A/D Conversion Enable/Disable Setting Function...
  • Page 25: A/D Conversion Method

    A/D Conversion Method Common An A/D conversion method can be set for each channel. The following lists available conversion methods. • Sampling processing • Averaging processing (time average, count average, moving average) • Primary delay filter • Digital filter (low pass filter, high pass filter, band pass filter) Overview of A/D conversion The A/D conversion can be executed as follows depending on the mode.
  • Page 26: Sampling Processing

    Sampling processing Common Analog input values are converted at each sampling cycle and stored in the buffer memory as digital output values. The conversion cycle varies depending on the mode. In the normal mode The conversion cycle in the normal mode is the sampling cycle. Whether to enable or disable the A/D conversion can be set for each channel.
  • Page 27 In the simultaneous conversion mode In the simultaneous conversion mode, the conversion cycle is fixed to 5s regardless of the number of conversion enabled channels. The A/D conversion is performed simultaneously in all channels. When the A/D conversion is enabled for CH1 and CH2 in the simultaneous conversion mode, digital output values of CH1 and CH2 are updated every 5s.
  • Page 28: Averaging Processing

    Averaging processing Common The A/D converter module performs the averaging processing on digital output values for each channel. The averaged values are stored in the buffer memory. The following three types of averaging processing are provided. • Time average • Count average •...
  • Page 29 Count average Medium speed Low speed The A/D conversion is performed for the set number of times and the averaging processing is performed on the total value excluding the maximum and the minimum values. The averaged values are stored in the buffer memory. The time taken for the mean value calculated through the average processing to be stored in the buffer memory changes depending on the number of channels where the A/D conversion is enabled.
  • Page 30 Setting procedure Set "Average processing setting" to "Time average", "Count average", or "Moving average". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [A/D conversion method] Set a value for "Time average/Count average/Moving average/Primary delay filter constant setting". The setting range varies depending on the "A/D conversion method".
  • Page 31: Primary Delay Filter

    Primary delay filter Medium speed Low speed The A/D converter module smooths transient noise of an analog input according to the set time constant. The smoothed digital output value is stored in the buffer memory. Time constant is the time taken for the digital output value to reach 63.2% of the steady-state value. The degree of smoothing changes depending on the setting of a time constant.
  • Page 32 Setting procedure Set "Average processing setting" to "Primary delay filter". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [A/D conversion method] Set a value for "Time average/Count average/Moving average/Primary delay filter constant setting". A/D conversion method Setting range Primary delay filter...
  • Page 33: Digital Filter

    Digital filter Medium speed Low speed When data is obtained from a sensor connected with the A/D converter module, an analog input value may be output with unnecessary noise from the sensor. This function eliminates noise by attenuating unnecessary frequency data to obtain only digital values with target frequency data.
  • Page 34 Characteristics and advantages of the digital filters The following table lists the characteristics and advantages of the digital filters. Filter type Characteristic Advantage Low pass filter • Analog input values are processed every conversion cycle. G(dB) (low frequency pass • This filter attenuates frequency signals between a pass band edge filter) frequency and the pass band edge frequency + an attenuation band width to cut off frequency signals higher than the attenuation band.
  • Page 35 How to use the digital filters To use the digital filters, configure the setting as shown below. Filter type Item Setting and setting range Low pass filter 'CH1 Averaging process specification' Set Low pass filter (5). (Un\G501) 'CH1 LPF Pass band edge frequency' Set a pass band edge frequency for the low pass filter.
  • Page 36 Filter type Item Setting and setting range High pass filter 'CH1 Averaging process specification' Set High pass filter (6). (Un\G501) 'CH1 HPF Pass band edge frequency' Set a pass band edge frequency for the high pass filter. (Un\G562) The setting range varies depending on the conversion cycle. The following shows the setting range of the frequency.
  • Page 37 Filter type Item Setting and setting range Band pass filter 'CH1 Averaging process specification' Set Band pass filter (7). (Un\G501) 'CH1 BPF Pass band edge frequency (Low)' Set a pass band edge frequency for the band pass filter. Set the frequency that (Un\G564) becomes the boundary between the lower pass band and an attenuation band and 'CH1 BPF Pass band edge frequency (High)'...
  • Page 38 Attenuation characteristic and response time The A/D converter module uses FIR filters as the digital filters. An FIR filter has linear phase response, provides system stability, and displays a steep attenuation characteristic, but takes time to respond. ■Attenuation characteristic For the digital filters of the A/D converter module, the frequency boundary (pass band edge frequency) between a pass band and an attenuation band is set.
  • Page 39 ■Response time Response time is the time taken to obtain an attenuation characteristic (-53(dB)) after filter processing is started. The following figure shows the response time. The output waveform obtained after an input SIN wave passed through a digital filter. A: Amplitude t: Time (ms) (1) Input waveform...
  • Page 40 Setting example The following shows the setting example of a digital filter. ■Example 1 The following describes an example under the following conditions with a low pass filter. • Operation mode: Normal mode (medium speed: 10s/CH) • Channels to be used: CH1 •...
  • Page 41: Scaling Function

    Scaling Function High speed Medium speed Low speed This function performs the scale conversion on digital output values. The values are converted within a specified range between a scaling upper limit value and scaling lower limit value. This function reduces the time and effort to create a program of the scale conversion.
  • Page 42 Setting example When 20000 is set for the scaling upper limit value and 4000 is set for the scaling lower limit value for the module with the input range of 0 to 5V 32000 V: Analog input voltage (V) : Scaling upper limit value: 20000 : Scaling lower limit value: 4000 Voltage input (V) Digital output value...
  • Page 43 When 20000 is set for the scaling upper limit value and 4000 is set for the scaling lower limit value for the module with the input range of 1 to 5V (extended mode) 32000 V: Analog input voltage (V) : Scaling upper limit value: 20000 : Scaling lower limit value: 4000 Voltage input (V) Digital output value...
  • Page 44: Shift Function

    Shift Function Medium speed Low speed This function adds (shifts) a set conversion value shift amount to a digital output value and stores the result in the buffer memory. The change in the conversion value shift amount is reflected on the digital operation value on a real-time basis. Therefore, fine adjustment can be easily performed when the system starts.
  • Page 45 When the I/O conversion characteristics are adjusted in a channel where the input range of -10 to 10V is set by the shift function 'CH1 Digital output value' (Un\G400) (52000) 'CH1 Conversion value shift amount' (Un\G472) "+20000"  'CH1 Digital operation value' (Un\G402) 32767 32000 -12000...
  • Page 46 When the following values are set for the A/D converter module with the input range of 0 to 5V • 'CH1 Scaling enable/disable setting' (Un\G504): Enable (0) • 'CH1 Scaling upper limit value' (Un\G506): 12000 • 'CH1 Scaling lower limit value' (Un\G508): 2000 •...
  • Page 47: Digital Clipping Function

    Digital Clipping Function Medium speed Low speed This function fixes the digital operation value with the maximum digital output value and the minimum digital output value when the corresponding current or voltage exceeds the input range. List of output ranges The following table lists the output ranges of the digital operation values when the digital clipping function is enabled for each range.
  • Page 48 Setting example When the following values are set for the A/D converter module with the input range of 0 to 5V • 'CH1 Scaling enable/disable setting' (Un\G504): Enable (0) • 'CH1 Scaling upper limit value' (Un\G506): 12000 • 'CH1 Scaling lower limit value' (Un\G508): 2000 •...
  • Page 49: Difference Conversion Function

    Difference Conversion Function Medium speed Low speed This function subtracts the difference conversion reference value from a digital operation value and stores the acquired value in the buffer memory. The digital operation value at the start of this function is treated as 0 (reference value). Thereafter, values that increased or decreased from the reference value are stored in the buffer memory.
  • Page 50 ■Operations of when an input signal error has occurred When an input signal error has occurred, even if 'CH1 Difference conversion trigger' (Un\G470) changes from No request (0) to Trigger request (1), the difference conversion does not start, and 'CH1 Difference conversion status flag' (Un\G408) and 'CH1 Difference conversion reference value' (Un\G432) are not updated.
  • Page 51 ■Operations of when 'Operating condition setting request' (Y9) is turned on and off • During the difference conversion, even when 'Operating condition setting request' (Y9) is turned on and off, the difference conversion continues without updating the difference conversion reference value. To update the difference conversion reference value, restart the difference conversion by changing 'CH1 Difference conversion trigger' (Un\G470) from Trigger request (1) to No request (0), and Trigger request (1) again.
  • Page 52 ■Operation of when the averaging processing is set If the difference conversion starts after the averaging processing is set, the digital operation value at the completion of the averaging processing is determined as 'CH1 Difference conversion reference value' (Un\G432). 'CH1 Difference conversion status flag' (Un\G408) turns to Converting difference (1).
  • Page 53: Maximum Value/Minimum Value Hold Function

    1.10 Maximum Value/Minimum Value Hold Function Simultaneous Medium speed Low speed Synchronization conversion This function stores the maximum and minimum values of digital operation values for each channel in the buffer memory. In the simultaneous conversion mode or inter-module synchronization mode, the maximum and minimum values of the digital output values are stored.
  • Page 54: Warning Output Function

    1.11 Warning Output Function Simultaneous Medium speed Low speed Synchronization conversion This function has process alarms and rate alarms. The following sections describe process alarms and rate alarms. Process alarm Simultaneous Medium speed Low speed Synchronization conversion This function outputs a warning when a digital operation value enters the preset warning output range. Digital operation value Warning output range Out of warning output range...
  • Page 55 Operation ■Operation performed when a warning is output When a digital operation value is equal to or greater than 'CH1 Process alarm upper upper limit value' (Un\G514), or the value is equal to or smaller than 'CH1 Process alarm lower lower limit value' (Un\G520) and thus the value enters the warning output range, a warning is output as follows.
  • Page 56 Setting procedure Set "Warning output setting (Process alarm)" to "Enable". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Warning output function (Process alarm)] Set values for "Process alarm upper upper limit value", "Process alarm upper lower limit value", "Process alarm lower upper limit value", and "Process alarm lower lower limit value".
  • Page 57: Rate Alarm

    Rate alarm Medium speed Low speed This function outputs a warning when the change rate of a digital output value is equal to or greater than the rate alarm upper limit value, or the rate is equal to or smaller than the rate alarm lower limit value. Digital output value 'CH1 Digital output value' (Un\G400) Rate alarm warning...
  • Page 58 Operation ■Operation performed when a warning is output Digital output values are monitored every rate alarm warning detection cycle. When a change rate of a digital output value (from a previous value) is equal to or greater than the rate alarm upper limit value, or the rate is equal to or smaller than the rate alarm lower limit value, a warning is output as follows.
  • Page 59 Judgment of rate alarm A change rate is judged with digital values per rate alarm warning detection cycle, which are calculated using values in 'CH1 Rate alarm upper limit value' (Un\G524) and 'CH1 Rate alarm lower limit value' (Un\G526). The following shows the conversion formulas to obtain judgment values (Unit: digit) per rate alarm warning detection cycle. /1000) ...
  • Page 60 Application examples of rate alarms A rate alarm serves to monitor that the change rate of a digital output value lies in a limited range as shown below: To monitor that a rising rate of a digital output value is within the specified range +30% +20% : Change rate of the digital output value (%)
  • Page 61 Setting procedure Set "Warning output function (Rate alarm)" to "Enable". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Warning output function (Rate alarm)] Set a warning detection cycle of rate alarms. Set the cycle in "Rate alarm detection cycle setting". Item Setting range Rate alarm detection cycle setting...
  • Page 62: Input Signal Error Detection Function

    1.12 Input Signal Error Detection Function Simultaneous Medium speed Low speed Synchronization conversion This function outputs an alarm when an analog input value exceeds the preset range. Detection range Out of detection range Analog input value Included CH2 Analog input value CH1 Analog input value Normal input value...
  • Page 63 Detection method Select a detection method from the following table. Detection method Detection condition 0: Disable Input signal errors are not detected.  1: Upper and lower limit An input signal error is detected when the detection analog input value is equal to or greater Error detection than the input signal error detection upper limit value, or when the analog input value...
  • Page 64 ■Simple disconnection detection An alarm is output when an analog input value is 0.5V or lower or 2mA or lower. By combining this function with the extended mode in the input range setting, simple disconnection detection is enabled. When an analog input value satisfies either of the following conditions, it is regarded as a disconnection and 'Input signal error detection flag' (Un\G40) turns on.
  • Page 65 Clearing input signal errors How to clear the input signal error can be selected from the following depending on the setting of 'Input signal error detection auto-clear enable/disable setting' (Un\G302). ■When 'Input signal error detection auto-clear enable/disable setting' (Un\G302) is Enable (0) After the analog input value falls within the set range, the A/D converter module automatically arranges the following status.
  • Page 66 Setting of the input signal error detection upper/lower limit value ■Input signal error detection upper limit value Set the input signal error detection upper limit value in increments of 1 (0.1%) using the input signal error detection upper limit setting value. This value is calculated by adding "Analog input range width (Gain value - Offset value) ...
  • Page 67 Setting procedure Select a detection method in "Input signal error detection setting". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Input signal error detection function] Set values for "Input signal error detection lower limit setting value" and "Input signal error detection upper limit setting value".
  • Page 68 Setting example of the input signal error detection The following shows a setting example for detecting an input signal error when an analog input value is greater than 21.6mA or is smaller than 0.4mA in the channel set as shown below. Item Setting value Input range...
  • Page 69: Using One Of The Logging Functions Depending On The Intended Use

    1.13 Using One of the Logging Functions Depending on the Intended Use Simultaneous High speed Low speed Synchronization conversion As logging functions, the normal logging function, the continuous logging function, and the high speed continuous logging function are provided. The normal logging function, continuous logging function, and high speed continuous logging function have different logging methods of data.
  • Page 70 Differences of each logging function The following tables list differences between the normal logging function and the continuous logging function. • Combination with each function : Available, : Restricted use, : Not available Function Logging function Normal logging Continuous logging Continuous logging High speed continuous function...
  • Page 71 Specifications of a Logging function logging function Normal logging Continuous logging Continuous logging High speed continuous function function function logging function (simultaneous (inter-module conversion mode) synchronization mode) Reading of logging data Reads data into a CSV file or Reads data by 5000 points into file registers without stopping Reads data by 10000 points file registers after logging is the logging...
  • Page 72 Procedure for selecting logging functions The following figure shows an example of how to select a logging function to be used. Select a suitable function considering intended applications of the A/D converter module and features of each logging function. Start Is it necessary to synchronize data collecting timings between channels?
  • Page 73: Normal Logging Function

    1.14 Normal Logging Function Low speed This function logs (records) digital output values or digital operation values for up to 90000 points. Logged data are stored in the buffer memory. In addition, the data collection can be stopped by using the status change of the data as a trigger. This function also helps the error analysis since the data before and after the occurrence of an error is held.
  • Page 74 ■Stopping the logging operation Logging data is updated at a high speed during the logging. Stop logging when the logging data needs to be referred to without paying attention to the updating cycle. Logging can be stopped by the hold trigger. •...
  • Page 75 ■Logging data The areas of 90000 points for logging data storage are prepared in all channels. To distribute the areas to each channel, set a value in Logging data points setting in increments of 100 points. When setting the number of points for logging data areas to be used by each channel as follows *1*2 Item Setting value...
  • Page 76 Logging cycle ■Logging cycle setting Set the logging cycle with 'CH1 Logging cycle setting value' (Un\G538) and 'CH1 Logging cycle unit setting' (Un\G539). The following table lists the setting range for each cycle unit. Setting value of CH1 Logging cycle unit setting Setting range of CH1 Logging cycle setting value s(0) 20 to 32767...
  • Page 77 Number of logging data With 'CH1 Number of logging data' (Un\G440, Un\G441), the number of valid data points in Logging data area (Un\G10000 to Un\G99999) can be checked. When the number of collected data points is less than the When the number of collected data points reaches the number number of points (N) set in 'CH1 Logging data points setting' of points (N) set in 'CH1 Logging data points setting' (Un\G536) (Un\G536)
  • Page 78 Logging status monitor value The execution status of logging can be checked with 'CH1 Logging status monitor value' (Un\G458). Stored value of 'CH1 Logging status monitor value' (Un\G458) Execution status of logging Stop (disabled) Logging hold request waiting (during logging) Level trigger waiting (during logging) Trigger existing (during logging) Logging hold completed (stop)
  • Page 79: Stopping The Logging Operation

    Stopping the logging operation Logging operation stops (holds) when the preset trigger condition is satisfied and data is collected for the set number of data points. A trigger that is generated when the condition is satisfied is called a hold trigger. To generate a hold trigger, the following two methods are available.
  • Page 80 Checking data when a hold trigger has occurred The storage location of the data of when a hold trigger has occurred can be checked with 'CH1 Trigger pointer' (Un\G442, Un\G443). The offset value counted from the start address is stored in 'CH1 Trigger pointer' (Un\G442, Un\G443). The value to be stored in 'CH1 Trigger pointer' (Un\G442, Un\G443) when the logging operation stops under the following conditions •...
  • Page 81 Restarting the logging To restart logging, check that ON (1) is stored in 'CH1 Logging hold flag' (Un\G409) and turn off 'CH1 Logging hold request' (Y1). After logging is restarted, a value is stored from the start buffer memory area of Logging data area (Un\G10000 to Un\G99999).
  • Page 82: Logging Hold Request

    Logging hold request A hold trigger is generated from a program at any timing. Logging stops when data collection for the preset number of data points is completed after 'CH1 Logging hold request' (Y1) is turned on. 'CH1 Logging hold request' (Y1) Logging data area (Un\G10000 to Un\G99999)
  • Page 83: Level Trigger

    Level trigger When a value in the monitored buffer memory area of the A/D converter module satisfies a preset condition, a hold trigger is generated. A level trigger is monitored on the updating cycle of a digital output value or a digital operation value. Initial setting of a level trigger ■Setting a target to be monitored As a condition to generate a hold trigger, set the buffer memory address to be monitored in 'CH1 Trigger data' (Un\G543).
  • Page 84 ■Setting the condition to be monitored • Set a condition to generate a hold trigger in 'CH1 Level trigger condition setting' (Un\G542). Setting value Description Level trigger (Rise) (1) A hold trigger is generated under the condition (a). Level trigger (Fall) (2) A hold trigger is generated under the condition (b).
  • Page 85 ■Setting of the hold trigger generation timing Set the timing of detecting a hold trigger after the number of the generated level triggers is counted in 'CH1 Trigger judgment count setting value' (Un\G545). When level triggers are generated for the set number of level triggers, a hold trigger is generated.
  • Page 86 ■Relation between items The following figure shows the relation between items to be set in the initial setting of a level trigger. Level trigger condition setting > (Rise (1)) < (Fall (2)) A trigger is generated. > or < (Rise and fall (3)) Trigger data Trigger setting value -32768 to 32767...
  • Page 87 Operation of a level trigger To use a level trigger, turn on 'CH1 Logging hold request' (Y1) in advance. At the point where 'CH1 Logging hold request' (Y1) is turned on, the module becomes the trigger condition wait status. The logging stops when data collection for the set number of data points is completed after the trigger condition is satisfied. 'CH1 Logging hold request' (Y1) Unestablished...
  • Page 88: Initial Settings Of The Normal Logging Function

    Initial settings of the normal logging function The following describes the initial setting procedure to use the normal logging function. Setting procedure Select one of the following setting procedures depending on the setting of "Level trigger condition setting". ■When setting "Level trigger (Condition: Rise)", "Level trigger (Condition: Fall)", or "Level trigger (Condition: Rise and fall)"...
  • Page 89 ■When setting "Process alarm (Upper limit warning)", "Process alarm (Lower limit warning)", or "Process alarm (Upper limit warning and lower limit warning)" in "Level trigger condition setting" Set "A/D conversion enable/disable setting" to "A/D conversion enable". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [A/D conversion enable/disable setting function] Set "Warning output setting (Process alarm)"...
  • Page 90 ■When setting "Disable" for "Level trigger condition setting" Set "A/D conversion enable/disable setting" to "A/D conversion enable". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [A/D conversion enable/disable setting function] Set "Logging enable/disable setting" to "Normal logging". [Navigation window] ...
  • Page 91: Logging Read Function

    Logging read function More than 90000 points of logging data can be stored by transferring the device data to the file register of the CPU module without stopping logging. This function reduces the takt time in a test demanding high-speed sampling. Overview of the logging read function After logging starts, an interrupt request is sent to the CPU module and an interrupt program is executed every time data is logged for the preset number of logging read points.
  • Page 92 Data checking method ■Current logging read pointer • The head pointer read from Logging data area (Un\G10000 to Un\G99999) with the interrupt processing is stored in 'CH1 Current logging read pointer' (Un\G444, Un\G445). • The default value of 'CH1 Current logging read pointer' (Un\G444, Un\G445) is -1. •...
  • Page 93 Operation The logging read function starts after interrupt pointers are set and 'Operating condition setting request' (Y9) is turned on and off. This function repeats its operation every time data is logged for the amount equivalent to the logging read points monitor value.
  • Page 94 Setting procedure To use the logging read function, both the logging read function and the interrupt setting must be set. Set "Condition target setting" to "Logging read". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Interrupt setting] Set "A/D conversion enable/disable setting"...
  • Page 95 • Program example Enable only the interrupt pointer I50. Initialize 'CH1 Logging read points monitor value' (U0\G448, U0\G449) and the write position of the save destination file register. Set the maximum number of storage data points of the save destination file register. Clear 'Interrupt factor mask [1]' (U0\G124).
  • Page 96: Saving To A Csv File

    Saving to a CSV file The logging data stored in the buffer memory areas can be saved to a CSV file by using function blocks (FBs). The save data is sorted in a time series, where the logging data can be easily checked. However, function blocks (FBs) can be executed only when the logging operation is stopped.
  • Page 97: Continuous Logging Function

    1.15 Continuous Logging Function Simultaneous Synchronization conversion This function simultaneously logs digital output values in four channels and continuously transfers logging data to the CPU module without stopping logging. This function continuously collects the data to which the A/D conversion have been performed simultaneously in four channels at a high speed (5s cycles at a maximum).
  • Page 98 Check items before the start of continuous logging ■Operation modes and functions Before starting continuous logging, check the operation mode and the settings of each function. Item Description Operation mode Check that the simultaneous conversion mode or inter-module synchronization mode is set. A/D conversion enable/disable setting function Check that the A/D conversion is enabled for the channel to be used.
  • Page 99 Starting continuous logging Changing the value of 'Continuous logging start/stop request' (Un\G100) from Stop (0) to Start (1) starts the continuous logging on the set continuous logging cycle. After the continuous logging is started, the update of 'CH1 Digital output value' (Un\G400) performed at every 5s stops.
  • Page 100 ■Counting the number of logging data points The value of 'CH1 Number of logging data' (Un\G440, Un\G441) increases by 5000 every time data of 5000 points has been logged. After the number of data points reaches 720000000, the counter is reset to 0. When the value of 'CH1 Number of logging data' (Un\G440, Un\G441) is 719995000 and then data of 5000 points is continuously logged, the value changes as follows: 719995000 ...
  • Page 101: Transfer Of Continuous Logging Data

    • For the file register capacity setting, refer to the MELSEC iQ-R CPU Module User's Manual (Application). • For details on the function block for continuous logging data transfer, refer to the MELSEC iQ-R Analog- Digital Converter Module/Digital-Analog Converter Module Function Block Reference.
  • Page 102 ■Program example to transfer data with the function block To start the continuous logging and copy logging data (CH1) for 100000 points and register them in file registers (ZR0 to ZR99999) of the CPU module continuously • Label settings Classification Label name Description Device...
  • Page 103 = Approx. 63 channels *1 Maximum processing time of each instruction is used for the calculation. ( MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks)) *2 This value is for when the continuous logging is executed every 5s cycle. When using the continuous logging cycle different from 5s, apply the value obtained from T(ms) below for the calculation of the number of channels.
  • Page 104 Transfer of data with the interrupt function ON of Continuous logging data storage can be set as an interrupt factor of the interrupt function. When the above item is set, the interrupt program is executed on the timing when the logging data for 5000 points are stored in a buffer memory area.
  • Page 105 • Scan program The settings are configured as follows by the contact turning on for one scan after RUN. 'G_udWriteStartPosition' (D10) is set to 0 so that ZR0 is set as the start position of the save destination file register. 'G_udWritePosition' (D20) is set to a value in 'G_udWriteStartPosition' (D10) so that the write position of the file register is initialized.
  • Page 106 • Interrupt program (210) An interrupt occurs each time logging data for 5000 points are stored in a buffer memory area. In addition, if both 'CH1 Continuous logging data A side storage flag' (Un\G474) and 'CH1 Continuous logging data B side storage flag' (Un\G475) are on, it is regarded as a logging data omission and 'G_bErrorDetection' (F0) is turned on.
  • Page 107 (when the refresh processing is set) at the interrupt execution to the instruction processing time of the interrupt program. The interrupt overhead time and the refresh processing time at the interrupt execution vary depending on the parameter settings of the CPU module. For details, refer to MELSEC iQ-R CPU Module User's Manual (Application).
  • Page 108 Use the SP.FWRITE instruction to write the data into the SD memory card. For details on the SP.FWRITE instruction, refer to the following.  MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks) 1 FUNCTIONS 1.15 Continuous Logging Function...
  • Page 109: Continuous Logging When The Inter-Module Synchronization Function Is Used

    Continuous logging when the inter-module synchronization function is used When the inter-module synchronization function is used, continuous logging can be used. The conversion cycle of continuous logging of when the inter-module synchronization function is used depends on the oversampling mode enable/disable setting. Oversampling Oversampling is to take multiple samples using one inter-module synchronization cycle as a trigger.
  • Page 110 ■When oversampling is enabled An inter-module synchronization cycle is used as a trigger to sample an analog value at 5s cycle. The conversion cycle is fixed to 5s and A/D conversion values are logged by (Inter-module synchronization cycle/5s) points. digit 'CH1 Synchronization digital Synchronous conversion value Synchronous conversion value...
  • Page 111 Operation The following shows the operation of the continuous logging function of when the inter-module synchronization function is used. The operation described in this section is the one of when oversampling is enabled. ■Starting continuous logging A continuous logging start request is sent at every inter-module synchronization cycle. Thus, when the value in 'Continuous logging start/stop request' (Un\G100) is changed in the inter-module synchronous interrupt program, the continuous logging is started or stopped at the timing of the next inter-module synchronization cycle.
  • Page 112 ■Stopping continuous logging A continuous logging stop request is sent at every inter-module synchronization cycle in the same way as when continuous logging is started. Thus, logged data is stored in the buffer memory in the next inter-module synchronization cycle after the continuous logging stop request is accepted.
  • Page 113: High Speed Continuous Logging Function

    1.16 High Speed Continuous Logging Function High speed This function logs digital operation values at 1s cycle, which is the shortest cycle, and continuously transfers logging data to the CPU module without stopping logging. Compared to the continuous logging function, this function is more suitable for measurement since it can obtain analog values that are changing at high speed.
  • Page 114 Check items before the start of high speed continuous logging ■Operation modes and functions Before starting high speed continuous logging, check the settings of the operation mode and each function. Item Description Operation mode Check that the normal mode (high speed: 1s/CH) is set. A/D conversion enable/disable setting function Check that the A/D conversion is enabled for the channel to be used.
  • Page 115 Starting high speed continuous logging Changing the value of 'CH1 High speed continuous logging start/stop request' (Un\G478) from Stop (0) to Start (1) starts the high speed continuous logging on the set high speed continuous logging cycle. At the point when data of 10000 points has been logged, the logging data storage in the continuous logging data storage areas (A side) starts.
  • Page 116 ■Counting the number of logging data points The value of 'CH1 Number of logging data' (Un\G440, Un\G441) increases by 10000 every time data of 10000 points has been logged. After the number of data points reaches 3600000000, the counter is reset to 0 and counting starts again. When the value of 'CH1 Number of logging data' (Un\G440, Un\G441) is 3599990000, the value changes from 3599990000 ...
  • Page 117: Transfer Of High Speed Continuous Logging Data

    • For the file register capacity setting, refer to the MELSEC iQ-R CPU Module User's Manual (Application). • For details on the function block for high speed continuous logging data transfer, refer to the MELSEC iQ-R Analog-Digital Converter Module/Digital-Analog Converter Module Function Block Reference.
  • Page 118 ■Program example to transfer data with the function block To start the high speed continuous logging and copy logging data (CH1) for 100000 points and register them in file registers (ZR0 to ZR99999) of the CPU module continuously • Label settings Classification Label name Description...
  • Page 119 = Approx. 8 channels *1 Maximum processing time of each instruction is used for the calculation. ( MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks)) *2 This value is for when the high speed continuous logging is executed every 1s cycle. When using the high speed continuous logging cycle different from 1s, apply the value obtained from T(ms) below for the calculation of the number of channels.
  • Page 120 Transfer of data with the interrupt function ON of High speed continuous logging data storage can be set as an interrupt factor of the interrupt function. When the above item is set, the interrupt program is executed on the timing when the logging data for 10000 points are stored in a buffer memory area.
  • Page 121 • Scan program The settings are configured as follows by the contact turning on for one scan after RUN. 'G_udWriteStartPosition' (D10) is set to 0 so that ZR0 is set as the start position of the save destination file register. 'G_udWritePosition' (D20) is set to a value in 'G_udWriteStartPosition' (D10) so that the write position of the file register is initialized.
  • Page 122 • Interrupt program (262) If both 'CH1 High speed continuous logging data A side storage flag' (Un\G476) and 'CH1 High speed continuous logging data B side storage flag' (Un\G477) are on before the logging data transfer, 'G_bErrorDetectionBeforeSend' (M10) is turned on as an error. In such a case, the logging data transfer is stopped.
  • Page 123 (when the refresh processing is set) at the interrupt execution to the instruction processing time of the interrupt program. The interrupt overhead time and the refresh processing time at the interrupt execution vary depending on the parameter settings of the CPU module. For details, refer to MELSEC iQ-R CPU Module User's Manual (Application).
  • Page 124 Use the SP.FWRITE instruction to write the data into the SD memory card. For details on the SP.FWRITE instruction, refer to the following.  MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks) 1 FUNCTIONS 1.16 High Speed Continuous Logging Function...
  • Page 125: Interrupt Function

    1.17 Interrupt Function Simultaneous High speed Low speed Synchronization conversion This function executes interrupt programs of the CPU module when an interrupt factor such as a warning output or an input signal error is detected. For the A/D converter module, the maximum number of available interrupt pointers is 16 per module. Operation ■Detecting an interrupt factor An interrupt factor can be detected by setting "Interrupt setting"...
  • Page 126 ■Condition target setting Select a factor of the condition target setting for the interrupt detection. Setting value Description Available operation mode Disable No interrupt is detected. High speed Low speed Simultaneous conversion Synchronization Error flag An interrupt is detected at the timing of when 'Error flag' (XF) turns on. Low speed Warning output flag (Process alarm) An interrupt is detected at the timing of when Warning output flag (Process alarm) turns on (A...
  • Page 127 Specify the number of an interrupt pointer that is started when an interrupt factor is detected. For details on the interrupt pointers, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) Precautions • When 'Condition target setting [n]' (Un\G232 to Un\G247) is Disable (0), an interrupt request is not sent to the CPU module.
  • Page 128 Setting example To execute the interrupt program (I51) when an error occurs in any channel • Parameter setting Set "Interrupt setting" of Module Parameter as follows. Condition target setting Condition target channel setting Interrupt pointer Error flag All CH specification •...
  • Page 129: Inter-Module Synchronization Function

    1.18 Inter-Module Synchronization Function Synchronization The operations of multiple A/D converter modules and the timing of A/D conversion of all channels can be synchronized. An A/D converter module uses the inter-module synchronization signal as a trigger to simultaneously execute the A/D conversion of all channels.
  • Page 130 Create an interrupt program. The interrupt program is executed at every inter- module synchronization cycle set by a customer. For details on interrupt programs, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) 1 FUNCTIONS 1.18 Inter-Module Synchronization Function...
  • Page 131 ■Changing the module setting • To write the default values with a program without using the module parameter or to change the parameter setting during module operation, the program that writes setting values and turns on and off Operating condition setting request (Y9) is required to enable the setting.
  • Page 132: Basic Operation

    ■Basic operation The following shows the basic operation of when the settings have been correctly configured and two A/D converter modules operate in synchronization with each other. • Synchronized operation flow of when the status of the CPU module is changed from STOP to RUN Inter-module synchronization cycle Inter-module synchronization cycle...
  • Page 133 • Synchronized operation flow of when the status of the CPU module is changed from RUN to STOP Inter-module synchronization cycle Inter-module synchronization cycle CPU module operating status STOP CPU module synchronization status Synchronized Stopped Module A, Module B 'CH1 A/D conversion enable/disable setting' A/D conversion enable (0) (Un\G500) Module A...
  • Page 134 ■Abnormal operation during synchronization The phenomenon that the A/D converter module cannot receive inter-module synchronization signals at a normal cycle is called "synchronization loss". When a synchronization loss has occurred, an inter-module synchronization signal error (error code: 2610H) occurs. When this error has occurred, the synchronization of the A/D converter modules stops and 'CH1 Synchronization digital output value' (Un\G9500) keeps the previously stored value.
  • Page 135 • To execute the continuous logging function during inter-module synchronization, arrange the modules on the same base unit. If the modules were not arranged on the same base unit, the conversion timing of the modules may differ depending on the inter-module synchronization accuracy. ( MELSEC iQ-R Inter-Module Synchronization Function Reference Manual) •...
  • Page 136 If the G(P).OGSTOR instruction is executed, a G(P).OGSTOR instruction execution error in offset/gain setting mode (error code: 1860H) is stored in the dedicated instruction completion status. *1 For details on the dedicated instructions, refer to the following.  MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks) 1 FUNCTIONS 1.18 Inter-Module Synchronization Function...
  • Page 137: Error History Function

    1.19 Error History Function Common This function stores up to the latest 16 errors and alarms that occurred in the A/D converter module to the buffer memory area. Operation When an error occurs, the error code and the error time are stored from Error history 1 (Un\G3600 to Un\G3609) in order. When an alarm occurs, the alarm code and the alarm time are stored from Alarm history 1 (Un\G3760 to Un\G3769) in order.
  • Page 138 Checking method The start address of Error history where the latest error is stored can be checked in 'Latest address of error history' (Un\G1). The start address of Alarm history where the latest alarm is stored can be checked in 'Latest address of alarm history' (Un\G3).
  • Page 139 The following shows an example of when the 17th error occurs. The 17th error is stored in Error history 1, and 'Latest address of error history' (Un\G1) is overwritten with the value 3600 (start address of Error history 1). 'Latest address of error history' (Un\G1): 3620 Latest Un\G3600...
  • Page 140: Event History Function

    The event history function can be set from the event history setting window of the engineering tool. For the setting method, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) Displaying event history Access the menu window of the engineering tool. For details on the operating procedure and how to view the contents, refer to the following.
  • Page 141: Backing Up, Saving, And Restoring Offset/Gain Values

    At the time of replacement by means of the online module change, the offset/gain values are automatically restored. For details on the online module change, refer to the following.  MELSEC iQ-R Online Module Change Manual Details of the module-specific backup parameter A module-specific backup parameter is a file created in an SD memory card or the data memory of the control CPU.
  • Page 142 Creating and updating a module-specific backup parameter A module-specific backup parameter is created or updated when the offset/gain values stored in the non-volatile memory of the A/D converter module are updated. Timing when backup data is created or updated Description When the offset/gain setting is completed with "Offset/gain setting"...
  • Page 143 Restrictions on the module-specific backup parameter The backup and restoration by means of module-specific backup parameters fails in the following cases. • When the control CPU is not the process CPU • When replacing the A/D converter module with the programmable controller powered off •...
  • Page 144: When The Module-Specific Backup Parameter Is Not Used

    When the module-specific backup parameter is not used Medium speed Low speed When the module-specific backup parameter is not used, back up and restore offset/gain values by one of the following methods. • Saving and restoring with dedicated instructions • Saving and restoring by reading from and writing to the buffer memory With the methods above, offset/gain values can be restored to a new module, or the offset/gain values set in one module can be applied to the other modules in the same system.
  • Page 145 • Save the data onto an SD memory card. (To write data: use the SP.FWRITE instruction. To read data: use the SP.FREAD instruction.) • Store the saved data. For how to use dedicated instructions, refer to the following.  MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks) 1 FUNCTIONS 1.21 Backing up, Saving, and Restoring Offset/Gain Values...
  • Page 146 Saving and restoring by reading from and writing to the buffer memory Use Save data type setting (Un\G4002), CH1 Factory default setting offset value (L) (Un\G4004) to CH4 User range setting gain value (H) (Un\G4035), and 'User range write request' (YA) to read the offset/gain values from the source A/D converter module.
  • Page 147 Range reference table The following shows the range reference tables to be used for saving and restoring offset/gain values. ■Range reference table of Factory default setting offset/gain value Address (decimal) Description Save data type Analog value Reference value setting (hexadecimal) 4004 4008 4012...
  • Page 148: Chapter 2 Parameter Settings

    PARAMETER SETTINGS Set the parameters of each channel. Setting parameters here eliminates the need to program them. Basic Setting Setting procedure Open "Basic setting" of the engineering tool. Start Module Parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting] Click the item to be changed to enter the setting value.
  • Page 149: Application Setting

    Application Setting Setting procedure Open "Application setting" of the engineering tool. Start Module Parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting] Click the item to be changed to enter the setting value. • Item where a value is selected from the drop-down list Click the [] button of the item to be set, and from the drop-down list that appears, select the value.
  • Page 150: Interrupt Setting

    Interrupt Setting Setting procedure Open "Interrupt setting" of the engineering tool. Start Module Parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Interrupt setting] Click the item of interrupt setting number (No.1 to 16) to be changed to enter the setting value. •...
  • Page 151: Refresh Setting

    Refresh Setting Setting procedure Set the buffer memory area of the A/D converter module to be refreshed. This refresh setting eliminates the need for reading/writing data by programming. Start Module Parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Refresh settings] Click "Target", and set the auto refresh destination.
  • Page 152: Refresh Processing Time

    A refresh processing time [s] is a constituent of the scan time of the CPU module. For details on the scan time, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) The refresh processing time [s], which is taken for refresh, is given by: •...
  • Page 153: Chapter 3 Troubleshooting

    TROUBLESHOOTING This chapter describes errors that may occur in the use of the A/D converter module and those troubleshooting. Troubleshooting with the LEDs Check the state of the LEDs to narrow down the possible causes of the trouble. This step is the first diagnostics before using the engineering tool.
  • Page 154: Checking The State Of The Module

    Checking the State of the Module The following functions can be used on the "Module Diagnostics" window of the A/D converter module. Function Application Error Information Indicates the errors that have occurred. Click the [Event History] button to check not only the errors and alarms that occurred in the A/D converter module, but also the errors detected by each module and the operation history.
  • Page 155 Check alarm codes, error history, and alarm history on the Event History window of the engineering tool. [Diagnostics]  [System Monitor]  [Event History] button Module Information List Switch the tab to the "Module Information List" tab and check each status information of the A/D converter module. Item Description LED information...
  • Page 156: Troubleshooting By Symptom

    Check the mounting state of the module. Check whether the module replacement is allowed in the process of the online Perform the online module change. For details, refer to the following.  MELSEC iQ-R Online Module Change Manual module change. Cases other than the above Reset the CPU module, and check if the RUN LED turns on.
  • Page 157: When The Alm Led Turns On Or Flashes

    When the ALM LED turns on or flashes When turning on Check item Action Check whether any warning has been issued. Check 'Warning output flag (Process alarm upper limit)' (Un\G36), 'Warning output flag (Process alarm lower limit)' (Un\G37), 'Warning output flag (Rate alarm upper limit)' (Un\G38), and 'Warning output flag (Rate alarm lower limit)' (Un\G39).
  • Page 158: When A Digital Output Value Cannot Be Read

    When a digital output value cannot be read Follow the steps in the table below to find the cause of the trouble. Description Procedure ■Step 1: Checking the digital output value Check the following. When digital output values cannot be read •...
  • Page 159 Check whether an incorrect terminal is not connected. Refer to the external wiring example and check and correct the wiring.  MELSEC iQ-R High Speed Analog-Digital Converter Module User's Manual (Startup) Check whether there is any problem with the wiring, such as Identify the faulty area of signal wires by a visual check and continuity check.
  • Page 160: When The Digital Output Value Does Not Fall Within The Range Of Accuracy

    Check item 4 The analog input and input range setting do not match. Check the following items. Check item Action Check whether "Input range setting" of the module parameter is Check "Input range setting" of the module parameter and configure the setting again if the correct.
  • Page 161: List Of Error Codes

    List of Error Codes If an error occurs during operation, the A/D converter module stores the error code into 'Latest error code' (Un\G0) of the buffer memory. In addition, 'Error flag' (XF) turns on. Turning on 'Error clear request' (YF) allows clearing of the error code of 'Latest error code' (Un\G0), and turning off of 'Error flag' (XF).
  • Page 162 Error code Error name Description and cause Action 1862H Model mismatch error at the The G(P).OGSTOR instruction has been executed Execute the G(P).OGLOAD and G(P).OGSTOR execution of OGSTOR on a module different from the one on which the instructions on the same module. As the other way, G(P).OGLOAD instruction was executed.
  • Page 163 Error code Error name Description and cause Action 197H High pass filter setting range A value out of the range is set in CH HPF Pass Set CH HPF Pass band edge frequency and CH error band edge frequency or CH Attenuation band Attenuation band width to the following values: ■When the conversion cycle is 10s width.
  • Page 164 Error code Error name Description and cause Action 198H Band pass filter setting range A value out of the range is set in CH BPF Pass Set CH BPF Pass band edge frequency (Low), error band edge frequency (Low), CH BPF Pass band CH...
  • Page 165 Error code Error name Description and cause Action 1BH Process alarm upper lower The values set in CH Process alarm upper upper Set CH Process alarm upper upper limit value to limit value setting range error limit value to CH Process alarm lower lower limit CH...
  • Page 166 Error code Error name Description and cause Action 1DCH Logging enable error (logging For the channel where CH Logging enable/disable When using the normal logging function, set CH points setting 0) setting is set to Normal logging (0), 0 is set in CH Logging data points setting to 1 to 900.
  • Page 167: List Of Alarm Codes

    List of Alarm Codes If an alarm occurs during operation, the A/D converter module stores the alarm code into 'Latest alarm code' (Un\G2) of the buffer memory. Turning on 'Error clear request' (YF) allows clearing of the alarm code of 'Latest alarm code' (Un\G2). The following table lists the alarm codes that may be stored.
  • Page 168: Appendices

    APPENDICES Appendix 1 Module Label The functions of the A/D converter module can be set by using module labels. Module labels of I/O signals The module label name of an I/O signal is defined with the following structure: "Module name"_"Module number".b"Label name" or "Module name"_"Module number".b"Label name"_D R60ADH_1.bModuleREADY_D ■Module name The character string of a module model name is given.
  • Page 169: Data Format

    ■Data format The string that represents the data size of a buffer memory area is given. Each data format is as follows: Data format Description Word [Unsigned]/Bit string [16-bit] Word [Signed] Double word [Signed] ■Label name The label identifier unique to a module is given. ■_D This string indicates that the module label is for the direct access.
  • Page 170: Appendix 2 I/O Signals

    Appendix 2 I/O Signals List of I/O signals The following table lists the I/O signals of the A/D converter module. For details on the I/O signals, refer to the following. Page 169 Details of input signals Page 176 Details of output signals •...
  • Page 171: Details Of Input Signals

    Details of input signals The following describes the details of the input signals for the A/D converter module which are assigned to the CPU module. The I/O numbers (X/Y) described in this section are for the case when the start I/O number of the A/D converter module is set to 0.
  • Page 172 ■Rate alarm • 'Warning output signal' (X8) turns on when the change rate of digital output values of the A/D conversion enabled channels exceed the ranges of the rate alarm lower limit value to rate alarm upper limit value after 'CH1 Warning output setting (Rate alarm)' (Un\G513) is set to Enable (0).
  • Page 173 Offset/gain setting mode status flag Medium speed Low speed ■Device number The following shows the device number of this input signal. Signal name Offset/gain setting mode status flag ■In the offset/gain setting mode When registering the value, which has been adjusted with the offset/gain setting, use 'Offset/gain setting mode status flag' (XA) as an interlock condition to turn on and off 'User range write request' (YA).
  • Page 174 Channel change completed flag Medium speed Low speed When changing a channel to perform the offset/gain setting, use 'Channel change completed flag' (XB) as an interlock condition to turn on and off 'Channel change request' (YB). When the offset/gain setting is configured from the offset/gain setting window of an engineering tool, the setting is performed properly on the window.
  • Page 175 Input signal error detection signal Simultaneous Medium speed Low speed Synchronization conversion ■Device number The following shows the device number of this input signal. Signal name Input signal error detection signal ■Turning on 'Input signal error detection signal' (XC) 'Input signal error detection signal' (XC) turns on when an analog input value exceeds the range set with 'CH1 Input signal error detection lower limit setting value' (Un\G529) and 'CH1 Input signal error detection upper limit setting value' (Un\G530) in any of A/D conversion enabled channels, after the detection condition is set in 'CH1 Input signal error detection setting' (Un\G528).
  • Page 176 Maximum value/minimum value reset completed flag Simultaneous Medium speed Low speed Synchronization conversion 'Maximum value/minimum value reset completed flag' (XD) turns on after the maximum and minimum values stored in 'CH1 Maximum value' (Un\G404) and 'CH1 Minimum value' (Un\G406) are reset by turning on and off 'Maximum value/minimum value reset request' (YD).
  • Page 177 Error flag Common 'Error flag' (XF) turns on when an error occurs. Turn on and off 'Error clear request' (YF) to clear 'Latest error code' (Un\G0) and 'Latest alarm code' (Un\G2). 'Latest error code' (Un\G0) Error code 'Error flag' (XF) 'Error clear request' (YF) Performed by the A/D converter module.
  • Page 178: Details Of Output Signals

    Details of output signals The following describes the details of the output signals for the A/D converter module which are assigned to the CPU module. The I/O numbers (X/Y) described in this section are for the case when the start I/O number of the A/D converter module is set to 0.
  • Page 179 User range write request Medium speed Low speed ■Device number The following shows the device number of this output signal. Signal name User range write request ■In the offset/gain setting mode Turn on and off 'User range write request' (YA) to register values adjusted with the offset/gain setting in the A/D converter module.
  • Page 180 Error clear request Common Turn on and off 'Error clear request' (YF) to clear 'Error flag' (XF), 'Input signal error detection signal' (XC), 'Latest error code' (Un\G0), and 'Latest alarm code' (Un\G2). For the timing of turning on and off the signal, refer to the following. Page 173 Input signal error detection signal Page 175 Error flag ■Device number...
  • Page 181: Appendix 3 Buffer Memory Areas

    Appendix 3 Buffer Memory Areas List of buffer memory addresses This section shows the lists of buffer memory addresses of the A/D converter module. For details on the buffer memory addresses, refer to the following. Page 188 Details of buffer memory addresses The buffer memory areas of the A/D converter module are classified by the following data types.
  • Page 182 Un\G0 to Un\G399 Address Address Name Default value Data type Auto refresh (decimal) (hexadecimal)  Latest error code Monitor  Latest address of error history Monitor  Latest alarm code Monitor  Latest address of alarm history Monitor  4 to 19 4H to 13H Interrupt factor detection flag [n] Monitor...
  • Page 183 Un\G400 to Un\G3599 Address Name Default Data type Auto refresh Decimal (hexadecimal) value  400 (190H) 600 (258H) 800 (320H) 1000 (3E8H) CH Digital output value Monitor    401 (191H) 601 (259H) 801 (321H) 1001 (3E9H) System area 402 (192H) 602 (25AH) 802 (322H)
  • Page 184 Address Name Default Data type Auto refresh Decimal (hexadecimal) value  470 (1D6H) 670 (29EH) 870 (366H) 1070 (42EH) CH Difference conversion trigger Control 471 (1D7H) 671 (29FH) 871 (367H) 1071 (42FH) System area     472 (1D8H) 672 (2A0H) 872 (368H) 1072 (430H)
  • Page 185 Address Name Default Data type Auto refresh Decimal (hexadecimal) value  535 (217H) 735 (2DFH) 935 (3A7H) 1135 (46FH) CH Logging enable/disable setting Setting 536 (218H) 736 (2E0H) 936 (3A8H) 1136 (470H) CH Logging data points setting Setting   537 (219H) 737 (2E1H) 937 (3A9H)
  • Page 186 Error history and alarm history (Un\G3600 to Un\G3999) Address Address Name Default Data type Auto refresh (decimal) (hexadecimal) value  3600 E10H Error history 1 Error code Monitor 3601 E11H Error time First two digits Last two digits of the year of the year 3602 E12H...
  • Page 187 Address Address Name Default Data type Auto refresh (decimal) (hexadecimal) value 3790 to 3795 ECEH to ED3H Alarm history 4 Same as alarm history 1 Monitor     3796 to 3799 ED4H to ED7H System area  3800 to 3805 ED8H to EDDH Alarm history 5 Same as alarm history 1...
  • Page 188 Offset/gain setting (Un\G4000 to Un\G9499) Address Name Default Data type Auto refresh Decimal (hexadecimal) value    4000, 4001 (FA0H, FA1H) System area 4002 (FA2H) Save data type setting 0000H Setting     4003 (FA3H) System area 4004 4008 4012...
  • Page 189 Logging data (Un\G10000 to Un\G99999) ■When the normal logging function is used Address Address Name Default value Data type Auto refresh (decimal) (hexadecimal)  10000 to 99999 2710H to Logging data area Monitor 1869FH ■When the continuous logging function is used Address Name Default...
  • Page 190: Details Of Buffer Memory Addresses

    Details of buffer memory addresses The following describes the details of the buffer memory addresses of the A/D converter module. This chapter describes I/O signals and buffer memory addresses for CH1. For details on the I/O signals for CH2 and later, refer to the following. Page 168 List of I/O signals Latest error code Common...
  • Page 191 Latest address of alarm history Common Among Alarm history  (Un\G3760 to Un\G3919), a buffer memory address which stores the latest alarm code is stored. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name Latest address of alarm history Interrupt factor detection flag [n] Simultaneous...
  • Page 192 Warning output flag (Process alarm lower limit) Simultaneous Medium speed Low speed Synchronization conversion The lower limit warning of the process alarm can be checked for each channel. b15 b14 b13 b12 b11 b10 b9 (1) 0: Normal, 1: Alarm ON (2) b4 to b15 are fixed to 0.
  • Page 193 Warning output flag (Rate alarm lower limit) Medium speed Low speed The lower limit warning of the rate alarm can be checked for each channel. b15 b14 b13 b12 b11 b10 b9 (1) 0: Normal, 1: Alarm ON (2) b4 to b15 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 194 ■Clearing Input signal error detection flag Turning off of 'Input signal error detection flag' (Un\G40) varies depending on the setting of 'Input signal error detection auto- clear enable/disable setting' (Un\G302). 'Input signal error detection Operations when 'Input signal error detection flag' (Un\G40) is turned off auto-clear enable/disable setting' (Un\G302) Enable (0)
  • Page 195 Operation mode monitor Common The current operation mode is stored. Monitored value Description Normal mode (high speed: 1s/CH) Normal mode (medium speed: 10s/CH) Normal mode (low speed: 20s/CH) Simultaneous conversion mode (5s/4CH) Inter-module synchronization mode Offset/gain setting mode ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 196 ERR LED status monitor Common The current status of the ERR LED is stored. Monitored value Description ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name ERR LED status monitor ALM LED status monitor Common The current status of the ALM LED is stored.
  • Page 197 Continuous logging start/stop request Simultaneous Synchronization conversion Starting or stopping of continuous logging can be set collectively for all channels. For details on the continuous logging function, refer to the following. Page 95 Continuous Logging Function Setting value Setting details Stop Start •...
  • Page 198 Interrupt factor reset request [n] Simultaneous High speed Low speed Synchronization conversion Set whether to send the interrupt factor reset request. Setting value Setting details No reset request Reset request When Reset request (1) is set in 'Interrupt factor reset request [n]' (Un\G156 to Un\G171) corresponding to the interrupt factor, the interrupt factor of the specified interrupt is reset.
  • Page 199 Condition target setting [n] Simultaneous High speed Low speed Synchronization conversion Set an interrupt factor to be detected. Setting value Setting details Available operation mode Disable High speed Low speed Simultaneous conversion Synchronization Error flag (XF) Low speed Warning output flag (Process alarm) Warning output flag (Rate alarm) Synchronization Input signal error detection flag...
  • Page 200 Condition target channel setting [n] Simultaneous High speed Low speed Synchronization conversion Set a channel where an interrupt is detected. Setting value Setting details All channels When an interrupt factor with channel specification is set in 'Condition target setting [n]' (Un\G232 to Un\G247), an interrupt factor is monitored in the channel set by this area.
  • Page 201 Mode switching setting Medium speed Low speed Set a setting value for the mode to be switched. Switching mode Setting value Buffer memory address Normal mode 5260H 4144H Offset/gain setting mode 4144H 5260H ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name Mode switching setting 296, 297...
  • Page 202 CH1 Digital output value Simultaneous Medium speed Low speed Synchronization conversion The A/D-converted digital output value is stored as a 16-bit signed binary value. b15 b14 b13 b12 b11 b10 b9 (1) Data section (2) Sign bit 0: Positive, 1: Negative ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 203 CH1 Digital operation value High speed Medium speed Low speed A digital operation value obtained by the scaling function, shift function, digital clipping function, or difference conversion function is stored as a 16-bit signed binary value. b15 b14 b13 b12 b11 b10 b9 (1) Data section (2) Sign bit 0: Positive, 1: Negative ■Buffer memory address...
  • Page 204 CH1 Maximum value, CH1 Minimum value Simultaneous Medium speed Low speed Synchronization conversion The maximum value and minimum value of digital operation values or digital output values are stored as 16-bit signed binary values. In the following cases, 'CH1 Maximum value' (Un\G404) and 'CH1 Minimum value' (Un\G406) are updated with the current values.
  • Page 205 CH1 Logging hold flag Low speed When the normal logging function is used, the logging holding status can be checked. For details on the normal logging function, refer to the following. Page 71 Normal Logging Function Monitored value Description When the state in which data is being collected in Logging data area (Un\G10000 to Un\G99999) changes to the stop state, 'CH1 Logging hold flag' (Un\G409) turns to ON (1).
  • Page 206 CH1 Difference conversion reference value Medium speed Low speed This area stores the value in 'CH1 Digital operation value' (Un\G402) at the start of the difference conversion as the difference conversion reference value. The difference conversion reference value is updated when 'CH1 Difference conversion trigger' (Un\G470) is changed from No request (0) to Trigger request (1).
  • Page 207 CH1 Head pointer Low speed The buffer memory address of the oldest data of each channel in Logging data area (Un\G10000 to Un\G99999) can be checked with this buffer memory area. The offset value counted from the start address of each channel is stored. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 208 CH1 Latest pointer Low speed The buffer memory address of the latest data of each channel in Logging data area (Un\G10000 to Un\G99999) can be checked with this buffer memory area. The offset value counted from the start address of each channel is stored. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 209 CH1 Number of logging data Simultaneous High speed Low speed Synchronization conversion The number of logging data points stored in Logging data area of each channel can be checked during the logging. ■Updating the number of logging data The process of update varies depending on the logging function in use. Logging function in use Updating the number of logging data Normal logging function...
  • Page 210 CH1 Current logging read pointer Low speed Every time data is logged for the amount equivalent to the logging read points monitor value, a value calculated by the following formula is stored in this area. CH1 Current logging read pointer = CH1 Latest pointer - CH1 Logging read points monitor value + 1 For details on the normal logging function, refer to the following.
  • Page 211 CH1 Logging cycle monitor value Simultaneous High speed Low speed Synchronization conversion This area stores the actual logging cycle that is calculated from the updating cycle of data to be logged. When 'Operating condition setting request' (Y9) is turned on and off, the actual logging cycle is stored in Logging cycle monitor value in the corresponding channel where a logging function is enabled.
  • Page 212 CH1 Trigger generation time Simultaneous High speed Low speed Synchronization conversion When the normal logging function is used, the time when a trigger was generated is recorded. When the continuous logging function or the high speed continuous logging function is used, the time when the logging has started is recorded. For details on each logging function, refer to the following.
  • Page 213 CH1 Logging status monitor value Low speed This area stores the execution status of logging. For details on the normal logging function, refer to the following. Page 71 Normal Logging Function Execution status of logging Stored value Stop (disabled) Logging hold request waiting (during logging) Level trigger waiting (during logging) Trigger existing (during logging) Logging hold completed (stop)
  • Page 214 CH1 Averaging process status monitor Common This area stores the A/D conversion method that is being executed. Averaging processing status Stored value Sampling processing Time average Count average Moving average Primary delay filter Low pass filter High pass filter Band pass filter ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 215 CH1 Difference conversion trigger Medium speed Low speed Use this buffer memory area as a trigger to start or stop the difference conversion. For details on the difference conversion function, refer to the following. Page 47 Difference Conversion Function Setting value Setting details No request Trigger request...
  • Page 216 CH1 Continuous logging data storage flag Simultaneous Synchronization conversion Use this buffer memory area to check that data of 5000 points is stored in Logging data area of each channel during continuous logging. This area has two flags; 'CH1 Continuous logging data A side storage flag' (Un\G474) for checking that data is stored in the first 5000 points area (A side) of Logging data area and 'CH1 Continuous logging data B side storage flag' (Un\G475) for checking that data is stored in the last 5000 points area (B side) of Logging data area.
  • Page 217 CH1 High speed continuous logging data storage flag High speed Use this buffer memory area to check that data of 10000 points is stored in Logging data area of each channel during high speed continuous logging. This area has two flags; 'CH1 High speed continuous logging data A side storage flag' (Un\G476) for checking that data is stored in the first 10000 points area (A side) of Logging data area and 'CH1 High speed continuous logging data B side storage flag' (Un\G477) for checking that data is stored in the last 10000 points area (B side) of Logging data area.
  • Page 218 CH1 A/D conversion enable/disable setting Common Set whether to enable or disable the A/D conversion. For details on the A/D conversion enable/disable setting function, refer to the following. Page 22 A/D Conversion Enable/Disable Setting Function Setting value Setting details A/D conversion enable A/D conversion disable When a value other than the above is set, the value is regarded as A/D conversion disable (1).
  • Page 219 CH1 Time average/Count average/Moving average/Primary delay filter constant setting Common Set the time (for averaging), count (for averaging), moving average count, and primary delay filter constant for when Time average (1), Count average (2), Moving average (3), or Primary delay filter (4) is set in 'CH1 Averaging process specification' (Un\G501).
  • Page 220 CH1 Scaling enable/disable setting High speed Medium speed Low speed Set whether to enable or disable the scaling. For details on the scaling function, refer to the following. Page 39 Scaling Function Setting value Setting details Enable Disable • If a value other than the above is set, a scaling enable/disable setting range error (error code: 1A0H) occurs. •...
  • Page 221 CH1 Scaling lower limit value High speed Medium speed Low speed Set a lower limit value for the range of the scale conversion. For details on the scaling function, refer to the following. Page 39 Scaling Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 222 CH1 Warning output setting (Process alarm) Simultaneous Medium speed Low speed Synchronization conversion Set whether to enable or disable the warning output of a process alarm. For details on the warning output function (process alarm), refer to the following. Page 52 Process alarm Setting value Setting details Enable...
  • Page 223 CH1 Process alarm upper upper limit value Simultaneous Medium speed Low speed Synchronization conversion Set an upper upper limit value of the warning output function (process alarm). For details on the warning output function (process alarm), refer to the following. Page 52 Process alarm ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 224 CH1 Process alarm lower upper limit value Simultaneous Medium speed Low speed Synchronization conversion Set a lower upper limit value of the warning output function (process alarm). For details on the warning output function (process alarm), refer to the following. Page 52 Process alarm ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 225 CH1 Rate alarm warning detection cycle setting Medium speed Low speed Set the cycle to check the change rate of digital output values. The value of the cycle to detect a rate alarm warning is the product of the value in 'CH1 Rate alarm warning detection cycle setting' (Un\G522) and the conversion cycle.
  • Page 226 CH1 Rate alarm lower limit value Medium speed Low speed For rate alarm, the digital output value is checked at every warning detection cycle and the change rate is calculated from the check result. Use this area to set a lower limit value of the change rate of digital output values for each channel. For details on the warning output function (rate alarm), refer to the following.
  • Page 227 ■Default value The default value is 0 for all channels. CH1 Input signal error detection lower limit setting value Simultaneous Medium speed Low speed Synchronization conversion Set a lower limit setting value to detect an error for the input analog value. For details on the input signal error detection function, refer to the following.
  • Page 228 CH1 Input signal error detection upper limit setting value Simultaneous Medium speed Low speed Synchronization conversion Set an upper limit setting value to detect an error for the input analog value. For details on the input signal error detection function, refer to the following. Page 60 Input Signal Error Detection Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 229 CH1 Logging enable/disable setting High speed Low speed Set the logging function to be used for each channel. For details on the available logging functions, refer to the following. Page 71 Normal Logging Function Page 111 High Speed Continuous Logging Function Setting value Setting details Normal logging...
  • Page 230 CH1 Logging data setting Low speed In the normal logging function, determine the target to be collected: digital output value or digital operation value. For details on the normal logging function, refer to the following. Page 71 Normal Logging Function Setting value Setting details Digital output value...
  • Page 231 CH1 Logging cycle unit setting Low speed Set a cycle unit for storing logging data in the normal logging function. For details on the normal logging function, refer to the following. Page 71 Normal Logging Function Setting value Setting details s •...
  • Page 232 CH1 Level trigger condition setting Low speed Set the condition for the occurrence of a hold trigger when using the level trigger in the normal logging function. For details on the normal logging function, refer to the following. Page 71 Normal Logging Function To use the level trigger, set Level trigger condition setting to one of the following values except Disable (0).
  • Page 233 CH1 Trigger data Low speed Set a buffer memory address to be monitored for a level trigger in the normal logging function. Set the buffer memory address where the monitoring target data is stored. For details on the normal logging function, refer to the following. Page 71 Normal Logging Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 234 ■Default value The default value is 0 for all channels. CH1 Trigger judgment count setting value Low speed Set how many level triggers need to be counted to generate a hold trigger in the normal logging function. When level triggers are generated for the set number of times, a hold trigger is generated.
  • Page 235 CH1 Logging read points setting value Low speed An interrupt is generated and sent to the CPU module every time data is logged for the set number of data points with the logging read function. For details on the logging read function, refer to the following. Page 89 Logging read function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 236 CH1 HPF Pass band edge frequency Medium speed Low speed Set a pass band edge frequency for the high pass filter. For details on the digital filters, refer to the following. Page 31 Digital filter ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 237 CH1 BPF Pass band edge frequency (High) Medium speed Low speed Set a pass band edge frequency at the high frequency side for the band pass filter. For details on the digital filters, refer to the following. Page 31 Digital filter ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 238 CH1 High speed continuous logging cycle setting value High speed Set a cycle for storing data logged by the high speed continuous logging function for each channel. For details on the high speed continuous logging function, refer to the following. Page 111 High Speed Continuous Logging Function ■Setting range The setting range is from 1 to 1000.
  • Page 239 Error history Common Up to 16 errors that occurred in the module are recorded. For error history 1 b8 b7 Un\G3600 Error code Un\G3601 First two digits of the year Last two digits of the year Un\G3602 Month Un\G3603 Hour Minute Second Day of the week...
  • Page 240 Alarm history Common Up to 16 alarms that occurred in the module are recorded. For alarm history 1 b8 b7 Un\G3760 Alarm code Un\G3761 First two digits of the year Last two digits of the year Un\G3762 Month Un\G3763 Hour Minute Second Day of the week...
  • Page 241 Clear setting of error history Common Set whether to clear Error history 1 to 16 (Un\G3600 to Un\G3759) and Alarm history 1 to 16 (Un\G3760 to Un\G3919) when 'Error clear request' (YF) or 'Operating condition setting request' (Y9) is turned on. Setting value Setting details Not clear...
  • Page 242 A/D converter module that is the restoration destination. For the offset/gain setting, refer to the following.  MELSEC iQ-R High Speed Analog-Digital Converter Module User's Manual (Startup) ■Default value The default value is 0 for all channels.
  • Page 243 CH1 Offset/gain setting mode Medium speed Low speed Specify the channel where the offset/gain setting is adjusted. • Offset/gain setting mode (offset specification): Channel where the offset value is adjusted • Offset/gain setting mode (gain specification): Channel where the gain value is adjusted Setting value Setting details Disable...
  • Page 244 CH1 Offset/gain setting mode (range specification) Medium speed Low speed In the offset/gain setting, specify the current input or voltage input for each channel. Setting value Setting details Voltage Current When a value other than 0 and 1 is set, the value is regarded as Current (1). •...
  • Page 245 Synchronization status monitor Synchronization The status of the inter-module synchronization and whether the currently checked module is the target of the inter-module synchronization function can be checked. Monitored value Description Not inter-module synchronization target Inter-module synchronization target (synchronization stopped) Inter-module synchronization target (synchronization in process) If the currently checked module is not the inter-module synchronization target, the monitor value is Not inter-module synchronization target (0).
  • Page 246 Logging data area Low speed This area stores the data logged with the normal logging function. The area of 90000 points can be distributed to each channel by setting 'CH1 Logging data points setting' (Un\G536). After the number of stored data points reaches the points set in 'CH1 Logging data points setting' (Un\G536), data is continuously collected overwriting the data in the start address and later.
  • Page 247 CH1 Logging data area High speed This area stores the data logged with the high speed continuous logging function. Up to 20000 points of data can be stored per channel. For details on the high speed continuous logging function, refer to the following. Page 111 High Speed Continuous Logging Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 248: Appendix 4 Dedicated Instructions

    Restores the offset/gain setting value in the user range setting stored in the CPU module into the A/D converter module. For details on the dedicated instructions, refer to the following.  MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks) APPX...
  • Page 249: Appendix 5 Operation Examples Of When The Remote Head Module Is Mounted

    Appendix 5 Operation Examples of When the Remote Head Module Is Mounted This section describes operation examples of when the remote head module is mounted System configuration example The following system configuration is used to explain an example of operation. (1) Master station (Network number 1, station number 0) •...
  • Page 250: Setting In The Master Station

    Setting in the master station Connect the engineering tool to the CPU module of the master station and set parameters. Create the project with the following settings. [Project]  [New] Configure the setting to use the module labels and add the module labels of the CPU module. Add the master/local module with the following settings.
  • Page 251 Configure the setting to use the module labels and add the module labels of the master/local module. Set "Required Settings" of "Module Parameter" of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Required Settings] Set "Network Configuration Settings"...
  • Page 252 For parameters of the master/local module which are not described in this procedure, set default values. For details on parameters of the master/local module, refer to the following.  MELSEC iQ-R CC-Link IE Field Network User's Manual (Application) APPX Appendix 5 Operation Examples of When the Remote Head Module Is Mounted...
  • Page 253: Setting In The Intelligent Device Station

    Setting in the intelligent device station Connect the engineering tool to the remote head module of the intelligent device station and set parameters. Create the project with the following settings. [Project]  [New] Set "Network Required Setting" of "CPU Parameter" of the remote head module as shown below. [Navigation window] ...
  • Page 254 Set "Basic setting" of "Module Parameter" of the A/D converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60ADH4]  [Basic setting] Set "Application setting" of "Module Parameter" of the A/D converter module as shown below. [Navigation window] ...
  • Page 255 For parameters of the remote head module which are not described in this procedure, set default values. For details on parameters of the remote head module, refer to the following.  MELSEC iQ-R CC-Link IE Field Network Remote Head Module User's Manual (Application) APPX...
  • Page 256: Checking The Network Status

    For how to perform the CC-Link IE Field Network diagnostics from the master station, refer to the following.  MELSEC iQ-R CC-Link IE Field Network User's Manual (Application) Program examples For the program examples, the module labels of the master/local module are used.
  • Page 257 Program example 1 The following figure shows an example of the program to read digital output values of CH1, CH2, and CH4 and digital operation values of CH3 and save them. (32) Reads values of CH1 Digital output value, CH2 Digital output value, CH3 Digital operation value, and CH4 Digital output value. Program example 2 The following figure shows an example of the program to read a maximum value and a minimum value of CH3 and reset them.
  • Page 258 Program example 5 The following figure shows an example of the program to clear Input signal error detection flag, Error flag, and Latest error code if an input signal error is detected in CH1 or an error occurs in any of the channels. (141) Performs a processing of when an input signal error was detected in CH1.
  • Page 259: Appendix 6 Added And Modified Functions

    Appendix 6 Added and Modified Functions Added functions The following shows the functions that are added to the A/D converter module and the engineering tool, the firmware version of the corresponding A/D converter module, and the software version of the engineering tool. Added function A/D converter module firmware Engineering tool software version Reference...
  • Page 260: Index

    INDEX ..208 CH1 Logging read points monitor value ..233 CH1 Logging read points setting value ..174,192 A/D conversion completed flag .
  • Page 261 ......237 Error history ....135 Error history function .
  • Page 262: Revisions

    Japanese manual number: SH-081579-C This manual confers no industrial property 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 263: Warranty

    WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 264: Trademarks

    TRADEMARKS The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual. SH(NA)-081581ENG-C...
  • Page 266 SH(NA)-081581ENG-C(1710)MEE MODEL: R60ADH4-U-OU-E MODEL CODE: 13JX46 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.