Mitsubishi Electric MELSEC iQ-R Series User Manual
Mitsubishi Electric MELSEC iQ-R Series User Manual

Mitsubishi Electric MELSEC iQ-R Series User Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Quick Links

MELSEC iQ-R Channel Isolated Pulse Input
Module User's Manual (Application)
-RD60P8-G
Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC iQ-R Series

  • Page 1 MELSEC iQ-R Channel Isolated Pulse Input Module User's Manual (Application) -RD60P8-G...
  • 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 ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 5 [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 6 [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 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 [Wiring Precautions] CAUTION ● Programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock.
  • Page 9 [Startup and Maintenance Precautions] CAUTION ● When connecting an external device with a CPU module or intelligent function module to modify data of a running programmable controller, configure an interlock circuit in the program to ensure that the entire system will always operate safely. For other forms of control (such as program modification, parameter change, forced output, or operating status change) of a running programmable controller, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
  • Page 10 [Operating Precautions] CAUTION ● When changing data and operating status, and modifying program of the running programmable controller from an external device such as a personal computer connected to an intelligent function module, read relevant manuals carefully and ensure the safety before operation. Incorrect change or modification may cause system malfunction, damage to the machines, or accidents.
  • Page 11: Conditions Of Use For The Product

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

    CONTENTS SAFETY PRECAUTIONS ..............1 CONDITIONS OF USE FOR THE PRODUCT .
  • Page 13 APPENDICES Appendix 1 Module Label ..............55 Appendix 2 I/O Signals .
  • Page 14: Relevant Manuals

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

    FUNCTIONS This chapter describes the functions of the pulse input module and the setting procedures for those functions. For details on the I/O signals and the buffer memory, refer to the following. Page 57 I/O Signals Page 65 Buffer Memory Areas •...
  • Page 16 Counting speed (Max.) The counting speed (Max.) of the pulse input module can be set with "Input filter setting" of the module parameter. This can be set to one of the following values to match the time that it takes for the input pulse to rise/fall. •...
  • Page 17: Count Value Reading

    Count value reading Pulses input to the pulse input module are stored in separate buffer memory areas as the sampling pulse number, accumulating count value, and input pulse value. Turning off and on 'CH1 Count enable' (Y18) starts the count operation and updates each count value.
  • Page 18: Input Pulse Count Operation

    Input pulse count operation This section describes the input pulse count operation of the pulse input module. 'Module READY' (X0) 'Operating condition setting complete flag' (X1) 'CH1 Count enable' (Y18) 'CH1 Input pulse 13 14 14 14 14 value' (Un\G4, Un\G5) 10ms 'CH1 Sampling pulse...
  • Page 19: Count Cycle Change Function

    Count cycle change function This function changes the count cycle for the sampling pulse number and accumulating count value. Setting 'CH1 Count cycle change function selection' (Un\G141) to Count cycle change function valid (1) sets the refreshing cycle for the following buffer memory areas to the count cycle set in 'CH1 Count cycle setting value' (Un\G142). •...
  • Page 20: Response Delay Time

    Response delay time This section describes the response delay time of the I/O signals and buffer memory areas of the pulse input module. During count operation, the response delay time indicated by the following arithmetic expression occurs. • Maximum response delay time = program scan time + two control cycles (20ms) Program scan time The I/O control mode of the CPU module is a refresh mode that performs batch processing prior to the start of program operation.
  • Page 21: Processing Of Each Function

    Processing of Each Function The functions are processed in the order shown below. If multiple functions are enabled, the output of the first processed function is used as the input of the next function. Pulse input Input pulse value (CH1 to CH8) Sampling pulse number Accumulating count value Processing details...
  • Page 22: Count Type Selection

    Count Type Selection The count type of the accumulating count value can be selected from linear counter and ring counter. Linear counter function This function counts input pulses from 0 to 99999999. If the count range is exceeded, an overflow is detected. 99999999 'CH1 Count enable' (Y18)
  • Page 23 Setting method Set "Linear counter/ring counter selection" to "Linear counter". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Basic setting]  [Linear counter/ ring counter selection] 1 FUNCTIONS 1.3 Count Type Selection...
  • Page 24: Ring Counter Function

    Ring counter function This function repeatedly counts the input pulses from 0 to 99999999. 99999999 'CH1 Count enable' (Y18) No carry over detection (0) 'CH1 Carry over detection Carry over Carry over No carry over detection (0) flag' (Un\G7) detection (1) detection (1) 'CH1 Carry over reset No reset...
  • Page 25: Pre-Scale Function

    Pre-scale Function This function converts the pulse number by multiplying the input pulse number by an arbitrary setting value. Sampling pulse number calculation The following arithmetic expression is used to convert the input pulse value per count cycle into a unit pulse number. The converted value is stored in 'CH1 Sampling pulse number' (Un\G0) as the sampling pulse number.
  • Page 26 Application example This section describes an application example of the pre-scale function in an example system that uses a flow meter. In the following example, values stored in 'CH1 Accumulating count value' (Un\G2, Un\G3) are converted as flow rate (unit: cm Flow meter Pulse input module ■Conditions...
  • Page 27 Setting method Set "Pre-scale function selection". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Pre-scale function] Item Setting range Pre-scale function selection Pre-scale function invalid 1 0.1 0.01 0.001 0.0001 Set "Pre-scale setting value" to a value. Item Setting range Pre-scale setting value...
  • Page 28: Moving Average Function

    Moving average function This function calculates the mean value by performing moving average processing on the sampling pulse number obtained per count cycle for the specified number of times of averaging operations. Use this function in situations such as when variations occur in the sampling pulse number.
  • Page 29 Setting method Set "Moving average processing selection" to "Moving average processing". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Moving average function] Set "Number of moving average processing" to a value. Item Setting range Number of moving average processing 2 to 60 1 FUNCTIONS...
  • Page 30: Comparison Output Function

    Comparison Output Function This function detects the accumulating count value reaching or exceeding the set value. Operation 'CH1 Accumulating counter comparison flag (X10)' turns on to notify the user of the accumulating count value reaching or exceeding 'CH1 Comparison output setting value' (Un\G130, Un\G131). Count operation continues. This section describes an operation example when 'CH1 Comparison output setting value' (Un\G130, Un\G131) is set to 1200.
  • Page 31: Warning Output Function

    Warning Output Function This function outputs a warning when the sampling pulse number enters the preset warning output range. Warning output setting value upper/upper limit Warning output setting value upper/lower limit Count cycle Warning output setting value lower/upper limit Warning output setting value lower/lower limit 'CH1 Warning output flag' (Un\G8) bit 0 (lower limit warning)
  • Page 32 Detection cycle This function is executed in the cycle set by the count cycle change function. Setting method Set "Warning output selection" to "Warning output function valid". [Navigation window]  [Parameter]  [Module Information]  Module model name  [Application setting]  [Warning output function] Set "Warning output setting value upper/upper limit", "Warning output setting value upper/lower limit", "Warning output setting value lower/upper limit", and "Warning output setting value lower/lower limit"...
  • Page 33: Counter Reset Function

    Counter Reset Function This function resets the sampling pulse number, accumulating count value, and input pulse value. The reset can be performed at an arbitrary timing. It is also possible to preset the accumulating count value to an arbitrary value. Operation Setting 'CH1 Counter reset request' (Un\G386) to Reset request (1) changes each count value as shown below.
  • Page 34 Precautions • After the reset is complete and 'CH1 Counter reset request' (Un\G386) is set to No reset request (0), input pulses are invalid for a maximum of 20ms. • If 'CH1 Preset setting value for accumulating count value' (Un\G384, Un\G385) is set to a value outside the setting range and 'CH1 Counter reset request' (Un\G386) is set to Reset request (1), a preset setting value for accumulating count value setting error (error code: 1920H) occurs.
  • Page 35: Interrupt Function

    Interrupt Function This function executes interrupt programs of the CPU module when an interrupt factor such as an error or warning output is detected. For the pulse input module, the maximum number of available interrupt pointers is 16 per module. Operation ■Interrupt factor detection An interrupt factor can be detected by setting "Interrupt setting"...
  • Page 36 Precautions • When 'Condition target setting [n]' (Un\G728 to Un\G743) is Invalid (0), an interrupt request is not sent to the CPU module. • If an interrupt factor occurs when 'Interrupt factor mask [n]' (Un\G632 to Un\G647) is Mask (Interrupt unused) (0), an interrupt request is not sent to the CPU module.
  • Page 37 Setting example To execute an interrupt program (I50) when an overflow occurs on CH1 • Parameter settings Set "Interrupt setting" of the module parameter as follows. Condition target setting Condition target Interrupt factor Interruption pointer channel setting generation setting Overflow detection flag Interrupt resend request •...
  • Page 38: Error History Function

    1.10 Error History Function This function stores up to the latest 16 errors and alarms that have occurred on the pulse input module. The errors and alarms are stored as a history in the buffer memory area. Operation When an error occurs, the error code and the error time are stored from Error history 1 (Un\G800 to Un\G809) in order. When an alarm occurs, the alarm code and the alarm time are stored from Alarm history 1 (Un\G960 to Un\G969) in order.
  • Page 39 How to clear the error history The error history and alarm history can be cleared with one of the following methods. • Power off the programmable controller. • Reset the CPU module. Check method The start address of the error history where the latest error is stored can be checked in 'Latest address of error history' (Un\G598).
  • Page 40 The following shows an example of when the 17th error occurs. The 17th error is stored in Error history 1, and 'Latest address of error history' (Un\G598) is overwritten with the value 800 (start address of Error history 1). 'Latest address of error history' (Un\G598): 800 Latest Un\G800...
  • Page 41: Event History Function

    1.11 Event History Function This function collects errors and alarms that occur on and operations executed on the pulse input module as event information in the CPU module. The CPU module collects the event information of the pulse input module and keeps it in the data memory inside of the CPU module or on an SD memory card.
  • Page 42: Q Series-Compatible Mode Function

    This function can be used to arrange the buffer memory addresses of the pulse input module in a manner equivalent to that of MELSEC-Q series modules. This makes it possible to reuse sequence programs used with MELSEC-Q series modules. The MELSEC-Q series compatibility target module is shown below. MELSEC iQ-R series target module MELSEC-Q series RD60P8-G...
  • Page 43: Chapter 2 Parameter Settings

    PARAMETER SETTINGS Set the parameters of each channel. Setting parameters here eliminates the need to program them. Basic Setting Setting method Open "Basic setting" of the engineering tool. Start 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 44: Application Setting

    Application Setting Setting method Open "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 45: Interrupt Setting

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

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

    Refresh processing time The refresh processing time [s] is an element that configures the scan time of the CPU module. For details on the scan time, refer to the following.  MELSEC iQ-R CPU Module User's Manual (Application) The following shows a formula to calculate the refresh processing time [s] with the refresh settings enabled. •...
  • Page 48: Chapter 3 Troubleshooting

    TROUBLESHOOTING This chapter describes errors that may occur in the use of the pulse input module and the corresponding troubleshooting. Checking with LEDs Check the display status of the LEDs to narrow down the possible causes of the trouble. This step is the first diagnostic before using the engineering tool.
  • Page 49: Checking The Status Of The Module

    Checking the Status of the Module The following functions can be used on the "Module Diagnostics" window of the pulse input module. Function Application Error Information Displays the details of the errors currently occurring. Click the [Event History] button to check not only the errors and alarms that have occurred on the pulse input module, but also the errors detected by each module and the operation history.
  • Page 50 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 to the "Module Information List" tab to check various status information of the pulse input module. Item Description LED information...
  • Page 51: Troubleshooting By Symptom

    Troubleshooting by Symptom When the RUN LED flashes or turns off When flashing Check item Cause Action Check whether the module is selected as The base number and slot number of the pulse input Turn on Module selection cancel request flag (SM1615). the target module for the online module module have been set in Module selection change.
  • Page 52: When The Count Cannot Be Started Or Cannot Be Performed Normally

    When the count cannot be started or cannot be performed normally Check item Action Check whether the external wiring to the terminal block is normal. Check the external wiring. ( MELSEC iQ-R Channel Isolated Pulse Input Module User's Manual (Startup)) Measures to reduce Check whether a shielded twisted pair cable is used for Use a shielded twisted pair cable for the pulse input cable.
  • Page 53 Pulse shaping method As one action against external noise and waveform distortion, this section describes a pulse waveform shaping method using a dummy resistor. To shape a pulse waveform, it is effective to increase the load current within the cable by inserting a dummy resistor of approximately a few hundred ohms (/a few watts) between the pulse input terminals connected to the pulse generator.
  • Page 54: List Of Error Codes

    List of Error Codes The pulse input module stores an error code in a buffer memory area of the error channel when an error occurs during its operation. In addition, the input signal (X) of the error channel listed below turns on. To clear the error, turn on the output signal (Y) of the error channel listed below so that the error code stored in a buffer memory area of the error channel is cleared.
  • Page 55 Error code Error name Description and cause Action 1AA1H Number of moving average A value other than 2 to 60 is set in CH Number of Set CH Number of moving average processing to processing setting error moving average processing. 2 to 60.
  • Page 56: List Of Alarm Codes

    List of Alarm Codes The pulse input module stores an alarm code in a buffer memory area of the alarm channel when an alarm occurs during its operation. To clear the alarm, turn on the output signal (Y) of the alarm channel listed below so that the alarm code stored in a buffer memory area of the alarm channel is cleared.
  • Page 57: Appendices

    APPENDICES Appendix 1 Module Label The functions of the pulse input 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 one of the following structures: •...
  • Page 58 ■Data type The data type to sort the buffer memory area is given. Each data type is as follows: Data type Description stnMonitor1 Monitor stnMonitor2 stnControl Control stnSetting Setting ■Channel The channel number corresponding to a module label is given. A numerical value of 0 to 7 is used to correspond to CH1 to CH8.
  • Page 59: 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 pulse input module. For details on the I/O signals, refer to the following. Page 59 Details of input signals Page 63 Details of output signals •...
  • Page 60 Output signals Device number Signal name Use prohibited Operating condition setting request flag Y2 to Y7 Use prohibited CH1 Error reset request CH2 Error reset request CH3 Error reset request CH4 Error reset request CH5 Error reset request CH6 Error reset request CH7 Error reset request CH8 Error reset request CH1 Comparison signal reset request...
  • Page 61: Details Of Input Signals

    Details of input signals This section describes the details of the input signals for the pulse input module that 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 pulse input module is set to This section describes I/O signals and buffer memory addresses for CH1.
  • Page 62 Operating condition setting complete flag When changing the values of the buffer memory, use 'Operating condition setting complete flag' as an interlock condition to turn on and off 'Operating condition setting request flag' (Y1). For the buffer memory items that require 'Operating condition setting request flag' (Y1) to be turned on and off to enable the new values, refer to the following.
  • Page 63 CH1 Error occurrence When an error occurs, the version of this signal corresponding to the channel on which the error occurred turns on. 'CH1 Error code' (Un\G9) Error code 'CH1 Error occurrence' (X8) 'CH1 Error reset request' (Y8) Performed by the pulse input module Performed by a program ■Turning off 'CH1 Error occurrence' (X8) Eliminating the error cause and turning on and off 'CH1 Error reset request' (Y8) or 'Operating condition setting request flag'...
  • Page 64 CH1 Accumulating counter comparison flag This signal corresponding to the relevant channel turns on when 'CH1 Accumulating count value' (Un\G2, Un\G3) reaches or exceeds the setting value of 'CH1 Comparison output setting value' (Un\G130, Un\G131). Comparison output setting value 'CH1 Accumulating counter comparison flag' (X10) 'CH1 Comparison signal...
  • Page 65: Details Of Output Signals

    Details of output signals This section describes the details of the output signals for the pulse input module that 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 pulse input module is set to This section describes I/O signals and buffer memory addresses for CH1.
  • Page 66 CH1 Comparison signal reset request To turn off 'CH1 Accumulating counter comparison flag' (X10), turn on and off this signal corresponding to the relevant channel. For the timing of turning on and off the signal, refer to the following. Page 62 CH1 Accumulating counter comparison flag ■Device numbers The following shows the device numbers of this output signal.
  • Page 67: Appendix 3 Buffer Memory Areas

    Appendix 3 Buffer Memory Areas Lists of buffer memory addresses This section shows the lists of buffer memory addresses of the pulse input module. For details on the buffer memory, refer to the following. Page 74 Details of buffer memory addresses The buffer memory areas of the pulse input module are classified by the following data types.
  • Page 68 When R mode is used ■Un\G0 to Un\G511 Address Name Default Data type Auto Decimal (Hexadecimal) value refresh  CH Sampling pulse number Monitor (0H) (10H) (20H) (30H) (40H) (50H) (60H) (70H)    System area (1H) (11H) (21H) (31H) (41H) (51H)
  • Page 69 Address Name Default Data type Auto Decimal (Hexadecimal) value refresh  CH Count cycle setting value Setting (8EH) (AEH) (CEH) (EEH) (10EH) (12EH) (14EH) (16EH) System area    (8FH) (AFH) (CFH) (EFH) (10FH) (12FH) (14FH) (16FH) (9FH) (BFH) (DFH) (FFH) (11FH)
  • Page 70 Address Address Name Default Data type Auto (Decimal) (Hexadecimal) value refresh 840 to 846 348H to 34EH Error history 5 Same as error history 1 Monitor     847 to 849 34FH to 351H System area 850 to 856 352H to 358H Error history 6 Same as error history 1...
  • Page 71 Address Address Name Default Data type Auto (Decimal) (Hexadecimal) value refresh 1067 to 1069 42BH to 42DH System area     1070 to 1076 42EH to 434H Alarm history 12 Same as alarm history 1 Monitor   ...
  • Page 72 When Q series-compatible mode is used ■Un\G0 to Un\G255 Address Name Default Data type Auto Decimal (Hexadecimal) value refresh  CH Sampling pulse number Monitor (0H) (20H) (40H) (60H) (80H) (A0H) (C0H) (E0H)  CH Comparison output Setting (1H) (21H) (41H) (61H) (81H)
  • Page 73 Address Name Default Data type Auto Decimal (Hexadecimal) value refresh  CH Preset setting value for Control (1AH) (3AH) (5AH) (7AH) (9AH) (BAH) (DAH) (FAH) accumulating count value (L) CH Preset setting value for (1BH) (3BH) (5BH) (7BH) (9BH) (BBH) (DBH) (FBH) accumulating count value (H)
  • Page 74 Address Address Name Default Data type Auto (Decimal) (Hexadecimal) value refresh 890 to 896 37AH to 380H Error history 10 Same as error history 1 Monitor     897 to 899 381H to 383H System area 900 to 906 384H to 38AH Error history 11 Same as error history 1...
  • Page 75 Address Address Name Default Data type Auto (Decimal) (Hexadecimal) value refresh 1117 to 1199 45DH to 4AFH System area    *1 [n] in the table indicates an interrupt setting number. (n = 1 to 16) ■Un\G1200 to Un\G1282 Address Name Default...
  • Page 76: Details Of Buffer Memory Addresses

    Details of buffer memory addresses This section describes the details of the buffer memory addresses of the pulse input module. This chapter describes I/O signals and buffer memory addresses for CH1. For details on the I/O signals and buffer memory addresses for CH2 and later, refer to the following. Page 57 List of I/O signals Page 65 Lists of buffer memory addresses CH1 Sampling pulse number...
  • Page 77 CH1 Accumulating count value The accumulated value of the sampling pulse numbers is stored as a 32-bit unsigned binary value. The linear counter or ring counter count type can be used. (1) CH1 Accumulating count value (L) (Un\G2) (2) CH1 Accumulating count value (H) (Un\G3) (3) Data section The count range is from 0 to 99999999.
  • Page 78 CH1 Input pulse value The actual number of input pulses is stored as a 32-bit unsigned binary value. It is not converted to a unit pulse number by the pre-scale function or moving average function. The count type is ring counter. (1) CH1 Input pulse value (L) (Un\G4) (2) CH1 Input pulse value (H) (Un\G5) (3) Data section...
  • Page 79 CH1 Overflow detection flag When the count type is linear counter, the overflow detection status can be checked. Monitored value Description No overflow detection Overflow detection ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH...
  • Page 80 CH1 Warning output flag The statuses of the upper limit and lower limit warnings can be checked. b15 b14 b13 b12 b11 b10 b9 (1) Lower limit warning (0: Normal, 1: Range exceeded) (2) Upper limit warning (0: Normal, 1: Range exceeded) ■Buffer memory addresses The following shows the buffer memory addresses of this area.
  • Page 81 CH1 Comparison output selection Set whether to use the comparison output function. For details on the comparison output function, refer to the following. Page 28 Comparison Output Function Setting value Setting details Comparison output function invalid Comparison output function valid If a value other than those shown in the above table is set, a comparison output selection setting error (error code: 1940H) occurs.
  • Page 82 CH1 Moving average processing selection Set the processing method of the sampling pulse number. Setting value Setting details Sampling processing Moving average processing • If a value other than those shown in the above table is set, a moving average processing selection setting error (error code: 1AA0H) occurs.
  • Page 83 CH1 Pre-scale function selection Set whether to use the pre-scale function. When using this function, also set the unit scaling to use in calculating the sampling pulse number. The sampling pulse number is calculated with the following arithmetic expression. Values after the decimal point are omitted. Input pulse Number of Pre-scale setting...
  • Page 84 CH1 Pre-scale setting value Set the pre-scale setting value to use in calculating the sampling pulse number. For details on the pre-scale function, refer to the following. Page 23 Pre-scale Function ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH...
  • Page 85 CH1 Warning output setting value upper/upper limit Set the upper/upper limit value of the warning output function. For details on the warning output function, refer to the following. Page 29 Warning Output Function ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH...
  • Page 86 CH1 Warning output setting value lower/upper limit Set the lower/upper limit value of the warning output function. For details on the warning output function, refer to the following. Page 29 Warning Output Function ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH...
  • Page 87 CH1 Count cycle change function selection Set whether to use the count cycle change function. For details on the count cycle change function, refer to the following. Page 17 Count cycle change function Setting value Setting details Count cycle change function invalid Count cycle change function valid If a value other than those shown in the above table is set, a count cycle change function selection setting error (error code: 1AD0H) occurs.
  • Page 88 CH1 Preset setting value for accumulating count value Set the value to preset the accumulating count value when resetting the accumulating count value. ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH Preset setting value for accumulating count value 384, 385 400, 401 416, 417...
  • Page 89 CH1 Carry over reset request This area is used to reset the carry over when using the ring counter. For details on the ring counter, refer to the following. Page 22 Ring counter function Setting value Setting details No reset request (The setting value is automatically returned to 0 after the resetting of the carry over is complete.) Reset request...
  • Page 90 Interrupt factor detection flag [n] The detection status of the interrupt factor is stored. Monitored value Description No interrupt factor Interrupt factor When an interrupt factor occurs, an interrupt request is sent to the CPU module at the same time as 'Interrupt factor detection flag [n]' (Un\G600 to Un\G615) is changed to Interrupt factor (1).
  • Page 91 Interrupt factor reset request [n] Set whether to send the interrupt factor reset request. Setting value Setting details No reset request Reset request When Reset request (1) is set in 'Interrupt factor reset request [n]' (Un\G664 to Un\G679) corresponding to the interrupt factor, the interrupt factor of the specified interrupt is reset.
  • Page 92 Condition target setting [n] Set an interrupt factor to be detected. Setting value Setting details Invalid Error occurrence Accumulating counter comparison flag Overflow detection flag Carry over detection flag Warning output flag • If a value other than those shown in the above table is set, a condition target setting range error (error code: 181H) occurs.
  • Page 93 Condition target channel setting [n] Set a channel where an interrupt is detected. Setting value Setting details All channels An interrupt factor is monitored for according to 'Condition target setting [n]' (Un\G760 to Un\G775) in the channel set by this area.
  • Page 94 Error history Up to 16 errors that occurred in the module are recorded. For error history 1 b8 b7 Error channel Un\G800 Un\G801 Error code Un\G802 First two digits of the year Last two digits of the year Un\G803 Month Un\G804 Hour Minute...
  • Page 95 Alarm history Up to 16 alarms that occurred in the module are recorded. For alarm history 1 b8 b7 Alarm channel Un\G960 Un\G961 Alarm code Un\G962 First two digits of the year Last two digits of the year Un\G963 Month Un\G964 Hour Minute...
  • Page 96 CH1 Input voltage selection monitor The setting of "CH1 Input voltage selection" of the module parameter is stored. Monitored value Description 12 to 24VDC 5VDC ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH...
  • Page 97 CH1 Input filter setting monitor The setting of "CH1 Input filter setting" of the module parameter is stored. Monitored value Description 30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps ■Buffer memory addresses The following shows the buffer memory addresses of this area. Buffer memory name CH...
  • Page 98 ALM LED status monitor The current status of the ALM LED is stored. Monitored value Description ■Buffer memory address The following shows the buffer memory address of this area. Buffer memory name ALM LED status monitor 1282 ALM LED status monitor (when Q series-compatible mode is used) APPX Appendix 3 Buffer Memory Areas...
  • Page 99: Appendix 4 Operation Examples Of When The Remote Head Module Is Mounted

    Appendix 4 Operation Examples of When the Remote Head Module Is Mounted This section describes operation examples of when the remote head module is mounted. System configuration example An operation is explained using the following system configuration. (1) Master station (network number 1, station number 0) •...
  • Page 100: Master Station Settings

    Master station settings Connect the engineering tool to the CPU module of the master station and set parameters. Create a 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 101 Configure the setting to use the module labels, and add the module labels of the master/local module. Set "Required Settings" of "Module Parameter" of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Required Settings] Set "Network Configuration Settings"...
  • Page 102 Set "Refresh Setting" of "Module Parameter" of the master/local module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RJ71GF11-T2]  [Basic Settings]  [Refresh Setting] Write the set parameters to the CPU module on the master station. Then reset the CPU module or power off and on the system.
  • Page 103: Intelligent Device Station Settings

    Intelligent device station settings Connect the engineering tool to the remote head module of the intelligent device station and set parameters. Create a 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 104 Configure the setting not to use the module labels. Set "Basic setting" of "Module Parameter" of the pulse input module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RD60P8-G]  [Basic setting] Set "Application setting" of "Module Parameter" of the pulse input module as shown below. [Navigation window] ...
  • Page 105 Set "Refresh settings" of "Module Parameter" of the pulse input module as shown below. [Navigation window]  [Parameter]  [Module Information]  [RD60P8-G]  [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 106: 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 107 Common program The following figure shows an example of the program to check the data link status of the remote head module (station number 1). (0) Checks the data link status of the remote head module (station number 1). After creating the program examples shown later, add the MCR instruction to the end of the program as shown below. Program example 1 In this program example, the count operation starts when CH1 Count enable turns on and stops when CH1 Count enable turns off.
  • Page 108 Program example 3 In this program example, the errors and alarms are reset. (77) Reads 'CH1 Error code' (W1009) to hold this value after the error reset. (94) Reads 'CH1 Alarm code' (W100A) to hold this value after the error reset. (100) Turns on 'CH1 Error reset request' (Y1008).
  • Page 109 Program example 5 In this program example, CH1 Carry over detection flag is reset. (187) Reads 'CH1 Carry over detection flag' (W1007). (207) Stores Reset request (1) in 'CH1 Carry over reset request'. Turns on 'Carry over resetting'. (215) Turns off 'Carry over resetting'. Program example 6 In this program example, CH1 sampling pulse number is read.
  • Page 110: Index

    INDEX ....15 ......12 Accumulating count value Engineering tool .
  • Page 111 ....29 Warning output function ..... 12 Watchdog timer error...
  • Page 112: Revisions

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

    TRADEMARKS The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies.   In some cases, trademark symbols such as ' ' or ' ' are not specified in this manual. SH(NA)-082005ENG-A...
  • Page 116 SH(NA)-082005ENG-A(1810)MEE MODEL: RD60P8-G-U-OU-E MODEL CODE: 13JX90 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.

Table of Contents