Download  Print this page

Mitsubishi Electric MELSEC iQ-R Series User Manual

Melsec iq-r digital-analog converter modul
Hide thumbs

Advertisement

MELSEC iQ-R Digital-Analog Converter Module
User's Manual (Application)
-R60DA4
-R60DAV8
-R60DAI8

Advertisement

Table of Contents
loading

  Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R Digital-Analog Converter Module User's Manual (Application) -R60DA4 -R60DAV8 -R60DAI8...
  • 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 MELSEC iQ-R Module Configuration Manual.
  • Page 4 [Design Precautions] WARNING ● Configure safety circuits external to the programmable controller to ensure that the entire system operates safely even when a fault occurs in the external power supply or the programmable controller. Failure to do so may result in an accident due to an incorrect output or malfunction. (1) Emergency stop circuits, protection circuits, and protective interlock circuits for conflicting operations (such as forward/reverse rotations or upper/lower limit positioning) must be configured external to the programmable controller.
  • Page 5 [Design Precautions] WARNING ● If a communication cable is disconnected, the network may be unstable, resulting in a communication failure of multiple stations. Configure an interlock circuit in the program to ensure that the entire system will always operate safely even if communications fail. Incorrect output or malfunction due to a communication failure may result in an accident.
  • Page 6 [Installation Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before mounting or removing the module. Failure to do so may result in electric shock or cause the module to fail or malfunction. [Installation Precautions] CAUTION ●...
  • 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

    CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 12: Introduction

    Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC 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 13 MEMO...
  • Page 14: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 15 When an analog value is not output with the wave output function being selected..... . 104 When HOLD of analog output value is not available ..........104 When the synchronization output is not performed .
  • Page 16: Relevant Manuals

    Instructions) [SH-081976ENG] e-Manuals are electronic book-type manuals for Mitsubishi Electric FA products that can be read with a dedicated tool. The following shows the features of e-Manuals. • Desired information can be searched for from multiple manuals at a time. (Manual cross search) •...
  • Page 17: Chapter 1 Functions

    FUNCTIONS This chapter describes the functions of the D/A converter module and the setting procedures for those functions. For details of the I/O signals and the buffer memory, refer to the following. Page 114 Details of input signals Page 121 Details of output signals Page 136 Details of buffer memory addresses •...
  • Page 18: Modes

    Modes The D/A converter module has the normal mode and offset/gain setting mode. Change the mode according to the function used. The following describes each mode. In each operation mode, the Q compatible mode function that is executed with the buffer memory layout of the D/A converter module converted to the equivalent of the Q series can also be selected.
  • Page 19 Mode transitions The following figure and table describe the transition condition for each mode. At the power-on or at the reset of the CPU module Offset/gain Wave output mode setting mode Normal mode Transition condition Set "Operation mode setting" to "Normal mode (D/A conversion process)" in "Basic settig" of the engineering tool and set "Output mode setting"...
  • Page 20: Range Switching Function

    Range Switching Function The output range of the analog output can be switched for each channel. Switching the range makes it possible to change the I/O conversion characteristic. Setting procedure Set the output range to be used in "Output range setting". Navigation window ...
  • Page 21: D/A Conversion Enable/Disable Function

    D/A Conversion Enable/Disable Function Set whether to enable or disable the D/A conversion for each channel. Disabling the D/A conversion for unused channels reduces the D/A conversion cycles. Setting procedure Set "D/A conversion enable/disable setting" to "D/A conversion enable” or "D/A conversion disable". Navigation window ...
  • Page 22: Analog Output Hold/Clear Function

    Analog Output HOLD/CLEAR Function Set whether to hold or clear the analog output value that has been output when the operating status of the CPU module is RUN, STOP, or stop error. The HOLD/CLEAR setting can be checked with 'CH1 HOLD/CLEAR function setting monitor' (Un\G431). Operation When the operating status of the CPU module is RUN, STOP, or stop error, the analog output status changes as shown in the following table, depending on the combination of the settings of the analog output HOLD/CLEAR setting, 'CH1 D/A conversion...
  • Page 23 ■In the synchronization normal output mode Execution CH1 D/A conversion Enable Disable status enable/disable setting (Un\G500) CH1 Output enable/disable Enable Disable Enable or disable flag (Y1) Analog output HOLD/ HOLD CLEAR HOLD or CLEAR HOLD or CLEAR CLEAR setting External Analog output produced when the CH1 Synchronization digital value (Un\G9500) Offset value...
  • Page 24: Analog Output Test When Cpu Module Is In Stop Status Function

    Analog Output Test when CPU Module is in STOP Status Function Analog output tests can be carried out when the CPU module is in the STOP status. The following functions are enabled during the analog output test. • Scaling function (Page 23 Scaling Function) •...
  • Page 25: Scaling Function

    Scaling Function This function performs the scale conversion on digital values within a specified range between a scaling upper limit value and a scaling lower limit value. The program for scale conversion can be omitted. Operation The scale conversion is performed for the set 'CH1 Digital value' (Un\G460) using 'CH1 Scaling upper limit value' (Un\G504) and 'CH1 Scaling lower limit value' (Un\G506), and the value after the scale conversion is used for the D/A conversion.
  • Page 26 Setting procedure Set "D/A conversion enable/disable setting" to "D/A conversion enable". Navigation window  [Parameter]  [Module Information]  Module name  [Module parameter]  "Basic settig"  "D/A conversion enable/disable function" Set "Scaling enable/disable setting" to "Enable". Navigation window  [Parameter]  [Module Information]  Module name  [Module parameter]  "Application setting"...
  • Page 27 Precautions • When the scaling function is used, the digital value can be set to a value out of the range between the scaling upper limit value and scaling lower limit value (in the dotted lines in the I/O characteristics graph) before being scaled. However, use the scaling function within the range of the analog output practical range (in the solid line in the I/O characteristics graph).
  • Page 28: Shift Function

    Shift Function This function adds the set input value shift amount to the digital input value. The analog output value reflects the change in the input value shift amount on a realtime basis. Therefore, fine adjustment can be easily performed when the system starts. Operation When the D/A conversion is performed on the digital value, the value obtained by adding 'CH1 Input value shift amount' (Un\G480) to 'CH1 Digital value' (Un\G460) is used for the D/A conversion.
  • Page 29 Precautions • Based on the digital value on which the shift-and-add is performed, the alert output function, scaling function, and rate control function are executed. • When the value obtained by adding 'CH1 Input value shift amount' (Un\G480) to 'CH1 Digital value' (Un\G460) is out of the digital setting range, a digital value setting range error (error code: 191H) occurs and the corresponding check code is stored in 'CH1 Setting value check code' (Un\G400).
  • Page 30: Alert Output Function

    Alert Output Function This function outputs an alert when the digital value is larger than the alert output upper limit value or is smaller than the alert output lower limit value. Digital value Digital value Analog output value CH1 Alert output upper limit value 20000 CH1 Alert output lower limit value -2000...
  • Page 31 Clearing a warning The alert output can be cleared in the following two methods: After 'CH1 Digital value' (Un\G460) is set to be smaller than 'CH1 Alert output upper limit value' (Un\G510) and larger than 'CH1 Alert output lower limit value' (Un\G512) •...
  • Page 32: Rate Control Function

    1.10 Rate Control Function The increment/decrement of the analog output value per 80s is restricted to prevent the sudden change of the analog output value. When the inter-module synchronization function is enabled, the rate control function cannot be used. Operation When the change amount of 'CH1 Digital value' (Un\G460) is larger than the value set in 'CH1 Increase digital limit value' (Un\G514) or 'CH1 Decrease digital limit value' (Un\G516), this function changes 'CH1 Digital value' (Un\G460) by the limit values set for each digital limit value.
  • Page 33 Operation example of the rate control function The following figure shows an operation example when CH1 Rate control enable/disable setting to CH3 Rate control enable/ disable setting are set to Enable (0) and each increase digital limit value is set to 600, 400, and 200. analog output 2.50V <CH1>...
  • Page 34 Precautions • The setting of the shift function is enabled during the rate control. • When the alert output function is enabled, the alert determination is performed to the set 'CH1 Digital value' (Un\G460). Note that an alert does not occur at the timing when the digital value changed by the rate control function exceeds the upper/lower limit value.
  • Page 35: External Power Supply Disconnection Detection Function

    1.11 External Power Supply Disconnection Detection Function This function detects that the external power supply 24VDC is not supplied or the supply stops. When the external power supply disconnection is detected, 'External power supply READY flag' (X7) turns off, and the analog output value becomes 0V/0mA regardless of the other settings.
  • Page 36: Disconnection Detection Function

    1.12 Disconnection Detection Function The R60DA4 and R60DAI8 can detect a disconnection by monitoring the analog output value. This function is enabled only when the analog output range is 4 to 20mA. A disconnection can be detected for each channel. Within the detection range Outside the detection range CH1 Analog...
  • Page 37: Interrupt Function

    1.13 Interrupt Function The D/A converter module executes the interrupt program of the CPU module when an interrupt factor such as a disconnection or alert output is detected. For the D/A converter module, the maximum number of interrupt pointers available is 16 per module. Operation ■Detecting an interrupt factor When an interrupt factor occurs, an interrupt request is sent to the CPU module at the same time as 'Interrupt factor detection...
  • Page 38 • If 'Condition target setting [n]' (Un\G232 to Un\G247) is Disable (0), an interrupt request is not sent to the CPU module. • To reset the interrupt factor, set Reset request (1) until 'Interrupt factor detection flag [n]' (Un\G4 to Un\G19) changes to No interrupt factor (0).
  • Page 39 Setting example When the interrupt program (I50) is executed at the disconnection detection in any channel • Parameter setting Set "Interrupt setting" of [Module parameter] as follows. Condition target setting Condition target channel Interrupt pointer setting Disconnection detection flag All CH specification •...
  • Page 40: Wave Output Function

    1.14 Wave Output Function This function registers the prepared wave data (digital input value) in the D/A converter module and continuously outputs the data (analog value) in the set conversion cycle. A faster and smoother control than a program is achieved by the automatic output of the control wave data registered in the D/A converter module for the analog (torque) control such as pressing machines and injection molding units.
  • Page 41 Wave output function procedure The following shows how to use the wave output function. Creating wave data Page 46 Creating wave data Setting parameters of the wave output function Page 49 Setting parameters of the wave output function Writing wave output data to a file register (ZR) or CSV file Page 50 Writing data to a file register (ZR) or CSV file Parameter setting of the D/A converter module Page 51 Parameter setting of the D/A converter module...
  • Page 42 Restrictions and precautions on the wave output function The wave output function has the following restrictions and precautions. ■Output range setting The user range cannot be used. When executing the wave output function, use the range other than the user range. For the setting procedure of the output range, refer to the following.
  • Page 43 Wave pattern To use the wave output function, select any points from the registered wave data for each channel and set the wave pattern. The following table lists the setting contents for the wave pattern. Setting item Description Wave pattern start address setting Set the start address of the wave pattern to be output for each channel.
  • Page 44 Setting example to output the same waves from CH1 and CH2 CH1, CH2 Wave pattern Wave data registry area (Un\G10000 to Un\G89999) 80000 points Wave data registry area Wave data registry area (Un\G10000) (Un\G89999) Setting item Setting value CH1 Wave pattern start address setting 10000 CH1 Wave pattern data points setting 80000...
  • Page 45 • Unlimited repetition The digital input value of the wave pattern end point is not output in analog. For the case where the wave pattern is repeatedly output a limited number of times, the wave pattern is output a number of times specified in Wave pattern output repetition setting, and then the value is output according to the setting in Output setting A wave pattern that is repeatedly...
  • Page 46 ■When the digital input values are different between the start point and the end point The wave pattern end point is output in analog as it is. The set wave patterns are continuously output in analog regardless of the setting in 'CH1 Wave pattern output repetition setting' (Un\G530). A wave pattern that is repeatedly Analog output output in an analog value...
  • Page 47 Wave output conversion cycle The wave output conversion cycle is calculated by the following formula. Conversion speed Number of channels where Constant for wave output × × Conversion cycle ( s) (80 s) D/A conversion is enabled conversion cycle In the wave output function, the conversion cycle can be set by setting 'CH1 Constant for wave output conversion cycle' (Un\G531).
  • Page 48: Initial Settings Of The Wave Output Function

    Initial settings of the wave output function For the wave output function, set the following items as the initial setting. Before using the wave output function, complete the procedures described in this section. • Creating wave data (Page 46 Creating wave data) •...
  • Page 49 To delete the end point, move the mouse pointer to the point. Then select "Delete end point" from the right-click menu. When the mouse pointer is on the end point, the display of the mouse pointer is changed to Deleted end point Set the wave between end points from the right-click menu or in "Specify wave"...
  • Page 50 Item Setting result Logarithmic The graph is drawn with an adjustment so that the start point and end point are on the edge points of the logarithmic function of y = log X (X function = 1 to 101). Sine function The interval between the start point and end point is drawn in a sine function wave.
  • Page 51 Repeat procedures 5 to 7 to create the wave to be output. Each digital value of the created wave pattern can be checked by clicking the [Display Digital Value] button. Click the [Initialize Graph] button to clear the contents in the created wave pattern. The graph and the contents of "Wave details setting" are cleared.
  • Page 52 Writing data to a file register (ZR) or CSV file Write the wave output data created using "Create wave output data" to a file register (ZR) or a CSV file These setting contents are registered to the buffer memory of the D/A converter module using the function block (FB) for the wave output data registration.
  • Page 53 Parameter setting of the D/A converter module To use the wave output function, the module parameters are required in addition to the parameter setting of the wave output function. The following shows the items set with the module parameters. ■Output range setting "Output range setting"...
  • Page 54: Execution Of The Wave Output Function

    Execution of the wave output function This section describes the execution procedures for the wave output function. Execute the contents in this section after the initial setting of the wave output function. Registering wave output data Register the wave output data created with "Create Wave Output Data" of the engineering tool to the D/A converter module. Use the function block (FB) for the wave output data registration.
  • Page 55 Changing the module setting The contents registered by the function block (FB) for the wave output data registration need to be enabled by turning on and off 'Operating condition setting request' (Y9). When the setting is enabled, the analog output value of the channel 1 where the D/A conversion is enabled varies depending on the status of 'CH1 Output enable/disable flag' (Y1) as shown below.
  • Page 56 Starting/stopping/pausing wave output ■Starting the wave output The wave output can be started by the following procedures after the wave data registration. Turn on 'CH1 Output enable/disable flag' (Y1). The value is output in analog according to the setting in 'CH1 Output setting during wave output stop' (Un\G524). Set Wave output start request (1) to 'CH1 Wave output start/stop request' (Un\G462).
  • Page 57 ■Pausing the wave output • To pause the wave output, set Wave output pause request (2) to 'CH1 Wave output start/stop request' (Un\G462). When Wave output start request (1) is changed to Wave output pause request (2), the wave output is paused. Wave output pause (2) is stored to 'CH1 Wave output status monitor' (Un\G401).
  • Page 58 • For HOLD setting While the wave output is paused, analog output value during the pause is held. CPU module status CH1 D/A conversion enable/disable D/A conversion enable (0) setting (Un\G500) CH1 Output enable/disable flag (Y1) CH1Wave output start/stop request Wave output stop Wave output pause Wave output start...
  • Page 59 • Wave output start request is accepted only when the CPU module is in the RUN status. When a value in 'CH1 Wave output start/stop request' (Un\G462) is changed to Wave output start request (1) with the CPU module status other than in the RUN state, the wave output is not started. •...
  • Page 60 Registering data when the remote head module is used This section describes how to register the parameter settings of the wave data and the wave output function created with "Create Wave Output Data" of the engineering tool to the D/A converter module. ■Registering procedure Use "Create Wave Output Data"...
  • Page 61 • Label setting Classification Label name Description Device Module label GF11_1.bSts_DataLinkError Data link error status of host station SB0049 GF11_1.bnSts_DataLinkError_Station[1] Data link status of each station (station No.1) SW00B0.0 Labels to be defined Define global labels as shown below: *2 This label is a module label of the master/local module (RJ71GF11-T2). For the details, refer to MELSEC iQ-R CC-Link IE Field Network User's Manual (Application).
  • Page 62 • Program 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 63 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 64 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 65 Checks the data link status of the remote head module (station number 1). (32) Turns on Output setting during wave output stop write start flag (M1001) to clear Buffer memory address index (Z0) and Wave output parameter setting index (Z1) to 0. (84) Writes the value of ZR0 to 'CH1 Output setting during wave output stop' (U0\G524).
  • Page 66: Points To Use The Wave Output Function

    Points to use the wave output function When CH1 Output enable/disable flag (Y1) is turned on or off during the wave output When 'CH1 Output enable/disable flag' (Y1) is turned on and off during the wave output, the analog output value becomes the offset value and the wave output does not stop.
  • Page 67 When changing the CPU module status during the wave output When the CPU module status is changed during the wave output, the operation of the module varies depending on the setting of the analog output HOLD/CLEAR function as shown below. ■For HOLD setting When the CPU module status is changed from RUN to STOP, the analog output value at the change is held and the wave output pauses.
  • Page 68 ■For CLEAR setting When the CPU module status is changed from RUN to STOP, the wave output is finished and the offset value is output. When the CPU module status is changed from STOP to RUN, the value is output according to the setting in 'CH1 Output setting during wave output stop' (Un\G524).
  • Page 69 When an error occurs When the value to be output is out of the output range, an error occurs. The error code (191H) is stored in 'Latest error code' (Un\G0), 'Error flag' (XF) turns on, and the ERR LED turns on. When an error (error code: 191H) occurs during the wave output, the analog output value becomes as follows.
  • Page 70 When the external power supply is turned off during the wave output When the external power supply is turned off during the wave output, the wave output status of all the channels becomes the wave output stop (the wave output stops). The wave output does not resume even when the external power supply is turned To resume the wave output, check the D/A converter module and external devices after turning on the external power supply, and set Wave output start request (1) to 'CH1 Wave output start/stop request' (Un\G462).
  • Page 71 When using the wave output function as PWM The wave output function can also be used as PWM with the minimum pulse width of 80s. Also the man-hours for programming can be reduced because necessary numbers of pulses can be output in analog by creating a wave pattern only for one pulse.
  • Page 72: Wave Output Step Action Function

    Wave output step action function This function changes addresses and data values to be output to change the analog output flexibly at any timing when the wave output function is used. This function is useful for the analog output test when the wave output function is used and for debugging the wave output function.
  • Page 73 2 Set 8 (8 in the forward direction) to CH1 Wave output step action movement amount (Un\G482). Analog output value Analog output (Digital input value) Digital input value Address Un\G25000 (32000) Un\G25001 1000 Un\G25002 2000 (4) The digital input value Un\G25003 (32000) of Un/G34998 is 3000...
  • Page 74 4 Set OFF (0) to Step action wave output request (Un\G188). Analog output value Analog output (Digital input value) Digital input value Address Un\G25000 Un\G25001 1000 (32000) Un\G25002 2000 Un\G25003 3000 (8) Set OFF (0) to Step (16000) action wave output 12000 Un\G34988 request (Un\G188).
  • Page 75 Operation of the wave output step action function The wave output step action function is executed as follows. Step action wave output OFF(0) ON(1) request (Un\G188) CH1 Wave output status monitor Wave output step action (3) (Un\G401) CH1 Wave output step action movement (Un\G482) No movement (0) 5000...
  • Page 76 ■Execution of the wave output step action After switching the status to the wave output step action status, execute the wave output step action in the following procedure. Repeating this procedure tests the analog output during the wave output function execution and debugs the wave output function.
  • Page 77 Analog output test when the wave output function is used The following shows the procedure of the analog output test using the wave output step action function. The example of testing analog output in CH1 is described as well. Start Example of testing analog output in CH1 Select the wave output mode in the parameter Select "Wave Output Function"...
  • Page 78 Example of testing analog output in CH1 Turn off CH1 Output enable/disable flag (Y1). Turn off CH Output enable/disable flag. The analog output value is the offset value. Example 1 When CH1 Wave output current address monitor (Un\G436, Un\G437) Decide an address (Address A) in the wave data is 10100, and Address A is 10110 registry area that is to be output next.
  • Page 79 Is the wave output execution required after the analog output test? Set OFF (0) to Step action wave output request (Un\G188). Restore the wave data that has been changed at Turn off the power. the execution of the wave output step action. The module keeps operating with the wave output function being set.
  • Page 80: Inter-Module Synchronization Function

    1.15 Inter-Module Synchronization Function This function allows the D/A conversion values to be output at the same timing from multiple modules in which the inter- module synchronization function is active. The analog output timing of each module is determined by the inter-module synchronization cycle set with the system parameter.
  • Page 81 Operation ■Inter-module synchronization processing for the D/A converter module When the D/A converter module is used in the synchronization normal output mode, 'CH1 Synchronization digital value' (Un\G9500) is imported at the timing when the inter-module synchronous interrupt program is executed and the D/A conversion is performed in the next inter-module synchronization cycle.
  • Page 82 • Outputting of the D/A converter module delays for the output delay time from the inter-module synchronization cycle. The output delay time is 24.1 to 25.9s. • When values are output in analog from multiple channels, the analog output is performed in order of the channel number.
  • Page 83 Precautions • When the inter-module synchronization function is enabled, the rate control function and wave output function cannot be used. • For the alert output when the inter-module synchronization function is enabled, the update timings of the ALM LED, 'Alert output signal' (XE), 'Alert output upper limit flag' (Un\G36), and 'Alert output lower limit flag' (Un\G37) are changed as follows.
  • Page 84 • When the external power supply is turned off while the synchronize modules function operates, 0V/0mA is output from all the channels. After the external power supply is turned on and the synchronous interrupt program after 'External power supply READY flag' (X7) turns on is executed, the analog output is restarted. Inter-module synchronization cycle External power supply 200ms...
  • Page 85 • When the module is set as a synchronization target and the wave output mode is set in the operation mode setting, an inter-module synchronization selection wave output mode setting error (error code: 1EA4H) occurs and the module does not operate. 1 FUNCTIONS 1.15 Inter-Module Synchronization Function...
  • Page 86: Error History Function

    1.16 Error History Function This function stores up to the latest 16 errors and alarms that occurred in the D/A converter module to the buffer memory area. Operation When an error occurs, the error code and the error time are stored from 'Error history No.1' (Un\G3600 to Un\G3609) in order. When an alarm occurs, the alarm code and the alarm code time are stored from 'Alarm history No.1' (Un\G3760 to Un\G3769) in order.
  • Page 87 When the third error occurs: The third error is stored in Error history No.3, and the value 3620 (start address of Error history No.3) is stored to Latest address of error history. 'Latest address of error history' (Un\G1): 3620 Un\G3600 Error history No.1 1st error Un\G3610...
  • Page 88 When the 17th error occurs: The 17th error is stored in Error history No.1, and the value 3600 (start address of Error history No.1) is stored to Latest address of error history. 'Latest address of error history' (Un\G1): 3600 Un\G3600 Error history No.1 17th error 1st error...
  • Page 89: Event History Function

    1.17 Event History Function This function collects generated errors, alarms, or executed operations in the D/A converter module as event information in the CPU module. The CPU module collects the event information occurred in the D/A converter module and keeps them in the data memory inside of the CPU module or an SD memory card.
  • Page 90: Backing Up, Saving, And Restoring Offset/Gain Values

    1.18 Backing up, Saving, and Restoring Offset/Gain Values The D/A converter module is capable of backing up, saving, and restoring offset/gain values of the user range. • Backup: Creates a module-specific backup parameter and saves offset/gain values. • Save: Saves the offset/gain information, registered in this module by making the offset/gain setting, in the CPU module. •...
  • Page 91 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 flash memory of the D/A 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 92: When The Module-Specific Backup Parameter Is Not Used

    Restrictions on the module-specific backup parameter The back up 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 D/A converter module with the programmable controller powered off •...
  • Page 93 • To apply the offset/gain values set in one module to the other modules in the same system: When the offset/gain values in module No.1 are applied to modules No.2 to No.4 Save the offset/gain values of module No.1. Apply the offset/gain values to modules No.2 to No.4. Methods for saving and restoring offset/gain values The offset/gain values can be saved and restored by the following two types of operations.
  • Page 94 ■Saving and restoring by reading from and writing to the buffer memory Use Save data type setting, CH1 Factory default setting offset value to CH8 User range setting gain value, and 'User range write request' (YA) to read the offset/gain values from the source D/A converter module. Use the buffer memory again to write the values to the destination D/A converter module.
  • Page 95 Range reference table The following describes the range reference tables used for saving and restoring offset/gain values. ■Factory default setting The following describes the buffer memory addresses of the factory default setting. R60DA4: 'CH1 Factory default setting offset value' (Un\G4004) to 'CH4 Factory default setting gain value' (Un\G4011) R60DAV8, R60DAI8: 'CH1 Factory default setting offset value' (Un\G4004) to 'CH8 Factory default setting gain value' (Un\G4019) •...
  • Page 96: Q Compatible Mode Function

    GX Works3. The read project keeps various settings of the compatible D/A converter module as the settings of the D/A converter module of the MELSEC iQ-R series. The settings to be kept are the switch setting, parameter setting, auto refresh setting, and I/O assignment.
  • Page 97: Chapter 2 Parameter Setting

    PARAMETER SETTING Set the parameters of each channel. Setting the parameters eliminates the need for programming them. Basic Setting Setting procedure Open "Basic settig" of the engineering tool. Start Module parameter. Navigation window  [Parameter]  [Module Information]  Module name  [Module parameter]  [Basic settig] Double-click the item to be changed to enter the setting value.
  • Page 98: Application Setting

    Application Setting Setting procedure Open "Application setting" of the engineering tool. Start Module parameter. Navigation window  [Parameter]  [Module Information]  Module name  [Module parameter]  [Application setting] Double-click the item to be changed to enter the setting value. •...
  • Page 99: Interrupt Setting

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

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

    Refresh processing time Refresh processing time [s] is included in the scan time of the CPU module. For the scan time, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) The refresh processing time [s] required for the refresh settings is calculated by the following formula. •...
  • Page 102: Chapter 3 Troubleshooting

    TROUBLESHOOTING This chapter describes errors that may occur while using the D/A converter module, and those troubleshooting. Checking Using LEDs Checking the display status of LEDs enables the primary diagnosis without an engineering tool and can narrow the range of trouble causes.
  • Page 103: Checking The Status Of The Module

    Checking the Status of the Module Error codes (alarm codes) and the error history of the D/A converter module can be checked in the module diagnostics window of an engineering tool. [Diagnostics]  [System Monitor]  Right-click a module to be checked  "Module Diagnostics" 3 TROUBLESHOOTING 3.2 Checking the Status of the Module...
  • Page 104: Troubleshooting By Symptom

    Troubleshooting by Symptom When the RUN LED flashes or turns off When flashing Check item Cause Action Is the module in offset/gain In the module parameter setting of the Set the operation mode to the normal mode (D/A conversion process) in the setting mode? engineering tool, the programmable controller module parameter setting of the engineering tool, and turn off and on the...
  • Page 105: When An Analog Value Is Not Output

    When an analog value is not output Check item Corrective action Is the external power supply 24VDC supplied? Check 'External power supply READY flag' (X7), and if the flag is off, supply 24VDC to the external power supply terminals (R60DA4: pin number 16, 17, R60DAV8/R60DAI8: pin number 17, 18).
  • Page 106: When An Analog Value Is Not Output With The Wave Output Function Being Selected

    When an analog value is not output with the wave output function being selected Check for the module according to the following procedure. Check item Corrective action Check the module parameter Is the drive mode setting correct? Check that 'Offset/gain setting mode flag' (XA) is off, and the operation mode setting of the engineering setting is normal mode.
  • Page 107: When The Synchronization Output Is Not Performed

    When the synchronization output is not performed Check for the module according to the following procedure. Check item Action Check the system parameter Is the module used set as a target module to Check the synchronization status monitor. setting of GX Works3. be synchronized? If the monitor status is inter-module synchronization non-target (0), the module used is not set as a target module to be synchronized.
  • Page 108: Error Code List

    Error Code List When an error occurs during operation, the D/A converter module stores an error code in 'Latest error code' (Un\G0) of the buffer memory. In addition, 'Error flag' (XF) turns on. Turning on 'Error clear request' (YF) clears the error code in 'Latest error code' (Un\G0), and 'Error flag' (XF) turns off.
  • Page 109 Error code Error name Description and cause Action 191H Digital value setting range • For normal output: Set an appropriate value for CH Digital value. error A value outside the range is set for CH Digital value. • For wave output: Set a value within the setting range to the A value outside the setting range is set to part of corresponding area of 'Wave data registry area'...
  • Page 110 Error code Error name Description and cause Action 1D9H Wave data registry area range The value obtained by subtracting 1 from the total Set values in CH Wave pattern start address error value of CH Wave pattern start address setting setting and CH...
  • Page 111 Error code Error name Description and cause Action 2601H Inter-module synchronization Cycle skipping is detected with the inter-module Execute the EI instruction in a main program to cycle skipping error synchronization function operating. permit an interrupt. Set longer inter-module synchronization cycle or review the synchronization interrupt program such as reducing the number of steps.
  • Page 112: Alarm Code List

    Alarm Code List When an alarm occurs during operation, the D/A converter module stores an alarm code in 'Latest alarm code' (Un\G2) of the buffer memory. Turning on 'Alert output clear request' (YE) or 'Operating condition setting request' (Y9) clears the alarm code in 'Latest alarm code' (Un\G2).
  • Page 113: Appendices

    APPENDICES Appendix 1 Module Label The functions of the D/A converter module can be set by using module labels. Module labels of I/O signals The module label names of I/O signals are defined as follows. "Module name"_"Module number".b"Label name" or "Module name"_"Module number".b"Label name"_D R60DA4_1.bModuleREADY_D ■Module name The module model name...
  • Page 114 ■Label name The label name unique to the module ■_D Describes that the module label is for the direct access. When _D is not described, the module label is for the auto refresh. The following table shows the differences between the auto refresh and direct access. Type Description Access timing...
  • Page 115: 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 D/A converter module. For details on the I/O signals, refer to the following. Page 114 Details of input signals Page 121 Details of output signals •...
  • Page 116: Details Of Input Signals

    Details of input signals The following describes the details of the input signals for the D/A converter module which are assigned to the CPU module. The I/O numbers (X/Y) described in Appendix 2 are for the case when the start I/O number of the D/A converter module is set to 0.
  • Page 117 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 200ms has not yet elapsed after the power-on 'External power supply READY flag' (X7) remains off and the D/A conversion is not performed.
  • Page 118 Operating condition setting completed flag ■Device number The following shows the device number of this input signal. Signal name Operating condition setting completed flag When changing the settings, use Operating condition setting completed flag (X9) as an interlock condition to turn on and off 'Operating condition setting request' (Y9).
  • Page 119 Offset/gain setting mode status flag ■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 offset or gain value that 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 120 Channel change completed flag 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 121 Disconnection detection signal Disconnection detection signal (XD) turns on when a disconnection is detected in a channel while the output range is 4 to 20mA. 'Disconnection detection signal' (XD) turns off by turning on and off 'Error clear request' (YF) or 'Operating condition setting request' (Y9) after the cause of the disconnection is eliminated.
  • Page 122 Error flag Error flag (XF) turns on when an error occurs. By turning on and off 'Error clear request' (YF) after the cause of the error is eliminated, 'Error flag' (XE) turns off and 'Latest error code' (Un\G0) is cleared. Controlled by the D/A converter module Controlled by the program Latest error code...
  • Page 123: Details Of Output Signals

    Details of output signals The following describes the details of the output signals for the D/A converter module which are assigned to the CPU module. The I/O numbers (X/Y) described in Appendix 2 are for the case when the start I/O number of the D/A converter module is set to 0.
  • Page 124 User range write request ■Device number The following shows the device number of this input 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 D/A converter module.
  • Page 125 Alert output clear request Turn on and off 'Alert output clear request' (YE) to clear 'Alert output signal' (XE) and 'Latest alarm code' (Un\G2). For the timing of turning the signal on and off, refer to the following. Page 119 Alert output signal ■Device number The following shows the device number of this input signal.
  • Page 126: Appendix 3 Buffer Memory

    Appendix 3 Buffer Memory List of buffer memory addresses The following table lists the buffer memory addresses of the D/A converter module. For details on the buffer memory addresses, refer to the following. • Page 136 Details of buffer memory addresses Do not write data to the system areas and areas whose data types are monitor in the buffer memory.
  • Page 127 ■Un\G400 to Un\G3599 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9   1000 1200 1400 1600 1800 CH Setting value check Monitor (190H) (258H) (320H) (3E8H) (4B0H) (578H) (640H) (708H) code 1001 1201 1401 1601 1801 CH...
  • Page 128 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9     1081 1281 1481 1681 1881 System area (1E1H) (2A9H) (371H) (439H) (501H) (5C9H) (691H) (759H)   1082 1282 1482 1682 1882 CH Wave output step Control (1E2H) (2AAH)
  • Page 129 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9   1128 1328 1528 1728 1928 CH Wave pattern data Setting (210H) (2D8H) (3A0H) (468H) (530H) (5F8H) (6C0H) (788H) points setting (L) 1129 1329 1529 1729 1929 CH...
  • Page 130 ■Error history (Un\G3600 to Un\G3759) Address Address Name Default Data type Auto Enabled (decimal) (hexadecimal) value refresh by Y9   3600 E10H Error history No.1 Error code Monitor 3601 E11H Error First two Last two time digits of the digits of the year year...
  • Page 131 ■Alarm history (Un\G3760 to Un\G3999) Address Address Name Default Data type Auto Enabled (decimal) (hexadecimal) value refresh by Y9 3760 EB0H Alarm history No.1 Alarm code Monitor   3761 EB1H Alarm First two Last two time digits of the digits of the year year...
  • Page 132 ■Offset/gain setting (For R60DA4) (Un\G4000 to Un\G4129) Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9     4000 to 4001 (FA0H to FA1H) System area   4002 (FA2H) Save data type setting 0000H Setting ...
  • Page 133 ■Un\G4130 to Un\G89999 Address Name Defaul Data Auto Enabled Decimal (hexadecimal) t value type refresh by Y9   4130 (1022H) Offset/gain adjustment Control value specification 4131 (1023H) System area       4132 4134 4136 4138 4140 4142 4144...
  • Page 134 When the Q compatible mode function is used ■Un\G0 to Un\G199 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9   0 (0H) D/A conversion 00FFH Setting enable/disable setting   CH Digital value Control (1H) (2H) (3H)
  • Page 135 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9   158 (9EH) Mode switching Setting setting (L) 159 (9FH) Mode switching Setting   setting (H)     160 to 199 (A0H to C7H) System area *1 Item enabled by turning on and off 'Operating condition setting request' (Y9) *2 For the R60DA4 or R60DAI8...
  • Page 136 ■Un\G401 to Un\G3749 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9     401 (191H) System area   Range setting (CH1 0000H Setting (192H) (193H) to CH4) Range setting (CH5 to CH8) ...
  • Page 137 Address Name Default Data Auto Enabled Decimal (hexadecimal) value type refresh by Y9   1810 to 1969 (712H to 7B1H) Error history No.1 to Monitor 1970 to 1999 (7B2H to 7CFH) System area       2000 2002 2004...
  • Page 138: Details Of Buffer Memory Addresses

    Details of buffer memory addresses The following describes the details of the buffer memory addresses of the D/A converter module. This section describes buffer memory addresses for CH1. Latest error code The latest error code detected in the D/A converter module is stored. For details, refer to the following. Page 106 Error Code List ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 139 Latest address of alarm history Among 'Alarm history No.' (Un\G3760 to Un\G3999), 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 Latest address of alarm history (When the Q 3751...
  • Page 140 Alert output lower limit flag The lower limit alarm can be checked for each channel. b15 b14 b13 b12 b11 b10 b9 (1) 0: Normal, 1: Alert alarm ON (2) b4 to b15 of the R60DA4 and b8 to b15 of the R60DAV8 and R60DAI8 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 141 Disconnection detection flag By setting 4 to 20mA for the analog output range and enabling the D/A conversion, a disconnection can be detected for each channel. b15 b14 b13 b12 b11 b10 b9 (1) 0: Normal, 1: Disconnection detection (2) b4 to b15 of the R60DA4 and b8 to b15 of the R60DAV8 and R60DAI8 are fixed to 0. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 142 Interrupt factor mask [n] Set Interrupt factor mask to be used. Setting value Setting content Mask (Interrupt unused) Mask clear (Interrupt used) When 'Interrupt factor mask [n]' (Un\G124 to Un\G139) is set to Mask clear (Interrupt used) (1) and an interrupt factor occurs, an interrupt request is sent to the CPU module.
  • Page 143 Step action wave output request Set whether to execute the step action wave output for all the analog output channels in a batch. Step action wave output request Setting value The setting for this area is enabled only in the wave output mode. In other modes, changing the setting value is ignored. When the setting value is changed from OFF (0) to ON (1), the wave output status in all the channels, where the D/A conversion is enabled, is changed to During wave output step action and the wave output step action function is enabled.
  • Page 144 Condition target setting [n] Set an interrupt factor to be detected. Setting value Setting content Disable Error flag (XF) Alert output flag Disconnection detection flag External power supply READY flag (X7) If a value other than the above is set, a condition target setting range error (error code: 181H) occurs. Turning off and on 'Error flag' (XF) or the buffer memory areas set in 'Condition target setting [n]' (Un\G232 to Un\G247) or turning on and off 'External power supply READY flag' (X7) set in 'Condition target setting [n]' (Un\G232 to Un\G247) send an interrupt request for the CPU module.
  • Page 145 Condition target channel setting [n] Set a channel where an interrupt is detected. Setting value Setting content All CH specification When a factor for the channel specification is set to 'Condition target setting [n]' (Un\G232 to Un\G247), an interrupt factor in the channel set by this area is monitored.
  • Page 146 CH1 Set value check code The check result of whether the set digital value is within the setting range can be checked. The target values are 'CH1 Digital value' (Un\G460) in the normal output and the wave data to be output in the wave output. When a digital value out of the setting range is written, one of the following check codes is stored.
  • Page 147 CH1 Range setting monitor The output range value set to 'CH1 Range setting' (Un\G598) can be checked. Monitor value Description 4 to 20mA 0 to 20mA 1 to 5V 0 to 5V -10 to 10V User range setting (voltage) User range setting (current) ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 148 CH1 HOLD/CLEAR function setting monitor The setting status of the HOLD/CLEAR function can be checked. Monitor value Description CLEAR HOLD ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH HOLD/CLEAR function setting monitor 1031 1231 1431...
  • Page 149 CH1 Wave pattern output count monitor The output count of the wave pattern can be checked. Only when the wave output function is used and the operation mode is normal mode, a value is stored in the area. Otherwise, 0 is stored. The stored value increases by one every time one cycle of a wave pattern is output.
  • Page 150 CH1 Wave output current digital value monitor The digital value of the current output wave can be checked. Only in the wave output mode, a value is stored in this area. The stored value differs depending on the wave output status. Otherwise, 0 is stored.
  • Page 151 CH1 Wave output digital value out-of-range address monitor When the digital value of the output wave data is out of the range, the buffer memory address of the wave data with a value out of the range can be checked. Only in the wave output mode, a value is stored in this area.
  • Page 152 CH1 Digital value Set the digital input value in 16-bit signed binary for the D/A conversion from the CPU module. Output range setting When the scaling function is disabled When the scaling function is enabled Setting range (practical range) Setting range 0: 4 to 20mA -768 to 32767 -32000 to 32000...
  • Page 153 CH1 Input value shift amount The set value is added to the digital input value regardless of the on/off status of 'Operating condition setting request' (Y9). For the shift function, refer to the following. Page 26 Shift Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 154 CH1 D/A conversion enable/disable setting Set whether to enable or disable the D/A conversion. For details on the D/A conversion enable/disable function, refer to the following. Page 19 D/A Conversion Enable/Disable Function Setting value Description D/A conversion enable D/A conversion disable When a value other than the above is set, the value is processed as D/A conversion disable (1).
  • Page 155 CH1 Scaling enable/disable setting Set whether to enable or disable the scaling. For the scaling function, refer to the following. Page 23 Scaling Function Setting value Description Enable Disable If a value other than the above is set, a scaling enable/disable setting range error (error code: 1A0H) occurs. The scaling function cannot be used when the wave output function is used.
  • Page 156 CH1 Scaling upper limit value Set the range of the scale conversion. For the scaling function, refer to the following. Page 23 Scaling Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 157 CH1 Alert output setting Set whether to enable or disable the alert output. For the alert output function, refer to the following. Page 28 Alert Output Function Setting value Description Enable Disable If a value other than the above is set, an alert output setting range error (error code: 1B0H) occurs. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 158 CH1 Rate control enable/disable setting Set whether to enable or disable the rate control. For the rate control function, refer to the following. Page 30 Rate Control Function Setting value Description Enable Disable If a value other than the above is set, a rate control enable/disable setting range error (error code: 1B8H) occurs. The rate control function cannot be used when the wave output function is used.
  • Page 159 CH1 Alert output upper limit value Set the range of digital values to output alerts. For the alert output function, refer to the following. Page 28 Alert Output Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 160 CH1 Increase digital limit value Set the increment value per conversion cycle (80s) when using the rate control function. For the rate control function, refer to the following. Page 30 Rate Control Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 161 CH1 Output setting during wave output stop Select the output during wave output stop when the wave output function is used. The setting for this area is enabled only in the wave output mode. In other modes, changing the setting value is ignored. Analog output Setting value 0V/0mA...
  • Page 162 CH1 Output value during wave output stop This area is for setting the value to be output when Output value during wave output stop (2) is set in 'CH1 Output setting during wave output stop' (Un\G524). The setting for this area is enabled only in the wave output mode. In other modes, changing the setting value is ignored. The setting range depends on the set output range.
  • Page 163 CH1 Wave pattern start address setting This area is for setting the start address of the wave pattern to be output when the wave output function is used. The setting for this area is enabled only in the wave output mode. In other modes, changing the setting value is ignored. In the channel where the set values in this area and in 'CH1 Wave pattern data points setting' (Un\G528, Un\G529) satisfy the following conditions, a wave data registry area range error (error code: 1D9H) occurs and 'Error flag' (XF) turns on.
  • Page 164 CH1 Wave pattern data points setting This area is for setting the data points of the wave pattern to be output when the wave output function is used. The setting for this area is enabled only in the wave output mode. In other modes, changing the setting value is ignored. In the channel where the set values in this area and in 'CH1 Wave pattern data points setting' (Un\G528, Un\G529) satisfy the following conditions, a wave data registry area range error (error code: 1D9H) occurs and 'Error flag' (XF) turns on.
  • Page 165 CH1 Constant for wave output conversion cycle This area is for setting the constant to determine the conversion cycle (specifying a multiple of the conversion speed) for each channel when the wave output function is used. The setting for this area is enabled only in the wave output mode. In other modes, changing the setting value is ignored. The conversion cycle of each channel is determined from the combination of the reference conversion speed (80s), number of channels where D/A conversion is enabled, and the constant for wave output conversion cycle.
  • Page 166 CH1 Range setting This area is for setting an output range. Output range Setting value R60DA4 R60DAV8 R60DAI8  4 to 20mA 0 to 20mA   1 to 5V 0H, 2H 0 to 5V  -10 to 10V  User range setting (voltage) ...
  • Page 167 Range setting [Q compatible mode] This area is for setting an output range when the Q compatible mode function is used. The following shows the setting details in the Q compatible mode. … b12 b11 … b8 b7 … … Un\G402 (Range setting CH1 to CH4) …...
  • Page 168 Error history Up to 16 errors that occurred in the module are recorded. 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 Un\G3604 Second Day of the week Un\G3605 Millisecond (Upper) Millisecond (Lower)
  • Page 169 Alarm history Up to 16 alarms that occurred in the module are recorded. 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 Un\G3764 Second Day of the week Un\G3765 Millisecond (Upper) Millisecond (Lower)
  • Page 170 CH1 Factory default setting This area restores the offset/gain setting value in user range setting. For details, refer to the following. Page 168 CH1 User range setting CH1 User range setting This area restores the offset/gain setting value in user range setting. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 171 Offset/gain adjustment value specification Set the adjustment amount of the analog output value in the offset/gain setting mode. For the offset/gain setting, refer to the following.  MELSEC iQ-R Digital-Analog Converter Module User's Manual (Startup) ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name Offset/gain adjustment value specification 4130...
  • Page 172 Offset/gain setting mode [Q compatible mode] When the Q compatible mode function is used, specify the channel where the offset/gain setting is adjusted. The following shows the setting details in the Q compatible mode. b15 b14 b13 b12 b11 b10 b9 (1) 0: Disable, 1: Setting channel (2) b4 to b15 of the R60DA4 and b8 to b15 of the R60DAV8 and R60DAI8 are fixed to 0.
  • Page 173 Offset/gain setting mode (range specification) [Q compatible mode] The output range can be changed in the offset/gain setting when the Q compatible mode function is used. The output range is changed to the set one by 'Channel change request' (YB). The setting written in 'Offset/gain setting mode (range specification)' (Un\G25) is applied to all the channels.
  • Page 174 Output setting during synchronous Error Select whether to continue or stop the synchronization of the D/A converter modules when an inter-module synchronization cross-cycles processing error (error code: 2600H) or inter-module synchronization signal error (error code: 2610H) occurs. Setting value Description Synchronization continues Synchronization stops ■Buffer memory address...
  • Page 175 Wave data registry area This area is for registering wave data for analog output in the wave output mode. The setting range depends on the set output range. The setting range is shown below. Output range Setting range 4 to 20mA -768 to 32767 (practical range: 0 to 32000) 0 to 20mA 1 to 5V...
  • Page 176: Appendix 4 Dedicated Instruction

    Appendix 4 Dedicated Instruction Instruction list The following table lists the dedicated instructions that can be used in the D/A converter module. Instruction Description G(P).OFFGAN Switches normal mode to offset/gain setting mode. Switches offset/gain setting mode to normal mode. G(P).OGLOAD The offset/gain setting value in the user range setting is read out to the CPU module.
  • Page 177: 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 178: 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 179 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]  [Module Parameter]  [Required Settings] Set "Network Configuration Settings"...
  • Page 180 Set "Refresh Setting" of "Module Parameter" of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Module Parameter]  [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 181: 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 182 Set "Basic setting" of "Module Parameter" of the D/A converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60DA4]  [Module Parameter]  [Basic setting] Set "Application setting" of "Module Parameter" of the D/A converter module as shown below. [Navigation window] ...
  • Page 183 Set "Refresh settings" of "Module Parameter" of the D/A converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60DA4]  [Module Parameter]  [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 184: 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 185 Program example 1 The following figure shows an example of the program to start D/A conversion by setting the digital values for D/A conversion (CH1 to CH4) and enabling analog output. (32) Sets values in CH1 Digital value to CH4 Digital value. (107) Enables output for CH1 to CH4.
  • Page 186 Program example 2 The following figure shows an example of the program to perform operations reacting to an alert (such as processing of when an alert has occurred or clearing an alert) if an alert occurs in CH2. (206) Performs a processing of when an upper limit alert has occurred in CH2. (235) Performs a processing of when a lower limit alert has occurred in CH2.
  • Page 187: Appendix 6 Added Or Changed Functions

    Appendix 6 Added or Changed Functions This section describes the functions added to or changed for the D/A converter module. Added or changed contents Firmware version Reference Online module change "02" or later  MELSEC iQ-R Online Module Change Manual Backing up offset/gain values "02"...
  • Page 188: Index

    INDEX ....122 Channel change request ... . .143 Condition target channel setting ......167 Alarm history .
  • Page 189 ....95 PARAMETER SETTING ....94 Q compatible mode function .
  • Page 190: Revisions

    Japanese manual number: SH-081236-E This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 191: 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 192: Trademark

    TRADEMARK 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)-081237ENG-E...
  • Page 194 SH(NA)-081237ENG-E(1812)MEE MODEL: R-DA-U-OU-E MODEL CODE: 13JX13 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.

This manual is also suitable for:

R60dav8R60da4R60dai8