Mitsubishi Electric MELSEC iQ-R Series User Manual

Mitsubishi Electric MELSEC iQ-R Series User Manual

High speed digital-analog converter module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R High Speed Digital-Analog Converter Module User's Manual (Application) -R60DAH4...
  • 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 ● Do not write any data to the "system area" and "write prohibited area" of the buffer memory in the module. Also, do not use any "use prohibited" signals as an output signal from the CPU module to each module.
  • Page 6 [Security Precautions] WARNING ● To maintain the security (confidentiality, integrity, and availability) of the programmable controller and the system against unauthorized access, denial-of-service (DoS) attacks, computer viruses, and other cyberattacks from external devices via the network, take appropriate measures such as firewalls, virtual private networks (VPNs), and antivirus solutions.
  • Page 7 [Wiring Precautions] WARNING ● Shut off the external power supply (all phases) used in the system before installation and wiring. Failure to do so may result in electric shock or cause the module to fail or malfunction. ● After installation and wiring, attach a blank cover module (RG60) to each empty slot and an included extension connector protective cover to the unused extension cable connector before powering on the system for operation.
  • Page 8 [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 9 [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 10 [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 11 [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 12: 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 13: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 14 When the ALM LED turns on ............. . . 122 When the analog output is not performed .
  • Page 15: Relevant Manuals

    Module User's Manual (Application) the D/A converter module e-Manual [SH-081657ENG] (this manual) MELSEC iQ-R Module Configuration Manual Combinations of MELSEC iQ-R series modules to be used, common information on Print book [SH-081262ENG] installations/wiring for configuring systems, and specifications of the power supply e-Manual...
  • Page 16: Generic Terms And Abbreviations

    Description D/A converter module An abbreviation for the MELSEC iQ-R series high speed digital-analog converter module Factory default setting A generic term for analog output ranges of 4 to 20mA, 0 to 20mA, 1 to 5V, 0 to 5V, -10 to 10V...
  • Page 17: Manual Page Organization

    MANUAL PAGE ORGANIZATION In this manual, pages about functions, I/O signals, and buffer memory areas are organized and the symbols are used as shown below. The following illustration is for explanation purpose only, and should not be referred to as an actual documentation. Ò...
  • Page 18: Chapter 1 Functions

    FUNCTIONS This chapter describes the functions of the D/A converter module and the setting methods for those functions. For details on the I/O signals and the buffer memory, refer to the following. Page 135 I/O Signals Page 146 Buffer Memory Areas •...
  • Page 19 Wave output mode This operation mode is for performing the wave output. The value set in Wave data registry area (Un\G10000 to Un\G99999) is continuously output in analog after sequent D/A conversion. Conversion speed is 20s/CH. Wave data Warning output Program Check code result registry area...
  • Page 20 Operation mode transition The following figure and table describe the transition condition for each operation mode. At power-on or at reset of the CPU module Inter-module Offset/gain synchronization setting mode mode Wave output Normal output mode mode High-speed output mode Transition condition Set "High speed output mode (1s/CH)"...
  • Page 21 Checking method The current operation mode can be checked with the following items. Operation mode RUN LED status Value stored in 'Operation 'Offset/gain setting mode status mode monitor' (Un\G60) flag' (XA) High-speed output mode Normal output mode Wave output mode Inter-module synchronization mode Offset/gain setting mode Flashing (1s cycle)
  • Page 22: Range Switching Function

    Range Switching Function Common This function allows switching the output range of an analog output for each channel. Switching the range makes it possible to change the I/O conversion characteristic. Operation The set digital value is converted to an analog value within the analog output range of the output range set in "Output range setting"...
  • Page 23 Precautions Common • The output range cannot be changed for a channel where D/A conversion is disabled. Change the output range after setting "D/A conversion enable/disable setting" to "D/A conversion enable" and turning off 'CH1 Output enable/disable flag' (Y1). Normal •...
  • Page 24: D/A Conversion Enable/Disable Setting Function

    D/A Conversion Enable/Disable Setting Function Common 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. The conversion cycle of the D/A converter module is the Conversion speed  Number of D/A conversion enabled channels. Setting method Set "D/A conversion enable/disable setting"...
  • Page 25: Analog Output Hold/Clear Function

    Analog Output HOLD/CLEAR Function Common 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 analog output HOLD/CLEAR function setting status can be checked with 'CH1 HOLD/CLEAR function setting monitor' (Un\G431).
  • Page 26 ■Wave output mode The analog output status changes as shown in the following table, depending on the combination of 'CH1 D/A conversion enable/disable setting' (Un\G500), 'CH1 Output enable/disable flag' (Y1), and the wave output status. Execution 'CH1 D/A conversion Enable Disable status enable/disable setting'...
  • Page 27 Setting method Set "Analog output HOLD/CLEAR setting" to "HOLD" or "CLEAR". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [Output mode setting function] Precautions for when the remote head module has been mounted When the D/A converter module has been mounted with the remote head module, set whether to hold or clear the analog output value that has been output when the own station is disconnected with "CPU error output mode setting"...
  • Page 28: Analog Output Test Function When The Cpu Module Is In Stop State

    Analog Output Test Function When the CPU Module is in STOP State Normal High speed Synchronization This function allows performing the analog output test when the CPU module is in the STOP state. Operation By forcibly turning on 'CH1 Output enable/disable flag' (Y1) when the CPU module is in the STOP state, the analog output value is changed from the offset value to the D/A-converted analog output value.
  • Page 29 Setting method To perform an analog output test, configure the settings in the device test of the engineering tool following the procedure shown below. Set 'CH1 D/A conversion enable/disable setting' (Un\G500) of the buffer memory to D/A conversion enabled (0). Turn on 'Operating condition setting request' (Y9).
  • Page 30: Scaling Function

    Scaling Function Normal 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. This function helps reduce the time taken for creating a scale conversion program. 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 31 Setting method Set "Scaling enable/disable setting" to "Enable". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Scaling function] Set values for "Scaling upper limit value" and "Scaling lower limit value". Item Setting range Scaling upper limit value -32000 to 32000 Scaling lower limit value...
  • Page 32 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 conversion characteristic 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 conversion characteristic graph).
  • Page 33: Shift Function

    Shift Function Normal This function allows adding the set input value shift amount to the digital 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 34 Precautions • Based on the digital value obtained after the shift-and-add processing, the warning 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 Set value check code' (Un\G400).
  • Page 35: Warning Output Function

    Warning Output Function Normal Wave Synchronization This function outputs a warning when the digital value is larger than the warning output upper limit value or is smaller than the warning output lower limit value. The warning target depends on the operation mode, as shown below. •...
  • Page 36 Clearing a warning To clear the warning, turn on and off any of the following signals after setting the digital value to 'CH1 Warning output upper limit value' (Un\G510) or smaller and 'CH1 Warning output lower limit value' (Un\G512) or larger. •...
  • Page 37: Rate Control Function

    1.10 Rate Control Function Normal This function prevents the sudden change of the analog output value by limiting the increment/decrement of the analog output value per conversion cycle. Operation When the setting value of 'CH1 Digital value' (Un\G460) is changed, if the difference between the previously set digital value and the newly set digital value is larger than the digital limit values below, the rate control function will be executed.
  • Page 38 Operation example of the rate control function The following figure and table show an operation example when the rate control function is used for CH1 to CH3. Setting item CH1 setting CH2 setting CH3 setting CH4 setting D/A conversion enable/disable setting Enable Enable Enable...
  • Page 39 Change of digital value during the rate control When the digital value is changed again during the rate control, the rate control will continue until a new digital value is output in analog. In this case, setting the digital value that reverses the direction of increase or decrease changes the digital limit value used for the rate control depending on the direction of increase/decrease.
  • Page 40 Relationship between CPU module status and analog output When the CPU module status is changed, the operation of the rate control function varies depending on the setting of the analog output HOLD/CLEAR function as shown below. ■When the analog output HOLD/CLEAR function is set to CLEAR If the status of CPU module changes from RUN to STOP (error), the rate control stops and offset value is output in analog.
  • Page 41: External Power Supply Interruption Detection Function

    1.11 External Power Supply Interruption Detection Function Common 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 42: Disconnection Detection Function

    1.12 Disconnection Detection Function Normal Wave Synchronization This function allows detecting the disconnection by monitoring the analog output value. This function is enabled only when the output range is 4 to 20mA. A disconnection can be detected for each channel. Detection range Out of detection range Analog output value...
  • Page 43 Clearing disconnection detection Even if the disconnection cause is eliminated, the analog output does not restart automatically to prevent an incorrect output. To clear the disconnection detection and restart analog output, execute the following operations for each operation mode. When the analog output restarts, bits of the corresponding channel of 'Disconnection detection flag' (Un\G38) are cleared. When the analog output of all the channels restarts, 'Disconnection detection signal' (XD) turns off.
  • Page 44: Interrupt Function

    1.13 Interrupt Function Normal Wave Synchronization The D/A converter module executes the interrupt program of the CPU module when an interrupt factor such as a disconnection or warning 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 An interrupt factor will be detected by setting "Interrupt setting"...
  • Page 45 ■Interrupt factor transaction setting Set whether to send an interrupt request when the same interrupt factor occurs during the interrupt factor detection. • When "Interrupt reissue request" has been set and the same interrupt factor occurs while the interrupt factor has been detected, an interrupt request is sent to the CPU module again.
  • Page 46 Setting example When the interrupt program (I50) is executed at the disconnection detection in any channel • Parameter settings Set "Interrupt setting" of the module parameter as follows. Condition target setting Condition target channel setting Interrupt pointer Disconnection detection flag All CH specification •...
  • Page 47: Wave Output Function

    1.14 Wave Output Function Wave This function registers the prepared wave data (digital value) on 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 48 Wave output function procedure The following shows how to use the wave output function. Creating wave data Page 52 Creating wave data Setting parameters of the wave output function Page 56 Setting parameters of the wave output function Writing wave output data to a file register (ZR) or CSV file Page 57 Writing data to a file register (ZR) or CSV file Setting parameters of D/A converter module Page 58 D/A conversion enable/disable setting...
  • Page 49 Restrictions and precautions 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 method of the output range, refer to the following. Page 20 Range Switching Function ■Scaling function The scaling function cannot be used in the wave output mode.
  • Page 50 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 51 Wave pattern output count The wave pattern can be output repeatedly according to the setting of 'CH1 Wave pattern output repetition setting' (Un\G530). Set the output count within 1 to 32767. The wave pattern also can be output in analog repeatedly and unlimitedly by setting 'CH1 Wave pattern output repetition setting' (Un\G530) to -1.
  • Page 52 *1 The output cycle of a wave pattern is calculated by the following calculation formula. Output cycle of a wave pattern = (Wave output conversion cycle)  (Wave pattern data points - 1) For details on the wave output conversion cycle, refer to the following. Page 51 Wave output conversion cycle Calculating the output cycle of a wave pattern Setting item...
  • Page 53 Wave output conversion cycle The wave output conversion cycle is calculated by the following formula. • Conversion cycle (s) = Conversion speed (20s)  Number of D/A conversion enabled channels  "Constant for wave output 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 54: 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 52 Creating wave data) •...
  • Page 55 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 56 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 57 Drag the created end point to adjust the position. Drag The end point position also can be adjusted by changing the value of "End point" and "Digital value" in "Wave details setting". Item Description Start point The end point of the previous interval is displayed. To change the start point, change the end point of the previous interval. End point Set the number of data (position) for the destination end point.
  • Page 58 Setting parameters of the wave output function Set the parameters of the wave output function in the "Create Wave Output Data" window of the engineering tool. Before the parameter setting, create the wave data. Start "Create Wave Output Data". [Tool]  [Module Tool List]  [Analog Output]  [Create wave output data] Select "R60DAH4"...
  • Page 59 Writing data to a file register (ZR) or CSV file Write wave output data created in "Create Wave Output Data" to a file register (ZR) or CSV file. • Data unnecessary for control such as "Wave pattern name", "Comments", and "Wave details setting" is not written to the file register (ZR) or the CSV file.
  • Page 60: 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 in "Create Wave Output Data" of the engineering tool in the D/A converter module. Use the function block (FB) for the wave output data registration.
  • Page 61 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 CH1 where the D/A conversion is enabled varies depending on the 'CH1 Output enable/disable flag' (Y1) status as shown below.
  • Page 62 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 'CH1 Wave output start/stop request' (Un\G462) to Wave output start request (1).
  • Page 63 ■Pausing the wave output • To stop the wave output temporarily, set 'CH1 Wave output start/stop request' (Un\G462) to Wave output pause request (2). 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 in 'CH1 Wave output status monitor' (Un\G401).
  • Page 64 • 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 Wave output start request (1) flag' (Y1) 'CH1 Wave output start/stop Wave output stop Wave output pause...
  • Page 65 • Wave output start request is accepted only when the CPU module is in the RUN state. When a value in 'CH1 Wave output start/stop request' (Un\G462) is changed to Wave output start request (1) with a CPU module state other than the RUN state, the wave output is not started. •...
  • Page 66 How to register data when a remote head module is used For how to register the wave data and parameter settings for the wave output function, which is created from "Create Wave Output Data" of the engineering tool, in the D/A converter module, refer to the following. ■Registration procedure Write wave data and parameters for the wave output function to the file register (ZR) of the CPU module on the master station using "Create Wave Output Data"...
  • Page 67 • Label settings Classification Label name Description Device Module label GF11_1.bSts_DataLinkError Data link error status of own station SB0049 GF11_1.bnSts_DataLinkError_Station[1] Data link status of each station (station number 1) SW00B0.0 Label to be defined Define global labels as shown below: *2 This module label is for the master/local module (RJ71GF11-T2).
  • Page 68 • Program 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 69 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 70 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 71 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 72 Checks the data link status of the remote head module (station number 1). (32) Turns on the write start flag of output setting during wave output stop (M1001) and clears the buffer memory address index (Z0) and wave output parameter setting index (Z1) to 0. (85) Writes the value from ZR0 to 'CH1 Output setting during wave output stop' (U0\G524).
  • Page 73: Points To Use The Wave Output Function

    Points to use the wave output function When 'CH1 Output enable/disable flag' (Y1) is changed When 'CH1 Output enable/disable flag' (Y1) is turned off during the wave output, the analog output value becomes the offset value though the wave output is continued. The wave output continues to be updated while 'CH1 Output enable/disable flag' (Y1) is off.
  • Page 74 When the CPU module status is changed 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 at the change is maintained.
  • Page 75 ■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 76 When an error occurs When a value out of the setting range is tried to be output, a digital value setting range error (error code: 191H) occurs. When a digital value setting range error (error code: 191H) occurs during the wave output, the analog output value becomes as follows.
  • Page 77 When the external power supply turns off When the external power supply is turned off during the wave output, the wave output status of all the channels becomes the during wave output stop (the wave output stops). The wave output does not automatically restart even when the external power supply is turned on.
  • Page 78 When a disconnection is detected When a disconnection is detected during the wave output, the wave output status of the channel where the disconnection was detected becomes the during wave output stop (the wave output stops). The wave output does not automatically restart even after the recovery from the disconnection.
  • Page 79 When the wave output function is used as PWM The wave output function can also be used as PWM with the minimum pulse width of 20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 80 Set 'CH1 D/A conversion enable/disable setting' (Un\G500) to D/A conversion enable (0). Turn on and off 'Operating condition setting request' (Y9). Turn on 'CH1 Output enable/disable flag' (Y1). Start wave output by setting 'CH1 Wave output start/stop request' (Un\G462) to Wave output start request (1). Then the values are output in analog as shown below.
  • Page 81: 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 in the wave output mode. This function is useful for the analog output test in the wave output mode and for debugging the wave output function. Wave output step action on the following conditions: •...
  • Page 82 Set 'CH1 Wave output step action movement amount' (Un\G482) to 8 (8 in the forward direction). Movement of the wave data registry area Change of the analog output value Address Digital value Analog output (Digital value) Un\G25000 Un\G25001 1000 Un\G25002 2000 (32000) Un\G25003...
  • Page 83 Set 'Step action wave output request' (Un\G188) to OFF (0) during wave output. Movement of the wave data registry area Change of the analog output value Address Digital value Analog output (Digital value) Un\G25000 Un\G25001 1000 Un\G25002 2000 (32000) Un\G25003 3000 Un\G34988 12000...
  • Page 84 Operation of the wave output step action function The wave output step action function is executed as follows. 'Step action wave OFF(0) ON(1) output request' (Un\G188) 'CH1 Wave output During wave output step action (3) status monitor' (Un\G401) 'CH1 Wave output step action movement No movement (0) 5000...
  • Page 85 ■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 analog output in the wave output mode and debugs the wave output function. Change the value of the target wave data for the wave output step action to any value.
  • Page 86 Analog output test in the wave output mode 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. Set "Operation mode setting"...
  • Page 87 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 becomes the offset value. Example 1 When 'CH1 Wave output current address monitor' (Un\G436, Un\G437) Decide an address (Address A) of Wave data registry area is 10100, and Address A is 10110 from which the next wave is to be output.
  • Page 88 Is it necessary to execute wave output after the analog output test? Set 'Step action wave output request' (Un\G188) to OFF (0). Restore the wave data changed at the execution of Turn off the power. the wave output step action. Continuous use of the wave output function 1 FUNCTIONS 1.14 Wave Output Function...
  • Page 89: Inter-Module Synchronization Function

    1.15 Inter-Module Synchronization Function Synchronization The operations of multiple D/A converter modules and the timing of D/A conversion of all channels can be synchronized. An D/A converter module uses the inter-module synchronization signal as a trigger to simultaneously execute the D/A conversion of all channels.
  • Page 90 ■Setting the module parameter Set the module parameter to use the inter-module synchronization function. The setting method is shown below. Set "D/A conversion enable/disable setting" to "Basic setting" window [Navigation window]  [Parameter]  [Module Information]  "D/A conversion enable". Module model name ...
  • Page 91 Create an inter-module synchronous interrupt program (I44). The inter-module synchronous interrupt program (I44) is executed at every inter-module synchronization cycle set by a customer. For details on interrupt programs, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) ■Changing the module setting •...
  • Page 92 ■Basic operation The following shows the basic operation of when the settings have been correctly configured and two D/A converter modules operate in synchronization with each other. This section describes the analog HOLD/CLEAR function for each module according to the following settings. Target module Analog HOLD/CLEAR function Module A...
  • Page 93 • Synchronized operation flow of when the CPU module is in the RUN state Inter-module synchronization cycle Inter-module synchronization cycle CPU module operating status CPU module Synchronized synchronization status Module A, Module B 'CH1 D/A conversion enable/ D/A conversion enable (0) disable setting' (Un\G500) Module A, Module B 'CH1 Output enable/disable...
  • Page 94 • Synchronized operation flow of when the status of the CPU module is changed from RUN to STOP Inter-module synchronization cycle Inter-module synchronization cycle CPU module STOP operating status CPU module Synchronized Stopped synchronization status Module A, Module B 'CH1 D/A conversion enable/ D/A conversion enable (0) disable setting' (Un\G500) Module A, Module B...
  • Page 95 ■Synchronous conversion processing in the D/A converter module This function imports the synchronization digital values at the timing when the inter-module synchronous interrupt program is executed, and then simultaneously converts them to analog in the next inter-module synchronization cycle for all the channels.
  • Page 96 Faulty operation during synchronization The causes of the faulty operation during synchronization are as follows: • Cycle crossing (Page 94 Operation when a cycle crossing occurs) • Cycle skipping (Page 96 Operation when a cycle skip occurs) • Synchronization loss (Page 97 Operation when a synchronization loss occurs) ■Operation when a cycle crossing occurs The phenomena that D/A conversion is processed across the inter-module synchronization cycle due to the operation timing of the inter-module synchronous interrupt program (I44) is called "cycle crossing".
  • Page 97 • When 'Output setting during synchronization error' (Un\G9532) is set to Synchronization stop (1) Inter-module synchronization cycle Inter-module synchronization cycle Inter-module synchronous interrupt program 'CH1 Synchronization digital value' (Un\G9500) conversion conversion conversion Analog output value Analog output value while the Analog output value of 1A in CH1 synchronization is being stopped...
  • Page 98 ■Operation when a cycle skip occurs The phenomena that D/A conversion is not processed within an inter-module synchronization cycle due to the operation timing of the inter-module synchronous interrupt program (I44) is called "cycle skip". When a cycle skip has occurred, an inter- module synchronization cycle skip error (error code: 2601H) occurs.
  • Page 99 ■Operation when a synchronization loss occurs The phenomenon that the D/A converter module cannot receive inter-module synchronization signals at a normal cycle, or receives at the timing far from the timing of inter-module synchronization cycle is called "synchronization loss". When a synchronization loss has occurred, an inter-module synchronization signal error (error code: 2610H) occurs.
  • Page 100 • When 'Output setting during synchronization error' (Un\G9532) is set to Synchronization stop (1) Inter-module synchronization cycle Inter-module synchronization cycle Inter-module synchronous interrupt program 'CH1 Synchronization digital value' (Un\G9500) Analog output value Previous analog Analog output Analog output value while the in CH1 output value value of 1A...
  • Page 101 Warning output during synchronization Regarding the warning output while the inter-module synchronization function is enabled, the update timing for ALM LED, 'Warning output signal' (XE), 'Warning output upper flag' (Un\G36), and 'Warning output lower flag' (Un\G37) are changed as described below. Inter-module synchronization cycle Inter-module...
  • Page 102 External power supply OFF during synchronization When the external power supply is turned off while the inter-module synchronization function is operating, 0V/0mA is output in analog from all the channels. After the external power supply is turned on, and the next synchronous interrupt program is executed after 'External power supply READY flag' (X7) is turned on, analog output is restarted.
  • Page 103 Precautions • The following table shows the availability of other functions of when the inter-module synchronization function is enabled. Function Availability Remarks Range switching function   (Switching by program)   D/A conversion enable/disable setting function D/A output enable/disable setting function ...
  • Page 104: Error History Function

    1.16 Error History Function Common Up to 16 errors and alarms that have occurred in the D/A converter module are stored in the buffer memory as the error and alarm history. 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 time are stored from Alarm history No.1 (Un\G3760 to Un\G3769) in order.
  • Page 105 How to clear error history function Error history and alarm history can be cleared using one of the following methods. ■Error history • Power off the programmable controller. • Reset the CPU module. • Set Clear setting of error history (Un\G3930) to Clear (1), and turn on and off 'Error clear request' (YF) or 'Operating condition setting request' (Y9).
  • Page 106 The following shows an example of when the 17th error occurs. The 17th error is stored in Error history No.1, and 'Latest address of error history' (Un\G1) is overwritten with the value 3600 (start address of Error history No.1). 'Latest address of error history' (Un\G1): 3600 Latest Un\G3600...
  • Page 107: Event History Function

    1.17 Event History Function Common 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 108: Backing Up, Saving, And Restoring Offset/Gain Values

    1.18 Backing up, Saving, and Restoring Offset/Gain Values Normal The D/A converter module makes it possible to back up, save, and restore the offset/gain values of the user range setting. • Back up: Creates a module-specific backup parameter and saves offset/gain values. •...
  • Page 109 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 110 Restrictions on the module-specific backup parameter Offset/gain values cannot be backed up or restored with a module-specific backup parameter in the following cases. • When the control CPU is not the process CPU • When the programmable controller is powered off and the D/A converter module is replaced with a new one •...
  • Page 111: When The Module-Specific Backup Parameter Is Not Used

    When the module-specific backup parameter is not used Normal Save and restore offset/gain values by one of the following methods. • Saving and restoring by dedicated instructions • Saving and restoring by reading from and writing to the buffer memory With the methods above, offset/gain values can be restored to a new module, or the offset/gain values set in one module can be applied to the other modules in the same system.
  • Page 112 • 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. Saving and restoring by dedicated instructions Use the dedicated instruction G(P).OGLOAD to temporarily save the offset/gain values of the source D/A converter module to the internal device of the CPU module, then use the G(P).OGSTOR to write the values to the destination D/A converter...
  • Page 113 Saving and restoring by reading from and writing to the buffer memory Use Save data type setting (Un\G4002), CH1 Factory default setting offset value (Un\G4004) to CH4 User range setting gain value (Un\G4019), 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 114 Range reference table The following shows the range reference tables to be used for saving and restoring offset/gain values. ■Range reference table of Factory default setting offset/gain value Address (decimal) Description Save data type Analog value Reference value setting (hexadecimal) 4004 4006 4008...
  • Page 115: Chapter 2 Parameter

    PARAMETER This chapter describes the parameter settings of each channel. Setting the parameters here eliminates the need for parameter setting by programming. Parameter Setting Procedure Add the D/A converter module to the engineering tool. Navigation window  [Parameter]  [Module Information]  Right-click  [Add New Module] The parameter setting includes four types of settings: basic setting, application setting, interrupt setting, refresh setting.
  • Page 116: Basic Setting

    Basic Setting Setting method Open "Basic setting" of the engineering tool. Start the module parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting] Click the item to be changed to enter the setting value. •...
  • Page 117: Application Setting

    Application Setting Setting method The settings are made in "Application setting" of the engineering tool. Start the module parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting] Click the item to be changed to enter the setting value. •...
  • Page 118: Interrupt Setting

    Interrupt Setting Setting method The settings are made in "Interrupt setting" of the engineering tool. Start the module parameter. [Navigation window]  [Parameter]  [Module Information]  Module model name  [Interrupt setting] Click the interrupt setting number (No.1 to 16) to be changed to enter the setting value. •...
  • Page 119: Refresh Setting

    Refresh Setting The buffer memory of the D/A converter module to be refreshed is set. This refresh setting eliminates the need for reading data by programming. Setting method The settings are made in "Refresh settings" of the engineering tool. Start the module parameter. [Navigation window] ...
  • Page 120: Refresh Processing Time

    When the refresh is enabled, the values of the refresh target are enabled at the refresh timing set with the engineering tool. At this time, the buffer memory areas are overwritten with the values of the refresh target. To change a value in the refresh target buffer memory area, create a program to change the value in the module label and the device of the refresh source.
  • Page 121: Chapter 3 Troubleshooting

    TROUBLESHOOTING This chapter describes errors that may occur while using the D/A converter module, and those troubleshooting. Troubleshooting with 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 122: Checking State Of Module

    Checking State of Module The following functions are available in the "Module Diagnostics" window of the D/A converter module. Function Application Error Information Displays the errors that have occurred. Click the [Event History] button to check not only the errors and alarms that occurred in the D/A converter module, but also the errors detected by each module and the operation history.
  • Page 123 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 D/A converter module. Item Description LED information...
  • Page 124: 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 in the offset/ The programmable controller power supply has In the module parameter setting of the engineering tool, gain setting mode.
  • Page 125: When The Analog Output Is Not Performed

    When the analog output is not performed Follow the steps in the table below to find the cause of the trouble. Description Procedure ■Step 1: Checking the digital value Check whether the digital value is written. When a value is not output in analog Monitor the buffer memory area with the Check the value stored in 'CH1 Digital value' (Un\G460).
  • Page 126 Description Procedure ■Step 3: Checking the output range setting Ó Check whether the output range appropriate to the analog output is set. Check the value stored in 'CH1 Range Monitor the buffer memory area with the setting monitor' (Un\G430). monitor function of the engineering tool.
  • Page 127: When Hold Of An Analog Output Value Is Not Available

    Check item 3 D/A conversion is disabled. Check the following items. Check item Action Check whether 'CH1 D/A conversion enable/disable setting' Check 'CH1 D/A conversion enable/disable setting' (Un\G500) using the monitor functions (Un\G500) is set to D/A conversion disable (1). of the engineering tool ("Device/Buffer Memory Batch Monitor"...
  • Page 128: When The Analog Output Is Not Performed In The Wave Output Mode

    When the analog output is not performed in the wave output mode Check the following. Check item Action Checking the module Is the drive mode setting correct? Check that the wave output mode is set using 'Operation mode monitor' parameter of engineering (Un\G60).
  • Page 129: When Synchronous Output Is Not Started

    When synchronous output is not started Check the following. Check item Action Checking the system Is the module set as the target module to be Check 'Synchronization status monitor' (Un\G9600). If the monitor status is parameter of engineering synchronized. Inter-module synchronization non-target (0), the module is not set as the tool target module to be synchronized.
  • Page 130: List Of Error Codes

    List of Error Codes 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) allows clearing of the error code of 'Latest error code' (Un\G0), and turning off of 'Error flag' (XF).
  • Page 131 Error code Error name Description and cause Action 190H Range setting range error CH Range setting is set to a value outside the Set CH Range setting to the following values: range. • 4 to 20mA (0H) to -10 to 10V (4H) •...
  • Page 132 Error code Error name Description and cause Action 1D2H Setting range error for Output CH Output setting during wave output stop is set Set CH Output setting during wave output stop to setting during wave output to a value other than 0 to 2. any of the following values: stop •...
  • Page 133 Error code Error name Description and cause Action 2600H Inter-module synchronization It was detected that the processing was performed Correct settings to extend the inter-module cycle crossing over error across the cycles with the inter-module synchronization cycle or reduce the number of steps synchronization function operating.
  • Page 134: List Of Alarm Codes

    List of Alarm Codes 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 'Warning output clear request' (YE) allows clearing of the alarm code of 'Latest alarm code' (Un\G2).
  • Page 135: 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 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 R60DAH_1.bModuleREADY_D ■Module name The character string of a module model name is given.
  • Page 136 ■Data format The string that represents the data size of a buffer memory area is given. Each data format is as follows: Data format Description Word [Unsigned]/Bit string [16-bit] Word [Signed] Double word [Signed] System area ■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 137: Appendix 2 I/O Signals

    Appendix 2 I/O Signals List of I/O signals The following tables list the I/O signals of the D/A converter module. For details on the I/O signals, refer to the following. Page 136 Details of input signals Page 143 Details of output signals •...
  • Page 138: 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 this section are for the case when the start I/O number of the D/A converter module is set to 0.
  • Page 139 External power supply READY flag Common ■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 processing is not performed.
  • Page 140 Operating condition setting completed flag Common 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 areas that require turning on and off of 'Operating condition setting request' (Y9) to enable the new values, refer to the following.
  • Page 141 Offset/gain setting mode status flag Normal ■Device number The following shows the device number of this input signal. Signal name Offset/gain setting mode status flag ■In the offset/gain setting mode When registering the value that has been adjusted with the offset/gain setting, use this flag as an interlock condition to turn on and off 'User range write request' (YA).
  • Page 142 Channel change completed flag Normal 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 143 Disconnection detection signal Normal Wave Synchronization 'Disconnection detection signal' (XD) turns on when a disconnection is detected in a channel where 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 144 Error flag Common 'Error flag' (XF) turns on when an error occurs. By turning on and off 'Error clear request' (YF) or 'Operating condition setting request' (Y9) after the cause of the error is eliminated, 'Error flag' (XF) turns off and 'Latest error code' (Un\G0) is cleared. 'Latest error code' (Un\G0) Error code 'Error flag' (XF)
  • Page 145: 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 this section are for the case when the start I/O number of the D/A converter module is set to 0.
  • Page 146 User range write request Normal ■Device number The following shows the device number of this output signal. Signal name User range write request ■In the offset/gain setting mode Turn on and off User range write request to register values adjusted with the offset/gain setting in the D/A converter module. The data is written to the flash memory when this signal is turned on.
  • Page 147 Warning output clear request Normal Wave Synchronization Turn on and off 'Warning output clear request' (YE) to clear 'Warning output signal' (XE) and 'Latest alarm code' (Un\G2). For the timing of turning on and off the signal, refer to the following. Page 141 Warning output signal ■Device number The following shows the device number of this output signal.
  • Page 148: Appendix 3 Buffer Memory Areas

    Appendix 3 Buffer Memory Areas List of buffer memory areas The following table lists the buffer memory areas of the D/A converter module. For details on the buffer memory areas, refer to the following. Page 153 Details of buffer memory areas The buffer memory areas of the D/A converter module are classified by the following data types.
  • Page 149 Un\G0 to Un\G399 Address Address Name Default value Data type Auto refresh (decimal) (hexadecimal)  Latest error code Monitor Latest address of error history Monitor   Latest alarm code Monitor Latest address of alarm history Monitor   4 to 19 4H to 13H Interrupt factor detection flag [n] Monitor...
  • Page 150 Un\G400 to Un\G3599 Address Name Default Data Auto Decimal (hexadecimal) value type refresh  400 (190H) 600 (258H) 800 (320H) 1000 (3E8H) CH Set value check code 0000H Monitor 401 (191H) 601 (259H) 801 (321H) 1001 (3E9H) CH Wave output status monitor Monitor ...
  • Page 151 Address Name Default Data Auto Decimal (hexadecimal) value type refresh  510 (1FEH) 710 (2C6H) 910 (38EH) 1110 (456H) CH Warning output upper limit value Setting 511 (1FFH) 711 (2C7H) 911 (38FH) 1111 (457H) System area     512 (200H) 712 (2C8H) 912 (390H)
  • Page 152 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 No.1 Error code Monitor 3601 E11H Error time First two digits Last two digits of the year of the year 3602 E12H...
  • Page 153 Address Address Name Default Data type Auto (decimal) (hexadecimal) value refresh 3786 to 3789 ECAH to ECDH System area     3790 to 3795 ECEH to ED3H Alarm history No.4 Same as alarm history No.1 Monitor   ...
  • Page 154 Offset/gain setting (Un\G4000 to Un\G9499) Address Name Default Data type Auto refresh Decimal (hexadecimal) value    4000, 4001 (FA0H, FA1H) System area 4002 (FA2H) Save data type setting 0000H Setting     4003 (FA3H) System area 4004 4006 4008...
  • Page 155: Details Of Buffer Memory Areas

    Details of buffer memory areas The following section describes the details of the buffer memory areas of the D/A converter module. This section describes I/O signals and buffer memory addresses for CH1. For details on the I/O signals for CH2 and later, refer to the following. Page 135 List of I/O signals Latest error code Common...
  • Page 156 Latest address of alarm history Common Among Alarm history  (Un\G3760 to Un\G3919), a buffer memory address which stores the latest alarm code is stored. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name Latest address of alarm history Interrupt factor detection flag [n] Normal...
  • Page 157 ■Warning output upper flag status • When the detection target exceeds the value specified in 'CH1 Warning output upper limit value' (Un\G510), Warning alarm ON (1) is stored in the corresponding bit of 'Warning output upper flag' (Un\G36) corresponding to each channel. Detection target for outputting a warning varies depending on the operation mode.
  • Page 158 Disconnection detection flag Normal Wave Synchronization By setting 4 to 20mA for the 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 are fixed to 0.
  • Page 159 RUN LED status monitor Common The current status of the RUN LED is stored. Monitored value Description Flashing (1s cycle) Flashing (400ms cycle) ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name RUN LED status monitor ERR LED status monitor Common The current status of the ERR LED is stored.
  • Page 160 Interrupt factor mask [n] Normal Wave Synchronization Set whether to mask interrupt factors. Setting value Setting details Mask (interrupt unused) Mask clear (interrupt used) When 'Interrupt factor mask [n]' (Un\G124 to Un\G139) is changed to Mask clear (interrupt used) (1) and an interrupt factor occurs, an interrupt request is sent to the CPU module.
  • Page 161 Step action wave output request Wave This area is for setting whether to start or end the wave output step action function for all channels in a batch. Step action wave output request Setting value • The setting for this area is valid only in the wave output mode. In the other cases, changes of the value are ignored. •...
  • Page 162 Condition target setting [n] Normal Wave Synchronization Set an interrupt factor to be detected. Setting value Setting details Disable Error flag (XF) Warning 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. •...
  • Page 163 Condition target channel setting [n] Normal Wave Synchronization Set a channel where an interrupt factor is detected. Setting value Setting details All channels When an interrupt factor with channel specification is set in 'Condition target setting [n]' (Un\G232 to Un\G247), an interrupt factor is monitored in the channel set by this area.
  • Page 164 CH1 Set value check code Normal Wave Synchronization When a set digital value is out of the setting range, a check code is stored. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 165 CH1 Range setting monitor Common The output range value set to the output range setting or 'CH1 Range setting' (Un\G598) can be checked. Monitored 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...
  • Page 166 CH1 Wave pattern output count monitor Wave The output count of the wave pattern is stored in this area. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH Wave pattern output count monitor 1034 ■Count of the wave pattern output The stored value increases by one every time one cycle of a wave pattern is output.
  • Page 167 CH1 Wave output current digital value monitor Wave This area stores the currently output digital value for each channel. The stored value depends on the wave output status. Wave output status Stored value During wave output stop The digital value of the output set in 'CH1 Output setting during wave output stop' (Un\G524) is stored. ■When set to 0V/0mA (0) or Offset value (1): 0 is stored.
  • Page 168 CH1 Wave output warning address monitor Wave When a digital value of wave data causes a warning, this area stores the corresponding buffer memory address in 32-bit signed binary for each channel. When a warning has occurred in the multiple wave data, only the buffer memory address of the wave data where the warning occurred first is stored.
  • Page 169 CH1 Digital value High speed Normal Set the digital value in 16-bit signed binary for the D/A conversion from the CPU module. Output range When the scaling function is disabled When the scaling function is enabled Setting range (practical range) Setting range 4 to 20mA -768 to 32767...
  • Page 170 CH1 Input value shift amount Normal Set the shift amount you want to shift to 'CH1 Digital value' (Un\G460). The set value is added to the digital value regardless of the on/off state of 'Operating condition setting request' (Y9). For details on the shift function, refer to the following. Page 31 Shift Function ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 171 CH1 D/A conversion enable/disable setting Common Set whether to enable or disable the D/A conversion. For details on the D/A conversion enable/disable setting function, refer to the following. Page 22 D/A Conversion Enable/Disable Setting 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 172 CH1 Scaling upper limit value Normal Set an upper limit value for the range of the scale conversion. For details on the scaling function, refer to the following. Page 28 Scaling Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 173 CH1 Warning output setting Normal Wave Synchronization Set whether to enable or disable the warning output. For details on the warning output function, refer to the following. Page 33 Warning Output Function Setting value Description Enable Disable If a value other than the above is set, a warning output setting range error (error code: 1B0H) occurs. ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 174 CH1 Warning output upper limit value Normal Wave Synchronization Set an upper limit of digital value to output warnings. For details on the warning output function, refer to the following. Page 33 Warning Output Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 175 CH1 Increase digital limit value Normal Set the increment value per 10s when using the rate control function. For details on the rate control function, refer to the following. Page 35 Rate Control Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 176 CH1 Decrease digital limit value Normal Set the decrement value per 10s when using the rate control function. For details on the rate control function, refer to the following. Page 35 Rate Control Function ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH...
  • Page 177 CH1 Output value during wave output stop Wave This area is for setting the value to be output in analog when 'CH1 Output setting during wave output stop' (Un\G524) is set to Output value during wave output stop (2). The setting range varies depending on the output range setting. Follow the setting range below. Output range Setting range 0 to 5V...
  • Page 178 CH1 Wave pattern start address setting Wave This area is for setting the start address of the wave pattern to be output. The digital value in the buffer memory address set in this area is the first target for D/A conversion. Subsequently, the successive values are converted to analog and output in turn. For this area, set a value in 32-bit signed binary.
  • Page 179 CH1 Wave pattern data points setting Wave This area is for setting the points of the wave pattern to be output. From the start address of the wave pattern, the D/A conversion starts for the points of wave data set in this area and the converted analog values are output. For this area, set a value in 32-bit signed binary.
  • Page 180 CH1 Constant for wave output conversion cycle Wave Set a constant to determine the conversion cycle (multiply the conversion speed). Use the value set in this area to set the conversion cycle in accordance with the following conditions. • Conversion cycle = Conversion speed (20s)  Number of D/A conversion enabled channels  Constant for wave output conversion cycle ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 181 Error history Common Up to 16 errors that occurred in the module are recorded. For error history No.1 b8 b7 Un\G3600 Error code Un\G3601 First two digits of the year Last two digits of the year Un\G3602 Month Un\G3603 Hour Minute Second Day of the week...
  • Page 182 Alarm history Common Up to 16 alarms that occurred in the module are recorded. For alarm history No.1 b8 b7 Un\G3760 Alarm code Un\G3761 First two digits of the year Last two digits of the year Un\G3762 Month Un\G3763 Hour Minute Second Day of the week...
  • Page 183 Clear setting of error history Common Set whether to clear Error history No.1 to 16 (Un\G3600 to Un\G3759) and Alarm history No.1 to 16 (Un\G3760 to Un\G3919) when the following operations are performed. • Turning on 'Error clear request' (YF) (clearing the error history) •...
  • Page 184 CH1 User range setting offset/gain value Normal This area is for restoring the offset/gain setting value in the user range setting. ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name CH Factory default setting offset value 4004 4006 4008...
  • Page 185 Offset/gain adjustment value specification Normal Set the adjustment amount of the analog output value in the offset/gain setting mode. For details on the offset/gain setting, refer to the following.  MELSEC iQ-R High Speed Digital-Analog Converter Module User's Manual (Startup) ■Buffer memory address The following shows the buffer memory address of this area.
  • Page 186 CH1 Offset/gain setting mode Normal Specify the channel where the offset/gain setting is adjusted. • Offset/gain setting mode (offset specification): Channel where the offset value is adjusted • Offset/gain setting mode (gain specification): Channel where the gain value is adjusted Setting value Description Disable...
  • Page 187 CH1 Offset/gain setting mode (range specification) Normal The output range can be changed in the offset/gain setting. The output range is changed to the set one by 'Channel change request' (YB). Setting value Description User range setting (voltage) User range setting (current) When a value other than the above is set, an offset/gain setting range error (error code: 1E9H) occurs.
  • Page 188 Output setting during synchronization error Synchronization Set whether to continue or stop the synchronization of D/A converter modules when an inter-module synchronization cycle crossing over error (error code: 2600H) or inter-module synchronization signal error (error code: 2610H) occurs. Setting value Description Synchronization continue Synchronization stop...
  • Page 189 Wave data registry area Wave This area is used to register wave data for analog output in the wave output mode. The setting range varies depending on the output range setting. The setting range is shown below. Output range Setting range 4 to 20mA -768 to 32767 (practical range: 0 to 32000) 0 to 20mA...
  • Page 190: Appendix 4 Dedicated Instructions

    Appendix 4 Dedicated Instructions 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 the normal output mode to the offset/gain setting mode. Switches the offset/gain setting mode to the normal output mode. G(P).OGLOAD Reads out the offset/gain setting value in the user range setting to write it into the CPU module.
  • Page 191: 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 192: Settings In The Master Station

    Settings 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] Click the [Setting Change] button and set the module to use the module labels. Click the [OK] button in the following window to add the module labels of the CPU module.
  • Page 193 Configure the setting to use the module labels and add the module labels of the master/local module. Set "Required Settings" of the module parameter of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Required Settings] Set "Network Configuration Settings"...
  • Page 194 Click [Close with Reflecting the Setting] button and close the "CC IE Field Configuration" window. Set "Refresh Setting" of the module parameter of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Setting]  [Detailed Setting] Click the [Apply] button.
  • Page 195: Settings In The Intelligent Device Station

    Settings 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 196 Configure the setting not to use the module labels. Set "Basic setting" of the module parameter of the D/A converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60DAH4]  [Basic setting] Set "Application setting" of the module parameter of the D/A converter module as shown below. [Navigation window] ...
  • Page 197 Set "Refresh settings" of the module parameter of the D/A converter module as shown below. [Navigation window]  [Parameter]  [Module Information]  [R60DAH4]  [Refresh settings] Write the set parameters to the remote head module on the intelligent device station. Then reset the remote head module or turn off and on the power.
  • Page 198: 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 199 Program example 1 The following figure shows a program example to start D/A conversion by setting the digital values for D/A conversion for CH1 to CH4 and enabling analog output. (32) Sets Digital value between CH1 and CH4. (108) Enables output for CH1 to CH4. (164) Disables output for CH1 to CH4 if any of the following signals is off.
  • Page 200 Program example 2 The following figure shows a program example to perform operations in reaction to a warning (such as processing for when a warning has occurred or clearing a warning) if a warning occurs in CH2. (207) Carries out processing when an upper limit warning has occurred in CH2. (236) Carries out processing when a lower limit warning has occurred in CH2.
  • Page 201: Appendix 6 Using The Module In The Redundant System With Redundant Extension Base Unit

    Appendix 6 Using the Module in the Redundant System with Redundant Extension Base Unit This chapter describes restrictions and precautions for using the D/A converter module that is mounted on the extension base unit in the redundant system. Restrictions on functions and specifications Functions Function Restriction...
  • Page 202: Precautions

    Precautions When configuring the offset/gain setting Connect the engineering tool to the CPU module of the control system. The engineering tool cannot recognize the D/A converter module if it is connected to the CPU module of the standby system. Program examples Unless otherwise specified, program examples provided in this manual and the following manual are for when the module is used in the single CPU system or in the multiple CPU system.
  • Page 203 MEMO APPX Appendix 6 Using the Module in the Redundant System with Redundant Extension Base Unit...
  • Page 204: Index

    INDEX ......180 . . .22 Alarm history D/A conversion enable/disable setting function ....157 .
  • Page 205 ..143 Operating condition setting request ....156 Operation mode monitor ..186 Output setting during synchronization error .
  • Page 206: Revisions

    Japanese manual number: SH-081656-B 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 207: 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 208: Trademarks

    TRADEMARKS Ethernet is a registered trademark of Fuji Xerox Co., Ltd. in Japan. 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.
  • Page 210 SH(NA)-081657ENG-B(2010)MEE MODEL: R60DAH4-U-OU-E MODEL CODE: 13JX58 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:

R60dah4

Table of Contents