Download  Print this page

Mitsubishi Electric Melsec iQ-R Series User Manual

Hart-enabled analog-digital converter module
Hide thumbs

Advertisement

MELSEC iQ-R HART-Enabled Analog-Digital
Converter Module User's Manual (Application)
-R60ADI8-HA
-SW1DNN-HARTCDTM-BD (CommDTM for R60ADI8-HA)

Advertisement

Table of Contents
loading

  Summary of Contents for Mitsubishi Electric Melsec iQ-R Series

  • Page 1 MELSEC iQ-R HART-Enabled Analog-Digital Converter Module User's Manual (Application) -R60ADI8-HA -SW1DNN-HARTCDTM-BD (CommDTM for R60ADI8-HA)
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable controller system, refer to the user's manual of the CPU module used.
  • 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 [Wiring Precautions] CAUTION ● Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction. ● Use applicable solderless terminals and tighten them within the specified torque range. If any spade solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
  • 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 [Operating Precautions] CAUTION ● When changing data and operating status, and modifying program of the running programmable controller from an external device such as a personal computer connected to an intelligent function module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or modification may cause system malfunction, damage to the machines, or accidents.
  • 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 When the ERR LED turns on..............75 When the ALM LED turns on or flashes .
  • Page 14: Relevant Manuals

    Instructions, standard functions/standard function block for the CPU module e-Manual Instructions, 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

    MELSOFT FieldDeviceConfigurator Field device control and setting software manufactured by Mitsubishi Electric that is complaint with the open standards for FDT/DTM. As FDT frame application, this software enables users to configure parameter settings of field devices and perform maintenance and adjustment of field devices.
  • Page 16: Chapter 1 Functions

    FUNCTIONS This chapter describes the functions of the A/D converter module and the setting procedures for those functions. For details on the I/O signals and the buffer memory, refer to the following. Page 85 I/O Signals Page 95 Buffer Memory Areas •...
  • Page 17: 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. Analog input Digital output value (CH1 to 8) Maximum value Minimum value Digital operation value...
  • Page 18: Range Switching Function

    Range Switching Function 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 method Set the input range to be used in the "Input range setting". [Navigation window] ...
  • Page 19: Hart Communication Function

    HART Communication Function  This function enables the A/D converter module to communicate with HART -enabled external devices as the master module. In addition, using FDT frame application and DTM allows the user to set up the external devices via the A/D converter module. In the HART communication, an analog signal of 4 to 20mADC is superimposed on a digital signal to transmit various information to connected external devices.
  • Page 20 Constituent device To use the HART communication function, an external device (HART-enabled device) that supports the HART communication is required. The A/D converter module supports HART revision 7. For how to perform wiring for a HART-enabled device, refer to the following. ...
  • Page 21 Start of HART communication The HART communication starts when the bit corresponding to 'HART communication enable/disable setting' (Un\G2074) is set to Enable (1). When the HART communication starts, the A/D converter module automatically detects a HART-enabled device of a channel where the HART communication is enabled.
  • Page 22 ■HART device information When the HART communication starts, information of a HART-enabled device is acquired and stored in buffer memory areas. The information acquired is as follows. Acquired information Details Page 136 CH1 HART device information (tag) Page 137 CH1 HART device information (message) Message Page 137 CH1 HART device information (descriptor) Descriptor...
  • Page 23 Monitoring of HART device variables When the HART communication starts, HART device variables (PV value, SV value, TV value, and QV value) of the used HART-enabled device are stored in the following buffer memory areas. • 'CH1 PV value' (Un\G2084, Un\G2085) •...
  • Page 24 HART cycle time HART cycle time is the total time required to access each channel where the HART communication is enabled. Refreshing of each channel is processed in order. Because of this, the HART cycle time differs depending on the number of channels where the HART communication is enabled.
  • Page 25 Execution of HART command A HART command can be executed from the A/D converter module to the HART-enabled device at an arbitrary timing. Buffer memory area for HART HART command request command request 'HART command request flag' (Un\G2200) HART command answer flag (execution accepted flag) (Un\G2344.b8) HART command answer flag...
  • Page 26: A/D Conversion Enable/Disable Setting Function

    A/D Conversion Enable/Disable Setting Function This function controls whether to enable or disable the A/D conversion for each channel. Setting method 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 27: A/D Conversion Method

    A/D Conversion Method An A/D conversion method can be set for each channel. The following shows available conversion methods. • Sampling processing • Averaging processing (time average, count average, moving average) • Primary delay filter Overview of A/D conversion The A/D conversion is executed per channel. ■Sampling cycle Sampling cycle is the internal A/D conversion cycle.
  • Page 28: Sampling Processing

    Sampling processing Analog input values are converted at each sampling cycle and stored in the buffer memory as digital output values. The conversion cycle is the sampling cycle. Setting method Set "Average processing setting" to "Sampling processing". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [A/D conversion method] Averaging processing The A/D converter module performs the averaging processing on digital output values for each channel.
  • Page 29 Moving average The A/D converter module averages digital output values taken at every sampling cycle for a specified number of times, and stores a mean value in the buffer memory. Since the averaging processing is performed on a moving set of sampling, the latest digital output values can be obtained.
  • Page 30: Primary Delay Filter

    Primary delay filter 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 31: Scaling Function

    Scaling Function 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 32 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 20mA. 32000 mA: Analog input current (mA) : Scaling upper limit value: 20000 : Scaling lower limit value: 4000 Current input (mA) Digital output value...
  • Page 33: Maximum Value/Minimum Value Hold Function

    Maximum Value/Minimum Value Hold Function This function stores the maximum and minimum values of digital operation values for each channel in the buffer memory. Resetting the maximum value and the minimum value Turn on and off 'Maximum value/minimum value reset request' (YD) or 'Operating condition setting request' (Y9) to replace the maximum value and minimum value with the current values.
  • Page 34: Warning Output Function

    Warning Output Function This function has process alarms and rate alarms. The following sections describe process alarms and rate alarms. Process alarm 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 Included...
  • Page 35 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 36 Setting method 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 37: Rate Alarm

    Rate alarm 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 38 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 39 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 40 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 41 Setting method 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 42: Input Signal Error Detection Function

    Input Signal Error Detection Function 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 Error detection Error...
  • Page 43 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 44 ■Simple disconnection detection An alarm is output when an analog input value is 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 45 Clearing input signal errors After the analog input value falls within the set range, turn on and off 'Error clear request' (YF). The A/D converter module arranges the following status when an input signal error is cleared. • 'Input signal error detection flag' (Un\G40) is cleared. •...
  • Page 46 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 smaller than 2.4mA in the channel set as shown below. Item Setting value Input range 4 to 20mA 'CH1 Input signal error detection setting' (Un\G528) Upper and lower limit detection (1)
  • Page 47: Interrupt Function

    1.10 Interrupt Function 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 48 Precautions • When 'Condition target setting [n]' (Un\G232 to Un\G247) is Disable (0), an interrupt request is not sent to the CPU module. • If an interrupt factor occurs when 'Interrupt factor mask [n]' (Un\G124 to Un\G139) is Mask (Interrupt unused) (0), an interrupt request is not sent to the CPU module.
  • Page 49 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 Interrupt pointer setting Error flag All channels • Label settings Classification Label name Description...
  • Page 50: Error History Function

    1.11 Error History Function This function stores up to the latest 16 errors and alarms that occurred in the A/D converter module in 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 51 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 52 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): 3600 Latest Un\G3600...
  • Page 53: Event History Function

    1.12 Event History Function This function collects generated errors, alarms or executed operations in the A/D converter module as event information in the CPU module. The CPU module collects the event information of the A/D converter module and keeps them in the data memory inside of the CPU module or an SD memory card.
  • Page 54 List of event history data The following table lists the events that would occur in the A/D converter module when the event type is set to "Operation" or "System". • System Event Event name Cause Action Detailed information code HART field device HART field device status Check details on the HART bit 0 to bit 7 of the HART field device status are turned on,...
  • Page 55 • Operation Event Event name Event detail Additional information code 20100 Error clear Error clear request has been issued. 1 FUNCTIONS 1.12 Event History Function...
  • Page 56: Chapter 2 Parameter Settings

    PARAMETER SETTINGS Set the parameters of each channel. Setting parameters here eliminates the need to program them. Basic Setting Setting method 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 57: Application Setting

    Application Setting Setting method 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 select the value from the drop-down list that appears.
  • Page 58: Interrupt Setting

    Interrupt Setting Setting method 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 59: Refresh Setting

    Refresh Setting Setting method 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 60: Refresh Processing Time

    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 61: Chapter 3 Commdtm

    HART-enabled device parameters can be read and written via an A/D converter module using M_CommDTM-HART in the FDT frame application. In this manual, MELSOFT FieldDeviceConfigurator (FDC) manufactured by Mitsubishi Electric is used as the FDT frame application. For details on FDC, refer to the following.
  • Page 62: Creating A Project

    Creating a Project Create a project in FDC and add M_CommDTM-HART to the FDC project. Start FDC. Click [Update] in "DTM catalog". Check that M_CommDTM-HART and Device DTM are registered in "DTM catalog". Create a new project. [Project]  [New] Enter a project name in the "New project"...
  • Page 63: Connection Settings

    Connection Settings Set the method to connect between a personal computer and the A/D converter module. The settings are configured in the M_CommDTM-HART configuration window. Window structure The following shows the window structure of M_CommDTM-HART. Item name Description Select transfer setup Selects a connection path to the control CPU of the registered A/D converter module.
  • Page 64: Connection Settings Of Host Station A/D Converter Module

    Connection settings of host station A/D converter module This section describes the connection settings of the host station A/D converter module. Select "New..." in "Select transfer setup". Enter a name of the connection destination in "Select transfer setup" and click [OK]. 3 CommDTM 3.4 Connection Settings...
  • Page 65 Select a connection interface of the personal computer in "PC side I/F" of the "Transfer Setup Wizard - PC side" window. • USB • Ethernet board Set the details of "Communication setting" corresponding to the selected "PC side I/F". PC side I/F Communication setting item Setting details Time out...
  • Page 66 Set "Communication setting" in the "Transfer Setup Wizard - PLC side" window. The setting details differ depending on the settings made in steps 3 and 4. • When "PC side I/F" is set to "USB" in step 3 Communication setting item Description CPU series This item is used to select the series of the destination CPU module.
  • Page 67 • When "PC side I/F" is set to "Ethernet board" and "Connect module" is set to the item other than "CPU module" in step 3 • When "Protocol" is set to "TCP" • When "Protocol" is set to "UDP" Protocol setting made in step 4 Communication setting item Description Module type...
  • Page 68 Click [Finish] in the "Transfer Setup Wizard - Finished" window. Set the start I/O number of the A/D converter module to "Starting I/O Number" in the M_CommDTM-HART configuration window. The start I/O number can be read from the destination programmable controller system by clicking the [Read from PLC] button.
  • Page 69: Connection Settings Of Another Station A/D Converter Module

    Connection settings of another station A/D converter module This section describes the connection settings of another station A/D converter module. Configure the settings according to the used programmable controller system by referring to steps 1 to 7 of Page 62 Connection settings of host station A/D converter module.
  • Page 70 Click the [Next >] button. Set "Other station setting" in the "Transfer Setup Wizard - Other station" window. Network item Description CPU series Fixed to RCPU. Network No This item is used to set a network number of the target station. ■Setting range 1 to 239 The network number is not required to be set when "Network"...
  • Page 71 Set the start I/O number of the A/D converter module to "Starting I/O Number" in the M_CommDTM-HART configuration window. The start I/O number can be read from the destination programmable controller system by clicking the [Read from PLC] button. Click [OK]. 3 CommDTM 3.4 Connection Settings...
  • Page 72: Device Dtm Settings

    Device DTM Settings Set Device DTM of the HART-enabled device. The Device DTM setting details are written to a HART-enabled device via the destination A/D converter module set in M_CommDTM-HART. The Device DTM setting details and how to write the settings to a HART-enabled device differ depending on the used Device DTM.
  • Page 73: Timeout Settings

    Timeout Settings A timeout may occur when processing various requests from Device DTM to M_CommDTM-HART takes time. The processing time increases especially when the HART communication function is used on multiple channels. When a timeout occurs, change the time until the timeout occurs according to the following procedures. Right-click on "M_CommDTM-HART"...
  • Page 74: Chapter 4 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 75: Checking The State Of The Module

    Checking the State of the Module The following functions can be used in 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 76 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 77: Troubleshooting By Symptom

    Troubleshooting by Symptom When the RUN LED flashes or turns off When flashing Check item Cause Action Check whether the module is selected as the target The base number and slot number of the A/D Turn on Module selection cancel request flag module for the online module change.
  • Page 78: 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 79 Description Procedure ■Step 3: Checking the input range setting Ó Check whether the input range appropriate to the analog input is set. Check the stored value in 'CH1 Range Monitor the buffer memory area with the setting monitor' (Un\G430). monitor function of the engineering tool.
  • Page 80: When The Digital Output Value Does Not Fall Within The Range Of Accuracy

    Check item 3 The external power supply of 24VDC is not supplied to the A/D converter module. Check the following items. Check item Action Check whether the external power supply of 24VDC is supplied to (1) Wire the cables by referring to the external wiring described in the manual. ( the A/D converter module.
  • Page 81: When The Bits Corresponding To 'Hart Scan List' (Un\G2076) Are Not Turned On

    When the bits corresponding to 'HART scan list' (Un\G2076) are not turned on Check item Action Check whether the bit of 'HART communication enable/disable setting' Check 'HART communication enable/disable setting' (Un\G2074) using the (Un\G2074) of the target channel is set to Enable (1). monitor functions of the engineering tool ("Device/Buffer Memory Batch Monitor"...
  • Page 82: 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 83 Error code Error name Description and cause Action 1A2H Scaling upper/lower limit CH Scaling upper limit value and CH Scaling Set CH Scaling upper limit value and CH Scaling lower limit value as the scaling upper limit value  value setting error lower limit value are set as the scaling upper limit value = the scaling lower limit value.
  • Page 84: 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 85: 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 R60ADHART_1.bModuleREADY_D ■Module name The character string of a module model name is given.
  • Page 86 ■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] Single-precision real number ■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 87: 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 86 Details of input signals Page 93 Details of output signals •...
  • Page 88: 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 89 HART device variables access flag This signal turns on by turning off and on 'HART device variables access request' (Y3). While this signal is on, the following buffer memory areas are not updated. Data inconsistency can be prevented by using this signal that turns on as an interlock when data is read to the CPU module.
  • Page 90 External power supply READY flag ■Device number The following shows the device number of this input signal. Signal name External power supply READY flag ■When the external power supply is off or when the elapsed time after turning off and on the external power supply is less than 200ms 'External power supply READY flag' (X7) remains off, and A/D conversion processing is not performed.
  • Page 91 Warning output signal When the warning output function is disabled for all channels, 'Warning output signal' (X8) is always off. ■Device number The following shows the device number of this input signal. Signal name Warning output signal ■Process alarm • 'Warning output signal' (X8) turns on when digital output values or digital operation values of the A/D conversion enabled channels exceed the ranges of the process alarm lower lower limit value to the process alarm upper upper limit value after 'CH1 Warning output setting (Process alarm)' (Un\G512) is set to Enable (0).
  • Page 92 Operating condition setting completed flag When changing values of the buffer memory, use 'Operating condition setting completed flag' (X9) as an interlock condition to turn on and off 'Operating condition setting request' (Y9). For the buffer memory addresses that require turning on and off of 'Operating condition setting request' (Y9) to enable the new values, refer to the following.
  • Page 93 Input signal error detection signal ■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 setting value' (Un\G529) in any of A/D conversion enabled channels, after the detection condition is set in 'CH1 Input signal error detection setting' (Un\G528).
  • Page 94 Maximum value/minimum value reset completed flag '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 95: 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 96 Operating condition setting request Turn on and off 'Operating condition setting request' (Y9) to enable the setting of the A/D converter module. For the timing of turning on and off the signal, refer to the following. Page 90 Operating condition setting completed flag For details on the buffer memory areas to be enabled, refer to the following.
  • Page 97: 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, refer to the following. Page 104 Details of buffer memory addresses The buffer memory areas of the A/D converter module are classified by the following data types.
  • Page 98 Un\G0 to Un\G399 Address Address Name Default value Data type Auto (decimal) (hexadecimal) refresh  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 99 Address Name Default Data type Auto Decimal (hexadecimal) value refresh    1031 1231 1431 1631 1831 System area (1AFH) (277H) (33FH) (407H) (4CFH) (597H) (65FH) (727H) 1499 1699 1899 1099 1299 (1F3H) (2BBH) (383H) (44BH) (513H) (5DBH) (6A3H) (76BH) ...
  • Page 100 Address Name Default Data type Auto Decimal (hexadecimal) value refresh    1127 1327 1527 1727 1927 System area (20FH) (2D7H) (39FH) (467H) (52FH) (5F7H) (6BFH) (787H)  1128 1328 1528 1728 1928 CH Input signal error Setting (210H) (2D8H) (3A0H) (468H)
  • Page 101 Address Name Default Data type Auto Decimal (hexadecimal) value refresh  2088 2100 2112 2124 2136 2148 2160 2172 CH TV value (L) 0000H Monitor (828H) (834H) (840H) (84CH) (858H) (864H) (870H) (87CH) 2089 2101 2113 2125 2137 2149 2161 2173 CH...
  • Page 102 Address Name Default Data type Auto Decimal (hexadecimal) value refresh  2532 2632 2732 2832 2932 3032 3132 3232 CH HART device Monitor (9E4H) (A48H) (AACH) (B10H) (B74H) (BD8H) (C3CH) (CA0H) information (revisions) 2533 2633 2733 2833 2933 3033 3133 3233 (9E5H) (A49H)
  • Page 103 Address Name Default Data type Auto Decimal (hexadecimal) value refresh  2569 2669 2769 2869 2969 3069 3169 3269 CH HART device Monitor (A09H) (A6DH) (AD1H) (B35H) (B99H) (BFDH) (C61H) (CC5H) information (TV engineering unit)  2570 2670 2770 2870 2970 3070 3170...
  • Page 104 Error history and alarm history (Un\G3600 to Un\G3999) Address Address Name Default Data type Auto (decimal) (hexadecimal) value refresh  3600 E10H Error history 1 Error code Monitor 3601 E11H Error time First two Last two digits of the digits of the year year 3602...
  • Page 105 Address Address Name Default Data type Auto (decimal) (hexadecimal) value refresh 3776 to 3779 EC0H to EC3H System area     3780 to 3785 EC4H to EC9H Alarm history 3 Same as alarm history 1 Monitor   ...
  • Page 106: 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 buffer memory addresses for CH1. Latest error code The latest error code detected in the A/D converter module is stored. For details, refer to the following. Page 80 List of Error Codes ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 107 Latest address of alarm history 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] The detection status of the interrupt factor is stored.
  • Page 108 Warning output flag (Process alarm lower limit) 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) b8 to b15 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 109 Warning output flag (Rate alarm lower limit) 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) b8 to b15 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 110 A/D conversion completed flag The A/D conversion status can be checked. b15 b14 b13 b12 b11 b10 b9 (1) 0: During A/D conversion or unused, 1: A/D conversion completed (2) b8 to b15 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 111 Interrupt factor reset request [n] 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 112 Condition target setting [n] Set an interrupt factor to be detected. Setting value Setting details Disable Error flag (XF) Warning output flag (Process alarm) Warning output flag (Rate alarm) Input signal error detection flag A/D conversion completed • If a value other than the above is set, a condition target setting range error (error code: 181H) occurs. •...
  • Page 113 ■Enabling the setting Turn on and off 'Operating condition setting request' (Y9). ■Default value The default value is All channels (0) for all areas. CH1 Digital output value 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...
  • Page 114 ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH Maximum value 1004 1204 1404 1604 1804 CH Minimum value 1006 1206 1406 1606 1806 • For the channel to which the averaging processing is specified, the maximum and minimum values are stored at every averaging processing time.
  • Page 115 CH1 Averaging process specification Set the processing to be performed among the sampling processing, averaging processing, and filter processing. Setting value Setting details Sampling processing Time average Count average Moving average Primary delay filter If a value other than the above values is set, an averaging process specification setting range error (error code: 191H) occurs.
  • Page 116 • Set a primary delay filter constant for the primary delay filter. The value of the time constant (ms) is the product of the primary delay filter constant and the sampling cycle. • Since the default value is 0, change the value depending on the processing. •...
  • Page 117 CH1 Scaling lower limit value Set a lower limit value for the range of the scale conversion. For details on the scaling function, refer to the following. Page 29 Scaling Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 118 CH1 Warning output setting (Rate alarm) Set whether to enable or disable the warning output of a rate alarm. For details on the warning output function (rate alarm), refer to the following. Page 35 Rate alarm Setting value Setting details Enable Disable If a value other than the above is set, a warning output setting (Rate alarm) range error (error code: 1B8H) occurs.
  • Page 119 CH1 Process alarm upper lower limit value Set an upper lower limit value of the warning output function (process alarm). For details on the warning output function (process alarm), refer to the following. Page 32 Process alarm ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 120 CH1 Process alarm lower lower limit value Set a lower lower limit value of the warning output function (process alarm). For details on the warning output function (process alarm), refer to the following. Page 32 Process alarm ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 121 CH1 Rate alarm upper limit value 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 an upper 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 122 CH1 Input signal error detection setting Set a condition for detecting an input signal error. For details on the input signal error detection function, refer to the following. Page 40 Input Signal Error Detection Function Setting value Setting details Disable Upper and lower limit detection Lower limit detection Upper limit detection...
  • Page 123 CH1 Input signal error detection setting value Set a 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 40 Input Signal Error Detection Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 124 CH1 Range setting This area is for setting an input range. Setting value Setting details 4 to 20mA 0 to 20mA 4 to 20mA (extended mode) • If a value other than the above is set, a range setting range error (error code: 190H) occurs. •...
  • Page 125 CH1 HART maximum retries setting Set the maximum number of retries of a HART communication for each channel. For details on the HART communication function, refer to the following. Page 17 HART Communication Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 126 HART device information refresh completed The refresh status of the HART device information can be checked. b15 b14 b13 b12 b11 b10 b9 (1) 0: Refresh uncompleted, 1: Refresh completed (2) b8 to b15 are fixed to 0. When the bit corresponding to 'HART device information refresh request' (Un\G2031) is set to Refresh request made (1), and the HART device information of the target channel is refreshed, Refresh completed (1) is stored in the bit corresponding to this area.
  • Page 127 HART communication enable/disable setting monitor Enable/disable status of the HART communication is stored for each channel. b15 b14 b13 b12 b11 b10 b9 (1) 0: Disable, 1: Enable (2) b8 to b15 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name HART communication enable/disable setting 2075...
  • Page 128 HART maximum cycle time The maximum HART cycle time is stored in increments of 10ms. The stored value is updated as the HART cycle time elapses. When the stored value is 100, the maximum HART cycle time is 1s (10010ms). ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 129 CH1 HART field device status The status information sent from the connected HART-enabled device is stored. b15 b14 b13 b12 b11 b10 b9 (1) HART field device status (2) HART field device error information or answer code (3) Communication error The value stored in each bit is as follows.
  • Page 130 CH1 HART extended field device status The extended field device status sent from the connected HART-enabled device is stored. b15 b14 b13 b12 b11 b10 b9 (1) HART extended field device status (2) b8 to b15 are fixed to 0. When each bit is turned on, the status of the HART-enabled device is indicated as follows: Target bit Extended status...
  • Page 131 CH1 HART device variable status Each HART device variable status sent from the connected HART-enabled device is stored. Eight bits are used for one HART device variable, and two words of the buffer memory addresses are stored for each channel. b15 b14 b13 b12 b11 b10 b9 Un\G2082 b15 b14 b13 b12 b11 b10 b9...
  • Page 132 CH1 PV value The PV value of the used HART-enabled device is stored in 32-bit floating points. ■Stored value • The PV value differs depending on the HART-enabled device. For details on the stored values, refer to the manual of the used HART-enabled device.
  • Page 133 CH1 TV value The TV value of the used HART-enabled device is stored in 32-bit floating points (single-precision real number). ■Stored value • The TV value differs depending on the HART-enabled device. For details on the stored values, refer to the manual of the used HART-enabled device.
  • Page 134 HART command request flag Set this flag when a HART command is executed. Setting value Setting details No request Command execution request When the value other than the above is set, the setting details are ignored. A HART command is executed according to the setting details described below when Command execution request (1) is set to this area.
  • Page 135 ■Enabling the setting As soon as a setting value is input, the setting is enabled. Turning on and off 'Operating condition setting request' (Y9) is not required. ■Default value The default value is 0. HART command request code Set a HART command according to the standard specifications of the HART or the manual of the used HART-enabled device. Set this area before 'HART command request flag' (Un\G2200) is set to Command execution request (1).
  • Page 136 ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name HART command request data 2204 to 2331 ■Enabling the setting As soon as a setting value is input, the setting is enabled. Turning on and off 'Operating condition setting request' (Y9) is not required.
  • Page 137 HART command answer channel A channel number executing a HART command is stored. The following information is stored. b15 b14 b13 b12 b11 b10 b9 (1) A channel number executing a HART command is stored. • 1: CH1 • 2: CH2 •...
  • Page 138 HART command answer data size Data size of an enabled HART command is stored. The setting values differ depending on the specifications of a HART command set to 'HART command request code' (Un\G2202) and the specifications of the used HART-enabled device. When 'HART command request flag' (Un\G2200) is set to No request (0), this area is cleared to 0.
  • Page 139 CH1 HART device information (message) A message set to a HART-enabled device by users is stored. Sixteen words of the buffer memory areas are used per channel. ■Stored value • The set message is converted to 32 characters of ASCII code (hexadecimal) and stored. •...
  • Page 140 CH1 HART device information (manufacturer ID/expanded manufacturer ID) The manufacturer ID or extended manufacturer ID of the used HART-enabled device is stored. For details on the stored values, refer to the manual of the used HART-enabled device. The amount of data used differs depending on the HART pre-defined protocol. •...
  • Page 141 CH1 HART device information (revisions) Revision information of the used HART-enabled device is stored. For details on the stored values, refer to the manual of the used HART-enabled device. Two words of the buffer memory areas are used per channel and stored as follows. b15 b14 b13 b12 b11 b10 b9 Un\G2532 b15 b14 b13 b12 b11 b10 b9...
  • Page 142 CH1 HART device information (device function flags) Availability of the functions of the used HART-enabled device is stored. b15 b14 b13 b12 b11 b10 b9 (1) Device function flag (2) b8 to b15 are fixed to 0. When each bit of bit 0 to bit 7 is turned on, a HART-enabled device supports the following functions. Target bit Supported functions Description...
  • Page 143 CH1 HART device information (long tag) Long tag details set to a HART-enabled device by users are stored. This area can be used only when a HART-enabled device that supports HART revision 6 or later is used. Sixteen words of the buffer memory areas are used per channel. ■Stored value •...
  • Page 144 CH1 HART device information (final assembly number) The final assembly number of the used HART-enabled device is stored. For details on the stored values, refer to the manual of the used HART-enabled device. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 145 CH1 HART device information (PV range engineering unit) An engineering unit is stored within the setting range of the PV value of the used HART-enabled device. A value defined by the standard specifications of the HART is stored for each engineering unit. For details on the stored values, refer to the standard specifications of the HART or the manual of the used HART-enabled device.
  • Page 146 CH1 HART device information (PV transfer function) The information on a function used to convert the PV value to the current value by the used HART-enabled device is stored. For details on the stored values, refer to the standard specifications of the HART or the manual of the used HART-enabled device.
  • Page 147 CH1 HART device information (QV engineering unit) An engineering unit of the QV value of the used HART-enabled device is stored. A value defined by the standard specifications of the HART is stored for each engineering unit. For details on the stored values, refer to the standard specifications of the HART or the manual of the used HART-enabled device.
  • Page 148 Alarm history 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 Month Un\G3762 Hour Minute Un\G3763 Second Day of the week Un\G3764...
  • Page 149: Appendix 4 Operation Examples Of When The Remote Head Module Is Mounted

    Appendix 4 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 150: 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 151 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 152 Set "Refresh Setting" of "Module Parameter" of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the master station. Then reset the CPU module or power off and on the system.
  • Page 153: 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 154 Configure the setting not to use the module labels. Set "Basic setting" of "Module Parameter" of the A/D converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60ADI8-HA]  [Basic setting] Set "Application setting" of "Module Parameter" of the A/D converter module as shown below. [Navigation window] ...
  • Page 155 Set "Refresh Setting" of "Module Parameter" of the A/D converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60ADI8-HA]  [Refresh settings] Write the set parameters to the remote head module on the intelligent device station. Then reset the remote head module or power off and on the system.
  • Page 156: Checking The Network Status

    Checking the network status After setting parameters to the master station and the intelligent device station, check whether data link is normally performed between the master station and the intelligent device station. Check the network status using the CC-Link IE Field Network diagnostics of the engineering tool.
  • Page 157 Common program The following figure shows an example of the program to check the data link status of the remote head module (station number 1). Checks the data link status of the remote head module (station number 1). When creating programs shown later, add the MCR instruction to the last of the program as shown below. 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.
  • Page 158 Program example 3 The following figure shows an example of the program to perform operations reacting to a warning if a warning (process alarm upper/lower limit) occurs in CH2. (96) Performs a processing of when a warning (process alarm upper limit) has occurred in CH2. (115) Performs a processing of when a warning (process alarm lower limit) has occurred in CH2.
  • Page 159 Program example 5 The following figure shows an example of the program to read and save the PV value, SV value, TV value, and QV value of CH2 and the PV value and SV value of CH4. (143) Reads CH2PV value, CH2SV value, CH2TV value, and CH2QV value. (162) Reads CH4PV value and CH4SV value.
  • Page 160: Index

    INDEX . . .121 CH1 Input signal error detection setting value .....111 CH1 Maximum value ... 92,108 A/D conversion completed flag .
  • Page 161 ... 132 ..... .26 HART command request channel Sampling processing .
  • Page 162: Revisions

    Japanese manual number: SH-082046-A 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 163: 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 164: 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)-082048ENG-A...
  • Page 166 SH(NA)-082048ENG-A(1810)MEE MODEL: R60ADI8-HA-U-OU-E MODEL CODE: 13JX97 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.