Mitsubishi Q2ACPU User Manual

Qna series melsec
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Q2ACPU

  • Page 3 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. In this manual, the safety precautions are classified into two levels: " WARNING"...
  • Page 4 [DESIGN PRECAUTIONS] WARNING If load current more than the rating or overcurrent due to a short circuit in the load has flowed in the output module for a long time, it may cause a fire and smoke. Provide an external safety device such as a fuse.
  • Page 5 [DESIGN PRECAUTIONS] CAUTION Do not install the control lines or communication cables together with the main circuit or power lines, or bring them close to each other. Keep a distance of 100mm (3.94inch) or more between them. Failure to do so may cause malfunctions due to noise. If having read register R outside the allowable range with the MOV instruction, the file register data will be FFFF .
  • Page 6 [WIRING PRECAUTIONS] WARNING Be sure to shut off all phases of the external power supply used by the system before wiring. Failure to do so may result in an electric shock or damage of the product. Before energizing and operating the system after wiring, be sure to attach the terminal cover supplied with the product.
  • Page 7 [STARTUP AND MAINTENANCE PRECAUTIONS] WARNING Do not touch any terminal during power distribution. Doing so may cause an electric shock. Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Incorrect battery handling may cause personal injuries or a fire due to exothermic heat, burst and/or ignition.
  • Page 8 [STARTUP AND MAINTENANCE PRECAUTIONS] CAUTION When performing online operations (especially, program modification, forced output or operating status change) by connecting a peripheral device to the running CPU module, read the manual carefully and ensure the safety. Incorrect operation will cause mechanical damage or accidents. Do not disassemble or modify each of modules.
  • Page 9 PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required.
  • Page 10 This manual confers no industrial property rights or any rights of any other kind, nor dose 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 11 *The manual number is given on the bottom left of the back cover. Print Date *Manual Number Revision Mar., 2010 IB(NA)66608-F Partial correction SAFETY PRECAUTIONS, Section 3.3.1, 19.1, 19.5, 19.7.1, 21.2, 21.3.2, 22.3.7, APPENDIX 2 A - 9...
  • Page 12: Table Of Contents

    Introduction Thank you for purchasing the Mitsubishi programmable logic controller MELSEC-QnA series. Before using your new PLC, please read this manual thoroughly to gain an understanding of its functions so that you can use it properly. Please forward a copy of this manual to the end user.
  • Page 13 DEBUGGING FUNCTION 8 - 1 to 8 - 64 Function List ..........................8 - 1 Monitor Function..........................8 - 2 8.2.1 Monitoring condition setting ....................8 - 2 8.2.2 Monitor test of local device (function version B or later) .............8 - 12 Write During RUN........................8 - 15 Execution Time Measurement.....................8 - 19 8.4.1 Program monitor list ......................8 - 19...
  • Page 14 10.6.2 Remote STEP-RUN ......................10 - 15 10.6.3 Remote PAUSE ........................10 - 16 10.6.4 Remote RESET.........................10 - 18 10.6.5 Remote latch clear ......................10 - 19 10.6.6 Relationship between remote operation and CPU module RUN/STOP key switch ..10 - 20 10.7 Terminal Operation........................10 - 21 10.7.1 Operation for message display ..................10 - 21 10.7.2 Key input operation ......................10 - 22 10.8 Reading Module Access Time Intervals ..................10 - 23...
  • Page 15 16.1.1 Power supply module specifications ...................16 - 1 16.1.2 Power supply module selection...................16 - 5 16.1.3 Fuse specifications......................16 - 7 16.2 Handling precautions........................16 - 8 16.3 Part Names ..........................16 - 10 BASE UNIT AND EXTENSION CABLE 17 - 1 to 17 - 11 17.1 Specifications of Base Units......................17 - 1 17.1.1 Main base unit for high-speed access (A38HB/A38HBEU) ..........17 - 3 17.2 Extension Cable Specifications ....................17 - 4...
  • Page 16 20.1.7 Noise filter (power supply line filter) ..................20 - 10 20.2 Requirements for Compliance with Low Voltage Directives............20 - 11 20.2.1 Standard applied for MELSEC-QnA series PLC ...............20 - 11 20.2.2 Precautions when using the QnA series PLC ..............20 - 11 20.2.3 Power supply........................20 - 12 20.2.4 Control panel........................20 - 13 20.2.5 Module installation ......................20 - 14...
  • Page 17 22.4 Resetting Errors ........................22 - 46 22.5 Fault Examples with I/O Modules....................22 - 47 22.5.1 Faults with the input circuit and the corrective actions............22 - 47 22.5.2 Faults in the output circuit ....................22 - 49 APPENDICES App - 1 to App - 163 APPENDIX 1 INSTRUCTION LIST ....................
  • Page 18 APPENDIX 10 TRANSPORTATION PRECAUTIONS ..............App - 160 Appendix 10.1 Relevant Models ....................App - 160 Appendix 10.2 Transportation Guidelines................App - 161 APPENDIX 11 Handling of Batteries and Devices with Built-in Batteries in EU Member States ..........................App - 162 Appendix 11.1 Disposal precautions..................
  • Page 19 About This Manual The following manuals are related to this product. Please order those you require. Related Manuals Manual No. Manual Name (Model Code) QnACPU Programming Manual (Fundamentals) IB-66614 Explains the programming procedures, device names and program types required (13JF46) for program creation.
  • Page 20 Manual No. Manual Name (Model Code) Type SW2IVD-GPPQ GPP Software package Operating Manual (Q6TEL) IB-66777 Describes Q6TEL system configuration, operating methods, etc. (13J924) (Included with product) A - 18...
  • Page 21 User Precautions Precautions when using QnACPU When using a CPU module, format the memory using a peripheral device. For details of memory format, refer to the following manuals. • GX Developer Operating Manual • SW IVD-GPPQ Software package Operating Manual (Online) Precautions for Battery The operation after removal of a battery After removing a battery of the CPU module, format the memory using a peripheral...
  • Page 22: About This Manual 1 - 1 To

    ABOUT THIS MANUAL About this Manual This manual serves to explain the specifications and functions of the Q2ACPU(S1), Q3ACPU, and Q4ACPU (abbreviated as QnACPU hereafter), the specifications of other modules, and the maintenance required for smooth system operation, to users of MELSEC-QnA series programmable controllers.
  • Page 23: Abbreviations And Generic Terms Used In This Manual

    Abbreviations and Generic Terms Used in this Manual The following abbreviations and generic terms are used in this manual. QnACPU........Abbreviation for Q2ACPU, Q2ACPU-S1, Q3ACPU, and Q4ACPU type CPU modules. Network module......Abbreviation of AJ71QLP21(G), AJ71QLP21S, AJ71QLR21, AJ72QLP25 (G), AJ71QBR11, AJ72QBR15 and AJ72QLR25 type MELSECNET/10 network modules.
  • Page 24: Overview

    Large memory capacity (a) Q4ACPU has a program capacity of 124k steps, which means that 124k steps can be used for a single program (Q2ACPU: 28k steps, Q2ACPU-S1: 60k steps, Q3ACPU: 92k steps). (b) The device memory capacity is 32k words and the user can change the number of points as required.
  • Page 25 OVERVIEW Selection of program execution type that is appropriate for the control has been realised. There are four program execution types to be selected as follows. (a) Initial execution type This program type is executed once only when the QnACPU is set to RUN. (b) Scan execution type This program type is run continually while the QnACPU is in the RUN status.
  • Page 26 OVERVIEW (b) The user can standardize and simplify programs by creating and using macro instructions corresponding to functions. (c) Devices can be used without restrictions. 1) Word device bit operations are possible. 2) Differential contacts can be used. 3) Buffer memories of special function modules can be accessed directly from a program as devices.
  • Page 27 OVERVIEW (g) A powerful array of support software packages is available for program creation. 1) Data conversion package Comment data, device data, etc., which is created with spreadsheet software and text editors available on the market, can be converted to files for GPP function use.
  • Page 28: Additional Functions Of Qnacpu

    OVERVIEW Additional Functions of QnACPU New functions and instructions for special function module are added to the QnACPU. [Additional functions] Variety of local devices..........Refer to Section 2.2.1 (1). Monitor test of local device........Refer to Section 8.2.2. Use of local device at the subroutine/interrupt program storage destination.........
  • Page 29 OVERVIEW Table 2.1 List of combination between QnACPU and function version/version of special function module SW0IVD- AJ71 GPPQ SW2IVD- AJ71QE71 AJ71QC24 Module/package Name QnACPU AD75P-S3 AJ61QBT11 SW1IVD- GPPQ (B2), (B5) (N)(R2) GPPQ 9707B and 9707B and 9707B and Function version –...
  • Page 30: Overview Of Added Functions

    OVERVIEW 2.2.1 Overview of added functions This section shows an overview of the added functions. Variety of local device (a) The device set as the local device at "Device" in Parameter can be monitored and tested with a peripheral device. This function allows checking and debug of the local device in the program monitored with a peripheral device.
  • Page 31 OVERVIEW Netwotk relay from Ethernet module (a) In the network system with mixture of Ethernet and MELSECNET/10, data can be communicated with the QnACPU of other stations via multiple Ethernets or MELSECNET/10 modules. (b) For the network relay from the Ethernet module, the function version of the Ethernet module should be upgraded to "B"...
  • Page 32: System Configuration 3 - 1 To

    SYSTEM CONFIGURATION SYSTEM CONFIGURATION This section describes the system configurations that can be used for a system centered on a QnACPU, cautions on configuring the system, and the system equipment. System Configuration The following shows the configuration of equipment and peripheral device when a QnACPU is used in a stand-alone system.
  • Page 33: Configuration Of Peripheral Devices Capable Of Qnacpu

    SYSTEM CONFIGURATION 3.1.2 Configuration of peripheral devices capable of QnACPU (To RS-422 interface) QnACPU AC30R4-PUS cable Q6PU AC20R4-A8PU cable programming unit RS-422 RS-232C RS-232C cable RS-422 cable convertor IBM-PC/AT-compatible software package used: (Mounted to the base unit) AJ71QC24 serial communication module (To option board slot) IC memory card Option board...
  • Page 34: System Configuration Overview

    SYSTEM CONFIGURATION System Configuration Overview (a) Q2ACPU system System configuration * An example when the 16-point module is installed to each slot is shown. Maximum number of 3rd extension stage extension stages Maximum number of I/O 32 modules modules Maximum number of I/O...
  • Page 35 SYSTEM CONFIGURATION (b) Q2ACPU-S1 system Main base unit (A38B) Slot No. 00 10 20 30 40 50 60 70 Extension to to to to to to to cable 0F 1F 2F 3F 4F 5F 6F 7F * An example when the 16-point module is installed to each slot is shown.
  • Page 36 SYSTEM CONFIGURATION (c) Q3A/Q4ACPU system Main base unit (A38B) Slot No. 00 10 20 30 40 50 60 70 Extension to to to to to to to cable 0F 1F 2F 3F 4F 5F 6F 7F * An example when the 16-point module is installed to each slot is shown.
  • Page 37: System Equipment

    Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] Number of I/O points: 512, built-in RAM: 28k Q2ACPU – steps Memory card procured Number of I/O points: 1024, built-in RAM: 60k Q2ACPU-S1 – separately. steps CPU module –...
  • Page 38 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] AX10 16-input 100VAC input module 16 (16 inputs) 0.055 – AX11 32-input 100VAC input module 32 (32 inputs) 0.11 –...
  • Page 39 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] AY10 16-output relay contact output module (2A) 16 (16 outputs) 0.115 0.15 16-output relay contact output module, AY10A 16 (16 outputs) 0.115 0.15 for independent contact output...
  • Page 40 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] 16-point 12/24VDC transistor output module *1: Indicates a AY50 16 (16 outputs) 0.115 0.13 (0.5A, fused) source load module. 32-output 12/24VDC transistor output module Other modules AY51...
  • Page 41 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] 1-axis positioning control, speed control and speed-positioning control, 1-axis AD70 32 (special 32 points) – analog voltage output for speed-positioning positioning control (0 to 10V)
  • Page 42 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] 24-bit binary, 1/2 phase input, AD61 reversible counter, 32 (special 32 points) – 50kPPS, 2 channels High-speed counter 24-bit binary, 1/2 phase input, module reversible counter, AD61S1...
  • Page 43 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] A68DAV 32 (special 32 points) 0.15 0 to 10V, analog output, 8 channels. A68DAI-S1 0 to 20mA, analog output, 8 channels. 32 (special 32 points) 0.15 4 to 20mA/0 to...
  • Page 44 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] For MELSECNET II optical data links AJ71AP21 Maximum 2 32 (special 32 points) – For MELSECNET II optical data link AJ71AP21-S3 modules can be (compatible with GI cable)
  • Page 45 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Allocation 5VDC(A) 24VDC(A) Module Type] Link module that communicates data with a computer. Computer link Transmission speed: 300bps to 19.2kbps 32 (special 32 points) –...
  • Page 46 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] Device Net Device Net master module interface AJ71DN91 32 (special 32 points) 0.24 – Total I/O points: 4096 points module PROFIBUS-DP master module PROFIBUS-DP...
  • Page 47 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] Large-size graphic operation terminal A985GOT 256 colors, TFT color, 800 600 dots, high intensity Large-size graphic operation terminal 256 colors, TFT color, 640 480 dots, high A975GOT intensity/256 colors, TFT color, 640 480 dots, wide viewing angle...
  • Page 48 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] A61P 100/200VAC input A61PN Output: 5VDC 8A Power A61PEU CE-compliant supply slot A62P – – 100/200VAC input mouting Output: 5VDC 5A, 24VDC 0.8A A62PEU CE-compliant position...
  • Page 49 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] A6SW16 16-point simulation switch Simulation Installed in an – – – switch input module. A6SW32 32-point simulation switch Mounting to Battery A6BAT Built-in RAM memory backup...
  • Page 50 SYSTEM CONFIGURATION Product Name Model Name Description Applicable Model For sink-type input module and A6TBXY36 sink-type output module (standard type) AX42(S1), AY42(S1/S3/S4), AH42 For sink-type input module and A6TBXY54 sink-type output module. (2-wire type) A6TBX70 For sink-type input module (3-wire type) AX42(S1), AH42 Connector/terminal block converter...
  • Page 51 SYSTEM CONFIGURATION REMARK Toa Electric Industrial CO., LTD. provides I/O cables with connectors, which can connect to 40-pin connector (AX42, AY42, etc.) or 37-pin D-sub connector (AX82, AY82) of I/O modules. Contact: TOA ELECTRIC INDUSTRIAL CO., LTD. Peripheral device Product Name Model Name Remark Connected to the CPU module by an RS-422 cable (AC30R4-PUS,...
  • Page 52: Precautions When Configuring The System

    SYSTEM CONFIGURATION 3.3.2 Precautions when configuring the system The following shows the hardware and software packages which can be used for QnACPU. Hardware (a) The number of modules that can be mounted is restricted depending on the module type. Applicable Module Dedicated to QnACPU For ACPU Remark...
  • Page 53 SYSTEM CONFIGURATION (b) The following shows special function modules that cannot be used with QnACPU: • AJ71C23 (Host controller high-speed link module) • AD57-S2 (A6MD controller module) • AJ71C24 (Computer link module): Manufactured through February 1987. Products manufactured in March 1987 or later, and products marked "H"...
  • Page 54 SYSTEM CONFIGURATION (d) When a QnACPU is mounted on a main base unit for A38HB/A38HBEU high- speed access, the QnACPU can access special function modules, intelligent special function modules and link modules to write/read at greater speeds. QnACPU cannot input/output to the I/O module at greater speed. (e) The following shows how to connect graphic operation terminal units to a QnACPU.
  • Page 55 SYSTEM CONFIGURATION Software package The following shows the system start-up software packages to create programs for QnACPU. Peripheral Device Capable of GPP Functions Software Package for System Start-up Personal computer GX Developer, SW IVD-GPPQ Apart from the above, the following software packages can be used. •...
  • Page 56: Qnacpu Memory Block Diagram

    SYSTEM CONFIGURATION 3.3.3 QnACPU memory block diagram The following block diagram shows the QnACPU memory configuration. Built-in RAM : Memory that stores parameters, sequence programs, etc. Error history storage : Memory that stores error history data memory Device memory : Memory that stores device data Memory card : Memory that stores the files, comments, etc., for parameters, (RAM, ROM area)
  • Page 57: Performance Specifications

    PERFORMANCE SPECIFICATIONS PERFORMANCE SPECIFICATIONS This section shows the performance specifications of the QnACPU. Model Name Item Remark Q2ACPU Q2ACPU-S1 Q3ACPU Q4ACPU Control method Sequence program control method Direct input/output is allowed by I/O control mode Refresh mode specifying direct input/output (DX...
  • Page 58 PERFORMANCE SPECIFICATIONS Model Name Item Remark Q2ACPU Q2ACPU-S1 Q3ACPU Q4ACPU Internal relay [M] Default: 8192 points (M0 to M8191) Latch relay [L] Default: 8192 points (L0 to L8191) Link relay [B] Default: 8192 points (B0 to B1FFF) Default: 2048 points (T0 to T2047) (Low-speed timers and high-speed timers sharing) Set low-speed timers/high-speed timers switching with instructions.
  • Page 59 250mm (9.84inch) 79.5mm (3.13inch) 121mm (4.76inch) REMARK Indicates current consumption of the QnACPU with function version "B" (9707B). The following shows the current consumption values of the QnACPU without the function version: • Q2ACPU, Q2ACPU-S1, Q3ACPU : 0.3A • Q4ACPU : 0.6A 4 - 3...
  • Page 60: I/O Number Assignment

    I/O NUMBER ASSIGNMENT I/O NUMBER ASSIGNMENT This section explains the method for I/O number assignment using the QnACPU to enable data communications with a I/O modules and a special function module. I/O Numbers The I/O number is used in the sequence program to input data from a input module and to output data to an output module.
  • Page 61: I/O Number Assignment Concept

    I/O NUMBER ASSIGNMENT I/O Number Assignment Concept When the PLC power is ON or the CPU module is reset, the I/O assignment described below is performed. In the sequence program, designate the I/O numbers assigned in accordance with the following. I/O numbers are sequentially assigned from left to right, taking slot 0 (The slot to the right of the CPU module) of the main base unit to be "0".
  • Page 62 I/O NUMBER ASSIGNMENT I/O numbers are assigned assuming that every base unit has 8 slots. If a 5-slot type base unit is used, an I/O number obtained by adding points equivalent to 3 slots (48 points) to the final I/O number of the 5-slot base unit is assigned to the next extension base unit.
  • Page 63: I/O Assignment With Gpp Function

    I/O NUMBER ASSIGNMENT I/O Assignment with GPP Function When using the QnACPU, I/O modules and a special function module can be controlled even if I/O assignment with GPP function is not performed. I/O assignment with GPP function are valid in the following cases. The purpose of I/O assignment with GPP function (a) When using a base unit for 5 slots, set 0 point for 3 slots for efficient use of number of I/O points.
  • Page 64 I/O NUMBER ASSIGNMENT The setting is made in units of 16 point within the range of 0 to 64. The default is 16 points. Example: When the points occupied by empty slot is set to 0 points Three empty slots (48 points) of the A35B are allocated as 0 point.
  • Page 65 I/O NUMBER ASSIGNMENT The setting details are as follows: Item Setting Setting range Default value Set data for each slot. Slot setting (Not necessary to set all data). Free/input/output/special Type Set the module type. 0 to 64 points No setting Points Set the number of points for the module.
  • Page 66 I/O NUMBER ASSIGNMENT The CPU module performs the following processing when I/O assignment is set. 1) Any of the following assignment can be performed per slot of each base unit. Assigned number of points Special function Empty slot Input module Output module module –...
  • Page 67 I/O NUMBER ASSIGNMENT (b) The I/O assignment of a slot to which a special function module is loaded has to be the same setting with the module. Not doing so may cause an error. 1) A11VC........... Special: 16 points 2) AI61 ..........Special: 32 points 3) AG62..........
  • Page 68: Example Of I/O Number Assignment

    I/O NUMBER ASSIGNMENT Example of I/O Number Assignment The following shows the example of I/O number assignment when I/O assignment is performed using GPP function. When changing the assignment for an empty slot from 16 points to 0 or 32 points When the A35B is used, there are three empty slots.
  • Page 69 I/O NUMBER ASSIGNMENT (b) I/O numbers when I/O assignment is performed using GPP function 1) I/O Allocation example The example of I/O assignment with GPP function 5 - 10...
  • Page 70 I/O NUMBER ASSIGNMENT 2) I/O numbers after performing I/O assignment using GPP functon Since 16 points is set, the latter 16 points of inputs cannot be used. Since 32 points is set, the points from 40 to 4F is occupied with dummy points. Since "Empty (S), 16 points"...
  • Page 71 I/O NUMBER ASSIGNMENT Replacing a 16-point input module with a 32-point input module When replacing the 16-point input module with a 32-point input module without changing the all I/O number assignment in a system to which a 16-point input module is designed.
  • Page 72 I/O NUMBER ASSIGNMENT 2) I/O numbers after performing I/O assignment using GPP function and replacing the module A38B 32 16 16 16 16 16 16 points points points points points points points points X80 X20 X30 Y40 Y50 X9F X2F X3F Y4F Y5F POINT When the I/O number set for "Start XY"...
  • Page 73 I/O NUMBER ASSIGNMENT When combining an input module and output module having non-consecutive I/O numbers on a base unit When controlling the machine (I/O numbers X0 to X3F, Y40 to Y7F) and machine (I/O numbers X200 to X23F and Y240 to Y27F) with a single PLC, it is desired to combine input modules and output modules on the base unit.
  • Page 74: Data Communications With Special Function Modules 6 - 1 To

    DATA COMMUNICATIONS WITH SPECIAL FUNCTION MODULES DATA COMMUNICATIONS WITH SPECIAL FUNCTION MODULES This chapter explains the methods for reading data from a special function module, and writing data to a special function module with the QnACPU. The special function module is a module that allows analog quantity, high-speed pulse, etc., which cannot be processed with I/O module alone, to be handled by the QnACPU.
  • Page 75: Reading/Writing Data From/To The Qnacpu Using The From/To Instruction

    DATA COMMUNICATIONS WITH SPECIAL FUNCTION MODULES Reading/Writing Data from/to the QnACPU Using the FROM/TO Instruction When the FROM/TO instruction is performed, data stored in the buffer memory of a special function module is read, or data is written to the buffer memory of a special function module.
  • Page 76: Reading/Writing Data From/To The Qnacpu Using Special Direct Devices

    DATA COMMUNICATIONS WITH SPECIAL FUNCTION MODULES Reading/Writing Data from/to the QnACPU Using Special Direct Devices As the FROM/TO instruction, the special direct device reads data stored in the buffer memory of a special function module or writes data to the buffer memory of a special function module.
  • Page 77 DATA COMMUNICATIONS WITH SPECIAL FUNCTION MODULES POINT 1. When reading data from the special function module frequently during the programming, store the special direct device to a data register after reading in an area of the program by using the FROM instruction rather than by using them at each instruction.
  • Page 78: Processing For Data Communication Requests From A Special Function Module

    DATA COMMUNICATIONS WITH SPECIAL FUNCTION MODULES Processing for Data Communication Requests from a Special Function Module When a data communication request is received from a special function module such as a serial communication module, the QnACPU performs the processing for the data communication request at the END processing.
  • Page 79: Auto Refresh Function

    AUTO REFRESH FUNCTION AUTO REFRESH FUNCTION For MELSECNET/MINI-S3 By setting link information, I/O storage device, etc. of the MELSECNET/MINI-S3 to the parameters, the module automatically communicates with the buffer memory area for the batch refresh send/received data of the type AJ71PT32-S3 MELSECNET/MINI-S3 master module (abbreviated as the MINI master module hereafter).
  • Page 80 AUTO REFRESH FUNCTION POINT (1) Since up to 8 master modules can be set for auto refresh by the parameter, auto refresh is possible for up to 8 modules. When 9 or more modules are desired, use the FROM/TO instruction in the sequence program from the 9th module.
  • Page 81 AUTO REFRESH FUNCTION Parameter setting items, setting ranges and contents of auto refresh, as well as the buffer memory address of the master module which is used for exchanging data with the QnACPU are shown below. Set the parameters for the number of the master modules used. I/O signal Buffer memory from a...
  • Page 82 AUTO REFRESH FUNCTION I/O signal Buffer memory from a address of a Item Setting range Description Default value master master module module M, L, B, T, ST, C, D, W, R, ZR, • Sets the head device to store the faulty stations Faulty station –...
  • Page 83 AUTO REFRESH FUNCTION Setting of the send/received data storage devices is explained using the system example shown below. (Example) When the device X/Y400 and later are used as the remote I/O stations: Sample parameter setting of the GPP function for the above system configuration is shown below: 7 - 5...
  • Page 84 AUTO REFRESH FUNCTION The storage devices for the send/received data for the present system example are as follows: (a) Storage device for received data Master module CPU module Address b8 b7 X40F X408 X407 Station No.2 Station No. 1 X400 Station No.4 Station No.3 X41F...
  • Page 85 AUTO REFRESH FUNCTION (b) Send data storage device 1) Set the device number (Y400) for b0 of the station 1 as a send data storage device. 2) The send data storage device occupies from Y400 to Y45F. For the present system example, since the total number of stations is odd, it is occupied for one extra station.
  • Page 86: Auto Refresh Setting Of Cc-Link

    AUTO REFRESH FUNCTION Auto Refresh Setting of CC-Link Auto refresh of the CC-Link designates automatic communications between the QnACPU and the buffer memory for cyclic communication of CC-Link master stations/local stations. Data for communication varies depending on the remote station connected. •...
  • Page 87 AUTO REFRESH FUNCTION Settings for auto refresh The Table 7.1 shows the setting items for auto refresh parameters of the QnACPU. Table 7.1 List of auto refresh settings Setting station Item Description Setting range Number of modules The number of CC-Link modules is set. 1 to 8 Module head I/O number The head I/O number of a CC-Link module is set.
  • Page 88 AUTO REFRESH FUNCTION Table 7.1 List of auto refresh settings (Continued) Setting station Item Description Setting range Batch refresh device for • The destination device for special register is set. T, ST, C, D, W, R, ZR special register Auto update buffer •...
  • Page 89 AUTO REFRESH FUNCTION Precautions (a) Auto refresh of the CC-Link is available when the QnACPU and the CC-Link module with function version "B" are used. When either of the QnACPU or the CC-Link module does not indicate function version "B," auto refresh of the CC-Link is not available. (b) Auto refresh can be set to up to 8 CC-Link modules.
  • Page 90 AUTO REFRESH FUNCTION Setting method Auto refresh setting to the CC-Link is set with the following procedures. (a) When the "CC-Link" is selected in the "Parameter", the "CC-Link setting" screen appears. (b) Set the number of the CC-Link modules loaded on the main base unit and extension base unit for the QnACPU and selct "Execute", then the screen of CC- Link setting list appears.
  • Page 91 AUTO REFRESH FUNCTION (c) Move the cursor to the module number position for auto refresh setting and press the key (Detail). The "CC-Link setting" screen appears. Select "4. Auxiliary setting.." and "5. Station information setting.." to set detailed data. I/O number setting of the CC-Link Remote station module for the...
  • Page 92 AUTO REFRESH FUNCTION 1) When selecting the "4. Auxiliary setting..", the "Auxiliary setting" screen appears. When pressing the key, the screen returns to the CC-Link setting screen of (c). 2) When selecting the "5. Station information setting...", the "Station information setting"screen appears.
  • Page 93: Function List

    DEBUGGING FUNCTION DEBUGGING FUNCTION Function List QnACPU has a variety of convenient functions when debugging. The following shows the debugging functions. Item Description Reference Function that reads CPU programs, device statuses from a Monitor function Section 8.2 peripheral device capable of GPP functions Function that writes a program while the CPU module is Write during RUN Section 8.3...
  • Page 94: Monitor Function

    DEBUGGING FUNCTION Monitor Function This function reads CPU module programs and device statuses to a peripheral device capable of GPP functions. Application This function is used to set monitoring conditions for monitoring the operating statuses of the PLC in accordance with a precise timing. There are three "Monitoring Condition"...
  • Page 95 DEBUGGING FUNCTION (b) When "2. ( ) Condition" is set "1. [ ] Device" and "2. [ ] Step #" can be set. 1) When only "2. [ ] Step #" is set The monitor data collection timing is the moment when a QnACPU shows designated status immediately before executing the designated step.
  • Page 96 DEBUGGING FUNCTION REMARK 1) When Step # [ 0] is designated, the execution condition must be set as Always. 2) When "1. [ ] Device" only is specified (when "2. [ ] Step #" is not specified), the monitor data collection timing is every scan after END processing of the PLC CPU. When the data is changed in the same scan, it cannot be detected.
  • Page 97 DEBUGGING FUNCTION POINT In the ladder block shown below, assuming that the detailed condition is set as follows: "Step # [100] = < >, Word device [D1 ] = [K5 ]". The monitor timing is shown below. However, the monitoring interval at a peripheral device capable of GPP functions depends on the processing speed of that peripheral device.
  • Page 98 DEBUGGING FUNCTION POINT (1) Assume that "Step # [ 2] = <ON>" is designated as the detailed condition in the case of the ladders shown below; In this case the monitor execution differs for the two ladders. For (a) it is "X0 and X1 both ON" and for (b) it is "X1 ON (regardless of ON/OFF status of X0)".
  • Page 99 DEBUGGING FUNCTION A monitor stop condition can be set. All operations are performed on the monitor/test screen window in the ladder mode. The following shows an example of the setting for a monitor stop condition. The following shows an explanation of the screen above: Either "1.
  • Page 100 DEBUGGING FUNCTION 2) When "1. [ ] Device" is set Either "1. ( ) Word Device" or "2. ( ) Bit Device" can be set. When "1. ( ) Word Device" is set The monitor stop timing is such that monitoring stops when the present value of the designated word device attains the designated value.
  • Page 101 DEBUGGING FUNCTION The ON status of comparison instructions can be monitored. The following shows an example of this type of monitoring. The devices of special function modules can be monitored. The following shows an example of this type of monitoring. REMARK To monitor devices of special function modules, set "2.
  • Page 102 DEBUGGING FUNCTION Real numbers and character strings can be monitored. The following shows an example of this type of monitoring. The following shows the devices that can be monitored. (a) Bit devices X, FX, DX, Y, FY, DY, M, L, F, SM, V, B, SB, T(Contact), T(Coil), ST(Contact), ST(Coil), C(Contact), C(Coil), J \X, J \Y, J \B, J \SB, BL \S (b) Word device...
  • Page 103 DEBUGGING FUNCTION NOTE 1) When a monitoring is performed with a monitor condition set, the file displayed at the device running GPP function is monitored. Make sure that the file name used with GPP function is the same as the file name when monitoring is performed by executing "Newly from PLC".
  • Page 104: Monitor Test Of Local Device (Function Version B Or Later)

    DEBUGGING FUNCTION 8.2.2 Monitor test of local device (function version B or later) With the "parameter device setting," the device set in the local device can be monitored and tested in the peripheral device. This function allows debugging while checking details of the local device by peripheral devices.
  • Page 105 DEBUGGING FUNCTION Monitoring procedures of local device The following shows the procedures to be monitored local devices: Connect the CPU module to peripheral devices. Display the ladder in the ladder mode. Change a mode to a monitor mode. Press the ALT (GRPH) key. Display the ALT (GRPH) menu.
  • Page 106 When the local device of the stand-by type program is monitored, the local device data is read/escape. The scan time is extended as follows: :560 + 1.3 (Number of words in the local device) [ s] Q2ACPU(S1) :425 + 1.0 (Number of words in the local device) [ s] Q3ACPU :220 + 0.8 (Number of words in the local device) [ s]...
  • Page 107: Write During Run

    DEBUGGING FUNCTION Write During RUN This is a function that writes a program to the CPU while the CPU module is in the RUN. Read the manual carefully and confirm safety before changing the program during CAUTION operation. An operation error of write during run may result in damage to the machine or accident.
  • Page 108 DEBUGGING FUNCTION The example below shows a case where peripheral device capable of GPP functions A performs write during RUN from P0, and peripheral device capable of GPP functions B performs write during RUN from P1. The program enclosed in the frame is the program subject to write during RUN.
  • Page 109 DEBUGGING FUNCTION Operation Procedures To write from the GPP function peripheral devices during RUN, the following two methods are available: After a ladder is created in the ladder mode, write during RUN is performed by pressing keys for conversion of the ladder. Shift With "4.
  • Page 110 DEBUGGING FUNCTION During low-speed program execution, write during RUN is started when execution of all low-speed programs is completed. Also, execution of low-speed programs is suspended during write during RUN. Scan execution Scan execution Scan execution Scan execution type program type program type program type program...
  • Page 111: Execution Time Measurement

    DEBUGGING FUNCTION Execution Time Measurement This is a function that displays the processing time of the program being executed. Application This function is used to determine the influence of the processing time of each program on the total scan time when making system adjustments. Function Description Execution time measurement provides the following three functions.
  • Page 112 DEBUGGING FUNCTION Select "Program List Monitor". The following shows an example of execution of the program list monitor when a constant scan time of 120ms is set. The following shows an explanation of the screen above: (a) "Total Scan Time" The times set in "5.( ) PC RAS Setting"...
  • Page 113 DEBUGGING FUNCTION (c) "Program Status" The times set in "9. ( ) Auxilliary Setting" in the parameter mode are displayed here. 1) "Program" The program names are displayed here in the order that the parameters are set. 2) "Exec" The types of the programs set in the parameters are displayed here. 3) "Scan Time"...
  • Page 114 DEBUGGING FUNCTION 8.4.2 Interrupt program monitor list This function displays the number of executions of interrupt programs. Application This is used to check the execution status of interrupt programs. Function Description This function allows display of the execution counts of interrupt programs. All operations are performed using the monitor/test menu in the ladder mode.
  • Page 115 DEBUGGING FUNCTION 8.4.3 Scan time measurement This function displays the processing time for section of a program. Function Description This function allows measurement of the execution time of section of the program in a program file. The function can also be used to measure times within subroutine programs and interrupt programs.
  • Page 116 DEBUGGING FUNCTION Designate the scan time measurement range (The designated part is highlighted). The scan time measurement results are displayed. NOTE 1) Make sure that the start step is lower than the end step in the setting. 2) Times that span different program files cannot be measured. 3) If the measured time is less than 0.100ms, 0.000ms is displayed.
  • Page 117: Sampling Trace Function

    DEBUGGING FUNCTION Sampling Trace Function The function that collects devices continuously on the CPU module with the specified timing. POINT When executing the sampling trace function, a memory card is required. Application This allows checking the changes in the contents of the devices used in a program in accordance with a designated timing during debugging.
  • Page 118 DEBUGGING FUNCTION (c) The sampling trace file stores the trace condition data and trace execution data required to execute the sampling trace. Once a GPP function starts tracing, the number of set tracing times are executed. CPU module Peripheral device capable Memory card of GPP functions Sampling trace area...
  • Page 119 DEBUGGING FUNCTION Basic operation The basic operation for sampling trace is shown below. The statuses during execution of the sampling trace function can be confirmed by monitoring special relays SM800 to SM805 and SM826. • Trace execution 8 - 27...
  • Page 120 DEBUGGING FUNCTION • Suspending the trace The following shows the operation at error occurrence. When an error occurs during sampling trace, SM826 (sampling trace error) comes ON, and at the same time, SM801 (sampling trace start) goes OFF. Start the trace again for turning OFF SM826. 8 - 28...
  • Page 121 DEBUGGING FUNCTION Operation Procedures The following shows the procedures of sampling trace. These operations are performed on the "Sampling Trace" screen of the trace menu in the online mode. Set the trace devices and trace conditions with GPP function. (a) Setting the trace devices Set the devices at "Trace Device Setting"...
  • Page 122 DEBUGGING FUNCTION (b) Setting the trace conditions Set the trace conditions at "Trace Device Setting" on the "Sampling Trace" screen. Sampling the designated number of times (count after trigger) leads completion after the trigger point execution. 8 - 30...
  • Page 123 DEBUGGING FUNCTION The following shows an explanation of the screen above: One of the following four settings can be made for the trace condition: "1. Trace Counts", "2. Trace Point", "3. Trigger Point", or "4. Added Trace Information". 1) "Trace Counts" In the case of the total count, set the number of sampling traces executed from start to end of the trace.
  • Page 124 DEBUGGING FUNCTION 3) "Trigger Point" The point at which the trigger is executed is set. Select one of the following: At Instruction Execution : When executing STRA instruction At Request of PDT : When operating trigger using GPP functions Specify Detail Condition : Set a device and step number. The following shows setting examples: The details on how to make the settings and trigger execution timing are the same as described in...
  • Page 125 DEBUGGING FUNCTION Execute the sampling trace. Execute the sampling trace by using "1. ( ) Execute Trace & Display Status" on "Sampling Trace" screen. The following shows a setting example for "1. ( ) Execute Trace & Display Status". The following shows an explanation of the screen above: The following settings can be made for "Execute Trace &...
  • Page 126 DEBUGGING FUNCTION (c) "Trace Condition" Select one of the following: 1) Overwrite Conditions onto CPU's : The trace condition in an existing trace file is overwritten. 2) Use Condition in CPU : Sampling trace under the condition in the trace file designated in "2. Sampling Trace Data"...
  • Page 127: Status Latch Function

    DEBUGGING FUNCTION Status Latch Function This function collects the data of devices at designated moment. POINT When executing status latch function, a memory card is required. Application This function is used to retain the statuses of devices used in a program at designated moment during debugging.
  • Page 128 DEBUGGING FUNCTION Basic operation The following shows the basic operation for status latch. The statuses during execution of the status latch function can be checked by monitoring special relays SM806 to SM809 and SM827. The following shows the operation at error occurrence. When an error occurs during status latch, SM827 comes ON, and at the same time SM808 (completed) is turned ON.
  • Page 129 DEBUGGING FUNCTION Operation Procedures The following shows procedures for status latch. All operations are performed on the "Status Latch" screen of the trace menu in the online mode. Setting the status latch condition Set the status latch condition at "2. ( ) Status Latch Condition Setting" on the "Status Latch"...
  • Page 130 DEBUGGING FUNCTION (b) "Trigger Point" Set the condition to execute the status latch. Select one of the following: 1) At Instruction Execution : When executing SLT instruction 2) At Request of PDT : When operating trigger using the peripheral devices capable of GPP function. 3) Specify Detail Condition : Set a device and step number.
  • Page 131 DEBUGGING FUNCTION Execute the status latch. Execute the status latch by using "1. ( ) Exec Status Latch & Disp Status" on "Status Latch" screen. The following shows a setting example for "1. ( ) Execute Status Latch & Display Status".
  • Page 132 DEBUGGING FUNCTION Retrieve the status latch results from the CPU module and display them. (a) Read the status latch results from the CPU module by using "8. ( ) Read from PC (Results)" on "Status Latch" screen. (b) Display the read trace results by setting "1. ( ) Monitor Target" on the "Monitor Target Setting"...
  • Page 133: Step Operation

    DEBUGGING FUNCTION Step Operation This function runs one step or one part of a program, runs a program with a part skipped. Application This function is used to determine the causes of faults during debugging. Function Description This function can only be used when the CPU module is set to STEP-RUN. The step operation function provides the following three functions.
  • Page 134 DEBUGGING FUNCTION 8.7.1 Step execution Step execution is a sequence program execution that performs by one step at a time, starting from the designated step. It allows a sequence program execution while checking an execution status of the sequence program and the contents of each device during debugging. There are two types of step execution as described below: Step execution for one instruction Instructions are executed one for each step starting from the step where program...
  • Page 135 DEBUGGING FUNCTION Operation Procedures The following shows the procedures to perform step execution. All operations are performed on Monitor/test screen in the ladder mode (debugging). Select "B/Step Run". 8 - 43...
  • Page 136 DEBUGGING FUNCTION 8.7.2 Partial execution The sequence program is executed from the start step or the step where operation is currently stopped to a designated step (break point). Fig. 8.4 Partial execution Operation Procedures The following shows the procedures to perform partial execution. All operations are performed on Monitor/test screen in the ladder mode (debugging).
  • Page 137 DEBUGGING FUNCTION (b) Setting the break condition Set the device status and break point at "2. Break Cond" on the "Partial Run" screen. The following shows the devices that can be set. 1) Bit device : X, FX, DX, Y, FY, DY, M, L, F, SM, V, B, SB, T (Contact), T (Coil), ST (Contact), ST (Coil), C (Contact), C (Coil), J \X, J \Y, J \B, J \SB, BL \S 2) Word device...
  • Page 138 DEBUGGING FUNCTION (c) Setting the execution operation Set the scan time, interrupt status, and refresh, at "3. Option" on "Partial Run" screen. *Multiple setting can be made. The following shows all settings. Item Description Designates whether QnACPU executes the scan time by the actual time or by Scan time the designated time.
  • Page 139: Skip Function

    DEBUGGING FUNCTION 8.7.3 Skip function Skip execution or partial execution of a program whereby the program is executed with the designated step(s) skipped. Fig. 8.5 Skip execution Operation Procedures The following shows the procedures to perform skip execution. All operations are performed on Monitor/test screen in the ladder mode (debugging). Set the program range to be skipped using GPP function.
  • Page 140: Program Trace Function

    DEBUGGING FUNCTION Program Trace Function This function collects program execution statuses. POINT When executing the program trace function, a memory card is required. Application This function is used to check the execution status of any step of any program during debugging.
  • Page 141 DEBUGGING FUNCTION Basic operation The following shows the basic operation for program trace. The statuses during execution of the program trace function can be confirmed by monitoring special relays SM810 to SM815 and SM828. • Without suspension of the trace 8 - 49...
  • Page 142 DEBUGGING FUNCTION • With trace suspension The following shows an operation at error occurrence. When an error occurs during program trace, SM828 (program trace error) comes ON, and at the same time, SM811 (program trace start) goes OFF. To turn SM828 OFF, either turn SM811 ON, or execute the PTRA instruction. 8 - 50...
  • Page 143 DEBUGGING FUNCTION Operation Procedures The following shows the procedures to perform program trace. These operations are performed on the "Program Trace" screen of the trace menu in the online mode. Perform these operations with the CPU module setting to the STEP-RUN. (Refer to Section 8.7.) Set the trace devices and trace conditions with GPP function.
  • Page 144 DEBUGGING FUNCTION (b) Setting the trace conditions Set the trace conditions at "Trace Condition Setting" on the "Program Trace" screen. The following is an explanation of the screen above: One of the following three settings can be made for the trace condition: "1. Trace Counts", "2.
  • Page 145 DEBUGGING FUNCTION 3) "Trigger Point" Set the point at which the trigger is executed. Select one of the following: Upon execution of : When executing PTRA instruction each instruction At Request of PDI : When operating trigger using the peripheral devices capable of GPP function.
  • Page 146 DEBUGGING FUNCTION Write the set trace device and trace condition to the memory card. (a) Set the trace file and storage destination. Set the drive number and file name at "1. ( ) Execute Trace & Display Status" on "Program Trace" screen. (b) Write the trace file to the memory card.
  • Page 147 DEBUGGING FUNCTION Execute the program trace. Write the trace file to the memory card by using "9. ( ) Write to PC (Condition)" on "Program Trace" screen. The following shows a setting example for "1. ( ) Execute Trace & Display Status". The following is an explanation of the screen above: The following settings can be made for "Execute Trace &...
  • Page 148 DEBUGGING FUNCTION Retrieve the trace results from the CPU module and display them. (a) Read the trace results from the CPU module by using "A. ( ) Read from PC (Results)" on "Program Trace" screen. (b) Display the read trace results by using "4. ( ) Trace Results Display" on "Program Trace"...
  • Page 149: Simulation Function

    DEBUGGING FUNCTION Simulation Function POINT When the link memory and the buffer memory are simulated in the simulation data file, a memory card is required. Application This function simulates execution of a program in step execution or partial execution, with the input module, output module, or special function module isolated from the CPU module.This enables QnACPU to debug a program without any effects on other modules.
  • Page 150 DEBUGGING FUNCTION Operation Procedures The following shows the procedures to perform simulation. indicates a GPP function operation and indicates an operation at the CPU module. Set the "Simulation Range" in the device mode. Using the PLC menu, write the set simulation range as a simulation file.
  • Page 151 DEBUGGING FUNCTION Make the settings on the simulation setting screen shown below. • The following shows details on the settings that can be made for each item: Setting Item Setting Option Description Select whether inputs from external sources are input Input Refresh Yes/No to the CPU module or not.
  • Page 152 DEBUGGING FUNCTION If "Depend on Simulation Data File" is selected for "Link Memory/Buffer Memory", the access range for each module can be checked by checking the simulation range settings. NOTE 1) Simulation can be performed only for STEP-RUN. 2) A memory card is required to carry out link memory/buffer memory simulation using a simulation data file.
  • Page 153: Debugging By Several People

    DEBUGGING FUNCTION 8.10 Debugging by Several People This function allows simultaneous debugging from several peripheral devices capable of GPP functions. Application This function is used to simultaneously debug different files from more than one peripheral device capable of GPP functions. Function Description The following shows the combinations of debugging functions that can be used simultaneously by different operators.
  • Page 154: Simultaneous Monitoring By Several People

    DEBUGGING FUNCTION 8.10.1 Simultaneous monitoring by several people The QnACPU allows monitoring for several people. Setting of other station monitor file in the built-in RAM system area allows monitoring at a high-speed from other stations. (Monitor file setting for the host is not required.) Operation Procedures The operation for simultaneous monitoring by several people is described below.
  • Page 155: Simultaneous Execution Of Write During Run By Several People

    DEBUGGING FUNCTION 8.10.2 Simultaneous execution of write during RUN by several people The QnACPU allows simultaneous write during RUN to one file or another file by several people. Operation Procedures The following shows the procedures for simultaneous write during RUN executed by several people.
  • Page 156 DEBUGGING FUNCTION The example below shows a case where peripheral device capable of GPP functions A performs write during RUN from P0, and peripheral device capable of GPP functions B performs write during RUN from P1.The program enclosed in the frame is the program subject to write during RUN.
  • Page 157: Function List

    MAINTENANCE FUNCTION MAINTENANCE FUNCTION Function List The following shows the functions for maintenance. Item Description Reference Function that monitors watchdog errors due to CPU module Watchdog timer Section 9.2 hardware or program errors. Function whereby the QnACPU itself diagnoses whether or not Self-diagnostics function Section 9.3 there are any errors.
  • Page 158: Watchdog Timer

    MAINTENANCE FUNCTION Watchdog Timer Watchdog timer (WDT) The watchdog timer is an internal timer of PLC that detects PLC CPU hardware errors and sequence program errors. 200ms is set as the default setting for this timer. REMARK The time set for the watchdog timer can be changed using "WDT" in PC RAS setting in the GPP function parameter mode.
  • Page 159 MAINTENANCE FUNCTION Processing when the watchdog timer times out When the scan time exceeds the set value of the watchdog timer, a watchdog timer error occurs and the PLC operates as follows. (a) All PLC outputs are turned OFF. (b) The RUN LED on the front of the CPU module goes off and the ERROR LED flickers.
  • Page 160: Self-Diagnostics Function

    MAINTENANCE FUNCTION Self-diagnostics Function The self-diagnosis function is a function whereby the QnACPU diagnoses its own errors. The self-diagnosis function serves to prevent malfunctions of the PLC, and to facilitate preventive maintenance. Self-diagnositics processing is executed if an error occurs at QnACPU power ON or while the PLC is in the RUN status, and it involves the display of the error detected by the self-diagnostics function, stopping of PLC operation, etc.
  • Page 161 MAINTENANCE FUNCTION It is possible to select whether or not the following checks are performed by setting "Yes/No" for error check in PC RAS setting in the parameter mode. 1) Battery Check 2) Fuse Blown Check 3) I/O Unit Compare (The default for all of these in the parameter settings is "Yes".) If "No"...
  • Page 162 MAINTENANCE FUNCTION Self-diagnostics list LED Status CPU Module LED Indicator Message Diagnosis Item Diagnosis Timing Status (Q3A/Q4ACPU Only) ERROR CPU module error Always Stop Flickers MAIN CPU DOWN END instruction not executed When executing END instruction Stop Flickers END NOT EXECUTE RAM check At power-ON or RESET Stop...
  • Page 163 MAINTENANCE FUNCTION Self-diagnostics list(Continued) LED Status CPU Module LED Indicator Message Diagnosis Item Diagnosis Timing Status (Q3A/Q4ACPU Only) ERROR • When power is ON or RESET Instruction code check Stop Flickers INSTRCT CODE ERR. • When switching from STOP to RUN •...
  • Page 164: Interruption Due To Error Detection

    MAINTENANCE FUNCTION 9.3.1 Interruption due to error detection QnACPU can execute the interrupt program, which is interrupt pointer I32 to I39, at error occurrence. In the case of errors for which operation can be set to continue or stop in PC RAS setting in the GPP function parameter mode, this function is only executed when "Resume"...
  • Page 165: Resetting Error

    MAINTENANCE FUNCTION 9.3.3 Resetting error The QnACPU can reset the errors only for the errors that continue operation of the CPU module. The procedure for resetting an error is as follows. 1) Eliminate the cause of the error. 2) Store the error code to be reset in special register SD50. 3) Turn on special register SM50.
  • Page 166: Error History

    MAINTENANCE FUNCTION Error History QnACPU can record the results detected by the self-diagnostics function with the detection time in memory as an error history. POINT Since the internal clock of the QnACPU is used for setting the detection time, be sure to set the correct time before using the CPU module.
  • Page 167: System Protect

    MAINTENANCE FUNCTION System Protect QnACPU features a number of functions that protect against program changes ("system protect") by restricting general data processing (access processing from GPP functions, serial communication modules, etc.) by third parties other than designers. The following system protect functions are available. Target Protection Valid File for Protection Description...
  • Page 168: Password Registration

    MAINTENANCE FUNCTION Password Registration Passwords serve to prohibit reading and overwriting of data such as programs, comments, etc., in the QnACPU from a peripheral device. In password registration, the parameter files and program files of a designated memory (built-in RAM, memory card) are made the target of the entry code. There are two types of registration as follows: •...
  • Page 169 MAINTENANCE FUNCTION POINT (1) Password registration is valid for parameter files and program files only. Invalid for other file types. Other file types can be protected by changing attributes for each file. (2) The keyword registered in the CPU module cannot be read from the CPU module.
  • Page 170: Online I/O Module Replacement

    MAINTENANCE FUNCTION Online I/O Module Replacement When an I/O module is installed or removed while the QnACPU power is ON, "UNIT VERIFY ERROR" appears, and PLC CPU operation stops or control is kept with I/O numbers that are different from the set numbers. Replacing the I/O module during online is the replacement method that replaces the I/O module without "UNIT VERIFY ERROR"...
  • Page 171 MAINTENANCE FUNCTION Procedure when using special relays/special registers (a) Use the following procedure when using special relays/special registers: 1) Set the first two digits of the three-digit expression for the head I/O number of the I/O module to be replaced in SD251 (replaced I/O module head I/O No. storage register).
  • Page 172: System Display

    MAINTENANCE FUNCTION System Display The following items can be checked by connecting a peripheral device capable of GPP functions to the QnACPU: The following information relating to the modules actually mounted on the base unit: (a) Type (b) No. of Occupied Points (c) Head X/Y number The following module information set in the parameters: (a) Type...
  • Page 173: Led Indications

    MAINTENANCE FUNCTION LED Indications The QnACPU module has LEDs on its front face that indicate the operating status of the CPU module. In addition, Q3ACPU and Q4ACPU feature a LED inidcator. The following shows the meanings of the LED and LED indications. 9.9.1 LED indication The following shows the meanings of the indications of each of the LEDs are given.
  • Page 174 MAINTENANCE FUNCTION The following shows how to turn OFF an LED that is currently ON.(Excluding the reset operation). LED Name Method for Turning OFF the LED BAT. ERROR USER BOOT ALARM Resolve the cause of the error, then execute the LEDR instruction.
  • Page 175: Priority Setting

    MAINTENANCE FUNCTION 9.9.2 Priority setting In addition to LEDs, the Q3ACPU and Q4ACPU are provided with an LED indicator on the front face of the CPU module. This indicator shows the following items: 1) Error message 2) CHK instruction numbers 3) Annunciator numbers, annunciator comments, the time when an annunciator was switched ON, etc.
  • Page 176 MAINTENANCE FUNCTION The following shows the details of the error item numbers and default for priorities which is set in special registers SD207 to SD209. Error Item Order of Description Remark priority (Hex.) AC DOWN AC power/DC power OFF UNIT VERIFY ERR. I/O module verification FUSE BREAK OFF Fuse blown...
  • Page 177 MAINTENANCE FUNCTION POINT (1) When LED and LED indicator are left OFF for the error occurrence above, set the factor number area to 0, which stores the applicable factor numbers from SD207 to SD209. Example: To set the ERROR LED to remain OFF and the LED indicator to remain blank when a fuse blown error occurs, set "0"...
  • Page 178: Function List

    OTHER FUNCTIONS OTHER FUNCTIONS 10.1 Function List The following list shows the rest of the functions. Item Description Reference Performs a program at fixed intervals regardless of the Constant scan Section 10.2 actual program scan time. Retains the device data when resetting the CPU module Latch function Section 10.3 while the PLC power is OFF.
  • Page 179: Constant Scan

    OTHER FUNCTIONS 10.2 Constant Scan Constant scan In the QnACPU, the scan time varies since the processing time differs depend on the execution status of the instructions used in the sequence program. Constant scan is a function whereby the sequence program is repeatedly performed while maintaining constant scan time.
  • Page 180 10. OTHER FUNCTIONS Setting the constant scan time (a) The setting is made in "PC RAS" in the parameter mode of GPP function. • When performing the constant scan, set the constant scan time. • When not performing the constant scan, leave the field blank. Example: When setting 100ms to "Constant scan"...
  • Page 181 10. OTHER FUNCTIONS (d) Constant scan time error If there is a low-speed execution type program when performing the constant scan, the constant scan time may be shifted by the time shown below. Maximum processing time low-speed END processing time of one instruction in the (Error) low-speed execution type...
  • Page 182: Latch Function

    OTHER FUNCTIONS 10.3 Latch Function When the PLC power is turned ON, the CPU module is reset using the RUN/STOP key switch, or a instantaneous power failure lasting longer than the allowable momentary power interruption time occurs, the all device values in the QnACPU are cleared, and the default values are set in the devices (Bit devices: OFF, word devices: 0).
  • Page 183 10. OTHER FUNCTIONS Clearing the device data in the latch range (a) To clear the devices data in a latch range and set the default values instead, perform "Latch clear". When the latch clear is performed, the devices data in the non-latched range is also cleared.
  • Page 184: Setting Of The Output (Y) Status When Switching From Stop To Run

    OTHER FUNCTIONS 10.4 Setting of the Output (Y) Status When Switching from STOP to RUN When the RUN or other status is changed to the STOP status, the CPU module stores the output (Y) in the RUN status into the PLC and turns all outputs (Y) OFF. In this function, whether to re-output the outputs (Y) when switching from STOP to RUN or to output them after an operation can be set in the "PC system"...
  • Page 185: Clock Function

    OTHER FUNCTIONS 10.5 Clock Function The QnACPU has a clock in the CPU module. Since the clock data can be read in the sequence program, it can be used for time control of the user system. In addition, the clock data can also be used for time control to the functions performed by the CPU module, such as the breakdown history.
  • Page 186 10. OTHER FUNCTIONS Writing clock data to the clock elements (a) Use the following procedure to write clock data to the clock elements. 1) Writing from a peripheral device When using GPP function, clock data can be written to the clock elements using the "Set clock"...
  • Page 187 10. OTHER FUNCTIONS Clock data read (a) To read clock data to data registers, use the clock data read instruction (DATERD) in the program. An example of a program using the instruction is shown below. For details on the DATERD instruction, refer to the QCPU (Q mode)/QnACPU Programming Manual (Common Instructions).
  • Page 188 10. OTHER FUNCTIONS Special relays and special registers for reading/writing clock data The section explains the special relays and special registers used for setting data and reading clock data for clock operation. (a) Special relays used for the clock function Device Name Description...
  • Page 189 10. OTHER FUNCTIONS (b) Special registers used for clock data Device Name Description • The year and month are recorded as follows.The year data is the last two digits of the year. Clock data SD210 (year, month) • The day and hour are recorded as follows. Clock data SD211 (day, hour)
  • Page 190: Remote Operation

    OTHER FUNCTIONS 10.6 Remote Operation With the QnACPU, the operating status of the CPU module can be controlled from external sources (GPP function, intelligent special function module, remote contact, etc.). REMARK In this chapter, a serial communication module is used as an example of an intelligent special function module.
  • Page 191 10. OTHER FUNCTIONS (b) Method using GPP function, serial communication module, etc. The CPU module can be set to RUN or STOP by remote RUN/STOP operation from GPP function, or a serial communication module, etc. The operation using GPP function can be performed in the Remote operation of the PLC menu in any mode.
  • Page 192: Remote Step-Run

    10. OTHER FUNCTIONS OTHER FUNCTIONS 10.6.2 Remote STEP-RUN Remote STEP-RUN refers to the function whereby the step run of the QnACPU is performed from GPP function while the RUN/STOP key switch of the module is in RUN position. "Step run" is program execution that operates by one step at a time, starting from the designated step.
  • Page 193: Remote Pause

    10. OTHER FUNCTIONS OTHER FUNCTIONS 10.6.3 Remote PAUSE Remote PAUSE refers to the function that performs PAUSE function to the QnACPU from an external source while the CPU module RUN/STOP key switch is set to the RUN position. The PAUSE function stops a CPU module operation while retaining the ON/OFF status of all outputs (Y).
  • Page 194 10. OTHER FUNCTIONS (b) Methods using GPP function or a serial communication module The remote PAUSE operation can be performed from GPP function or from a serial communication module. The operation using GPP function can be performed in the Remote operation of the PLC menu in any mode.
  • Page 195: Remote Reset

    10. OTHER FUNCTIONS OTHER FUNCTIONS 10.6.4 Remote RESET Remote RESET is a function for resetting the QnACPU by operation from an external device while the CPU module is in STOP. Resetting is also possible even when the RUN/STOP key switch on the CPU module is set to the RUN position if the CPU module is stopped by an error detectable by the self- diagnostics function.
  • Page 196: Remote Latch Clear

    10. OTHER FUNCTIONS OTHER FUNCTIONS 10.6.5 Remote latch clear Remote latch clear is a function for resetting the latched device data of the QnACPU while the CPU module is in STOP by using such as a GPP function. POINT Remote latch clear cannot be performed when the CPU module is in RUN. Application of remote latch clear Remote latch clear is useful for latch clear operation when the CPU module is at the locations below: In this case, the function is used in combination with the remote...
  • Page 197: Relationship Between Remote Operation And Cpu Module Run/Stop Key Switch

    10. OTHER FUNCTIONS OTHER FUNCTIONS 10.6.6 Relationship between remote operation and CPU module RUN/STOP key switch Using the combination of the remote operation and the RUN/STOP key switch of the CPU module explained in Section 10.6.1 through Section 10.6.5, the operating status of the QnACPU is determined as follows.
  • Page 198: Terminal Operation

    OTHER FUNCTIONS 10.7 Terminal Operation This function sets the Q6PU programming unit in the terminal mode and performs the data communications shown below by using the instructions for peripheral devices of theQnACPU. 1) Display of messages from the QnACPU on the display of the Q6PU. 2) Storage of the Q6PU key input data in the devices of the QnACPU.
  • Page 199: Key Input Operation

    10. OTHER FUNCTIONS OTHER FUNCTIONS 10.7.2 Key input operation Character string data input at the Q6PU can be stored as ASCII data without change in specified devices by using the PKEY instruction for peripheral device.Data input ends when a CR code is input or when the 32nd character is input. Example: Program to input "TOSOU LINE READY"...
  • Page 200: Reading Module Access Time Intervals

    OTHER FUNCTIONS 10.8 Reading Module Access Time Intervals The QnACPU can monitor the access interval time (The time between one access reception and the next access reception) for intelligent special function modules, network modules, data link modules, or GPP function. This enables to grasp the frequency of accesses to the CPU module from external sources.
  • Page 201 10. OTHER FUNCTIONS REMARK • The module access interval includes a transient request interval such as a monitor, a test and a program read/write. The access interval via cyclic communication from a network module or a data link module is not stored. 10 - 24...
  • Page 202: Comments That Can Be Stored In Qnacpu

    COMMENTS THAT CAN BE STORED IN QnACPU COMMENTS THAT CAN BE STORED IN QnACPU 11.1 Function List The QnACPU can store various types of comments. This has improved the CPU module operability, allowing users other than programmers to read programs easily. The types of comments that can be stored in the QnACPU are listed in the table below.
  • Page 203: Plc Name

    COMMENTS THAT CAN BE STORED IN QnACPU 11.2 PLC name PLC name appends a comment to a CPU module to make it easier to confirm the CPU module when accessing the QnACPU by GPP function. Two types of PLC names can be set: labels and comments. The settings are made on the "Define PC name"...
  • Page 204: Drive Title

    COMMENTS THAT CAN BE STORED IN QnACPU 11.3 Drive Title The drive title function assigns a title to a drive to allow users to easily identify what file is stored in the built-in RAM or memory card. Drive titles are created on the "Title Statement Def" screen under the PC menu in the online mode of GPP function.
  • Page 205: File Title

    COMMENTS THAT CAN BE STORED IN QnACPU 11.4 File Title The file title function allows file titles to be assigned to files so that the contents of the files can be figured out. File titles are set in file setting performed when starting GPP function, or in PLC writing from the PLC menu in any mode.
  • Page 206: Device Comment

    COMMENTS THAT CAN BE STORED IN QnACPU 11.5 Device Comment The device comment function displays comments assigned to respective devices so that programs can be read easily. In addition, by setting "Xtype" for the CPU type with GPP function, programs can be created using labels instead of devices.
  • Page 207 11. COMMENTS THAT CAN BE STORED IN QnACPU When using comments with application instructions (LEDC, PRC, etc.), if a device comment file has been written to the CPU module, enable one of the options in the parameter setting for the device comment file. This setting is made at "2.
  • Page 208: Statements/Notes

    COMMENTS THAT CAN BE STORED IN QnACPU 11.6 Statements/Notes Statements and notes are assigned to each program step, or to P or I pointers, in order to facilitate program reading. Statements or notes are set on the "Pointer statement", "Statement", or "Note" screen displayed from the edit menu in the documentation mode of GPP function.
  • Page 209: Initial Device Value Comment

    COMMENTS THAT CAN BE STORED IN QnACPU 11.7 Initial Device Value Comment Initial device value comments are assigned to initial device value files so that individual file contents can be figured out. Initial device value comments are stored in an initial device value file. They are set on the "Device Initial Value Range"...
  • Page 210: Overview Of Processing Performed By The Qnacpu 12 - 1 To

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1 Program Execution Types Programs to be executed by the QnACPU are stored in the built-in RAM of the CPU module or in a memory card. While all of the data can be stored as one program in the built-in RAM or a memory card, they can be also divided into several programs based on control units and stored.
  • Page 211 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Low-speed execution type : Program that is executed only in the surplus scan time after execution of a scan execution type program in the constant scan setting, or only when the low-speed type program execution time is set.
  • Page 212 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU The following shows the flow of operation processing when a PLC is powered ON, when a CPU module is reset, or when the RUN/STOP key switch of a CPU module is switched from STOP to RUN.
  • Page 213: Initial Execution Type Programs

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1.1 Initial execution type programs Definition (a) The initial execution type program is a program executed only once when a PLC is powered ON, when a CPU module is reset, or when the RUN/STOP key switch of the CPU module is switched from STOP to RUN.
  • Page 214 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU END processing When execution of all initial execution type programs is completed, END processing is performed and a scan execution type program is executed from the next scan. POINT Instructions that contain a completion device cannot be used in initial execution type programs.
  • Page 215 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Initial scan time (a) This is the execution time of an initial execution type program. If multiple initial execution type programs are to be executed, it is the time required to complete execution of all these programs. (b) The QnACPU measures the initial scan time and stores it in special registers SD522 and SD523.
  • Page 216: Scan Execution Type Program

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1.2 Scan execution type program Definition (a) The scan execution type program is a program that is executed once for every scan, starting from the next scan after execution of the initial execution type program.
  • Page 217 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Scan time • The scan time is a total of the scan execution type program execution time, the END processing time, and either the low-speed program execution time or the constant scan waiting time. When more than one scan execution type program is executed, "the execution time of the scan execution type program"...
  • Page 218: Low-Speed Execution Type Program

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1.3 Low-speed execution type program Definition (a) The low-speed execution type program is a program that is executed only in the surplus time of constant scan operation or in the preset low-speed execution program execution time.
  • Page 219 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Execution time for low-speed execution type program executed in one scan (a) When operation of all low-speed execution type programs is completed within one scan and there is surplus time, the subsequent processing varies depending on the setting status of special relay SM330 and the execution condition for the low-speed execution type programs.
  • Page 220 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU (b) If the low-speed execution type program is not processed within surplus time of the constant scan time or within the low-speed program execution time, the program execution is interrupted and is resumed in the next scan. POINT (1) For the index register processing in the case where a scan execution type program is switched to a low-speed execution type program, refer to the...
  • Page 221 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12 - 12...
  • Page 222 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12 - 13...
  • Page 223 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU END processing When all of the low-speed execution type program has been completed, low-speed END processing is executed. The following processing is performed in low-speed END processing: • Setting of special relays/special registers for the low-speed execution type program •...
  • Page 224 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Low-speed execution monitoring time This is a timer for monitoring the execution time of low-speed execution type programs; no default value is set. To monitor the execution time of an low-speed execution type program, a value can be set within the range of 10ms to 2000ms in "PLC RAS"...
  • Page 225: Standby Type Program

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1.4 Standby type program Definition (a) The standby type program is a program that is executed only in response to an execution request. (b) The standby type program has the following applications: 1) Program library Subroutine programs and interrupt programs are set as standby type programs and controlled separately from the main program.
  • Page 226 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU POINT (1) Timers are not to be used in standby type programs because they update present values and turn ON/OFF the contacts when the OUT T instruction is executed. (2) When setting a subroutine program as a standby type program, use a common pointer.
  • Page 227 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU (c) When grouping several interrupt programs into one 1) Create interrupt programs in order starting from step 0 in the standby type program. An END instruction is required at the end of the interrupt programs. 2) Since there are no restrictions on the order of creation of interrupt programs, there is no need to arrange pointers in ascending order of pointer numbers when creating multiple interrupt programs.
  • Page 228 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Set-up of programs (a) Programs corresponding to all of the systems can be created in advance, and thereby necessary programs only can be executed. Programs set as the standby type with parameters can be changed to the scan type programs in the sequence program for execution.
  • Page 229 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 2) When changing the execution type of another program from the scan execution type program: • In the scan execution type program in execution, the type of the program to be executed next is changed from the standby type to the scan execution type.
  • Page 230 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU (c) The program execution type is changed by the PSCAN or PSTOP instruction in the END processing. Therefore, it is not changed during program execution. REMARK The "GHI" and "DEF" programs are executed in the sequence set with parameters in the program setting.
  • Page 231: Initial Processing

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1.5 Initial processing Initial processing is the pre-processing for executing sequence operations. The QnACPU executes it only once in the case of the CPU module status described in the following table. Once the initial processing is completed, the CPU module is placed into the operation status set by the RUN/STOP switch.
  • Page 232: End Processing

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.1.7 END processing This is a post-process to finish one cycle of operation processing of the sequence program and to return the execution of the sequence program to step 0. (a) Self-diagnostic checks are performed for fuse blown, module verify, or low battery.
  • Page 233: Operation Processing Of Run, Stop, Pause, And Step-Run

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.2 Operation Processing of RUN, STOP, PAUSE, and STEP-RUN The QnACPU has four kinds of operation statuses: RUN, STOP, PAUSE, and step operation (STEP-RUN) statuses. Operation processing of PLC CPU in each operation status is explained here. RUN status operation processing (a) The RUN status represents a status in which sequence program operation is repeated in the order from step 0...
  • Page 234 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU Operation processing of QnACPU when RUN/STOP key switch is operated QnACPU Operation Processing RUN/STOP state Data memory Operation processing of External output Remark sequence program M, L, S, T, C, D Retains the condition OS saves the output OS saves the output Executes up to the END...
  • Page 235: Operation Processing For Instantaneous Power Failure

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.3 Operation Processing for Instantaneous Power Failure The QnACPU detects a momentary power failure when the input power voltage supplied to the power supply module becomes lower than the specified range. When the QnACPU detects an instantaneous power failure, the following operation processing is performed.
  • Page 236: Data Clear Processing

    OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU 12.4 Data Clear Processing The QnACPU clears data other than the following by turning the RUN/STOP key switch to RESET or by resetting the PLC power (ON, OFF and ON): (a) Data in the built-in RAM (except data specified for memory clear in the boot specification) (b) Data in the memory card (c) Data of latch-specified devices(Latch clear key enabled)
  • Page 237 12. OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU MEMO 12 - 28...
  • Page 238: Parameter List

    PARAMETER LIST PARAMETER LIST The parameters set for the QnACPU are listed in the table below. For details on each parameter, refer to the section or reference manual indicated. Item Parameter No. Description Set labels and/or comments for peripheral devices on the CPU PLC name –...
  • Page 239 13. PARAMETER LIST Setting Reference Section/Reference Manual Default value Setting range – – Section 11.2 No setting Up to 10 characters No setting Up to 64 characters – – – 100ms 10ms to 1000ms (in 10ms units) QnACPU Programming Manual (Fundamentals) 10ms 1ms to 100ms (in 1ms units) No setting...
  • Page 240 13. PARAMETER LIST Item Parameter No. Description Device – Set the number of points, latch range, etc., for each device. Device points 2000 Set the number of device points used. Latch (1) start (Enable C/L key) 2001 Set the latch range for which latch clear key operation is enabled. Latch (2) start (Disable C/L key) 2002 Set the latch range for which latch clear key operation is disabled.
  • Page 241 13. PARAMETER LIST Setting Reference Section/Reference Manual Default value Setting range – – – 8k points 8k points 8k points 8k points 8k points 2k points Fixed to X (8k points), Y (8k points), S (8k points), SB 2k points (2k points), SW (2k points).
  • Page 242 13. PARAMETER LIST Item Parameter No. Description I/O Assign – Set the mounting status of each module. Classification Number of points Slot setting 4000 Set the module type, number of points, head I/O No., etc. Start XY Model Name Power model name Set model names of a power supply module and/or extension Base setting 4001...
  • Page 243 13. PARAMETER LIST Setting Reference Section/Reference Manual Default value Setting range – – – No setting Empty/Input/Output/Special No setting 0 to 64 points (in 16-point units) Section 5.3 No setting 0 to 1FFF (in 10 units, hexadecimal) No setting Up to 16 characters No setting Up to 16 characters Section 5.3...
  • Page 244 13. PARAMETER LIST Item Parameter No. Description Make the settings for automatic refresh of the MELSECNET/MINI MELSECNET/MINI setting – system. Number of master modules 6000 Set the number of MELSECNET/MINI master modules to be used. Master module head I/O No. Model name &...
  • Page 245 13. PARAMETER LIST Setting Reference Section/Reference Manual Default value Setting range – – 0 to 8 No setting Number of I/O points of CPU module MINIS3 MINIS3/MINI( ) stations X, M, L, B, T, ST, C, D, W, R, ZR, none X1000 to 200 (Bit device: multiples of 16) Y, M, L, B, T, ST, C, D, W, R, ZR, none...
  • Page 246 13. PARAMETER LIST Item Parameter No Description Network parametars Setting the CC-Link Make the settings for automatic refresh of the CC-Link system. Number of CC-Link C000 Set the number of CC-Link master modules to be used. Master module head CNM2 I/O No Module type Receiving data batch refresh...
  • Page 247 13. PARAMETER LIST Setting Reference Section/Reference Manual Default value Setting range 1 to 8 0000 to 0FE0 M: Master station/L: Local station/ T: Stand-by station X,M,L,B,T,ST,C,D,W,R,ZR Y,M,L,B,T,ST,C,D,W,R,ZR M,L,B,T,ST,C,D,W,R,ZR M,L,B,T,ST,C,D,W,R,ZR Chapter 7 M,L,B,T,ST,C,D,W,R,ZR T,ST,C,D,W,R,ZR 1 to 7 1 to 10 Not reserved/Reserved Continue/Stop Synchronization/Non-synchronization 1 to 100...
  • Page 248 Since the QnACPU has a built-in RAM as a standard feature to store parameters and programs, programs can be executed without installing a memory card. Each CPU model has a built-in RAM of the following program capacity. Q2ACPU...... 28k steps (112k bytes) Q2ACPU-S1....60k steps (240k bytes) Q3ACPU......
  • Page 249: Applications Of Memory Cards

    SELECTING MEMORY CARD MODELS 14.1 Applications of Memory Cards A memory card is required in the following cases: To perform a boot operation Parameters, programs, initial device values, comments, and boot files are stored in a memory card, and they are loaded to the built-inRAM at the time of program execution.
  • Page 250: Selecting Memory Card Capacity

    SELECTING MEMORY CARD MODELS 14.2 Selecting Memory Card Capacity Select a memory card capacity according to the types and sizes of files to be stored in the memory card. The sizes of files are calculated using the formulas presented below. Function Approximate File Capacity (Unit: Bytes) Drive title...
  • Page 251 14. SELECTING MEMORY CARD MODELS POINT Note that the capacity may be rounded up as follws depending on the memory area used for storage: Built-in RAM....4096 bytes (1k step) units Memory card....512 bytes units Note that, when a file is transferred from the memory card to the built-in RAM in boot operation, the reserved capacity is changed after transfer.
  • Page 252: Hardware Specifications Of Cpu Modules

    Do not use or store the PLC in the environment where the pressure is higher than the atmospheric pressure at sea level. Otherwise, malfunction may result. To use the PLC in high-pressure environment, please contact your local Mitsubishi representative. 15 - 1...
  • Page 253: Part Names

    HARDWARE SPECIFICATIONS OF CPU MODULES 15.2 Part Names The names of module parts and their settings are described here. (1) Q2ACPU, Q2ACPU-S1 (2) Q3ACPU, Q4ACPU Viewed with the front cover open Name Application Indicates the operating state of the CPU module.
  • Page 254 15. HARDWARE SPECIFICATIONS OF CPU MODULES Name Application Execution of the boot operation is completed. BOOT LED OFF: No boot operation has been executed. RUN/STOP:Starts/stops sequence program operation. L.CLR: Clears all data in the latch area (to "OFF" or "0") which is set with parameters. RUN/STOP key switch Clears sampling trace and status latch registrations.
  • Page 255 15. HARDWARE SPECIFICATIONS OF CPU MODULES Name Application (16) RS-422 connector Connector for connecting to a peripheral device. 15 - 4...
  • Page 256: Relationship Between Switch Operations And Leds/Led Display

    HARDWARE SPECIFICATIONS OF CPU MODULES 15.3 Relationship between Switch Operations and LEDs/LED Display Writing programs with the CPU module in STOP state To write a program to the CPU module while it is in the STOP state, use the following procedure.
  • Page 257 15. HARDWARE SPECIFICATIONS OF CPU MODULES Performing latch clear To perform latch clear, operate the RUN/STOP key switch as follows. 1) Turn the RUN/STOP key switch to L.CLR three times. USR LED : Flashing ..Ready for latch Display on Q3ACPU, Q4ACPU : Displays "L.CLR RDY".
  • Page 258 15. HARDWARE SPECIFICATIONS OF CPU MODULES Installing a memory card while the PLC power is ON: When installing a memory card with the PLC power ON, operate the memory card in/ out switch as follows: 1) Install the memory card. 2) In/out switch: ON LED in the switch :ON ......
  • Page 259: Power Supply Module

    POWER SUPPLY MODULE POWER SUPPLY MODULE This section describes the specifications and selection of power supply modules. 16.1 Specifications 16.1.1 Power supply module specifications Standard power supply module Power supply module specifications Specifications Item A61P A61PN A62P A63P A65P A66P A67P Power supply Slot position...
  • Page 260 16. POWER SUPPLY MODULE Specifications Item A61P A61PN A62P A63P A65P A66P A67P Applicable wire size 0.75 to 2mm R1.25-3, R2-3 R1.25-4, R2-4 Applicable solderless R1.25-4, R2-4 RAV1.25-3, RAV1.25-4, terminal RAV1.25, RAV2-4 RAV2-3 RAV2-4 78 to Applicable tightening 78 to 118N 39 to 59N torque 118N...
  • Page 261 16. POWER SUPPLY MODULE CE-compliant power supply module Power supply module specifications Performance specifications Item A61PEU A62PEU Slot position Power supply module slot Input power supply 100 to 120/200 to 240VAC +10%/-15% Input frequency 50/60Hz Input voltage distortion Within 5% (See Section 19.8) Max.
  • Page 262 16. POWER SUPPLY MODULE POINT *1 Overcurrent protection (a) The overcurrent proctector shuts off the 5VDC and/or 24VDC circuit(s) and stops the system if the current exceeding the specified value flows in the circuit(s). As this results in voltage drop, the power supply module LED turns OFF or is dimly lit.
  • Page 263: Power Supply Module Selection

    POWER SUPPLY MODULE 16.1.2 Power supply module selection A power supply module is selected based on to the total current consumption of I/O modules, special function modules and peripheral devices to which power is supplied by the power supply module. When an extension base unit, A52B, A55B, or A58B is used, take into consideration that power to the module is supplied by the power supply module on the main base.
  • Page 264 16. POWER SUPPLY MODULE Selecting a power supply module when using extension base unit(s), A52B, A55B, and/or A58B When an extension base unit, A52B, A55B, or A58B is used, 5VDC power supply is supplied from the power supply module on the main base unit via an extension cable. Thus, when one of these units is used, pay attantion to the following: (a) When mounting a power supply module on the main base unit, select a model that can cover 5VDC current consumed by modules mounted on the A52B,...
  • Page 265: Fuse Specifications

    POWER SUPPLY MODULE 16.1.3 Fuse specifications This section describes the specifications of fuses used for the power supply modules and output modules. Fuse specifications Model Name GTH4, SM6.3A MF51NM8 Item FGTA250V 4A HP-32 HP-70K MP-20 MP-32 MP-50 FGTA250V 6A FGMA250V 8A SM250V 4A Power supply module...
  • Page 266: Handling Precautions

    POWER SUPPLY MODULE 16.2 Handling precautions Use the PLC under the environment specified in the user's manual. CAUTION Otherwise, it may cause electric shocks, fires, malfunctions, product deterioration or damage. Insert the module fixing projection into the fixing hole in the base unit to mount the module.
  • Page 267 16. POWER SUPPLY MODULE This section explains some notes on handling the CPU module, I/O module, special function module, power supply module, and base unit. Do not drop or allow any impact to the module case, memory card, terminal block connector, and pin connector since they are made of resin.
  • Page 268: Part Names

    POWER SUPPLY MODULE 16.3 Part Names Part names of the power supply modules are shown here. Names and description of parts of the A61P, A61PN and A61PEU module 16 - 10...
  • Page 269 16. POWER SUPPLY MODULE Names and description of parts of the A62P, A62PEU and A65P module 16 - 11...
  • Page 270 16. POWER SUPPLY MODULE Names and description of parts of the A63P and A67P module Terminal details Power input terminal Power input terminals for A63P: 24VDC, A67P: 100VDC. Do not connect the + and - sides of 24VDC, 110VDC to the wrong side. Doing so causes the fuse blown.
  • Page 271 16. POWER SUPPLY MODULE Names and description of parts of the A66P 16 - 13...
  • Page 272 16. POWER SUPPLY MODULE Setting On the A61P(EU), A62P(EU), A65P or A66P power supply module, the input voltage select terminals must be short-circuited by a jumper (accessory). The following explains the way of setting. POINT If the setting differs from the supply power voltage, the following occurs. Be sure to set it correctly.
  • Page 273: Base Unit And Extension Cable

    BASE UNIT AND EXTENSION CABLE BASE UNIT AND EXTENSION CABLE This section explains the specifications of the base units (the main and extension base units) and extension cables available for the systems, and the application standards for use of extension base units. 17.1 Specifications of Base Units Main base unit specifications Model Name...
  • Page 274 17. BASE UNIT AND EXTENSION CABLE POINT (1) The 5 VDC power of the A52B, A55B, and A58B is supplied from the power supply module mounted on the main base unit. (2) Before using the A52B, A55B or A58B, refer to Section 16.1.2 "Power supply module selection"...
  • Page 275: Main Base Unit For High-Speed Access (A38Hb/A38Hbeu)

    BASE UNIT AND EXTENSION CABLE 17.1.1 Main base unit for high-speed access (A38HB/A38HBEU) The main base units, (A38HB/A38HBEU) for high-speed access have been improved in the speed of access to the buffer memory of the special function module mounted on A38HB/A38HBEU.
  • Page 276: Extension Cable Specifications

    BASE UNIT AND EXTENSION CABLE 17.2 Extension Cable Specifications The specifications of the extension cables used for the QnACPU system are shown below: Model Name Item AC06B AC12B AC30B Cable length 0.6m (2.05ft.) 1.2m (3.9ft.) 3m (9.8ft.) Resistance value of 5VDC 0.019 0.028 0.052...
  • Page 277: Application Standards Of Extension Base Units (A52B, A55B, A58B)

    BASE UNIT AND EXTENSION CABLE 17.3 Application Standards of Extension Base Units (A52B, A55B, A58B) To the A52B, A55B and A58B extension base units, 5VDC is supplied from the power supply module on the main base unit. (Power is not supplied from any power supply module on the A62B, A65B and A68B.) Therefore, if a voltage drop occurs on an extension cable, the specified voltage may not supplied to the receiving end, resulting in erroneous inputs and outputs.
  • Page 278 17. BASE UNIT AND EXTENSION CABLE Calculation example Since the voltage drop is higher than 0.15V, the A55B cannot be used as the 2nd extension base under this condition. In this case, the A55B can be used by changing the cable to AC06B (resistance value = 0.019 = 0.019 (3 + 2) = 0.095[V]...
  • Page 279: Handling Precautions

    BASE UNIT AND EXTENSION CABLE 17.4 Handling Precautions The handling precautions to be taken from unpacking to mounting a base unit are described below. The terminal connectors and pin connectors of the base unit are made of resin. Do not drop them or apply heavy impact to them.
  • Page 280: Part Names

    BASE UNIT AND EXTENSION CABLE 17.5 Part Names Part names of the base unit are shown here. Main base units (A32B, A35B, A38B, A38HB, A38HBEU) Guide hole for base installation Module fixing cutout Module connector A bell-shaped hole used to install The projection and hook on Connectors where the the base unit to a control panel.
  • Page 281 17. BASE UNIT AND EXTENSION CABLE Extension base units (A62B, A65B, A68B) Stage number setting switch Module fixing cutout Module connector Switch for setting the stage number The projection and hook on Connectors where the of the extension base unit. (located rear of a module are inserted power supply module, CPU under the base cover) For the...
  • Page 282 17. BASE UNIT AND EXTENSION CABLE Extension base units (A52B, A55B, A58B) Stage number setting switch Module fixing cutout Module connector Switch for setting the stage number The projection and hook on a rear of the extension base unit. (located Connectors for loading I/O of a module are inserted for fixing under the base cover) For the...
  • Page 283: Setting Of Extension Stage Numbers

    BASE UNIT AND EXTENSION CABLE 17.6 Setting of Extension Stage Numbers This section explains how to set the extension stage number for each of the extension base units used. Extension base unit stage number setting Extension Stage Number Setting 1st Stage 2nd Stage 3rd Stage 4th Stage 5th Stage 6th Stage...
  • Page 284: Memory Cards And Batteries

    MEMORY CARDS AND BATTERIES MEMORY CARDS AND BATTERIES This section describes the specifications and handling of the memory cards and batteries that can be used with the QnACPU. 18.1 Memory Card Specifications The specifications of the memory cards that can be used with QnACPU conform to JEIDA Ver.
  • Page 285 18. MEMORY CARDS AND BATTERIES SRAM + E PROM type memory cards Model Name Item Q1MEM-64SE Q1MEM-128SE Q1MEM-256SE Q1MEM-512SE Q1MEM-1MSE Insertion/removal limit 5000 times External dimensions 85.6mm (3.3inch) 54mm (2.1inch) 3.3mm (0.1inch) Weight 0.04kg 18 - 2...
  • Page 286: Handling Memory Cards

    MEMORY CARDS AND BATTERIES 18.2 Handling Memory Cards Formatting memory cards All memory cards used with QnACPU must be formatted. The purchased memory card is not formatted. Use the memory card after formatting with the GPP function. (a) SRAM+E PROM type memory card Format both RAM and ROM.
  • Page 287: Battery Specifications (Cpu Module And Memory Card Batteries)

    MEMORY CARDS AND BATTERIES 18.3 Battery Specifications (CPU Module and Memory Card Batteries) CPU module batteries Model Name Item A6BAT Type Thionyl chloride lithium battery Initial voltage 3.6VDC Baterry life when stored 5 years Battery life when used Refer to Section 21.3.1 Lithium content 0.48g Application...
  • Page 288: Handling Precautions

    MEMORY CARDS AND BATTERIES 18.4 Handling Precautions Handling precautions on memory cards and batteries from unpacking to mounting are listed below. Memory card (a) Do not drop, bend or apply any strong impact to the memory card. (b) Do not expose the memory card to water. (c) Do not expose the memory card to direct sunlight or leave it near a heat source.
  • Page 289: Part Names Of Memory Card

    MEMORY CARDS AND BATTERIES 18.5 Part Names of Memory Card Part names of the memory card are shown below. Name Description Remark (1) Connector Connects the memory card to the CPU module. (2) Battery holder Holds a lithium battery that is used to backup RAM data. Locks the battery holder to the memory card.
  • Page 290: Installing Batteries (Cpu Module And Memory Card Batteries)

    MEMORY CARDS AND BATTERIES 18.6 Installing Batteries (CPU Module and Memory Card Batteries) Since the CPU module battery is shipped with its battery connector disconnected, connect the connector according to the procedure indicated below. Since the memory card battery is removed from the battery holder before shipping, set it in the battery holder before use of the RAM.
  • Page 291: Installing/Removing A Memory Card

    MEMORY CARDS AND BATTERIES 18.7 Installing/Removing a Memory Card Installing a memory card When installing a memory card into the CPU module with its power ON, make sure that the orientation of the memory card is correct, then insert it fully until it's edge is flush with the face of the EJECT button.
  • Page 292 18. MEMORY CARDS AND BATTERIES Memory card remove/insert prohibit flag (special relays SM605, SM625) Instead of operating the memory card in/out switch, turning ON/OFF special relays SM605 (memory card A) and SM625 (memory card B) can be also used as the card remove/insert prohibit flag.
  • Page 293: Loading And Installation

    LOADING AND INSTALLATION LOADING AND INSTALLATION This chapter describes the loading and installation procedures and precautions to obtain the maximum system reliability and performance. 19.1 Fail-Safe Circuit Concept When the PLC is powered ON or OFF, improper outputs may be generated temporarily depending on the delay time and start-up time differences between the PLC power supply and the external power supply for the control target (especially, DC).
  • Page 294 19. LOADING AND INSTALLATION Create a safety circuit outside the PLC to ensure the whole system will operate WARNING safely even if an external power failure or a PLC failure occurs. Otherwise, incorrect output or malfunction may cause an accident. (1) When creating an emergency stop circuit, a protection circuit or an interlock circuit for incompatible actions such as forward/reverse rotation or for damage prevention such as the upper/lower limit setting in positioning, create it outside...
  • Page 295 19. LOADING AND INSTALLATION Do not install the control lines or communication cables together with the main CAUTION circuit or power lines, or bring them close to each other. Keep a distance of 100mm (3.94inch) or more between them. Failure to do so may cause malfunctions due to noise. If register R outside the allowable range has been read out with the MOV instruction, the file register data will be FFFF .
  • Page 296 19. LOADING AND INSTALLATION System design circuit example AC system AC/DC system Power supply Power supply Transformer Transformer DC power supply Fuse established signal Fuse input CPU module CPU module DC power SM52 Start/stop circuit supply SM52 Can be started by SM403 ( + )( - ) turning ON of RA1,...
  • Page 297 ON or OFF resulting in a situation where normal operations of the control target and safety cannot be ensured. Though Mitsubishi PLCs are manufactured under strict quality control, create a fail- safe circuit outside the PLC to prevent mechanical damage and accidents in the case of a PLC failure occurred due to any cause.
  • Page 298 19. LOADING AND INSTALLATION When constructing a fail-safe circuit using on delay timers only ON delay timer Internal program SM412 ON delay timer 0.5s 0.5s External load 24VDC CPU module Output module Use a solid state relay for the M1 relay. 19 - 6...
  • Page 299: Installation Environment

    LOADING AND INSTALLATION 19.2 Installation Environment Avoid the following environment when installing a PLC system: The ambient temperature may fall outside the range of 0 to 55 The ambient humidity may fall outside the range of 10 to 90%RH. Condensation may occur due to drastic changes in temperature. Corrosive gas or flammable gas exists.
  • Page 300: Calculation Of Heat Generated By The Plc

    LOADING AND INSTALLATION 19.3 Calculation of Heat Generated by the PLC The operating ambient temperature in the panel where the PLC is stored must be kept or less.For heat dissipation design of the panel, it is necessary to know the average power consumption (heat generation) of the devices and machinery stored inside.In this section, a method to obtain the average power consumption of the PLC system is explained.
  • Page 301 19. LOADING AND INSTALLATION Total 24VDC average power consumption of the output module (power consumption equivalent to the points simultaneously ON) The average 24VDC output circuit power of the power supply module is regarded as the total power consumption of each module. 24 (W) Average power consumption due to output voltage drop of the output modules (power consumption equivalent to the points simultaneously ON)
  • Page 302: Installing The Base Units

    LOADING AND INSTALLATION 19.4 Installing the Base Units Precautions on installation of the main base unit and extension base unit are described here. 19.4.1 Installation precautions Precautions for installing a PLC to a panel, etc. are explained below. To allow sufficient air flow and to make module replacement easy, provide a distance of at least 80mm (3.15inch) between the module top and any other structure or part.
  • Page 303: Installation

    LOADING AND INSTALLATION 19.4.2 Installation Installation location of the main base unit and the extension base unit is shown below. Indicates the panel top, wiring duct, or any assembly. 80 mm (3.15 inch) Main base unit Extension base unit or more For coaxial For optical data link...
  • Page 304: Installation And Removal Of Modules

    LOADING AND INSTALLATION 19.5 Installation and Removal of Modules This section explains how to install or remove the power supply module, CPU module, I/O module and special function module, etc. to or from the base unit. Be sure to shut off all phases of the external power supply used by the system WARNING before mounting or removing the module.
  • Page 305 19. LOADING AND INSTALLATION POINT For use in an environment with particularly large vibrations and/or shocks, fix the module to the base with screws.The applicable screw size is M4(0.16) 0.7(0.03) 12mm (0.47 in). Refer to the figure on the right. Insert the module fixing projection into the fixing hole in the base unit to mount the CAUTION module.
  • Page 306 19. LOADING AND INSTALLATION Removing a module The procedure for removing a module is explained here. POINT Always disengage the hook from the module fixing hole (A) and then remove the module fixing projection from the module fixing hole (B). An attempt to remove the module forcibly may damage the hook or module fixing projection.
  • Page 307: Installation And Removal Of The Dustproof Cover

    LOADING AND INSTALLATION 19.6 Installation and Removal of the Dustproof Cover When using the A52B, A55B or A58B, attach the dustproof cover supplied with the extention base unit to the I/O module on the left end.If no dustproof cover is attached, foreign matter will enter the I/O module, causing a failure.
  • Page 308 19. LOADING AND INSTALLATION Removal To remove the dustproof cover from the I/O module, insert the tip of a flat-head screwdriver into the hole as shown in the figure, then pry the tab of the cover out from the hole using the screwdriver. 19 - 16...
  • Page 309: Wiring

    LOADING AND INSTALLATION 19.7 Wiring This section describes details of the wiring that used in systems. 19.7.1 Wiring instructions Instructions for wiring of power cables or I/O cables are given in this section. Be sure to shut off all the phases of the external power supply used by the system WARNING before wiring.
  • Page 310 19. LOADING AND INSTALLATION Wiring the power supply (a) When voltage fluctuates outside the specified value range, connect a constant- voltage transformer. Constant- voltage transformer (b) Use a power supply which generates minimal noise between wires and between the PLC and ground. If excessive noise is generated, connect an isolating transformer.
  • Page 311 19. LOADING AND INSTALLATION REMARK As a safety measure, provide a switch for turning on/off the power to each module and equipment to allow "online I/O module replacement". (f) Precautions for using 24VDC output of the A62P,A62PEU,A65P or A66P power supply module Do not connect multiple power supply modules to one module in parallel.
  • Page 312 19. LOADING AND INSTALLATION POINT (1) Ground the lightning surge absorber (E1) and the PLC (E2) separately from each other. (2) Select a lightning surge absorber whose voltage does not exceed the maximum allowable circuit voltage even when line voltage reaches the maximum.
  • Page 313 19. LOADING AND INSTALLATION Grounding Always ground the FG and LG terminals to the protective ground conductor. CAUTION Failure to do so may cause an electric shock or malfunctions. (a) Carry out the independent grounding if possible. (b) If independent grounding is impossible, carry out the shared grounding (2) as shown below.
  • Page 314: Wiring To Module Terminals

    LOADING AND INSTALLATION 19.7.2 Wiring to module terminals This section provides an example for wiring power cables and ground wires to the main and extension bases. 19 - 22...
  • Page 315 19. LOADING AND INSTALLATION POINT (1) Use the thickest possible (max. 2 mm (14 AWG)) wires for the 100/200 VAC and 24 VDC power cables. Be sure to twist these wires starting at the connection terminals. For wiring a terminal block, be sure to use a solderless terminal.
  • Page 316: Precautions When Connecting Uninterruptible Power Supply Module (Ups)

    Use an on-line or line interactive UPS (with voltage distortion of 5% or less.) When using an off-line system UPS, use the F series UPS manufactured by Mitsubishi Electric (serial No. P or later). Example: FW-F10-03.K/0.5K Do not use any off-line system UPS other than the F series.
  • Page 317: Emc And Low Voltage Directives

    CE mark on the products. Authorized representative in Europe Authorized representative in Europe is shown below. Name : Mitsubishi Electric Europe BV Address: Gothaer strase 8, 40880 Ratingen, Germany 20.1 Requirements for Compliance with EMC Directives The EMC Directives specifies emission and immunity criteria and requires the products to meet both of them, i.e., not to emit excessive electromagnetic interference (emission): to...
  • Page 318: Emc Standards

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.1.1 EMC standards Standards related to the EMC directives are described below. Specifications Test Item Test Description Standard Values 30 M-230 M Hz QP : Measure the emission released by 30dB V/m (30m measurement) EN55011 the product.
  • Page 319: Installation Inside The Control Panel

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.1.2 Installation inside the control panel The PLC is open equipment and must be installed within a control panel for use.* This is effective not only for ensuring safety but also for shielding electromagnetic noise generated from the PLC.
  • Page 320: Cables

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.1.3 Cables The cables running from the control panel contain a high frequency noise component, and outside the control panel, they release noise acting as antennas. Always use shielded cables when cables connected to I/O modules and/or special modules are to be brought out from the control panel.
  • Page 321 20. EMC AND LOW VOLTAGE DIRECTIVES MELSECNET (II) and MELSECNET/10 modules (a) Use double-shielded coaxial cables (MITSUBISHI CABLE INDUSTRIES, LTD.: 5C-2V-CCY) for the MELSECNET modules (such as AJ71AR21, AJ71QBR11) which uses coaxial cables. Radiated noise in the range of 30 MHz or higher can be suppressed by using double-shielded coaxial cables.
  • Page 322 20. EMC AND LOW VOLTAGE DIRECTIVES (c) Always use double-shielded coaxial cables as the coaxial cables connected to the 10BASE2 connectors. Ground the double-shielded coaxial cable by connecting its outer shield to the ground. Refer to (1) for the grounding of the shield. Make sure to attach a ferrite core to the cable.
  • Page 323 External wiring cable (within 2m (6.56ft.)) Drive unit (c) Models and required quantities of the ferrite core and cable clamp • Cable clamp Model: AD75CK (Manufactured by Mitsubishi Electric) • Ferrite core Model: ZCAT3035-1330 (TDK ferrite core) Contact: TDK Corporation •...
  • Page 324 20. EMC AND LOW VOLTAGE DIRECTIVES (d) Cable clamp position Inside control panel AD75 20 to 30cm (7.87 to 11.81inch) AD75CK CC-Link module (a) Be sure to ground the shield of the cable that is connected to a CC-Link module close to the exit of the control panel or to any of CC-Link stations within 30cm (11.81inch) from the module or stations.
  • Page 325: Power Supply Module

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.1.4 Power supply module The precautions required for each power supply module are described below.Always observe the items noted as precautions. Model Precautions A61P, A62P Use not allowed A63P Use a CE-compliant 24VDC power supply in the control panel. A61PN, A61PEU, A62PEU Make sure to short and ground the LG and FG terminals.
  • Page 326: Ferrite Core

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.1.6 Ferrite core Use of ferrite cores is effective in reducing conduction noise in the band of about 10MHz and radiated noise of 30 to 100MHz. It is recommended to attach ferrite cores when the shield of the shielded cable coming out of control panel does not work effectively, or when emission of the conduction noise from the power supply line has to be suppressed.
  • Page 327: Requirements For Compliance With Low Voltage Directives

    EMC AND LOW VOLTAGE DIRECTIVES 20.2 Requirements for Compliance with Low Voltage Directives The Low Voltage Directives apply to the electrical equipment operating from 50 to 1000VAC or 75 to 1500VDC; the manufacturer must ensure the safety of the equipment. Sections 20.2.1 to 20.2.7 provide precautions on installation and wiring of the MELSEC- QnA series PLC to conform to The Low Voltage Directives.
  • Page 328: Power Supply

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.2.3 Power supply The insulation specification of the power supply module was designed assuming installation category II. Be sure to use the installation category II power supply to the PLC. The installation category indicates the durability level against surge voltage generated by a thunderbolt.
  • Page 329: Control Panel

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.2.4 Control panel Because the PLC is an open type device (a device designed to be stored within another device), be sure to use it inside the control panel. Also, each network remote station needs to be installed inside the control panel.However, the waterproof type remote station can be installed outside the control panel.
  • Page 330: Module Installation

    20. EMC AND LOW VOLTAGE DIRECTIVES 20.2.5 Module installation Installing modules contiguously The left side face of each QnA series I/O module is open. When installing I/O modules to the base, do not allow any empty slots between modules. If a slot to the left of a 100/200VAC module is left empty, the circuit board containing the hazardous voltage circuit is exposed.
  • Page 331: Maintenance And Inspection

    MAINTENANCE AND INSPECTION MAINTENANCE AND INSPECTION In order to use the PLC always in good condition, conducting daily and periodical maintenance/inspection on the following items are strongly recommended. 21.1 Daily Inspection Dairy inspection items recommended are shown in Table 21.1. Table 21.1 Daily inspection Item Check item...
  • Page 332: Periodic Inspection

    MAINTENANCE AND INSPECTION 21.2 Periodic Inspection Inspection on items shown below should be conducted once or twice every six months to a year. Conduct the inspection when the equipment is moved or modified, or wiring is changed. Table 21.2 Periodic inspection Item Check item Check method...
  • Page 333 21. MAINTENANCE AND INSPECTION Be sure to shut off all phases of the external power supply used by the system WARNING before cleaning or retightening the terminal screws or module mounting screws. Failure to do so may result in an electric shock. If they are too loose, it may cause a short circuit or malfunctions.
  • Page 334: Battery Replacement

    MAINTENANCE AND INSPECTION 21.3 Battery Replacement Special relay SM51 or SM52 is turned ON when voltage of the battery for backing up programs and power failure compensation function drops. Even though programs and contents of power failure compensation function are not erased immediately when these special relays become ON, the contents could be erased if the ON-status of the special relay fails to be recognized.
  • Page 335 21. MAINTENANCE AND INSPECTION POINTS The relationship of back up between the status of the batteries installed in the CPU module and memory cards is explained below. The following two points are applied. 1) The battery installed in the CPU module does not back up the RAM memories of the memory cards.
  • Page 336: Battery Life

    The CPU module battery life differs depending on the CPU model. The life for each CPU model is shown in Table 21.3. Table 21.3 CPU module battery life Battery life [hr] CPU module model name Guaranteed value (MIN) Actual value (TYP) After SM51 is turned ON Q2ACPU 1800 14500 Q2ACPU-S1 1150 10700 Q3ACPU 4000...
  • Page 337 21. MAINTENANCE AND INSPECTION Battery life of memory card The battery life of memory card differs depending on the memory capacity. The life for each memory is shown in Table 21.4. Table 21.4 Battery lives of memory cards Battery life [hr] Memory card model name Guaranteed value (MIN) Actual value (TYP)
  • Page 338: Battery Replacement Procedure

    MAINTENANCE AND INSPECTION 21.3.2 Battery replacement procedure Correctly connect the battery connector. WARNING Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Incorrect battery handling may cause personal injuries or a fire due to exothermic heat, burst and/or ignition.
  • Page 339 21. MAINTENANCE AND INSPECTION Table 21.5 Period backed up by the capacitor Period backed up by the capacitor [min] Refer to Section 21.3.2 (2). 21 - 9...
  • Page 340 21. MAINTENANCE AND INSPECTION Memory card battery replacement procedure Replace the memory card battery according to the following procedure when the life is over. Even if the battery is removed, the memory card memory is backed up by a capacitor so that the battery can be replaced while the memory card is out of the CPU module.
  • Page 341 21. MAINTENANCE AND INSPECTION Table 21.6 Period backed up by the capacitor Period backed up by the capacitor [min] Refer to Section 21.3.2 (1) 21 - 11...
  • Page 342: Fuse Replacement

    MAINTENANCE AND INSPECTION 21.4 Fuse Replacement Even if a fuse has not blown, the element may have deteriorated due to inrush current, and the fuse should therefore be changed at regular intervals. When replacing the fuse, use a fuse specified by the manufacturer. CAUTION Using the one for the high-rated current or an electric wire may cause a fire.
  • Page 343: Replacement Of The Fuse For An Output Module

    MAINTENANCE AND INSPECTION 21.4.2 Replacement of the fuse for an output module 21 - 13...
  • Page 344: When Reoperating A Plc After Storing It With A Battery Unconnected

    MAINTENANCE AND INSPECTION 21.5 When Reoperating a PLC After Storing it with a Battery Unconnected When reoperating after a battery is uncounted and the PLC is stored, the memory contents of a CPU module and memory card may be undefined. Therefore, when resuming the operation, clear the CPU module memory and format the memory in the CPU module by peripheral device.
  • Page 345: When A Plc Is Reoperated After Stored With The Battery Over The Battery Life

    MAINTENANCE AND INSPECTION 21.6 When a PLC is Reoperated After Stored with the Battery Over the Battery Life If a battery exceeded its guaranteed life is stored and reoperated, the memory contents of CPU module and memory card may be undefined. Therefore, when resuming the operation, clear the CPU module memory and format the memory in the CPU module by peripheral device.
  • Page 346: Troubleshooting

    TROUBLESHOOTING TROUBLESHOOTING The description, cause determination, and corrective actions of each error which may occur during system usage are described. 22.1 Fundamentals of Troubleshooting Besides using obviously highly-reliable devices to increase system reliability, it is an important point to quickly start up the system again when an error occurs. In order to quickly start up the system, find the cause of the problem and resolve it.
  • Page 347: Troubleshooting Flowchart

    TROUBLESHOOTING 22.2 Troubleshooting The error definition determination method, error definition corresponding to the error code, and corrective actions are described. 22.2.1 Troubleshooting flowchart The error definitions are described by events. Section 22.2.2 Section 22.2.3 Section 22.2.4 Section 22.2.5 Section 22.2.6 Section 22.2.7 Section 22.2.8 Section 9.7.
  • Page 348: Flow For Actions When The "Power" Led Is Turned Off

    TROUBLESHOOTING 22.2.2 Flow for actions when the "POWER" LED is turned OFF The flow when the PLC power is ON or when the "POWER" LED of the power supply module is ON during operation is described. 22 - 3...
  • Page 349: Flow For Actions When The "Run" Led Is Turned Off

    TROUBLESHOOTING 22.2.3 Flow for actions when the "RUN" LED is turned OFF The flow when the "POWER" LED of the CPU module turns OFF during operation is described. Section 22.2.5 22 - 4...
  • Page 350: When The "Run" Led Is Flashing

    22. TROUBLESHOOTING 22.2.4 When the "RUN" LED is flashing Flashing of the "RUN" LED of a CPU module is described below. With the QnACPU, when the RUN/STOP key switch is turned from STOP to RUN after writing a program in the STOP state, the "RUN" LED flashes. Then, no CPU module error occurs, but the operation stops.
  • Page 351: Flow For Actions When The "Error Led" Is Turned On/Flashing

    TROUBLESHOOTING 22.2.5 Flow for actions when the "ERROR LED" is turned ON/flashing The flow when the PLC power is ON, when the operation is started or when the "ERROR" LED of the CPU module is ON/blinking during operation is described.Note that in the case of the Q3ACPU and Q4ACPU, an error message is displayed in the LED indicator on the front panel.
  • Page 352: When The "User" Led Is Turned On

    TROUBLESHOOTING 22.2.6 When the "USER" LED is turned ON The case when the "USER" LED of the CPU module is turned ON is described. With theQnACPU, the "USER" LED comes ON when an error is detected by the CHK instruction, or when an annunciator (F), turns ON. When the "USER"...
  • Page 353: Flow For Actions When The Output Module's Output Load Does Not Turn On

    TROUBLESHOOTING 22.2.8 Flow for actions when the output module's output load does not turn ON The flow when the output load of the output module is not turned ON during operation is described. POINT For problems when the input signal does not turn off or output load does not turn off, perform troubleshooting by referring to the fault examples for the I/O modules in Section 22.5.
  • Page 354: Flow For Actions When The Program Cannot Be Written

    TROUBLESHOOTING 22.2.9 Flow for actions when the program cannot be written The flow when a program cannot be written to the CPU module is described. 22 - 9...
  • Page 355 22. TROUBLESHOOTING Check if the in/out switch of the memory card is ON. Check if the write protect switch is OFF. Check if the memory is formatted. Check the designation for the write destination. Can program be written? 22 - 10...
  • Page 356: Flow For Actions When Booting From A Memory Card Is Not Possible

    TROUBLESHOOTING 22.2.10 Flow for actions when booting from a memory card is not possible The flow when the CPU module cannot be booted from a memory card is described. 22 - 11...
  • Page 357 22. TROUBLESHOOTING 22 - 12...
  • Page 358: Flow Chart Used When The Cpu Module Is Not Started Up

    3)Extension cable 4)Network module (Only when installed) For the malfunctioning module even after executed the serial operation check from the minimum system, please consult your local Mitsubishi service center or representative, explaining a detailed description of the problem. 22 - 13...
  • Page 359 22. TROUBLESHOOTING MEMO 22 - 14...
  • Page 360: Error Code List

    TROUBLESHOOTING 22.3 Error Code List When an error occurs at PLC power ON, on switching to the RUN status, or during the RUN status, the self-diagnostics function displays the error content (by LED indication, or message display on an LED indicator), and stores the error information at a special relay (SM) and special register (SD).
  • Page 361: Error Codes

    22. TROUBLESHOOTING 22.3.1 Error Codes There are errors that is detected by the self-diagnostics function of the CPU module, and that is detected while communicating with the CPU module. The table below shows the link between the type of error detection, the point of error detection and the error codes.
  • Page 362: Error Code List (1000 To 1999)

    • Hardware fault 1000 same error is displayed again, this suggests a ■Collateral informationmmon CPU module hardware fault.(Contact your local • Common Information:– Mitsubishi representative.) • Individual Information:– ■Diagnostic Timing • Always [END NOT EXECUTE] Entire program was executed without the execution of an END instruction.
  • Page 363 ■Diagnostic Timing CPU Status: • At power ON/At reset This suggests a CPU module hardware fault. Stop (Contact your local Mitsubishi representative.) [OPE. CIRCUIT ERR.] The operation circuit for index modification in the CPU module does not operate normally. ■Collateral informationmmon 1203 •...
  • Page 364 ERR.: function module that was accessed is experiencing number of the special function module that Flicker 1401 a hardware fault. (Contact your local Mitsubishi corresponds to the common information is stored.) ■Collateral informationmmon representative.) CPU Status: • Common Information:Module No.(Slot No.) Stop •...
  • Page 365 The CPU module, base unit and/or the special (When an error is generated, the program error function module that was accessed is experiencing location corresponding to the individual information 1402 a hardware fault.(Contact your local Mitsubishi is stored.) ■Collateral informationmmon representative.) • Common Information:Module No.(Slot No.) •...
  • Page 366 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [DUAL DC DOWN 5V] The power supply voltage (100 to 240VAC) of either of the two power supply modules on the RUN: power supply duplexing extension base unit dropped to or below 85% of the rated voltage.
  • Page 367: Error Code List (2000 To 2999)

    22. TROUBLE SHOOTING 22.3.4 Error code list (2000 to 2999) The following shows the error messages from the error code 2000 to 2999, the contents and causes of the errors, and the corrective actions for the errors. Error LED Status Corresponding Error Contents and Cause Corrective Action...
  • Page 368 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [SP. UNIT LAY ERR.] At the MELSECNET/MINI auto refresh network parameter settings, the module allocation that was Reset the network parameter MELSECNET/MINI set is different from the actual module models at auto refresh unit module allocation setting so that it the station numbers in the link system.
  • Page 369 Therefore, [SP. UNIT ERROR] change the faulty module. Alternatively, contact • The location designated by a link direct device your local Mitsubishi representative. RUN: ) is not a network module. Off/On • The I/O module (special function module) was ERR.:...
  • Page 370 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status RUN: [SP. UNIT ERROR] Data of special function module to be simulated is Off/On Read the individual information of the error using a not set in the simulation date. ERR.: peripheral device, and check the special function ■Collateral informationmmon...
  • Page 371 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [FILE SET ERROR] • Read the individual information of the error using The file specified by parameters cannot be made. ■Collateral informationmmon the peripheral device, check to be sure that the •...
  • Page 372 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [CAN'T EXE. PRG.] • Read the common information of the error using • There is a program file that uses a device that is the peripheral device, check to be sure that the out of the range set in the PLC parameter device parameter device allocation setting and the...
  • Page 373: Error Code List (3000 To 3999)

    • Common Information:File name/Drive name • If the same error occurs, it is thought to be a RUN: • Individual Information:Parameter number hardware error. (Contact your local Mitsubishi ■Diagnostic Timing representative.) ERR.: • At power ON/At reset/STOP...
  • Page 374 • Correct and write the network parameters. written. ERR.: • If the error occurs after correction, it suggests a ■Collateral informationmmon 3100 Flicker hardware fault. (Contact your local Mitsubishi • Common Information:File name/Drive name representative.) • Individual Information:Parameter number CPU Status: ■Diagnostic Timing Stop •...
  • Page 375 • Correct and write the network parameters. • Ethernet (parameter + dedicated instruction) is • If the error occurs after correction, it suggests a set to more than five. hardware fault. (Contact your local Mitsubishi ■Collateral informationmmon representative.) • Common Information:File name/Drive name •...
  • Page 376 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [SFC PARA. ERROR] The parameter setting is illegal. • Though Block 0 was set to "Automatic start" in the SFC setting of the PLC parameter dialog box, Block 0 does not exist.
  • Page 377: Error Code List (4000 To 4999)

    22. TROUBLE SHOOTING 22.3.6 Error code list (4000 to 4999) The following shows the error messages from the error code 4000 to 4999, the contents and causes of the errors, and the corrective actions for the errors. Error LED Status Corresponding Error Contents and Cause Corrective Action...
  • Page 378 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [MISSING END INS.] There is no END (FEND) instruction in the program. ■Collateral informationmmon 4010 • Common Information:Program error location • Individual Information:– ■Diagnostic Timing •...
  • Page 379 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [OPERATION ERROR] • The network No. or station No. specified for the dedicated instruction is wrong. • The link direct device (J \ ) setting is incorrect. •...
  • Page 380 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [FOR NEXT ERROR] A NEXT instruction was executed although no FOR instruction has been executed. Read the common information of the error using Alternatively, there are more NEXT instructions the peripheral device, check error step than FOR instructions.
  • Page 381 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [CAN'T EXECUTE(I)] Though an interrupt input occurred, the corresponding interrupt pointer does not exist. ■Collateral informationmmon 4220 • Common Information:Program error location • Individual Information:– ■Diagnostic Timing •...
  • Page 382 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [EXTEND INST. ERR.] The designation of an AD57/AD58 control Read the common information of the error using instruction was wrong. ■Collateral informationmmon the peripheral device, check error step 4301 •...
  • Page 383 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [SFCP. FORMAT ERR.] The numbers of BLOCK and BEND instructions in an SFC program are not equal. ■Collateral informationmmon 4500 • Common Information:Program error location •...
  • Page 384 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [SFCP. OPE. ERROR] Exceeds device range that can be designated by the SFC program. ■Collateral informationmmon 4601 RUN: • Common Information:Program error location Off/On •...
  • Page 385 22. TROUBLE SHOOTING Error LED Status Corresponding Error Contents and Cause Corrective Action Code CPU Status [STEP EXE. ERROR] Startup was executed at a block in the SFC Read common information of the error using the program that was already started up. ■Collateral informationmmon peripheral device, check error step corresponding 4630...
  • Page 386: Error Code List (5000 To 5999)

    22. TROUBLE SHOOTING 22.3.7 Error code list (5000 to 5999) The following shows the error messages from the error code 5000 to 5999, the contents and causes of the errors, and the corrective actions for the errors. Error LED Status Corresponding Error Contents and Cause Corrective Action...
  • Page 387: Error Code List (6000 To 6999)

    RUN: during initial. Hardware fault of the CPU module. (Please contact (This can be detected from the control system or your local nearest Mitsubishi or sales ERR.: standby system of the redundant system.) representative, explaining a detailed description of Q4AR 6100 ■Collateral informationmmon...
  • Page 388 (This can be detected from the control system of Continue the redundant system.) This is a bus switching module hardware fault. 6221 ■Collateral informationmmon (Contact your local Mitsubishi representative.) • Common Information:Reason(s) for system switching • Individual Information:– ■Diagnostic Timing • At switching request [DUAL SYS.
  • Page 389: Error Code List (7000 To 10000)

    22. TROUBLE SHOOTING 22.3.9 Error code list (7000 to 10000) The following shows the error messages from the error code 7000 to 10000, the contents and causes of the errors, and the corrective actions for the errors. Error LED Status Corresponding Error Contents and Cause Corrective Action...
  • Page 390: Canceling Of Errors

    22. TROUBLE SHOOTING 22.3.10 Canceling of Errors Q series CPU module can perform the cancel operation for errors only when the errors allow the CPU module to continue its operation. To cancel the errors, follow the steps shown below. 1) Eliminate the cause of the error. 2) Store the error code to be canceled in the special register SD50.
  • Page 391: Resetting Errors

    TROUBLESHOOTING 22.4 Resetting Errors The CPU module allows error resetting only for the errors that does not block the CPU module operation. The procedure for resetting an error is as follows. 1) Eliminate the cause of the error. 2) Store the error code to be reset to special register SD50. 3) Switch special relay SM50 from OFF to ON.
  • Page 392: Fault Examples With I/O Modules

    TROUBLESHOOTING 22.5 Fault Examples with I/O Modules Examples of faults concerning I/O circuits and the corrective actions are explained. 22.5.1 Faults with the input circuit and the corrective actions Examples of faults concerning input circuit and the corrective actions are explained. Faults with the input circuit and the corrective actions Situation Cause...
  • Page 393 22. TROUBLESHOOTING Situation Cause Countermeasure • Sneak path due to the use of two power supplies. • Use only one power supply. • Connect a diode for a sneak path. (Figure below). Input signal does not turn OFF. Calculation example for Example 4 If a switch with LED indication is connected to theAX40 and leak current of 4mA is generated...
  • Page 394: Faults In The Output Circuit

    22. TROUBLESHOOTING 22.5.2 Faults in the output circuit Faults concerning output circuits and the corrective actions are explained. Faults in the output circuit Situation Cause Countermeasure • When the load is subjected to half wave • Connect a resistor at several tens to several rectification inside hundred of k to the both ends of the load.
  • Page 395 22. TROUBLESHOOTING Situation Cause Countermeasure • Use only one power supply. • Sneak path due to the use of two power supplies. • Connect a diode for a sneak path. When the load is a relay or similar device, a Load does not turn reverse voltage absorbing diode must be OFF.
  • Page 396 22. TROUBLESHOOTING Situation Cause Countermeasure Incorrect output by parasitic transistor (Tr4) When an external switch is connected in parallel between the output and common, the voltage between Y1 and COM1 drops to between 0 and 24V even though the output Y1 which is not connected to the external switch is Y2 can turn the load L3 on either from a PC or PB.
  • Page 397 22. TROUBLESHOOTING Situation Cause Countermeasure (1) After checking the external supply power takes at least 10ms to start up when turned it ON/ Incorrect output due to the floating capacitance (C) OFF, set the switch SW1 at the primary side of between the collector and emitter of the the external supply power.
  • Page 398: Appendices

    APPENDICES APPENDICES APPENDIX 1 INSTRUCTION LIST For details on SFC-related instructions, refer to the QnACPU Programming Manual (SFC). Appendix 1.1 Sequence Instructions Contact instructions Classification Symbol Description • Logical operation start (N/O contact logical operation start) • Logical NOT operation start (N/C contact logical operation start) •...
  • Page 399 APPENDICES Association commands Classification Symbol Description • ANDs logical blocks (series connection of blocks). • ORs logical blocks (parallel connection of blocks). • Stores the operation result. • Reads the operation result from MPS. • Reads the operation result from MPS and clears the result. •...
  • Page 400 APPENDICES Output instructions Classification Symbol Description • Device output • Sets a device. • Resets a device. • Generates one-program cycle pulse at the rising edge of an input Output signal. • Generates one-program cycle pulse at the falling edge of an input signal.
  • Page 401 APPENDICES End instructions Classification Symbol Description • Ends the main program. Program end • Ends the sequence program. Other instructions Classification Symbol Description • Stops sequence operation when the input condition is met. Stop • Sequence program execution can be resumed by turning the RUN/ STOP key switch to RUN.
  • Page 402: Appendix 1.2 Basic Instructions

    APPENDICES Appendix 1.2 Basic Instructions Comparison operation instructions Classification Symbol Description • Conductive status when (S1) = (S2) • Non-conductive status when (S1) (S2) • Conductive status when (S1) (S2) • Non-conductive status when (S1) = (S2) • Conductive status when (S1) (S2) •...
  • Page 403 APPENDICES Classification Symbol Description • Conductive status when (S1 + 1, S1) = (S2 + 1, S2) • Non-conductive status when (S1 + 1, S1) (S2 + 1, S2) • Conductive status when (S1 + 1, S1) (S2 + 1, S2) •...
  • Page 404 APPENDICES Classification Symbol Description • Compares character strings (S1) and (S2) character by character. Condition for "match": Character string in which all characters match Condition for "larger character string": Character string that includes characters with larger character codes, or the longer character string Condition for "smaller character string": Character string that includes characters with smaller character codes, or the shorter character string...
  • Page 405 APPENDICES Classification Symbol Description • Compares n points of data from (S1) with n points of data from (S2) in Block data 1 word units, and stores the comparison result in the n points starting comparison from the bit device specified by (D). App - 8...
  • Page 406 APPENDICES Arithmetic operation instructions Classification Symbol Description • (D) + (S) • (S1) + (S2) BIN 16-bit addition/ subtraction • (D) - (S) • (S1) - (S2) • (D+1, D) + (S+1, S) (D+1, D) • (S1+1, S1) + (S2+1, S2) (D+1, D) BIN 32-bit addition/ subtraction...
  • Page 407 APPENDICES Classification Symbol Description • (D) + (S) • (S1) + (S2) BCD 4-digit addition/ subtraction • (D) - (S) • (S1) - (S2) • (D+1, D) + (S+1, S) (D+1, D) • (S1+1, S1) + (S2+1, S2) (D+1, D) BCD 8-digit addition/ subtraction •...
  • Page 408 APPENDICES Classification Symbol Description • (S1+1, S1) (S2+1, S2) (D+1, D) Floating point data multiplication/division • (S1+ 1, S1)/(S2+1, S2) quotient (D+1, D) • Associates the character string specified at (S) to the character string specified at (D) and stores the result to devices starting from (D). Character string data addition •...
  • Page 409 APPENDICES Data conversion instructions Classification Symbol Description BCD conversion BIN conversion Floating point BIN conversion floating point conversion BIN 16-bit 32-bit conversion gray code conversion App - 12...
  • Page 410 APPENDICES Classification Symbol Description Gray code BIN conversion 2's complement • Converts n points of BIN data from (S) to BCD data in a batch and stores the result to devices starting from (D). Block conversion • Converts n points of BCD data from (S) to BIN data in a batch and stores the result to devices starting from (D).
  • Page 411 APPENDICES Data transfer instructions Classification Symbol Description 16-bit data transfer • (S) 32-bit data transfer (D+1, D) • (S+1, S) Floating point (D+1, D) • (S+1, S) data transfer Character string • Transfers the character string specified at (S) to devices starting with data transfer the device specified at (D).
  • Page 412 APPENDICES Program branch instructions Classification Symbol Description • Causes a jump to Pn when the input condition is met. • Causes a jump to Pn beginning with the scan after the one in which the input condition is met. Jump •...
  • Page 413 APPENDICES Other convenient instructions Classification Symbol Description Up/down counter Teaching timer • Four bit devices starting with the bit device specified at (D) perform the following operations in accordance with the ON/OFF status of the STMR instruction. Special timer (D) + 0: Off delay timer output (D) + 1: One shot timer output after OFF (D) + 2: One shot timer output after ON (D) + 3: On delay timer...
  • Page 414: Appendix 1.3 Application Instructions

    APPENDICES Appendix 1.3 Application Instructions Logical operation instructions Classification Symbol Description • (D) • (S1) (S2) • (D+1, D) (S+1, S) (D+1, D) Logical product • (S1+1, S1) (S2+1, S2) (D+1, D) • (D) • (S1) (S2) • (D+1, D) (S+1, S) (D+1, D) Logical sum...
  • Page 415 APPENDICES Classification Symbol Description • (D) • (S1) (S2) • (D+1, D) (S+1, S) (D+1, D) Exclusive logical sum • (S1+1, S1) (S2+1, S2) (D+1, D) • (D) • (S1) (S2) • (D+1, D) (S+1, S) (D+1, D) Not exclusive logical •...
  • Page 416 APPENDICES Rotation instructions Classification Symbol Description Right rotation Left rotation Right rotation Left rotation App - 19...
  • Page 417 APPENDICES Shift instructions Classification Symbol Description n bit shift 1 bit shift 1 word shift App - 20...
  • Page 418 APPENDICES Bit processing instructions Classification Symbol Description Bit set/reset Bit test Bit device batch reset App - 21...
  • Page 419 APPENDICES Data processing instructions Classification Symbol Description Data search Bit check Decode Encode 7-segment decode App - 22...
  • Page 420 APPENDICES Classification Symbol Description • Dissociates the 16-bit data specified at (S) into 4-bit units, and stores these data in the least significant four bits of n devices starting with the one specified at (D). (n • Associates the least significant 4-bit data of n devices starting from the one specified at (S) and stores this data in the device specified at (D).
  • Page 421 APPENDICES Structured program instruction Classification Symbol Description • Executes the program section between n times. NEXT Repeat • Forcibly ends execution of the program section between and causes a jump to Pn. NEXT • Executes the subroutine program Pn when the input condition is met. (S1 to Sn are arguments for the subroutine program.0 •...
  • Page 422 APPENDICES Table operation instructions Classification Symbol Description Table processing Buffer memory access instructions Classification Symbol Description • Reads data in 16-bit units from special function modules. Data read • Reads data in 32-bit units from special function modules. • Writes data in 16-bit units to special function modules. Data write •...
  • Page 423 APPENDICES Display instructions Classification Symbol Description • Outputs ASCII codes in the 8 points of devices (16 characters) starting from the one specified at (S) to an output module. • Outputs ASCII codes in the devices starting from the one specified at ASCII print (S) and ending at 00 , to an output module.
  • Page 424 APPENDICES (10) Debugging and fault diagnostics instructions Classification Symbol Description • Executes the CHK instruction when it is executed. • Causes a jump to the step following the step of the CHK instruction when it is not executed. • When normal SM80: OFF, SD80: 0 •...
  • Page 425 APPENDICES (11) Text string processing instructions Classification Symbol Description • Converts the 1-word BIN data specified at (S) into 5-digit decimal ASCII values, and stores them to the word devices starting from the one specified at (D). • Converts the 2-word BIN data specified at (S) into 10-digit decimal Decimal ASCII ASCII values, and stores them to the word devices starting from the one specified at (D).
  • Page 426 APPENDICES Classification Symbol Description • Converts the 1-word BIN value specified at (S2) into a decimal character string with the total number of digits and number of fraction part digits specified at (S1), and stores it in the device specified at (D).
  • Page 427 APPENDICES Classification Symbol Description • Converts the BCD data specified at (S1) to a floating point data with the number of fraction part digits specified at (S2) and stores this data to the devices specified at (D). Floating point data App - 30...
  • Page 428 APPENDICES (12) Special function instructions Classification Symbol Description • Sin(S+1, S) (D+1, D) • Cos(S+1, S) (D+1, D) • Tan(S+1, S) (D+1, D) Trigonometric function (floating point data) –1 • Sin (S+1, S) (D+1, D) –1 • Cos (S+1, S) (D+1, D) –1 •...
  • Page 429 APPENDICES Classification Symbol Description • • • Trigonometric function • • • App - 32...
  • Page 430 APPENDICES (13) Data control instructions Classification Symbol Description • Processes the value specified at (S3) to a data in the range defined by the upper and lower limits set at (S1) and (S2), and stores it to the word device specified at (D). When S3 The value at (S1) is stored to (D).
  • Page 431 APPENDICES Classification Symbol Description • By setting positive and negative bias values for the input value specified at (S3) with (S1) and (S2), calculates the value for S1 + bias, and stores it to the word device specified at (D). When S3 = 0 When S3 S3 + S2...
  • Page 432 APPENDICES (15) Clock instructions Classification Symbol Description Clock data read/write App - 35...
  • Page 433 APPENDICES (16) Instructions for peripheral devices Classification Symbol Description • Stores the message specified at (S) to the QnACPU. This message is displayed at the peripheral device. Input/output to peripheral device • Stores the data input from a peripheral device to the device specified at (D).
  • Page 434 APPENDICES (18) Other instructions Classification Symbol Description WDT reset • Resets the WDT in a sequence program. Timing clock Direct read/write in 1 byte unit Indirect address set • Fetches ASCII data to the input module specified at (S) for 8 points, Numeral key input converts the data to hexadecimal values, and stores them in the from keyboard...
  • Page 435: Appendix 1.4 Data Link Instructions

    APPENDICES Appendix 1.4 Data Link Instructions Link refresh instructions Classification Symbol Description • Performs link refresh for the network module corresponding to the specified network No. in network n. Specified network refresh • Refreshes the network module corresponding to the specified I/O number in network n.
  • Page 436 APPENDICES QnA link dedicated instructions Classification Symbol Description • Reads data from word devices of another station. Data read/write from/to other stations • Writes data to word devices of another station. • Sends data (message) to another station. Data send/receive to/from other stations •...
  • Page 437 APPENDICES A series link instructions Classification Symbol Description Word device read • Reads the data of T, C, D, and W devices of other stations in the from specified station MELSECNET(II) or MELSECNET/10 system. Word device write • Reads the data of T, C, D, and W devices of other stations on the to specified station MELSECNET(II) or MELSECNET/10 network.
  • Page 438: Appendix 1.5 Pid Control Instructions

    APPENDICES Appendix 1.5 PID Control Instructions Classification Symbol Description Registers the PID control data in the devices starting from the one PID control data set specified at (S) to the PLC CPU. Performs PID operation on the basis of the set value (SV) and process PID control execution value (PV) set in the devices starting from the one specified at (S), and stores the operation result in the manipulated value (MV) area.
  • Page 439: Appendix 1.6 Special Function Module Instructions

    APPENDICES Appendix 1.6 Special Function Module Instructions Instructions compatible with all versions The following instructions can be used for modules with all versions. Classification Function Instruction Symbol Preset data setting RVWR1, PVWR2 Set value data setting for larger/smaller/ AD61(S1) control instruction SVWR1, SVWR2 matched judgments Present value read...
  • Page 440 APPENDICES Classification Function Instruction Symbol Key input from operation box INPUT Data send for the specified number of bytes in no-protocol mode Data send up to the 00 code in no-protocol mode AJ71PT32-S3 control Data receive in no-protocol mode INPUT instruction Communications with remote terminal MINI, MINIEND...
  • Page 441 APPENDICES Classification Function Instruction Symbol Display mode setting CMODE Canvas screen display CPS1 VRAM display address change CPS2 Canvas data transfer to the VRAM area CMOV Display area clear VRAM area clear Screen scrolling CSCRU, CSCRD Cursor display CON1, CON2 Cursor erase COFF Cursor position setting...
  • Page 442 APPENDICES Classification Function Instruction Symbol ID controller initial setting IDINIT1, IDINIT2 Data read from ID data carrier IDRD1, IDRD2 Data write to ID data carrier IDWD1, IDWD2 Continuous read from ID data carrier IDARD1, IDARD2 Continuous write to ID data carrier IDAWD1, IDAWD2 AJ71ID -R4 control Data compare with ID data carrier...
  • Page 443 APPENDICES Instructions added after function version B With function version B, the following instructions can be used in addition to the instructions in (1). Refer to Section 2.2 for the function version. Classification Function Instruction Symbol Comparison read from ID data carrier IDCRD1, IDCRD2 Comparison write to ID data carrier IDCWD1, IDCWD2...
  • Page 444 APPENDICES Classification Function Instruction Symbol 1 axis positioning start PSTART Interpolation positioning start PHOSTA OPR start PZPR Current value change request PADCH Forward JOG start/stop PJOG+ Reverse JOG start/stop PJOG- Manual pulse generator operation enable/ PMPG disable Speed change request PSPCH Axis error reset PERRST...
  • Page 445: Appendix 2 Special Relay List

    APPENDICES APPENDIX 2 Special Relay List Special relays, SM, are internal relays whose applications are fixed in the PLC. For this reason, they cannot be used by sequence programs in the same way as the normal internal relays. However, they can be turned ON or OFF as needed in order to control the CPU module and remote I/O modules.
  • Page 446 APPENDICES (1) Diagnostic Information Table App. 2.2. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU • Turns ON if an error occurs as a result of diagnosis. (Includes when an annunciator is ON, and when an OFF : No error Diagnostic errors error is detected with CHK instruction)
  • Page 447 APPENDICES Table App. 2.2. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU Corresponds SM90 M9108 to SD90 Corresponds SM91 M9109 to SD91 Corresponds SM92 M9110 to SD92 Corresponds SM93 M9111 to SD93 • Goes ON when measurement of Corresponds Startup of monitoring OFF : Not started(monitoring...
  • Page 448 APPENDICES (2) System information Table App. 2.3. Special relay Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • When this relay goes from OFF to ON, the LEDs SM202 LED OFF command ON : LED OFF corresponding to the individual bits at SD202 go off SM203 STOP contact...
  • Page 449 APPENDICES Table App. 2.3. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU Presence/absence of OFF : SFC program absent • Turns ON when an SFC program is registered. SM320 S (Initial) M9100 SFC program : SFC program present •...
  • Page 450 APPENDICES (3) System clocks/counters Table App. 2.4. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU S (Every END SM400 Always ON • Normally is ON M9036 processing) S (Every END SM401 Always OFF • Normally is OFF M9037 processing) •...
  • Page 451 APPENDICES (4) Scan information Table App. 2.5. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU OFF : Completed or not Low speed program • Goes ON when low speed execution type program is S (Every END SM510 executed execution flag...
  • Page 452 APPENDICES (5) Drive information Table App. 2.6. Special relay Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Memory card (A) OFF : Unusable SM600 • ON when memory card (A) is ready for use by user S (Status change) usable flags : Use enabled...
  • Page 453 APPENDICES (6) Instruction-Related Special Relays Table App. 2.7. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation ACPU (When Set) OFF : Carry OFF S (Instruction SM700 Carry flag • Carry flag used in application instruction M9012 : Carry ON execution) •...
  • Page 454 APPENDICES (7) Debug Table App. 2.8. Special relay Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) OFF : Not ready Sampling trace SM800 • Goes ON when sampling trace is ready S (Status change) preparation ON : Ready OFF : Suspend •...
  • Page 455 APPENDICES (8) Latch area Table App. 2.9. Special relay Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) OFF : No power off file • Goes ON if a file is present during access when S (Status change)/ SM900 Power off file : Power off file present...
  • Page 456 APPENDICES (9) A to QnA conversion correspondences Special relays SM1000 to SM1255 are the relays which correspond to ACPU special relays M9000 to M9255 after A to QnA conversion. These special relays are all set by the system, and cannot be set by the user program.
  • Page 457 APPENDICES Table App. 2.10. Special relay ACPU Special Special Corresponding Special Relay after Relay for Name Meaning Details Relay Conversion Modification • Turned on when operation error occurs during execution Operation error OFF : No error of application instruction. M9011 SM1011 SM56 flag...
  • Page 458 APPENDICES Table App. 2.10. Special relay ACPU Special Special Corresponding Special Relay after Relay for Name Meaning Details Relay Conversion Modification OFF : PAUSE disabled M9040 SM1040 SM206 PAUSE enable coil • When RUN key switch is at PAUSE position or pause : PAUSE enabled contact has turned on and if SM204 is on, PAUSE mode is PAUSE status...
  • Page 459 APPENDICES Table App. 2.10. Special relay ACPU Special Special Corresponding Special Relay after Relay for Name Meaning Details Relay Conversion Modification OFF : Divided processing • Turned on when canvas screen transfer to AD57(S1)/ Divided transfer not underway M9065 SM1065 SM711 AD58 is done by divided processing, and turned off at status...
  • Page 460 APPENDICES Table App. 2.10. Special relay ACPU Special Special Corresponding Special Relay after Relay for Name Meaning Details Relay Conversion Modification OFF : Continuous transition Presence/absence • Set whether continuous transition will be performed for the not effective M9103 SM1103 SM323 of continuous block where the "continuous transition bit"...
  • Page 461 APPENDICES Table App. 2.10. Special relay ACPU Special Special Corresponding Special Relay after Relay for Name Meaning Details Relay Conversion Modification ZNRD instruction • Depends on whether or not the ZNRD (word device read) (LRDP instruction instruction has been received. OFF : Not accepted M9200 SM1200...
  • Page 462 APPENDICES Table App. 2.10. Special relay ACPU Special Special Corresponding Special Relay after Relay for Name Meaning Details Relay Conversion Modification Local station, remote I/O station OFF : No errors Depends on whether or not a local or a remote I/O station M9235 SM1235 –...
  • Page 463 APPENDICES (10)Process control instructions Table App. 2.11. Special relay Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • Specifies whether or not to hold the output value OFF : No-hold SM1500 Hold mode when a range over occurs for the S.IN instruction Q4AR : Hold range check.
  • Page 464 APPENDICES Table App. 2.12. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU OFF : Power supply on • Turns on when the CPU module is started up by the CPU module startup startup S (Status change)/ SM1517 operation system switch.
  • Page 465 APPENDICES Table App. 2.12. Special relay Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) SM1549 SM1549 Block 30 SM1550 SM1550 Block 31 SM1551 SM1551 Block 32 SM1552 SM1552 Block 33 SM1553 SM1553 Block 34 SM1554 SM1554 Block 35 SM1555 SM1555...
  • Page 466 APPENDICES (12)For redundant system (Other system CPU information *1) SM1600 to SM1650 only valid for the CPU redundant system backup mode, so they cannot be refreshed during the separate mode. Either the backup mode or the separate mode is valid for the SM4651 to SM1699. SM1600 to SM1699 are all turned off for stand-alone system.
  • Page 467 APPENDICES (13)For redundant system (tracking) Either the backup mode or the separate mode is valid for SM1700 to SM1799. All is turned off for stand-alone system. Table App. 2.14. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation ACPU (When Set) OFF : Execution not...
  • Page 468 APPENDICES Table App. 2.14. Special relay Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU SM1760 SM1760 Block 49 SM1761 SM1761 Block 50 SM1762 SM1762 Block 51 SM1763 SM1763 Block 52 SM1764 SM1764 Block 53 SM1765 SM1765 Block 54 SM1766 SM1766...
  • Page 469: Appendix 3 Special Register List

    APPENDICES APPENDIX 3 Special Register List The special registers, SD, are internal registers with fixed applications in the PLC. For this reason, it is not possible to use these registers in sequence programs in the same way that normal registers are used. However, data can be written as needed in order to control the CPU modules and remote I/O modules.
  • Page 470 APPENDICES (1) Diagnostic Information Table App. 3.2. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) D9008 Diagnostic Diagnosis error • Error codes for errors found by diagnosis are stored as BIN data. S (Error) format errors code...
  • Page 471 APPENDICES Table App. 3.2. Special register Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU • Common information corresponding to the error codes (SD0) is stored here. • The following five types of information are stored here: •...
  • Page 472 APPENDICES Table App. 3.2. Special register Corres- ponding Set by Corresponding Number Name Meaning Explanation ACPU (When Set) Time (value set) Number Meaning Time : 1 s units (0 to 999 s) Time : 1ms units (0 to 65535ms) SD10 (Empty) SD11 SD12...
  • Page 473 APPENDICES Table App. 3.2. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • Individual information corresponding to error codes (SD0) is stored here. • There are the following seven different types of information are stored. •...
  • Page 474 APPENDICES *3 : Extensions are shown below. Table App. 3.3. Extension name SDn+1 Extension File Type Higher 8 bits Lower 8 bits Higher 8 bits Name Parameters • Sequence program • SFC program Device comment Initial device value File register Simulation data Local device Sampling trace data...
  • Page 475 APPENDICES Table App. 3.2. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Error number that SD50 Error reset performs error • Stores error number that performs error reset rese • All corresponding bits go 1(ON) when battery voltage drops. •...
  • Page 476 APPENDICES Table App. 3.2. Special register Corres- ponding Set by Corresponding Number Name Meaning Explanation ACPU (When Set) Annunciator Annunciator S (Instruction SD62 • The first annunciator number (F number) to be detected is stored here. D9009 number number execution) Number of Number of S (Instruction...
  • Page 477 APPENDICES (2) System information Table App. 3.4. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • The CPU switch status is stored in the following format: b12 b11 b8 b7 b4 b3 Empty 0: RUN 1): CPU switch status 1: STOP 2: L.CLR...
  • Page 478 APPENDICES Table App. 3.4. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • When error is generated, the LED display (flicker) is made according to the error number setting priorities. SD207 Priorities 1 to 4 D9038 (The Basic model QCPU supports only the annunciator (error item No.
  • Page 479 APPENDICES Table App. 3.4. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • LED display ASCII data (16 characters) stored here. SD220 b8 b7 SD221 15th character from 16th character from SD220 the right the right SD222 13th character from...
  • Page 480 APPENDICES Table App. 3.4. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Number of SD254 • Indicates the number of mounted MELSECNET/10 modules. modules installed SD255 I/O No. • Indicates I/O number of mounted MELSECNET/10 module Network SD256 •...
  • Page 481 APPENDICES Table App. 3.4. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) No. of modules SD340 • Indicates the number of mounted Ethernet module. installed SD341 I/O No. • Indicates I/O No. of mounted Ethernet module Network SD342 •...
  • Page 482 APPENDICES (3) System clocks/counters Table App. 3.5. Special register Corres- ponding Set by Corresponding Number Name Meaning Explanation ACPU (When Set) • Following programmable controller CPU module RUN, 1 is added each 1 second Number of counts S (Status SD412 second D9022 counter...
  • Page 483 APPENDICES (4) Scan information Table App. 3.6. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Execution Program No. in • Program number of program currently being executed is stored as BIN S (Status SD500 program No.
  • Page 484 APPENDICES Table App. 3.6. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Cumulative execution time for low speed SD544 execution type • Stores the cumulative execution time of a low speed execution type Cumulative programs program into SD544 and SD545.
  • Page 485 APPENDICES (5) Drive information Table App. 3.7. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • Indicates the type of memory card A installed. b8 b7 b4 b3 Drive 1 0: Does not exist Memory card A Memory card A S (Initial and...
  • Page 486 APPENDICES Table App. 3.7. Special register Corres- ponding Set by Corresponding Number Name Meaning Explanation (When Set) ACPU • Stores file register file name (with extension) selected at parameters or SD641 by use of QDRSET instruction as ASCII code. SD642 2nd character 1st character SD641...
  • Page 487 APPENDICES (6) Instruction-Related Registers Table App. 3.8. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • During block operations, turning SM705 ON makes it possible to use the SD705 mask pattern being stored at SD705 (or at SD705 and SD706 if double Mask pattern Mask pattern words are being used) to operate on all data in the block with the...
  • Page 488 APPENDICES Table App. 3.8. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) SD738 • Stores the message designated by the MSG instruction. SD739 SD740 2nd character 1st character SD738 SD741 SD739 4th character 3rd character SD742 SD740 6th character...
  • Page 489 APPENDICES (7) Debug Table App. 3.9. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) • Stores file name (with extension) from point in time when status latch SD806 was conducted as ASCII code. SD807 SD806 2nd character 1st character...
  • Page 490 APPENDICES (8) Latch area Table App. 3.10. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Drive where Access file drive S (Status SD900 power was number during • Stores drive number if file was being accessed during power loss. change) interrupted power loss...
  • Page 491 APPENDICES (9) A to QnA conversion ACPU special registers D9000 to D9255 correspond to QnA special registers SD1000 to SD1255 after A to Q/QnA conversion. These special registers are all set by the system, and cannot be set by the user program.
  • Page 492 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion • When fuse blown modules are detected, the first I/O number of the lowest number of the detected modules is stored in hexadecimal. (Example: When fuses of Y50 to 6F output modules have blown, "50"...
  • Page 493 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion • When one of F0 to 2047 is turned on by OUT F , the F number, which has been detected earliest among SET F Q2AS the F numbers which have turned on, is stored in BIN code.
  • Page 494 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion • Sets the interval between consecutive program starts in multiples of 10 ms. Constant scan time : No setting D9020 SD1020 Constant scan...
  • Page 495 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion • Sets priority of ERROR LEDs which illuminate (or flicker) to indicate errors with error code numbers. D9038 SD1038 SD207 Priorities 1 to 4 •...
  • Page 496 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion • Sets the time check time of the data link instructions (ZNRD, Register for ZNWR) for the MELSECNET/10. D9085 SD1085 setting time 1 s to 65535 s...
  • Page 497 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion • When one of F0 to 255 (F0 to 2047 for AuA and AnU) is turned on 1 is added to the contents of SD63. When SET F RST F instruction is executed, 1 is subtracted from the contents...
  • Page 498 APPENDICES (10)Special register list dedicated for QnA Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion Normal end ZNRD Stores the execution result of the ZNRD (word device read) ZNRD instruction instruction...
  • Page 499 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion Forward loop, • Loopback in forward loop only during data link Reverse loop, Master during data link Station station Station Station Station n...
  • Page 500 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion Local station parameters non-conforming; Stores conditions for D9220 SD1220 – remote I/O up to numbers 1 to 16 station I/O assignment Stores the local station numbers which contain mismatched error...
  • Page 501 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion Local station and remote I/O Stores conditions for D9232 SD1232 – station loop up to numbers 1 to 8 error Stores the local or remote station number at which a forward or reverse loop error has occurred...
  • Page 502 APPENDICES Table App. 3.11. Special register Special ACPU Special Register Corresponding Special Register for Name Meaning Details after Register Modification Conversion Local station Stores conditions for D9248 SD1248 – up to numbers 1 to 16 Stores the local station number which is in STOP or PAUSE mode. operation status Device number...
  • Page 503 APPENDICES (12)I/O module verification Table App. 3.13. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) SD1400 • When the I/O modules whose I/O module information differs from that D9116 registered at power-ON are detected, the numbers of those I/O modules SD1401 D9117 are entered in bit pattern.
  • Page 504 APPENDICES (14)For redundant systems (Host system CPU information SD1510 to SD1599 are only valid for redundant systems. They are all set to 0 for stand-alone systems. Table App. 3.15. Special register Corres- Set by ponding Corresponding Number Name Meaning Explanation ACPU (When Set) Operation mode...
  • Page 505 APPENDICES (15)For redundant systems (Other system CPU information SD1600 to SD1659 is only valid during the back up mode for redundant systems, and refresh cannot be done when in the separate mode. SD1651 to SD1699 are valid in either the backup mode or separate mode. When a stand-alone system SD1600 to SD1699 are all 0.
  • Page 506 APPENDICES (16)For redundant systems (Trucking) SD1700 to SD1779 is valid only for redundant systems. These are all 0 for stand-alone systems. Table App. 3.17. Special register Corres- ponding Set by Corresponding Number Name Meaning Explanation ACPU (When Set) Tracking error Tracking error SD1700 •...
  • Page 507: Appendix

    APPENDICES APPENDIX 4 PRECAUTIONS FOR UTILIZING THE EXISTING MELSEC-A SERIES PROGRAM FOR QnACPU To utilize a sequence program, created for AnNCPU, AnACPU, or AnUCPU, for QnACPU, convert it using the "A QnA Conversion" option of the "Option" menu in the file maintenance mode of the GPP function.
  • Page 508 APPENDICES Instruction after A Corrective Action CPU Instruction Conversion LEDA instruction Modify the instruction to an LED (excluding dedicated instructions for instruction. AnACPU, AnUCPU) Program example: $MOV "ABCDEFGH" D0 LEDA ABCDEFGH OUT SM1255 $MOV "IJKLMNOP" D10 D0 D10 D20 LEDB instruction LED D20 (excluding dedicated instructions for AnACPU, AnUCPU)
  • Page 509 APPENDICES Instruction after A Corrective Action CPU Instruction Conversion Modify the instruction to an RFS SEG instruction instruction. When used as a partial refresh instruction Program example: RFS Y10 H8 SET M9052 SET SM1052 SEG K4Y10 K4B1 SEG K4Y10 K4B1 STC instruction Modify the instruction to SM700, Program example:...
  • Page 510 APPENDICES (a) Instructions for which program modification is unnecessary after conversion Instruction after A QnA Conversion CPU Instruction ASC instruction Program example: ASC ABCDEFGH D10 $MOV ABCDEFGH D10 Note:Since the $MOV instruction has 00 appended at the end, 5 data register words (for 9 characters) must be secured.
  • Page 511 APPENDICES CPU Instruction Instruction after A QnA Conversion DSUM instruction Program example: DSUM D10 DSUM D10 SD718 SD718 is the device resulting from converting accumulator A0. DSET instruction Program example: LEDA DSET SET DY10 LEDC Y10 LEDR FLOAT instruction Program example: LEDA FLOAT FLT D10 D100 LEDC D10...
  • Page 512 APPENDICES CPU Instruction Instruction after A QnA Conversion ROR instruction Program example: ROR K8 ROR SD718 K8 SD718 is the device resulting from converting accumulator A0. SADD instruction Program example: LEDA SADD $+ D10 D100 D200 LEDC D10 LEDC D100 LEDC D200 LEDR SER instruction...
  • Page 513 APPENDICES CPU Instruction Instruction after A QnA Conversion AnA/AnUCPU dedicated instruction LEDA/LEDB instruction name Instruction name device 1 ..device n SUB/LEDC device 1 ..SUB/LEDC device n LEDR Program example 1: SIN instruction LEDA SIN SIN D10 D100 LEDC D10 LEDC D100 LEDR Program example 2: DSER instruction...
  • Page 514 APPENDICES CPU Instruction Instruction after A QnA Conversion Index register Z, Z1 to Z6, V, V1 to V6 Z1 to Z6 Z1 to Z6 V1 to V6 Z8 to Z13 Index register double word If an index register is used for destination of double word operation or single word multiplication/division, the relation of upper and lower levels may be broken, causing a problem.
  • Page 515: Appendix 4.2 Devices

    APPENDICES Appendix 4.2 Devices (a) Only devices within the QnACPU range are converted. CPU Device Device after A QnA Conversion Same as to left Same as to left Same as to left M/L/S is determined by the Same as to left parameter settings.
  • Page 516 APPENDICES (b) Devices that are outside the QnACPU range are converted to SM1255 if they are bit devices and to SD1255 if they are word devices. App - 119...
  • Page 517: Appendix 4.3 Parameters

    APPENDICES Appendix 4.3 Parameters The following parameter settings only are converted to QnACPU use. • Latch range setting Converted to the "latch clear key valid" range. The latch clear key invalid range is made blank (no setting). • MELSECNET (II, /10) setting For the MELSECNET setting when the ACPU is an AnN or AnA, the number of modules are stored after conversion, but the network refresh parameters are not converted.
  • Page 518: Appendix 4.4 Timer And Interrupt Counter Operations

    APPENDICES Appendix 4.4 Timer and Interrupt Counter Operations Timer (a) The ACPU turns timer coils ON/OFF on execution of the OUT instruction, and updates timer current values and turns contacts ON/OFF on execution of the END instruction. In contrast, the QnACPU turns timer coils ON/OFF, updates current values, and turns contacts ON/OFF on execution of the OUT instruction.
  • Page 519: Appendix 4.5 Sequence Programs, Statements, Notes

    APPENDICES Appendix 4.5 Sequence Programs, Statements, Notes After conversion by A QnA conversion, sequence programs are stored in the set file. If a subsequence program is included, the main/subsequence program must be modified. There are two types of modification, as indicated below: (a) When executing the main sequence program and subsequence program alternately, modify the parameters and programs as follows.
  • Page 520 APPENDICES (b) To execute the main sequence program and subsequence program serially as one program, modify the parameters and program as follows. Modification of parameters Set the file names in the order of main sequence program and subsequence program in program setting in "Auxiliary setting" in the parameter mode. Select scan execution as the execution type for both the main sequence program and the subsequence program.
  • Page 521: Appendix 4.6 Microcomputer Programs

    APPENDICES Appendix 4.6 Microcomputer programs Microcomputer programs and utility software packages cannot be converted as the QnACPU has no microcomputer mode. When a microcomputer program or utility software package is used with the ACPU, a SUB instruction (microcomputer program call instruction) is written in the sequence program to execute it.
  • Page 522: Appendix 4.7 Comments

    APPENDICES Appendix 4.7 Comments Conversions are made for the device range of QnACPU. Devices outside the range are not converted. App - 125...
  • Page 523: Appendix 4.8 Constant Scan Function, Error Check Function

    APPENDICES Appendix 4.8 Constant Scan Function, Error Check Function When using the constant scan function or error check function for ACPUs, special registers or special relays are set. In contrast, for QnACPUs, these functions are set with parameters. To use these functions after conversion, make settings in "PLC RAS"...
  • Page 524: Appendix 4.9 I/O Control Mode

    APPENDICES Appendix 4.9 I/O control mode The I/O control mode for QnACPU is refresh mode (direct I/O is enabled depending on the device). • As the I/O control mode for AnACPU and AnUCPU is the refresh mode as with QnACPU, there are no problems with the input timing of inputs (X) or the output timing of outputs (Y).
  • Page 525: Appendix 4.10 Data Link System

    APPENDICES Appendix 4.10 Data Link System • AnUCPU data link systems The network settings in the AnUCPU parameters can be converted by A conversion. Parameter modifications after conversion are not needed. • CPU modules other than AnUCPU The link settings in the CPU module parameters cannot be converted by A conversion.
  • Page 526: Appendix 4.11 Index Register Processing

    APPENDICES Appendix 4.11 Index Register Processing For QnACPU, the contents of index registers change when program processing transfers between the main sequence program and interrupt programs. • Transfer of program processing from main sequence program to interrupt program The contents of the index registers of the main sequence program are saved, and then these contents are passed to the interrupt program.
  • Page 527: Appendix 4.12 Chk Instruction, Ix Instruction

    APPENDICES Appendix 4.12 CHK Instruction, IX Instruction CHK instruction The CHK instruction operates as a fault check instruction for QnACPU. For ACPU, there are two types of processing depending on the CPU type. • Fault check AnCPU, AnNCPU (direct I/O control mode), A3HCPU, AnACPU, AnUCPU •...
  • Page 528: Appendix 4.13 Accessing File Register R With Instructions

    APPENDICES Appendix 4.13 Accessing File Register R with Instructions For QnACPU, no error will occur even if an instruction for accessing file registers outside the setting range is executed. When reading data, FFFF is stored to the storage device. When writing data, the instruction is executed but no data is stored in the file register.
  • Page 529: Appendix 5.1 Error Codes

    APPENDICES APPENDIX 5 ERROR CODES RETURNED TO THE REQUEST SOURCE IN GENERAL DATA PROCESSING With the QnACPU, when an error occurs while general data processing is requested from a peripheral device, a special function module, or a network system, the error code is returned to the source of the general data processing request.
  • Page 530 APPENDICES Appendix 5.2 Error Contents of Error Codes Detected by the CPU Module (4000 to 4FFF The error contents of error codes detected by the CPU module (4000 to 4FFF ), and the messages displayed on the peripheral device are indicated in the table below. Error Code Message Displayed Error...
  • Page 531 APPENDICES Error Code Message Displayed Error Error Contents Corrective Action (Hexadecimal) at Peripheral Device Designated drive memory does The target dirve contains a Check the status of the 4021 not exist or is abnormal. fault. designated drive memory. The file with designated file name, Check the designated file name 4022 The file name does not exist.
  • Page 532 APPENDICES Error Code Message Displayed Error Error Contents Corrective Action (Hexadecimal) at Peripheral Device The designated special function Do not make requests which 4040 module cannot perform the The unit does not exist. caused an error to the designated request contents. special function module.
  • Page 533 APPENDICES Error Code Message Displayed Error Error Contents Corrective Action (Hexadecimal) at Peripheral Device When monitoring of the other device has completed, perform The CPU module system area for the monitoring again. 4060 registering monitor conditions is Alert (1) is displayed. Or increase the system area of the being used by another device.
  • Page 534 APPENDICES Error Code Message Displayed Error Error Contents Corrective Action (Hexadecimal) at Peripheral Device Check the requested data 4080 Data error Data is faulty. contents. The searched target cannot be 4081 Cannot find the find target. Check the data to be searched. detected.
  • Page 535 APPENDICES Error Code Message Displayed Error Error Contents Corrective Action (Hexadecimal) at Peripheral Device 4090 Too many block break points. Setting is out of range. Check and correct the set number. The number of registered block 4091 Setting is out of range. Check and correct the set number.
  • Page 536 APPENDICES Error Code Message Displayed Error Error Contents Corrective Action (Hexadecimal) at Peripheral Device Out-of-range block No. is Check and correct the set 40A0 Setting is incorrect. designated. contents. Designation exceeds the range for 40A1 Setting is out of range. Check and correct the set number.
  • Page 537 APPENDICES REMARK (1) Message (1) An error code is displayed in ****. (2) Alert (1) (3) Alert (2) App - 140...
  • Page 538: Appendix 6 External Dimensions

    APPENDICES APPENDIX 6 EXTERNAL DIMENSIONS Appendix 6.1 CPU Module Q3ACPU, Q4ACPU modules Unit: mm (inch) App - 141...
  • Page 539 APPENDICES Q2ACPU, Q2ACPU-S1 modules Unit: mm (inch) App - 142...
  • Page 540: Appendix 6.2 Power Supply Module

    APPENDICES Appendix 6.2 Power Supply Module A61P, A61PN, A61PEU, A62P, A62PEU, A63P, A65P, A67P power supply modules Unit: mm (inch) App - 143...
  • Page 541 APPENDICES A66P power supply module Unit: mm (inch) App - 144...
  • Page 542: Appendix 6.3 Main Base Unit

    APPENDICES Appendix 6.3 Main Base Unit (1) A32B base unit Unit: mm (inch) (2) A32B-S1 base unit Unit: mm (inch) App - 145...
  • Page 543 APPENDICES (3) A35B base unit Unit: mm (inch) (4) A38B, A38HB, A38HBEU base unit Unit: mm (inch) App - 146...
  • Page 544: Appendix 6.4 Extension Base Unit

    APPENDICES Appendix 6.4 Extension Base Unit A62B, A65B, A68B base units Unit: mm (inch) Variable Dimensions (mm) [inch] Model Name Number of Slots A62B 218 [8.58] 238 [9.37] 6 [0.24] 2 (slots 0, 1) A65B 332 [13.07] 352 [13.86] 12 [0.47] 5 (slots 0 to 4) A68B 446 [17.6]...
  • Page 545 APPENDICES A52B, A55B, A58B base units Unit: mm (inch) Variable Dimensions (mm) [inch] Model Name Number of Slots A52B 163 [6.42] 183 [7.2] 4 [0.16] 2 (slots 0, 1) A55B 277 [10.9] 297 [11.69] 10 [0.39] 5 (slots 0 to 4) A58B 391 [15.4] 411 [16.18]...
  • Page 546: Use Of Local Device For Subroutine/Interrupt Program Storage File (Function Version B Or Later)

    APPENDICES APPENDIX 7 USE OF LOCAL DEVICE FOR SUBROUTINE/INTERRUPT PROGRAM STORAGE FILE (FUNCTION VERSION B OR LATER) When the subroutine/interrupt program is executed, the local device for the subroutine/ interrupt program storage files can be used. To use the local device in the storage destination file for the subroutine/interrupt program, set the special relaies below: •...
  • Page 547 APPENDICES (a) Operation for subroutine program [SM776 operation: OFF without function version B or with function version B] [SM776 operation: ON with function version B] App - 150...
  • Page 548 APPENDICES (b) Operation for interrupt program [SM776 operation: OFF without function version B or with function version B] [SM776 operation: ON with function version B] App - 151...
  • Page 549 Therefore, when SM776 and SM777 are ON, the scan time is extended by the time below after the subroutine program/interrupt program is executed once. Q2ACPU(S1) : 560 + 1.3 (Number of words in the local device) [ s] Q3ACPU : 425 + 1.0 (Number of words in the local device) [ s]...
  • Page 550: Appendix 8 Network Relay From Ethernet Module

    APPENDICES APPENDIX 8 NETWORK RELAY FROM ETHERNET MODULE (FUNCTION VERSION B OR LATER) This is the network system that mixes Ethernet with MELSECNET/10. The network allows communicating data with the QnACPU in other station via many Ethernet or MELSECNET/10. To perform the network relay from the Ethernet module, the Ethernet module with function version B or later is required.
  • Page 551 APPENDICES Table 8.1 Comparison table of access range from Ethernet module QnACPU QnACPU "with" Function Version "without" Function Version Access to Route Host access (Computer) QnACPU(A) Other station access in host network (Computer) QnACPU(B) (MELSECNET/10) Other station access of other network (Computer) QnACPU(C) (From MELSECNET/10 to Ethernet)
  • Page 552 APPENDICES (d) Table 8.2 shows operation of the QnACPU for online/offline of the Ethernet module. Table 8.2 Operation of QnACPU for online/offline of Ethernet module Ethernet Ethernet Module QnACPUOperation Parameter Status Communication with external device is performed with Online the specified parameter. With The QnACPU does not show an error, but Offline...
  • Page 553: Appendix 9 Qnacpu Processing Time

    (b) I/O refresh time can be calculated in the following formula. (I/O refresh time) = (I/O points 16) N1 + (Output points 16) N2 For N1 and N2, refer to the following table. CPU Module Q2ACPU(S1) 5.2 s 5.0 s Q3ACPU 4.8 s...
  • Page 554: Appendix 9.2 Causes Of Increasing Scan Time

    (b) The following table shows the processing time when internal relay 50 points as a bit device, data register 50 points as a word device are set for sampling trace data. CPU Module Processing time Q2ACPU(S1) 3.2ms Q3ACPU 2.4ms Q4ACPU 1.2ms...
  • Page 555 Processing time in the case of monitoring by GX Developer The processing time is added when monitoring by GX Developer. (a) The following table shows the processing time when data register 64 points are set for registration monitor: CPU Module Processing Time Q2ACPU(S1) 0.46ms Q3ACPU 0.35ms Q4ACPU 0.18ms (b) The following shows the processing time when monitor conditions are set.
  • Page 556 File register Processing time when the file register is used The processing time is added when the file register is used. CPU Module Processing Time Q2ACPU(S1) 0.87 (n - 1) + 0.74ms Q3ACPU 0.64 (n - 1) + 0.60ms Q4ACPU 0.32 (n - 1) + 0.28ms...
  • Page 557: Appendix 10 Transportation Precautions

    APPENDICES APPENDIX 10 TRANSPORTATION PRECAUTIONS When transporting lithium batteries, make sure to treat them based on the transportation regulations. Appendix 10.1 Relevant Models The batteries used for QnACPU are classified as shown in the table below: Product Name Model Name Description Handled as QnA series battery...
  • Page 558: Appendix 10.2 Transportation Guidelines

    APPENDICES Appendix 10.2 Transportation Guidelines Products are packed properly in compliance with the transportation regulations prior to shipment. When repacking any of the unpacked products to transport it to another location, make sure to observe the IATA Dangerous Goods Regulations, IMDG Code and other local transportation regulations.
  • Page 559: Appendix 11 Handling Of Batteries And Devices With Built-In Batteries In Eu Member States

    The following symbol is printed on the batteries and packaging of batteries and devices with built-in batteries used for Mitsubishi programmable controllers. Note: This symbol is for EU member states only.
  • Page 560: Appendix 11.2 Exportation Precautions

    September 26, 2008 or later, provide the latest manuals that include the explanation of the symbol. If no Mitsubishi manuals or any old manuals without the explanation of the symbol are provided, separately attach an explanatory note regarding the symbol to each manual of the devices.
  • Page 561 INDEX Causes of Increasing Scan Time ..... App-157 Accessing File Register R with Instructions CE mark ............20-1 ..............App-131 CHK Instruction, IX Instruction ....App-130 Accuracy of scan time ....12-6,12-8,12-14 Circuit Additional Functions of QnACPU ..... 2-5 Fail-Safe Circuit ...........19-5 Allowable period of momentary power failure System design circuit........19-4 ................
  • Page 562 Edge relay [V] ..........4-2 Error history.............9-10 Execution time measurement......8-19 File register [R, ZR]........4-2 Function input [FX]........4-2 Execution Types..........12-1 Function output [FY]........4-2 Extension Function register [FD] ........4-2 Application standards of extension base modules Index register [Z] ........... 4-2 ..............17-5 Internal relay [M] ...........
  • Page 563 Lightning surge absorber ......19-19 Link direct device ..........4-2 Index Register Processing......App-129 Index register [Z]..........4-2 Link register [W] ..........4-2 Initial execution type program......12-4 Link relay [B] .............4-2 Initial execution WDT time......12-6 Local device Initial processing........... 12-22 Data clear of local device......12-27 Installation and Removal of the Dustproof Cover Monitor test of local device (function version B or ..............
  • Page 564 PRECAUTIONS FOR UTILIZING THE EXISTING Power supply module Replacement of the fuse for a power supply MELSEC-A SERIES PROGRAM FOR QnACPU .............. App-110 module ............21-12 Precautions when configuring the system Precautions ..............3-21 Precautions for using coaxial cables ...20-5 STARTUP AND MAINTENANCE Precautions When Connecting Uninterruptible PRECAUTIONS ..........
  • Page 565 Status Latch Function ........8-35 Step execution ..........8-42 Sampling Trace Function........ 8-25 Scan execution type program......12-7 Step operation ..........8-41 Scan time measurement......... 8-23 Step relay [S].............4-2 Selecting Memory Card Capacity ....14-3 STEP-RUN status operation processing ..12-24 Self-diagnostics function........9-4 STOP status operation processing ....12-24 Sequence Programs, Statements, Notes Structured programs .........2-2...
  • Page 566 Watchdog timer (WDT) ........9-2 WDT(Watchdog Timer)........9-2 Weight ............4-3,16-2 Base Unit ............ 17-1 Extension cable........... 17-4 Memory card ........18-1,18-2 POWER SUPPLY MODULE....16-1,16-2 Wiring ............19-17 WIRING PRECAUTIONS ......19-17 Wiring to the module terminals ..... 19-22 Write Simultaneous execution of write during RUN by several people..........
  • Page 567 MEMO...
  • Page 568 6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi. 7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user. 2. Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.

This manual is also suitable for:

Q3acpuQ4acpuQ2acpus1

Table of Contents