Mitsubishi Electric MELCEC Q Series User Manual

A mode
Table of Contents

Advertisement

QCPU-A (A Mode)
User's Manual
-Q02CPU-A
-Q02HCPU-A
-Q06HCPU-A

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELCEC Q Series

  • Page 1 QCPU-A (A Mode) User's Manual -Q02CPU-A -Q02HCPU-A -Q06HCPU-A...
  • Page 3 SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using the 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 Configure a circuit so that the programmable controller is turned on first and then the external power supply. If the external power supply is turned on first, an accident may occur due to an incorrect output or malfunction. For the operating status of each station after a communication failure, refer to relevant manuals for the network.
  • Page 5 [INSTALLATION PRECAUTIONS] CAUTION Use the programmable controller under the environment that meets the general specifications in this manual. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product. To mount the CPU module, while pressing the module mounting lever located in the lower part of the module, fully insert the module fixing projection(s) into the hole(s) in the base unit and press the module until it snaps into place.
  • Page 6 [WIRING PRECAUTIONS] WARNING Shut off the external power supply for the system in all phases before wiring. Failure to do so may result in electric shock or damage to the product. After wiring, attach the included terminal cover to the module before turning it on for operation. Failure to do so may result in electric shock.
  • Page 7 Do not remove the film during wiring. Remove it for heat dissipation before system operation. Mitsubishi Electric programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block.
  • Page 8 [STARTUP AND MAINTENANCE PRECAUTIONS] WARNING Do not touch any terminal while power is on. Doing so will cause electric shock. Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Doing so will cause the battery to produce heat, explode, or ignite, resulting in injury and fire. Shut off the external power supply for the system in all phases before cleaning the module or retightening the terminal screws or module fixing screws.
  • Page 9 [STARTUP AND MAINTENANCE PRECAUTIONS] CAUTION Before performing online operations (especially, program modification, forced output and operation status change) for the running CPU module from the peripheral connected, read relevant manuals carefully and ensure the safety. Improper operation may damage machines or cause accidents. Do not disassemble or modify the modules.
  • Page 10 [DISPOSAL PRECAUTIONS] CAUTION When disposing of the product, treat it as an industrial waste. When disposing of batteries, separate them from other wastes according to the local regulations. (For details of the Battery Directive in EU member states, refer to Appendix 7.) [TRANSPORTATION PRECAUTIONS] CAUTION When transporting lithium batteries, follow the transportation regulations.
  • Page 11 CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions; i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
  • Page 12 REVISIONS The manual number is given on the bottom left of the back cover. Print Date *Manual Number Revision Dec., 1999 SH (NA) 080065-A First printing Mar., 2000 SH (NA) 080065-B Addition of model QA1S33B Dec., 2003 SH (NA) 080065-C Addition of model A1SY42P Partial correction...
  • Page 13 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 14: Table Of Contents

    Introduction Thank you for purchasing the Mitsubishi Electric programmable controller MELSEC-Q series. Before using your new programmable controller, please read this manual thoroughly to gain an understanding of its functions so you can use it properly. When applying the program examples introduced in this manual to the actual system, ensure the applicability and confirm that it will not cause system control problems.
  • Page 15 Handling Precautions ........................4 - 41 Part Names and Settings ......................4 - 43 4.6.1 Part names..........................4 - 43 4.6.2 Switch operation after program write ..................4 - 46 4.6.3 Latch clear operation......................4 - 46 4.6.4 Handling of the memory card at power-on ................4 - 46 POWER SUPPLY MODULE 5 - 1 to 5 - 4 Specifications ..........................5 - 1...
  • Page 16 8.2.3 Supply power ........................8 - 13 8.2.4 Control panel........................8 - 14 8.2.5 Module installation ......................8 - 15 8.2.6 External wiring........................8 - 15 LOADING AND INSTALLATION 9 - 1 to 9 - 30 Module Installation ........................9 - 1 9.1.1 Handling precautions ......................9 - 1 9.1.2 Precautions on base unit installation..................9 - 2 9.1.3...
  • Page 17 APPENDICES Appendix - 1 to Appendix - 61 Appendix 1 Instruction List ......................App - 1 Appendix 1.1 Precautions for write during RUN of a dedicated instruction ......App - 14 Appendix 2 Lists of Special Relays and Special Registers ............App - 15 Appendix 2.1 Special relays....................
  • Page 18 About This Manual The following manuals are related to this product. Related manuals Manual No. Manual Name (Model Code) ACPU/QCPU-A (A mode) Programming Manual (Fundamentals) IB-66249 Describes programming methods necessary for creating programs, device names, parameters, (13J740) program types, memory area configuration, and so on. (Sold separately) ACPU/QCPU-A (A mode) Programming Manual (Common Instructions) IB-66250...
  • Page 19 USER PRECAUTIONS Precautions for using a CPU module When a CPU module is used for the first time, data in the CPU module (built-in RAM, device data) and in the memory card are undefined. Before writing data (parameters, programs) to the CPU module, clear data in the built-in RAM using a peripheral (PC memory clear operation) and also clear data using the RESET/L.CLR switch of the CPU module (latch clear operation).
  • Page 20: Overview

    OVERVIEW OVERVIEW This user's manual describes the performance, functions, and handling method of the QCPU-A, as well as the specifications and handling of the memory card, power supply module and the base unit. The programming modules and software packages have to be compatible with the upgraded A2UCPU, A2UCPU-S1, A3UCPU, and A4UCPU (abbreviated as AnUCPU hereafter).
  • Page 21: Features

    OVERVIEW Features QCPU-A (A mode) has the following features compared with A2USHCPU-S1. High-speed operation processing speed QCPU-A offers significantly higher operation processing than that of A2USHCPU-S1. Q02HCPU-A, Item Q02CPU-A A2USHCPU-S1 Q06HCPU-A Operation processing 79ns 34ns 90ns speed I/O processing: At refresh or LD instruction Greater program capacity By using Q06HCPU-A, the program capacity can be expanded.
  • Page 22: System Configuration 2 - 1 To

    SYSTEM CONFIGURATION SYSTEM CONFIGURATION This chapter shows the system configuration of QCPU-A, the relevant precautions and system equipment. System Configuration This section describes the configuration of the QCPU-A system, the configuration of peripheral devices, and the overview of the system configuration. Configuration of the QCPU-A system Memory card QCPU-A...
  • Page 23: Precautions When Configuring The System

    SYSTEM CONFIGURATION Precautions When Configuring the System The following shows the precautions when configuring the QCPU-A system: 2.2.1 Hardware Up to 64 I/O modules or special function modules can be mounted to each of the basic base unit or the extension base unit. Up to 7 extension base units can be connected in the system.
  • Page 24 SYSTEM CONFIGURATION The accessible device ranges have limit when the following modules are used: Accessible Device Range in CPU Applicable Module Device Accessible Range Input (X), output (Y) X/Y0 to X/Y7FF Internal relay (M) M0 to M8191 latch relay (L) L0 to L8191 MELSECNET(II) data link module: Link relay (B)
  • Page 25: Software Package

    SYSTEM CONFIGURATION 2.2.2 Software package GPP function software packages and model name setting at the start-up The following table shows the GPP function software package that can be used to create the QCPU-A program, and the programmable controller type setting at start- When using SW4D5C-GPPW or later, select the programmable controller type from Q02(H)-A or Q06H-A according to the CPU to be used.
  • Page 26: Which Are Not Compatible With Anu

    SYSTEM CONFIGURATION POINT (1) Old software packages other than listed above cannot be used. (2) To construct MELSECNET/10 network system with QCPU-A, use the AnU- compatible GPP function software package (which includes "A4U" in its programmable controller type name). A network cannot be constructed with the GPP function software package which is not compatible with AnU (which does not include "A4U"...
  • Page 27 SYSTEM CONFIGURATION Utility package (a) None of the following utility packages for A6GPP/A6PHP can be used: * The packages marked with * can • SW -AD57P execute the same functions using the • SW -UTLP-FN0 • SW -UTLP-FN1 dedicated instructions. For details, refer to type AnSHCPU/ •...
  • Page 28 SYSTEM CONFIGURATION 2.2.3 Precautions when using GPP function software packages and A8PUE peripheral devices which are not compatible with AnU When starting with GPP function software packages not compatible with the AnU, QCPU- A (starting with the programmable controller model name "A3A" or "A3H") or a A8PUE peripheral device (including A7PUS), the usable device ranges are limited as follows.
  • Page 29: System Equipment

    SYSTEM CONFIGURATION System Equipment The following shows various components of each module and peripheral device which can be used by the QCPU-A. Modules dedicated to AnS Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] Program capacity: 28k steps, I/O points: 4096,...
  • Page 30 POINT (1) A USB port cannot be used with QCPU-A. (2) A RS232/422 conversion cable is required to use the conventional peripheral devices (A6GPP, A8PUE, etc.). Recommended cable: FA-CNV2402CBL (2m), FA-CNV2405CBL (5m) Contact: Mitsubishi Electric Engineering Corp. 2 - 9...
  • Page 31 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] A1SX10 16-point 100 to 120 VAC input module [16 input points] 0.05 – A1SX10EU 16-point 100 to 120 VAC input module [16 input points] 0.05 –...
  • Page 32 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] [16 output A1SX10 16-point relay contact output module (2A) 0.12 0.09 points] [16 output A1SY10EU 16-point relay contact output module (2A) 0.12 0.10 points]...
  • Page 33 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] 32-point 12/24VDC input module [32 output A1SH42 32-point 12/24VDC transistor output module 0.50 0.008 points] (0.1A) sink type 32-point 24VDC input module [32 output A1SH42-S1 32-point 12/24VDC transistor output module...
  • Page 34 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] 4 to 20mA/0 to 10V [32 special A1S64AD – 4 analog channels points] A/D converter module 4 to 20mA/0 to 10V [32 special A1S68AD –...
  • Page 35 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] Transistor output, thermocouple input 4 channels/module [32 special A1S64TCRT-S1 0.33 – PID control: ON/OFF pulse or 2 positioning points] control Transistor output, thermocouple input 4 channels/module...
  • Page 36 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] 1 axis positioning control, speed control and First half speed-positioning control, 16 empty points A1SD70 – analog voltage output for speed-positioning Second half control (0 to 10V)
  • Page 37 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] For the control, master, and normal stations of [32 special A1SJ71LP21 the MELSECNET/10 data link module system 0.65 – points] (For the dual loop SI-type optical fiber cable) For the control, master, and normal stations of...
  • Page 38 SYSTEM CONFIGURATION Number of Occupied Current Consumption Points (points) Product Name Model Name Description Remark [I/O Assignment 5VDC(A) 24VDC(A) Module Type] [32 special A1SJ71PB92D PROFIBUS-DP master module 0.56 – PROFIBUS points] interface [32 special module A1SJ71PB96F PROFIBUS-FMS interface module 0.56 –...
  • Page 39 SYSTEM CONFIGURATION Product Name Model Name Description Applicable Model For the sink-type input module and sink-type output A6TBXY36 module. (standard type) A1SX41(S1/S2), A1SX42(S1/S2), A1SY41, A1SY41P, A1SY42, A1SY82, A1SH42(S1) For the sink-type input module and sink-type output A6TBXY54 module. (2-wire type) A6TBX70 For the sink-type input module (3-wire type) A1SX41(S1/S2), A1SX42(S1/S2), A1SH42(S1)
  • Page 40 SYSTEM CONFIGURATION Product Name Model Name Description Applicable Model IDC terminal block adapter for 32 points 0.5mm A1S-TA32 (AWG20) IDC terminal block IDC terminal block adapter for 32 points 0.3mm A1S-TA32-3 A1SX41(S1/S2), A1SX71, A1SY41, A1SY41P, A1SY71 adapter (AWG22) IDC terminal block adapter for 32 points 0.75mm A1S-TA32-7 (AWG18) Terminal block...
  • Page 41 SYSTEM CONFIGURATION Peripheral device Product Name Model Name Remark • A6PHP main unit • SWGP-GPPA....GPP function start-up floppy disk for the A series Plasma hand-held A6PHP-SET • SWGP-GPPK....GPP function start-up floppy disk for the K series graphic programmer •...
  • Page 42 SYSTEM CONFIGURATION Product Name Model Name Remark K6PR-K Printer • For printing out program circuit diagrams and various lists A7NPR-S1 Connection cable for between A6GPP/A6PHP and printer (K6PR-K, A7NPR-S1, RS232C cable AC30R2 and a general-purpose printer with RS-232C interface) 3m long K6PR-Y Printer paper for K6PR(S1) and K6PR-K.
  • Page 43 SYSTEM CONFIGURATION System Configuration Overview There are four system configuration types as follows: Stand-alone system ....A system with a main base unit only, or with a main base system and an extension base unit connected with the extension cable. Network system ....
  • Page 44: Qcpu-A System

    SYSTEM CONFIGURATION 2.4.1 QCPU-A system Main base unit (QA1S38B) Slot No. 0 1 2 3 4 5 6 7 Extension to to to to to to cable Extension base unit (QA1S68B) When a 32-point module Expansion stage 1 8 9 10 11 is mounted to each slot to to to to to to...
  • Page 45: Specifications

    Do not use or store the programmable controller under pressure higher than the atmospheric pressure of altitude 0m. Doing so may cause malfunction. When using the programmable controller under pressure, please consult your local Mitsubishi Electric representative. 3 - 1...
  • Page 46 SPECIFICATIONS When an A series extension base unit (A52B, A55B, A58B, A62B, A65B, A68B) is used in the system, the following specifications apply. Frequency Acceleration Amplitude Sweep count Under 10 to 57Hz – 0.075mm 10 times each in intermittent X, Y, Z directions 57 to 150Hz –...
  • Page 47: Cpu Module

    CPU MODULE CPU MODULE Performance Specifications Performance specifications of CPU modules are shown below. Performance specifications Model Item Remark Q02CPU-A Q02HCPU-A Q06HCPU-A Control method Stored program repeat operation Partial direct I/O are I/O control mode Refresh mode available by the instructions.
  • Page 48 CPU MODULE Performance specifications (continued) Model Item Remark Q02CPU-A Q02HCPU-A Q06HCPU-A Internal relay [M] 7144 points (M0 to M999, M2048 to M8191) The range can be Total 8192 shared by Latch relay [L] 1048 points (L1000 to L2047) changed by M, L, S parameters.
  • Page 49 CPU MODULE Performance specifications (continued) Model Item Remark Q02CPU-A Q02HCPU-A Q06HCPU-A Comment Max. 4032 points (Set with the unit of 64 points) Set in parameters. Expanded comment Max. 3968 points (Set with the unit of 64 points) Select "Set the output status at STOP to RUN. (Default)" or "Output after Set in parameters.
  • Page 50: Overview Of Operation Processing

    CPU MODULE 4.1.1 Overview of operation processing An overview of processing when starting power supply for the CPU module to execution of the sequence program is explained. CPU modules processing may be categorized roughly into the following four kinds: Initial processing This is a preprocess to execute sequence operations, and is performed only once upon power-on or reset.
  • Page 51 CPU MODULE (d) Executes the refresh processing when there is a refresh request from the network module or link module. (e) When the trace point setting of sampling trace is by each scan (after the execution of END instruction), stores the device status for which it is setup into the sampling trace area.
  • Page 52 CPU MODULE POINT When executing the FROM/TO instruction for the special function module frequently in short scan time, it may cause the target special function module operation error. When executing FROM/TO instruction to the special function module, set the processing time and converter time by using such as a timer and a constant scan function of the special function module.
  • Page 53: Operation Processing Of Run, Stop, Pause, And Step-Run

    CPU MODULE 4.1.2 Operation processing of RUN, STOP, PAUSE, and STEP-RUN The programmable controller CPU has four kinds of operation status: RUN status, STOP status, PAUSE status, and step operation (STEP-RUN) status. Operation processing of programmable controller CPU in each operation status is explained.
  • Page 54 CPU MODULE Operation processing of programmable controller CPU when RUN/STOP key switch is operated Programmable controller CPU operation processing Operation Data memory Remark RUN/STOP key processing of a External output switch operation M, L, S, T, C, D sequence program Retains the condition OS saves the output Executes up to the...
  • Page 55: Operation Processing Upon Instantaneous Power Failure

    CPU MODULE 4.1.3 Operation processing upon instantaneous power failure The programmable controller CPU detects a momentary power failure when input power voltage supplied to the power supply module becomes lower than the specified range. When the programmable controller CPU detects an instantaneous power failure, the following operation processing is performed.
  • Page 56: Self-Diagnostics Functions

    CPU MODULE 4.1.4 Self-diagnostics functions Self-diagnosis is a function that a CPU module diagnoses itself for the presence of any abnormalities. While turning on the programmable controller power or when an error occurs in the programmable controller RUN, the error is detected and displayed, and the operation is stopped by the self-diagnostics function, which the CPU module performs, to prevent programmable controller malfunctions and give preventive maintenance.
  • Page 57 CPU MODULE When detecting an error by self-diagnosis, QCPU takes action in the following modes: • Mode wherein the programmable controller operation is stopped • Mode wherein the programmable controller operation is continued In addition, some errors can be skipped or stopped by setting parameters. (a) When an operation stop error is detected by the self-diagnosis, the AnSHCPU stops the operation at error detection, and sets the all outputs(Y) to OFF.
  • Page 58 CPU MODULE Self-diagnostics list (continued) CPU Module Status of Error Code Diagnostic Item Diagnostic Timing Error Message Status RUN LED (D9008) • When switching on or resetting RAM check • When M9084 is on during STOP RAM ERROR • When END instruction is executed Operation circuit check •...
  • Page 59: Device List

    CPU MODULE 4.1.5 Device list Device means a general name for such as a contact, coil and timer used on the program operations in a programmable controller. The following shows usage ranges and device names of the programmable controller. For * in the devices below, they can be used by setting the parameters on each peripheral device.
  • Page 60 CPU MODULE Device list (continued) Range of Usage (points) Device Description of Device QCPU-A Data register D0 to D8191 (8192 points) Memory used to store data in a programmable controller Special register D9000 to D9255 (256 points) Data memory set up in advance for the special application Register for a data link.
  • Page 61: Parameter Setting Ranges

    CPU MODULE Parameter Setting Ranges Parameter contents of the CPU module and parameter setting ranges are explained below. 4.2.1 List of parameter setting range Parameters are used for allocating the user memory area inside the CPU module, setting various functions and device ranges. Parameters are usually stored in the first 3k bytes of the user memory area.
  • Page 62 CPU MODULE List of parameter setting range (continued) Setting Range Item Default Value Q02CPU-A, Q02HCPU-A Q06HCPU-A T0 to T199 • 256 points by 100ms, 10ms, and retentive timers (in 8-point units, in 16-point units only for (100ms) T0 to T255 1ms) T200 to •...
  • Page 63 CPU MODULE List of parameter setting range (continued) Setting Range Item Default Value Q02CPU-A, Q02HCPU-A Q06HCPU-A Number of 0 to 8 module(s) supported modules Head I/O number 0 to FE0 (in 10 units) Model name MINI, MINI-S3 registration Transmitted and X, M, L, B, T, C, D, W, R, none (16-point units for bit devices) received data Number of retries...
  • Page 64: Memory Capacity Setting (For Main Program, File Register, Comment, Etc.)

    CPU MODULE 4.2.2 Memory capacity setting (for main program, file register, comment, etc.) QCPU-A has 144k bytes of user memory (RAM) as standard. Parameters, T/C set values, main programs, MELSECNET/10 network parameters, expanded comment, file register, and comment data are stored in the user memory. Calculation of memory capacity Determine the data types to be stored and the memory capacity with parameters before using the user memory.
  • Page 65 CPU MODULE (With Q06HCPU-A) Write to Item Setting Unit Capacity Calculation Formula Max. Available Memory Capacity Remark Parameter – 3k bytes (fixed) 3k bytes (fixed) T/C set value – 1k byte (fixed) 1k byte (fixed) Sequence program 1k step Number of steps 2k bytes 60k bytes Main program...
  • Page 66 CPU MODULE The capacity for network parameters of MELSECNET/10 changes depending on the contents set. The area for the network parameters shall be secured in 2k-byte units based on the total of capacity for each setting. The following shows the memory capacity of each network parameter: Item Memory Capacity Internal data...
  • Page 67 CPU MODULE (2) Order of user memory storage During RAM operation During boot operation from ROM Parameter T/C setting value (Main) Main program MELSECNET/10 network parameter T/C setting value (Sub) Memory capacity of built-in ROM Sub program Unusable (144k bytes max.) Boot Unused operation...
  • Page 68: Setting Ranges Of Timer And Counter

    CPU MODULE 4.2.3 Setting ranges of timer and counter Timer setting range (a) Default values of the timer setting ranges are as follows: Timer points :256 points 100ms timer :T0 to T199 10ms timer :T200 to T255 Retentive timer :None (b) When timer-use points are set to 257 or more, the default values will be as follows: 100ms timer...
  • Page 69 CPU MODULE The interrupt counters in C224 to C255 are allocated to the interrupt pointers I0 to I31 as shown below, and count the occurrences of interrupts by those of I0 to I31. Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt Interrupt pointer counter...
  • Page 70: I/O Devices

    CPU MODULE 4.2.4 I/O devices QCPU-A has 8192 I/O device points (X/Y0 to X/Y1FFF) each for input (X) and output (Y). There are actual I/O devices and remote I/O devices in this I/O range. Actual I/O device This is the device range where an I/O module or special function module can be installed to the main base unit/extension base unit and controlled.
  • Page 71: I/O Assignment Of Special Function Module

    CPU MODULE 4.2.5 I/O assignment of special function module By registering the model names of the following special function modules on I/O assignment with the peripheral devices, the dedicated instructions for special function modules can be used. Model Name of Special Function Setting for Model Name Module Registration...
  • Page 72: Melsecnet/Mini-S3 Auto Refresh Processing

    CPU MODULE 4.2.6 MELSECNET/MINI-S3 auto refresh processing 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 A1SJ71PT32-S3/AJ71PT32-S3 master module (abbreviated as the master module hereafter).
  • Page 73 CPU MODULE 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 CPU modules are shown below. Set the parameters for the number of use of the A1SJ71PT32-S3/AJ71PT32-S3 master modules.
  • Page 74 CPU MODULE (continued) I/O signal Buffer memory from the address of the Item Setting range Description master master module module (1) Link priority ..Link access by MINI-S3 has the priority. During the link access, FROM/TO is caused to wait. •...
  • Page 75 CPU MODULE 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: AX41C Station 1 (number of occupied stations: 4) Y20 to Y3F A1SJ71PT32-S3 X0 to X1F master module...
  • Page 76 CPU MODULE 3) The device numbers of input modules connected are as follows: Stations 1 to 4 AX41C X400 to X41F Stations 5 to 6 AJ35TB-16D X420 to X42F Stations 7 to 8 AX40Y50C X430 to X43F With respect to X440 to X45F, they are simultaneously refreshed, and turned off at all time.
  • Page 77: Function List

    CPU MODULE Function List Various functions of the CPU module are explained below. Function (Application) Description Overview of Setting and Operation Constant scan • Makes the processing time for a single scan in the sequence program constant. • Write to the special register D9020 •Program execution at •...
  • Page 78 CPU MODULE (continued) Function (Application) Description Overview of Setting and Operation • With respect to a device for which the sampling trace is • Using the peripheral devices, set Sampling trace set up, the operating condition of the device is sampled the device to which the status latch for the number of times specified per scan or per period, Check the operation status of...
  • Page 79: Functions Added To Qcpu-A

    CPU MODULE Functions added to QCPU-A This section describes the new functions added to QCPU-A (A mode) which are not available with A2USHCPU-S1. 4.4.1 Boot operation from built-in ROM Boot operation can be performed by booting parameters and sequence programs from the built-in ROM to the built-in RAM at start-up.
  • Page 80 CPU MODULE (c) Detailed contents of D9075 The following table shows the detailed contents of special register D9075. Value in D9075 Description Successful completion RAM operation (Set DIP switch 3 to ON.) M9073 is off. (Turn on M9073.) built-in Failed erasing the built-in Failed writing to the built-in...
  • Page 81 CPU MODULE Configuration of user memory area The following figure shows the configuration of the user memory area during the RAM operation and during the boot operation from the built-in ROM. Configuration example of user memory area (in case of Q06HCPU) (a) During RAM operation ( b) During boot operation from ROM Parameter...
  • Page 82: Usage Of 1Ms Timer

    CPU MODULE 4.4.2 Usage of 1ms timer With QCPU-A, a 1ms timer can be used in addition to the conventional high-speed timer (10ms) and low-speed timer (100ms). Usage Adding ZHTIME, a 1ms timer setting instruction, in a program enables the use of a 1ms timer.
  • Page 83 CPU MODULE Setting example The followings shows the setting examples with and without the expansion timer: (a) Setting example when the expansion timer is not used Number of occupied points: 256 (100ms timer: 120 points, 10ms timer: 40 points, retentive timer: 48 points, 1ms timer: 48 points) M9037 LEDB ZHTIME...
  • Page 84 CPU MODULE (b) Setting example when the expansion timer is used Number of occupied points: 512 (100ms timer: 240 points, 10ms timer: 80 points, retentive timer: 80 points, 1ms timer: 112 points) M9037 LEDB ZHTIME K400 LEDR According to the setting above, the devices designated for the 100ms timer are T0 to T239, for the 10ms timer are T240 to T319, for the retentive timer are T320 to T399, and for the 1ms timer are T400 to T511.
  • Page 85: Sequence Accumulation Time Processing

    CPU MODULE 4.4.3 Sequence accumulation time processing With QCPU-A, as the scan time becomes faster, it may affect the processing of FROM/TO instruction or the scan time for special function modules. Such problems can be avoided by using the following special relay and special register as interlock and executing FROM/TO instruction in the unit of several ms.
  • Page 86 CPU MODULE The operation of M9077 above is shown below: (a) When 5ms is set at D9077 (The scan time is shorter than the setting value.) 1st scan 2nd scan 3rd scan 4th scan 5th scan 6th scan M9077 Turns OFF because Remains OFF because Turns ON because Remains ON because...
  • Page 87: Handling Precautions

    CPU MODULE Handling Precautions The following shows precautions when handling the CPU module from unpacking to installation. Use the programmable controller under the environment that meets the general CAUTION specifications in this manual. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product.
  • Page 88 CPU MODULE When using the extension base unit (QA1S6 B), be sure to install the power supply module. Although modules with light load may operate without the power supply module, stable operation is not guaranteed. Tighten the screws such as module fixing screws within the following ranges. Screw Tightening Torque Range 36 to 48N cm...
  • Page 89: Part Names And Settings

    CPU MODULE Part Names and Settings The names of module parts and their settings of the QCPU-A are described here. 4.6.1 Part names Front face With the front cover open When opening the cover, put your finger here. *1 Not provided for Q02CPU-A. Side face 4 - 43...
  • Page 90 CPU MODULE Name Description Hook for fixing the module to the base unit Module fixing hook (Single-motion installation) Indicates the mode of the CPU. MODE LED On (orange): A mode On (green): Q mode Indicates the operation status of the CPU. During operation in "RUN"...
  • Page 91 CPU MODULE Name Description Settings required to operate the CPU module are made. Dip switch SW1: Use prohibited Always off (Set to off before shipping) ON SW SW2: Use prohibited Always off (Set to off before shipping) SW3: Boot operation from ROM (Set to off before shipping) ON: Boot operation from ROM OFF: RAM operation SW4: Use prohibited Always off (Set to off before shipping)
  • Page 92: Switch Operation After Program Write

    CPU MODULE 4.6.2 Switch operation after program write This section describes switch operations after program write. Writing programs with the CPU module in STOP state When writing a program in the CPU module in the STOP status, follow the procedure below.
  • Page 93: Power Supply Module 5 - 1 To

    POWER SUPPLY MODULE POWER SUPPLY MODULE Specifications Specifications of power supply modules are shown below. Table 5.1 Power supply module specifications Performance specifications Item A1S61PN A1S62PN A1S63P Base mounting position Power supply module installing slot +10% +30% 100 to 240VAC 24VDC -15% -35%...
  • Page 94 POWER SUPPLY MODULE Performance specifications Item A1S61PN A1S62PN A1S63P Applicable tightening torque 59 to 88N cm External dimensions 130mm 55mm 93.6mm Weight 0.60kg 0.60kg 0.50kg POINT *1 Overcurrent protection The overcurrent protection device 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).
  • Page 95: Part Names

    POWER SUPPLY MODULE Part Names Part names of the power supply modules are shown here. (1) A1S61PN (2) A1S62PN Name Description POWER LED LED for the 5VDC power indicator. Used to supply 24VDC power supply to inside the output module (using external 24VDC, 24GDC terminal wiring).
  • Page 96 POWER SUPPLY MODULE (3) A1S63P Name Description Power input terminal Used to connect a 24VDC power supply. Power input terminal Used to connect 100VAC to 240VAC power supply. Terminal screw M3.5 7 Terminal cover A protective cover for the terminal block. Used to fix a module to the base unit.
  • Page 97: Base Unit And Extension Cable

    BASE UNIT AND EXTENSION CABLE BASE UNIT AND EXTENSION CABLE Specifications This section explains the specifications of the base units (the main and extension base units) and extension cables available for the systems, and the applicable standards for use of the extension base units. 6.1.1 Base unit specifications Main base unit specifications...
  • Page 98: Extension Cables Specifications

    BASE UNIT AND EXTENSION CABLE Extension base unit specifications Table 6.2 Extension base unit Item QA1S51B QA1S65B QA1S68B Allowable number of I/O modules to be mounted Extension possibility Not extendable Extendable Applicable module AnS series module 0.117A(0.088A) * 0.118A(0.090A) * Current consumption 0.12A Installation hole size...
  • Page 99: Part Names And Settings

    BASE UNIT AND EXTENSION CABLE Part Names and Settings Part names of the base unit are shown below. Main base unit (QA1S33B, QA1S35B, QA1S38B) POWER I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 QA1S38B Name Description A connector used to connect an extension cable, by which signals can be Extension cable connector transmitted to/from an extension base unit.
  • Page 100 BASE UNIT AND EXTENSION CABLE Extension base unit (QA1S51B) Name Description Extension cable connector A connector used to connect an extension cable, by which signals can be transmitted to/from the main base unit or another extension base unit. Do not remove the supplied connector cover. Base cover A protective cover for the connector for the extension cable.
  • Page 101 BASE UNIT AND EXTENSION CABLE Extension base unit (QA1S65B, QA1S68B) I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 POWER QA1S68B Name Description Extension cable connector A connector used to connect an extension cable, by which signals can be transmitted to/from the main base unit or another extension base unit. Do not remove the supplied connector cover.
  • Page 102: Setting The Extension Stage Numbers

    BASE UNIT AND EXTENSION CABLE Setting the Extension Stage Numbers This section describes how to set the extension stage number for each of the extension base units used. Loosen the upper and lower screws of the base cover. Remove the base cover from the extension base unit.
  • Page 103: Voltage Drop When An Extension Base Unit Is Used

    BASE UNIT AND EXTENSION CABLE Voltage drop when an extension base unit is used Since the extension base unit (QA1S5 B) is supplied with 5VDC from the power supply module on the main base unit, a voltage drop occurs at extension cables. Improper I/O may be provided if the specified voltage (4.75VDC or higher) is not supplied to the "IN"...
  • Page 104 BASE UNIT AND EXTENSION CABLE When the QA1S6 B is connected between the main base unit and the QA1S5 B (a) Selection condition 4.75VDC or higher should be supplied to the "IN" connector of the QA1S5 B in the final extension. (b) How to calculate voltage to "IN"...
  • Page 105: Memory Card And Battery

    MEMORY CARD AND BATTERY MEMORY CARD AND BATTERY This chapter explains the specifications and handling of the memory card and the battery that are applicable for QCPU-A. Memory Card 7.1.1 Specifications The memory card applicable for QCPU-A conforms to the specifications of JEIDA/ PCMCIA small PC card.
  • Page 106: Battery Specifications (Cpu Module And Memory Card Batteries)

    MEMORY CARD AND BATTERY Battery Specifications (CPU Module and Memory Card Batteries) Correctly connect the battery connector. WARNING Do not charge, disassemble, heat, short-circuit, solder, or throw the battery into the fire. Doing so will cause the battery to produce heat, explode, or ignite, resulting in injury and fire.
  • Page 107: Handling Precautions

    MEMORY CARD AND BATTERY 7.2.2 Handling precautions The following describes the battery handling precautions. (1) Do not short it. (2) Do not disassemble it. (3) Do not put it in a fire. (4) Do not heat it. (5) Do not solder to the electrodes. 7 - 3...
  • Page 108: Handling Memory Cards

    MEMORY CARD AND BATTERY Handling Memory Cards Installing the battery into the SRAM card The battery for power failure compensation is packaged with your SRAM card. Be sure to install the battery into the SRAM card before using the card. POINT The memory of the SRAM card will not be backed up if the battery is not installed in the card even when a battery is installed in the CPU module.
  • Page 109: Part Names Of Memory Card

    MEMORY CARD AND BATTERY Part Names of Memory Card Part names of the memory card are shown below. Write-protection ON direction LOCK direction RELEASE direction Name Description Connector Connects the memory card to the CPU module. Battery holder Holds a lithium battery that is used to backup SRAM data. Locks the battery holder to the memory card.
  • Page 110: Installing/Removing A Memory Card

    MEMORY CARD AND BATTERY Installing/Removing a Memory Card Be sure to turn off the CPU module before installing/removing the memory card into/from the CPU module. Installing a memory card When installing a memory card into the CPU module, make sure that the orientation of the memory card is correct, then insert it fully until its edge is flush with the face of the EJECT button.
  • Page 111: Installing Batteries (Cpu Module And Memory Card Batteries)

    MEMORY CARD AND BATTERY 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. Side of CPU Open the cover at the bottom of the CPU module.
  • Page 112: Battery Replacement

    MEMORY CARD AND BATTERY Battery Replacement Special relay M9006 or M9007 turns on when voltage of the battery for backing up programs and power failure compensation function drops. The program and power failure compensation data are not erased immediately when any of these special relays turns on, while these data may be erased if the on status of the special relay fails to be recognized.
  • Page 113: Battery Life

    MEMORY CARD AND BATTERY 7.7.1 Battery life Battery life of CPU module The CPU module battery life differs depending on the CPU model. The battery life for each CPU is shown below: Battery life [hr] CPU model name Guaranteed Actual value After M9006 value (MIN) (TYP)
  • Page 114 MEMORY CARD AND BATTERY The life of the Q6BAT is approximately 10 years when it is not installed in a CPU module or when it is installed in a CPU module with the power always on. The Q6BAT should be immediately replaced when it has been used exceeding the time shown by the guaranteed value and M9006 turns on.
  • Page 115: Battery Replacement Procedure

    MEMORY CARD AND BATTERY 7.7.2 Battery replacement procedure CPU module battery replacement procedure Replace the battery of a CPU module by following the procedure below when the life of the battery is over. Before removing the battery, keep the CPU module powered on for 10 minutes or more.
  • Page 116 MEMORY CARD AND BATTERY POINT After replacing a battery, write the date for next battery replacement on the sticker on the back side of the front cover. Write the proper date by checking the battery life. Q02HCPU MODE ERR. USER BAT.
  • Page 117 MEMORY CARD AND BATTERY Battery replacement Back up the program and data Open the front cover of QCPU-A while it is turned on. CPU module RELEASE Slide the battery holder fixing switch upward to release from the "LOCK" Battery holder fixing switch position with a flat-blade screwdriver.
  • Page 118: Emc And Low Voltage Directives 8 - 1 To

    CE mark on the products. Authorized representative in Europe Authorized representative in Europe is shown below. Name: MITSUBISHI ELECTRIC EUROPE B.V. Address: Mitsubishi-Electric-Platz 1, 40882 Ratingen, Germany Requirements for Compliance with EMC Directive 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 119: Emc Directive Related Standards

    EMC AND LOW VOLTAGE DIRECTIVES 8.1.1 EMC Directive related standards Regulations regarding emission Standard Test item Test description Value specified in standard • 30M-230MHz QP: 40dB V/m (10m in CISPR16-2-3 Radio waves from the product are measurement range) measured. Radiated emission •...
  • Page 120: Installation Inside The Control Panel

    EMC AND LOW VOLTAGE DIRECTIVES 8.1.2 Installation inside the control panel The programmable controller 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 programmable controller. Each network remote station also needs to be installed inside the control panel.
  • Page 121: Cable

    EMC AND LOW VOLTAGE DIRECTIVES 8.1.3 Cable The cables extracted from the control panel contain a high frequency noise component. On the outside of the control panel, therefore, they serve as antennas to emit noise. To prevent noise emission, use shielded cables for the cables which are connected to the I/O modules and intelligent function modules and may be extracted to the outside of the control panel.
  • Page 122 EMC AND LOW VOLTAGE DIRECTIVES MELSECNET (II) and MELSECNET/10 modules (a) Use a double-shielded coaxial cable for the MELSECNET module which uses coaxial cables such as A1SJ71AR21, A1SJ71LR21 and A1SJ71BR11. Noise in the range of 30 MHz or higher in radiation noise can be suppressed by the use of double-shielded coaxial cables (manufactured by MITSUBISHI CABLE INDUSTRIES, LTD: 5C-2V-CCY).
  • Page 123 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 124: Ferrite Core

    • Connect the external wiring cable to a drive unit or an external device in the shortest distance. (c) Models and required quantities of the ferrite core and cable clamp • Cable clamp Model: AD75CK (manufactured by Mitsubishi Electric Corporation) • Ferrite core Model: ZCAT3035-1330 (manufactured by TDK Corporation) Contact: TDK Corporation •...
  • Page 125 EMC AND LOW VOLTAGE DIRECTIVES CC-Link module (a) Be sure to ground the cable shield that is connected to the CC-Link module close to the outlet of a control panel or to any of the CC-Link stations within 30cm from the module or stations. The CC-Link dedicated cables are shielded cables.
  • Page 126 EMC AND LOW VOLTAGE DIRECTIVES (h) To supply the module power supply terminal of the AJ65BTB2-16R/16DR, AJ65SBTB2N-8A/8R/8S/16A/16R/16S with power using the AC/DC power supply, follow as shown below. • Install the AC/DC power supply in the control panel where the module is installed.
  • Page 127: Noise Filter (Power Supply Line Filter)

    EMC AND LOW VOLTAGE DIRECTIVES 8.1.5 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 extracted from the control panel does not work effectively, or when emission of the conduction noise from the power supply line has to be suppressed.
  • Page 128: Power Line For External Power Supply Terminal

    EMC AND LOW VOLTAGE DIRECTIVES 8.1.7 Power line for external power supply terminal Use a CE-marked AC/DC power supply for an external power supply of the modules, and the power cable length needs to be less than 30m. The power cable length for the A1SJ71E71N-B5 needs to be less than 3m. Install noise filters to external supply power terminals of the I/O module and the modules below.
  • Page 129: Requirements For Compliance With Low Voltage Directive

    EMC AND LOW VOLTAGE DIRECTIVES Requirements for Compliance with Low Voltage Directive 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. Section 8.2.1 to Section 8.2.6 provide precautions on installation and wiring of the MELSEC-AnS series programmable controller to conform to The Low Voltage Directives.
  • Page 130: Supply Power

    EMC AND LOW VOLTAGE DIRECTIVES 8.2.3 Supply power The insulation specification of the power supply module is designed assuming installation category II. Be sure to use the installation category II for supply power to the programmable controller. The installation category indicates the durability level against surge voltage generated by thunderbolt.
  • Page 131: Control Panel

    EMC AND LOW VOLTAGE DIRECTIVES 8.2.4 Control panel Because the programmable controller 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 132: Module Installation

    EMC AND LOW VOLTAGE DIRECTIVES 8.2.5 Module installation Installing modules contiguously The left side face of each AnS 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 133: Loading And Installation

    LOADING AND INSTALLATION LOADING AND INSTALLATION Module Installation 9.1.1 Handling precautions 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, or pin connector.
  • Page 134: Precautions On Base Unit Installation

    LOADING AND INSTALLATION 9.1.2 Precautions on base unit installation Installation dimensions Mounting dimensions of each base unit are as follows: I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 POWER QA1S33B QA1S35B QA1S38B QA1S65B QA1S68B Ws *1 Hs *1 Unit: mm The tolerance of Ws and Hs is 0.3 mm.
  • Page 135 LOADING AND INSTALLATION Module installation direction (a) Install the programmable controller in the following direction to ensure ventilation for heat radiation. (b) Do not install the programmable controller in the following directions. Vertical position Horizontal position Install the base unit on a flat surface. When the base unit is installed on an uneven surface, the printed-circuit board may be strained, resulting in malfunction.
  • Page 136 LOADING AND INSTALLATION Note the following when mounting the programmable controller to a DIN rail. (a) Applicable DIN rail (JIS C 2812) TH35-7.5Fe TH35-7.5Al TH35-15Fe (b) DIN rail mounting screw pitch When using DIN rail TH35-7.5Fe or TH35-7.5Al, secure the rail with the rail mounting screws with a pitch of 200mm or less to ensure strength.
  • Page 137: Installation And Removal Of The Dustproof Cover

    LOADING AND INSTALLATION 9.1.3 Installation and removal of the dustproof cover When setting up the system, do not allow any empty slot on the base unit. WARNING If any slot is left empty, be sure to use a blank cover (A1SG60) or a dummy module (A1SG62) for it.
  • Page 138 LOADING AND INSTALLATION Removal I/O module Hole for removal Dust-proof cover 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.
  • Page 139: Installation And Removal Of Modules

    LOADING AND INSTALLATION 9.1.4 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. Installing/removing the QCPU-A (a) Installing the QCPU-A Module Base unit Base unit...
  • Page 140 LOADING AND INSTALLATION (b) Removing the QCPU-A Base unit Remove the module fastening screw and pull the top of the module so that the module pivots about the bottom. Module connector Module Remove the module fixing projection from the fixing hole while Module fixing hole lifting the module.
  • Page 141 LOADING AND INSTALLATION Installing/removing modules other than the QCPU-A Insert the module fixing projection into the fixing hole in the base unit and then CAUTION tighten the module fixing screw within the specified torque. When no screw is tightened, even if the module is installed correctly, it may cause malfunctions, a failure or a drop of the module.
  • Page 142 LOADING AND INSTALLATION (b) Removing modules other than the QCPU-A Removal procedure of the above module is explained below. Remove the module mounting screw and pull the top of the module so Base unit that the module pivots about the bottom. Module connector Module...
  • Page 143: Extension Stage Number Setting For The Extension Base Unit

    LOADING AND INSTALLATION 9.1.5 Extension stage number setting for the extension base unit When using two or more extension base units, the extension stage numbers should be set with the stage number setting connectors of the extension base units. As the extension stage number is set to "1"...
  • Page 144: Connecting/Disconnecting The Extension Cable

    LOADING AND INSTALLATION 9.1.6 Connecting/disconnecting the extension cable Precautions on handling the extension cable • Do not step on the extension cable. • Be sure to attach the base cover to the base unit before connecting the extension cable to the base unit. (After setting the stage number of the extension base unit, attach the base cover and fasten it with screws again.) •...
  • Page 145 LOADING AND INSTALLATION Connecting the extension cable POINT To connect the extension cable to the main base unit and extension base unit, be sure to connect it from the OUT connector of the main base unit to the IN connector of the extension base unit. The system does not properly operate when the cable is connected from the IN to IN, OUT to OUT, or IN to OUT connectors.
  • Page 146 LOADING AND INSTALLATION (c) When connecting the extension cable to each base unit, hold the connector of the extension cable. (d) After connecting the extension cable, be sure to tighten the fixing screws of the extension cable connector. (Tightening torque: 20N cm) Disconnecting the extension cable When disconnecting the extension cable, confirm that the fixing screws are completely removed.
  • Page 147: Concept Of Fail Safe Circuit

    LOADING AND INSTALLATION Concept of Fail Safe Circuit When the programmable controller is powered on or off, improper outputs may be generated temporarily depending on the delay time and start-up time differences between the programmable controller power supply and the external power supply for the control target (especially, DC).
  • Page 148 LOADING AND INSTALLATION For the operating status of each station after a communication failure, refer to WARNING relevant manuals for the network. Incorrect output or malfunction due to a communication failure may result in an accident. When controlling a running programmable controller from a peripheral connected to the CPU module or from a personal computer connected to a special function module, configure an interlock circuit in the sequence program to ensure that the entire system will always operate safely.
  • Page 149 LOADING AND INSTALLATION System design circuit example AC system AC/DC system Power supply Power supply Transformer Transformer Transformer Fuse Fuse Fuse CPU module M9006 DC power supply CPU module established signal M9039 DC power M9006 input supply Start/stop circuit M9039 Can be started by turning (-) (+) on of RA1, which is the...
  • Page 150 LOADING AND INSTALLATION The procedures used to switch on the power supply are indicated below. AC system AC/DC system 1) Turn on the power supply. 1) Turn on the power supply. 2) Set the CPU module to RUN. 2) Set the CPU module to RUN. 3) Push the start switch.
  • Page 151 LOADING AND INSTALLATION Fail-safe measures for programmable controller failure While failure of a CPU module and its memory can be detected by the self- diagnostics function, an error occurred in I/O control area may not be detected by the CPU module. In such a case, depending on the condition of the failure, all device points could turn on or off resulting in a situation where normal operations of the control target and safety cannot be ensured.
  • Page 152 LOADING AND INSTALLATION When constructing a fail safe circuit using on delay timers only On delay timer Internal program M9032 On delay timer 0.5s 0.5s External load 24VDC output module CPU module Use a solid state relay for the M1 relay. 9 - 20...
  • Page 153: Installation Environment

    LOADING AND INSTALLATION Installation Environment Avoid the following environment when you install the programmable controller system: A location in which the ambient temperature falls outside the range of 0 to 55 A location in which the ambient humidity falls outside the range of 10 to 90%RH. Location in which condensation may occur due to drastic changes in temperature.
  • Page 154: Calculation Method Of Heat Amount Generated By The Programmable Controller

    LOADING AND INSTALLATION Calculation Method of Heat Amount Generated by the Programmable Controller It is necessary to keep the temperature of the panel which stores the programmable controller to the operating ambient temperature of the programmable controller, which is , or below. 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.
  • Page 155 LOADING AND INSTALLATION Total 24VDC average power consumption of the output module (power consumption equivalent to the points simultaneously ON) Average power of the 24VDC output circuit of the power supply module is the total power consumption of each module. Simultaneous ON ratio (W) Total 24VDC average power consumption of the output module (power consumption equivalent to the points simultaneously ON)
  • Page 156: Wiring

    LOADING AND INSTALLATION Wiring 9.5.1 Wiring precautions This section describes precautions for wiring the power cable and I/O wires. Shut off the external power supply for the system in all phases before wiring. WARNING Failure to do so may result in electric shock or damage to the product. After wiring, attach the included terminal cover to the module before turning it on for operation.
  • Page 157 LOADING AND INSTALLATION (b) Use a power supply which generates minimal noise between wires and between the programmable controller and ground. If excessive noise is generated, connect an isolating transformer. Programmable equipment controller Insulation Insulation transformer transformer (c) When using a power transformer or an isolating transformer to reduce the voltage from 200VAC to 100VAC, its capacity must be equal to or greater than the corresponding value shown in the following table.
  • Page 158 LOADING AND INSTALLATION If the 24VDC output power from a single power supply module is insufficient, supply it from the external 24VDC power supply. (g) Twist the 100VAC, 200VAC or 24VDC wires as tightly as possible, and use the minimum length to make connection between modules. Also, use a thick wire (max.
  • Page 159 LOADING AND INSTALLATION Wiring I/O equipment Do not install the control lines or communication cables together with the main CAUTION circuit lines or power cables. Keep a distance of 100mm or more between them. Failure to do so may result in malfunction due to noise. (a) The applicable wire size for a terminal block connector is 0.75 to 2mm .
  • Page 160 LOADING AND INSTALLATION Grounding Ground the FG and LG terminals to the protective ground conductor dedicated to CAUTION the programmable controller. Failure to do so may result in electric shock or malfunction. (a) Carry out the independent grounding if possible. (b) If independent grounding is impossible, carry out the shared grounding (2) as shown below.
  • Page 161: Wiring To Module Terminals

    LOADING AND INSTALLATION 9.5.2 Wiring to module terminals This section explains the wiring of power cables and ground wires to the main and extension bases. Main base unit (QA1S38B) 100/110VAC 200/220VAC A1S62PN +24V Fuse (FG) DC24V (LG) DC24V INPUT 100-240VAC Connected to the 24VDC Extension base unit terminal of the module that...
  • Page 162: Precautions When Connecting The Uninterruptible Power Supply (Ups)

    LOADING AND INSTALLATION Precautions when Connecting the Uninterruptible Power Supply (UPS) Connect the programmable controller system to the uninterruptible power supply (UPS), while paying attention to the followings. When connecting an uninterruptible power supply (UPS) to the programmable controller system, use an online UPS or line-interactive UPS with a voltage distortion rate of 5% or less.
  • Page 163: Maintenance And Inspection

    10. MAINTENANCE AND INSPECTION MAINTENANCE AND INSPECTION Do not touch any terminal during power distribution. WARNING Doing so may cause an electric shock. Properly connect batteries. Do not charge, disassemble, heat or throw them into the fire and do not make them short-circuited and soldered.
  • Page 164: Daily Inspection

    10. MAINTENANCE AND INSPECTION 10.1 Daily Inspection Dairy inspection items recommended are shown in Table 10.1. Table 10.1 Dairy inspection Item Check item Content of inspection Judgement Action Confirm if installation Installation condition of the screws are not loose or It is installed securely.
  • Page 165: Periodic Inspection

    10. MAINTENANCE AND INSPECTION 10.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 10.2 Periodic inspection Item Check item Content of inspection...
  • Page 166: Operating A Cpu Module After Being Stored Without A Battery

    10. MAINTENANCE AND INSPECTION 10.3 Operating a CPU Module After Being Stored Without a Battery When a CPU module is operated again after being stored without a battery, data in the CPU module (built-in RAM, device data) and a memory card may be undefined. Before operating the CPU module again, clear data in the built-in RAM using a peripheral (PC memory clear operation) and also clear data using the RESET/L.CLR switch of the CPU module (latch clear operation).
  • Page 167: Operating A Cpu Module After Being Stored Over The Battery Life

    10. MAINTENANCE AND INSPECTION 10.4 Operating a CPU Module After Being Stored Over the Battery Life When a CPU module is operated again after being stored over the battery life, data in the CPU module (built-in RAM, device data) and a memory card may be undefined. Before operating the CPU module again, clear data in the built-in RAM using a peripheral (PC memory clear operation) and also clear data using the RESET/L.CLR switch of the CPU module (latch clear operation).
  • Page 168: Troubleshooting

    11. TROUBLESHOOTING TROUBLESHOOTING The description, cause investigation, and corrective actions of each error which may occur during system usage are described. 11.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 169: Troubleshooting Flowchart

    11. TROUBLESHOOTING 11.2 Troubleshooting The error definition investigation method, error definition corresponding to the error code, and corrective actions are described. 11.2.1 Troubleshooting flowchart The error definitions are described by events. Error occurrence details To "Flow for actions when the POWER The POWER LED is off.
  • Page 170: Flow For Actions When The Power Led Is Turned Off

    11. TROUBLESHOOTING 11.2.2 Flow for actions when the POWER LED is turned off The corrective action when the POWER LED turns off when the power supply is turned on or during operation is described. The POWER LED turned off. Is the power Supply the power.
  • Page 171: Flow For Actions When The Mode Led Turns Off

    11. TROUBLESHOOTING 11.2.3 Flow for actions when the MODE LED turns off The corrective action when the MODE LED turns off at power on is described. The MODE LED turns off. Is the power Supply the power. supplied? Does the MODE LED turn on? Is each module...
  • Page 172: Flow For Actions When The Run Led Is Turned Off

    11. TROUBLESHOOTING 11.2.4 Flow for actions when the RUN LED is turned off The corrective action when the RUN LED turns off during operation is described. The RUN LED turned off. Is there Perform the correction using the an error display when the peripheral device is error detail list.
  • Page 173: Flow For Actions When The Run Led Is Flashing

    11. TROUBLESHOOTING 11.2.5 Flow for actions when the RUN LED is flashing The corrective action when the RUN LED is flashing during power on, start of the operation, or during operation is described. The RUN LED is flashing. Confirm the error details Hardware error from the peripheral device.
  • Page 174: Flow For Actions When The Err. Led Is Turned On

    11. TROUBLESHOOTING 11.2.6 Flow for actions when the ERR. LED is turned on The flow when the ERR. LED turns on during operation is described. The ERR. LED turned on. Is M9008 on? Hardware error Check the corrective Cause of error action Software error Can it be...
  • Page 175: Flow For Actions When The Err. Led Is Flashing

    11. TROUBLESHOOTING 11.2.7 Flow for actions when the ERR. LED is flashing The flow when the ERR. LED is flashing during operation is described. The ERR. LED is flashing. Is the details of the special register D9124 "0"? Describe the problem to the nearest service center, retail store, or corporate office, and obtain advice.
  • Page 176: Flow For Actions When The Output Module's Output Load Does Not Turn On

    11. TROUBLESHOOTING 11.2.8 Flow for actions when the output module's output load does not turn on The corrective action when the output load of the output module does not turn on during operation is described. The output load does not turn on. Is the output Check the output status module's operation...
  • Page 177: Flow For Actions When The Program Cannot Be Written

    11. TROUBLESHOOTING 11.2.9 Flow for actions when the program cannot be written The flowchart when the program and other data cannot be written to the CPU module is described. The program cannot be written. Is the RUN/ Set the RUN/STOP switch STOP switch of the to STOP.
  • Page 178: Flow For Actions When The Cpu Module Is Not Started Up

    11. TROUBLESHOOTING 11.2.10 Flow for actions when the CPU module is not started up The following shows the flow when the CPU module is not started up. The CPU module is not started up. See Flowchart for actions when the Is the power supply module POWER LED is turned off LED on?
  • Page 179: Error Code List

    11. TROUBLESHOOTING 11.3 Error Code List When an error occurs while the programmable controller is running or during RUN, error is displayed, or error code, detailed error code and error step are stored to special registers, D9008, D9091 and D9010, respectively, by the self-diagnostics function. Error definitions and corrective actions are shown below.
  • Page 180: Error Code List For The Qcpu-A (A Mode)

    11. TROUBLESHOOTING 11.3.2 Error code list for the QCPU-A (A Mode) The following shows meanings and causes of error message, error codes, detailed error codes and corrective actions. Table 11.1 Error Code List for QCPU-A (A Mode) Detailed Error Error Error Massage Code Error and Cause...
  • Page 181 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) STOP Either of settings of the remote RUN/ Read parameters in the CPU memory, "PARAMETER PAUSE contact point by parameters, check the contents, make necessary...
  • Page 182 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) STOP Instructions (including ) other than Check the program of the "CHK FORMAT instruction and correct it referring to LDIX ANDX ANIX...
  • Page 183 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) "RAM ERROR" STOP The sequence program storage RAM in Since this is CPU hardware error, please the CPU module caused an error.
  • Page 184 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) "FUSE BREAK — Stop or (1) There is an output module of which (1) Check the FUSE BLOWN indicator OFF"...
  • Page 185 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) "SP.UNIT STOP A special function module is assigned Execute I/O assignment again using LAY.ERR." as an I/O module, or vice versa, in the I/ parameters from the peripheral device O assignment using parameters from...
  • Page 186 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) "LINK PARA. Stop or [When using MELSECNET/(II)] (1) Write the parameters again and ERROR" Continue (1) When the link range at a data link check.
  • Page 187 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) "LINK PARA. Stop or [When using MELSECNET/10] (1) Write the parameters again and ERROR" Continue (1) The contents of the network check.
  • Page 188 TROUBLESHOOTING Table 11.1 Error Code List for QCPU-A (A Mode) (continued) Detailed Error Error Error Massage Code Error and Cause Corrective Action Code States (D9008) (D9091) Stop or (1) When the AD57(S1) or AD58 was AD57 (S1) and AD58 cannot be used "OPERATION Continue executing instructions in divided...
  • Page 189: Fault Examples With I/O Modules

    11. TROUBLESHOOTING 11.4 Fault Examples with I/O Modules Examples of faults concerning I/O circuits and the corrective actions are explained. 11.4.1 Faults with the input circuit and the corrective actions Examples of faults concerning input circuits and the corrective actions are explained. Table 11.2 Faults with the input circuit and the corrective actions Situation Cause...
  • Page 190 TROUBLESHOOTING Table 11.2 Faults with the input circuit and the corrective actions (Continued) Situation Cause Countermeasure • Use only one power supply. • Sneak path due to the use of two power • Connect a diode to prevent the sneak path supplies.
  • Page 191: Faults In The Output Circuit

    TROUBLESHOOTING 11.4.2 Faults in the output circuit Faults concerning output circuits and the corrective actions are explained. Table 11.3 Faults with the output circuit and the corrective actions Situation Cause Countermeasure • When the load is subjected to half wave rectification inside •...
  • Page 192 TROUBLESHOOTING Table 11.3 Faults with the output circuit and the corrective actions (continued) Situation Cause Countermeasure • The load current is lower than the minimum load current. • Connect a resistor to both ends of a load so that the load current is higher Surge suppressor than the minimum load current.
  • Page 193 TROUBLESHOOTING Table 11.3 Faults with the output circuit and the corrective actions (continued) Situation Cause Countermeasure When turning on or off the external power, Erroneous output due to the stray capacitance (C) between check that the external power supply collector and emitter of photocoupler. rising edge must be 10ms or more, and switch the SW1 to the primary side of There is no erroneous output at normal road.
  • Page 194 TROUBLESHOOTING Table 11.3 Faults with the output circuit and the corrective actions (continued) Situation Cause Countermeasure The load [2] which was turned off may be turned on due to To prevent the generation of the back back electromotive force at the time of power-off [1] if an electromotive force, connect diode in inductive load is used.
  • Page 195: Appendix 1 Instruction List

    APPENDICES APPENDICES Appendix1 Instruction List The instruction list to be used with a programmable controller is shown. Refer to the following Programming Manuals for the details of the instructions. • ACPU/QCPU-A (A Mode) Programming Manual (Fundamentals) IB-66249 • ACPU Programming Manual (Common Instructions) IB-66250 •...
  • Page 196 APPENDICES Basic instructions (a) Comparison instructions 16 bit LD=, AND=, OR= 32 bit LDD=, ANDD=, ORD= 16 bit LD<>, AND<>, OR<> 32 bit LDD<>, ANDD<>, ORD<> 16 bit LD>, AND>, OR> 32 bit LDD>, ANDD>, ORD> 16 bit LD<=, AND<=, OR<= 32 bit LDD<=, ANDD<=, ORD<= 16 bit...
  • Page 197 APPENDICES (c) BCD arithmetic operation instructions BCD 4-digit Two types each for B+, B+P + Addition Two types each for DB+, BCD 8-digit DB+P BCD 4-digit Two types each for B-, B-P - Subtraction Two types each for DB, BCD 8-digit DB-P BCD 4-digit B *, B * P...
  • Page 198 APPENDICES (g) Refresh instructions Link refresh Link refresh enable/disable EI, DI Partial refresh Application instructions (a) Logical operation instructions Two types each for WAND, 16 bit WANDP Logical product 32 bit DAND, DANDP 16 bit Two types each for WOR, WORP Logical sum 32 bit DOR, DORP...
  • Page 199 APPENDICES (d) Data processing instructions Data search 16 bit SER, SERP 16 bit SUM, SUMP Bit check 32 bit DSUM, DSUMP DECO, DECOP -bit Decode 16 bit Encode ENCO, ENCOP -bit Bit set 16 bit BSET, BSETP Bit reset 16 bit BRST, BRSTP Separation 16 bit...
  • Page 200 APPENDICES (k) Other instructions WDT reset WDT, WDTP Error check Status latch SLT, SLTR Sampling trace STRA, STRAR Carry flag set/reset 1 bit STC, CLC Timing clock 1 bit DUTY Dedicated instructions (a) Direct processing instructions Direct output DOUT Direct set DSET Direct reset DRST...
  • Page 201 APPENDICES (e) Real value processing instructions (BCD format processing) BCD 4-digit square root BSQR BCD 8-digit square root BDSQR SIN (sine) operation BSIN COS (cosine) operation BCOS TAN (tangent) operation BTAN BASIN (arcsine) operation BACOS (arccosine) operation BATAN (arctangent) operation (f) Real value processing instructions (Floating point format real value processing) Real number 16/32-bit BIN conversion...
  • Page 202 APPENDICES (g) Text string processing instructions 16/32-bit BIN hexadecimal ASCII conversion BINDA, DBINDA 16/32-bit BIN hexadecimal ASCII conversion BINHA, DBINHA 16/32-bit BCD decimal ASCII conversion BCDDA, DBCDDA Hexadecimal ASCII 10/32-bit BIN conversion DABIN, DDABIN Hexadecimal ASCII 16/32-bit BIN conversion HABIN, DHABIN Decimal ASCII 16/32-bit BCD conversion DABCD, DDABCD...
  • Page 203 APPENDICES Extension file register instructions Extension file register block number conversion RSET Block transfer between extension file registers BMOVR Block exchange between extension file registers BXCHR Direct read of extension file register in 1 word unit ZRRD Direct read of extension file register in 1 byte unit ZRRDB Direct write of extension file register in 1 word unit ZRWR...
  • Page 204 APPENDICES (n) AJ71C24(S8) computer link module control instructions Characters up to the code Data send Intended number of characters Data receive INPUT Communication status read SPBUSY Communication processing forced interruption SPCLR (o) AJ71C21(S1) terminal interface module control instructions Data output to RS-232C (data up to the 00 code) Data output to RS-422 (data up to the 00 code)
  • Page 205 APPENDICES (q) PID operation instructions Control data setting PIDINIT PID operation PIDCONT PID operation result monitoring for AD57(S1) PID57 (r) AD59(S1) memory card/centronics interface module control instructions Characters up to the 00 code Output to printer Intended number of characters Data read to memory card Data write to memory card (s) AD57(S1) control instructions...
  • Page 206 APPENDICES ASCII character display PR, PRN ASCII character write PRV, PRNV Specified character display Character display EPR, EPRN instructions Character write EPRV, EPRNV Continuous display of same CR1, CR2, CC1, CC2 character - (minus) display CINMP - (hyphen) display CINHP .
  • Page 207 APPENDICES (t) CC-Link dedicated instructions Network parameter setting RLPA Automatic refresh parameter setting RRPA Read from the auto refresh buffer memory of the RIFR intelligent device station Write to the auto refresh buffer memory of the intelligent RITO device station Read from the buffer memory of the intelligent device RIRD station...
  • Page 208: Appendix 1.1 Precautions For Write During Run Of A Dedicated Instruction

    APPENDICES Appendix1.1 Precautions for write during RUN of a dedicated instruction Contents of Write during RUN For LEDA For LEDB After writing, the instruction is After writing, the instruction is Write normal configuration during executed with the previous executed when the previous contact is contact on.
  • Page 209: Appendix 2 Lists Of Special Relays And Special Registers

    APPENDICES Appendix2 Lists of Special Relays and Special Registers Appendix2.1 Special relays The special relays are the internal relays that have specific applications in the programmable controller. Therefore, do not turn on or off the special relay on the program. (Except for the ones marked by *1 or *2 in the table.) Table App.2.1 Special Relay List Number...
  • Page 210 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU • Clears the data memory including the latch range Data memory OFF: No processing (other than special relays and special registers) in Usable with all M9016 clear flag ON: Output clear remote run mode from computer, etc.
  • Page 211 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU 0.05 0.1 second M9030 seconds 0.05 clock seconds 0.2 second M9031 • 0.1 second, 0.2 second, 1 second, 2 second, and 1 seconds clock seconds minute clocks are generated. •...
  • Page 212 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU OFF:Except during Unusable with A1 M9046 Sampling trace trace • Switched on during sampling trace. and A1N. ON: During trace OFF:Sampling trace Sampling trace stop • Turn on M9047 to execute sampling trace. Unusable with A1 M9047 preparation...
  • Page 213 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU • Turned on when one of remote terminal modules has become a faulty station. (Communication error is detected when normal communication is not restored after the number of retries set at D9174.) Remote OFF:Normal...
  • Page 214 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU OFF:No reading time • Turn on to reduce the search time of A8UPU/ Time required reduction A8PUJ. Usable with AnU for search of M9070 ON: Reading time (In this case, the scan time of the CPU module and A2US(H).
  • Page 215 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU • Compares the setting value at D9077 with the time elapsed from the start of measurement (accumulation time) at every scan. Then, performs the following operations: Setting value > Accumulation time: Turns on M9077 and clears the accumulation Sequence time.
  • Page 216 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU OFF:Communication request to remote Registration Usable with AnA, terminal modules area busy signal • Indication of communication enable/disable to AnA, AnU, A2AS, enabled M9081 remote terminal modules connected to the MINI —...
  • Page 217 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU • After the head address of the required I/O module is set to D9094, switching M9094 on allows the I/O module to be changed in online mode. (One module is only allowed to be changed by one setting.) *2 *3...
  • Page 218 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU Usable with AnN*, • Selects consecutive or step-by-step transfer of AnA*, AnU, OFF:Consecutive step steps of which transfer conditions are established Consecutive A2AS, QCPU-A transfer disable when all of the transfer conditions of consecutive step transfer —...
  • Page 219 APPENDICES Table App.2.1 Special Relay List (continued) Number Name Description Details Applicable CPU Usable with AnN*, AnA*, AnU, Active step • Turned on when sampling trace of all specified A2AS, QCPU-A OFF:Trace start M9180 sampling trace blocks is completed. Turned off when sampling —...
  • Page 220 APPENDICES POINTS (1) Contents of the M special relays are all cleared by power off, latch clear or reset with the reset key switch. When the RUN/STOP key switch is set in the STOP position, the contents are retained. (2) The above relays with numbers marked *1 remain "on" if normal status is restored.
  • Page 221: Appendix 2.2 Special Registers

    APPENDICES Appendix2.2 Special Registers Special registers are data registers of which applications have been determined inside the programmable controller. Therefore, do not write data to the special registers in the program (except the ones with numbers marked 2 in the table). Table App.2.2 Special Register List Number Name...
  • Page 222 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU The number of bits • The number of bits detected by execution of the SUM SUM instruction Dedicated to D9003 detected by SUM instruction are stored in BIN code and updated every —...
  • Page 223 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • When operation error has occurred during execution of Step number at which application instruction, the step number, at which the Unusable with D9010 Error step operation error has error has occurred, is stored in BIN code.
  • Page 224 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU ROM/RAM • Indicates the setting of memory select chip. One value Usable with A1 — setting of 0 to 2 is stored in BIN code. and A1N. E 2 PROM Main program (ROM)
  • Page 225 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • Stores the year (2 lower digits) and month in BCD....
  • Page 226 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU D9021 • Sets the head station number of remote terminal D9022 modules connected to A2C and A52G. Setting is not D9023 necessarily in the order of station numbers. D9024 A2CCPUC24:1 to 57 Other CPUs:1 to 61...
  • Page 227 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • Designate the device number for the extension file register for direct read and write in 2 words at D9036 and D9037 in BIN data. D9036 Use consecutive numbers beginning with R0 of block No.
  • Page 228 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • Stores the step number in which error 84 occurred in the SFC program in BIN code. Step number in which Usable with D9052 Error step Stores "0" when errors 80, 81 and 82 occurred. —...
  • Page 229 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU Stores the bit pattern of the base unit in abnormal condition. When basic base unit is abnormal: Bit 0 turns on. When 1st extension base unit is abnormal: Bit 1 turns Stores the bit pattern Dedicated to Abnormal base...
  • Page 230 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU Sequence • Stores the accumulation time used by M9077. Dedicated to accumulation Accumulation time Setting range: 1 to 255ms (Default: 5ms) D9077 — QCPU-A time setting * When the value other than 1 to 255 ms is designated, (A Mode) measurement the value in D9077 is reset to 0.
  • Page 231 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU Usable with AnN*, AnA*, Detail error number of SFC program AnU, A2US(H), the error which • Stores the detail error number of the error occurred in a D9091 detail error —...
  • Page 232 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • Output module numbers (in units of 16 points), of D9100 which fuses have blown, are entered in bit pattern. (Preset output module numbers when parameter setting has been performed.) D9101 15 14 15 14...
  • Page 233 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • When I/O modules, of which data are different from D9116 those entered at power-on, have been detected, the I/ O module numbers (in units of 16 points) are entered in bit pattern.
  • Page 234 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU • When one of F0 to 255 (F0 to 2047 for AnA and AnU) is turned on by , F number, which has turned on, D9125 SET F is entered into D9125 to D9132 in due order in BIN code.
  • Page 235 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU D9141 D9142 D9143 D9144 D9145 • Stores the number of retries executed to I/O modules D9146 or remote terminal modules which caused communication error. D9147 (Retry processing is executed the number of times set D9148 at D9174.) D9149...
  • Page 236 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Applicable CPU Mode setting Auto- • When an I/O module or a remote matic terminal module caused communication online error, the station is placed offline. return • Communication with normal stations is enabled continued.
  • Page 237 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details Limit switch output state Dedicated to D9180 — storage areas A73. • Stores output state of limit switch function. for axes 1 and 2 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Limit switch D9180 Y0E Y0D Y0C Y0B Y0A Y09 Y08 Y07 Y06 Y05 Y04 Y03 Y02 Y01 Y00...
  • Page 238 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details • Stores error code when the manual pulse generator axis setting error flag (M9077) is turned on in the bit each corresponds to each axis number. b8 b7 axis axis axis axis...
  • Page 239 APPENDICES Table App.2.2 Special Register List (continued) Number Name Description Details • Bit which corresponds to faulty I/O module or remote terminal module is set (1). D9196 (Bit which corresponds to a faulty station is set when normal communication cannot be restored after executing the number of retries set at D9174.) •...
  • Page 240: Appendix 3 Peripheral Device

    APPENDICES Appendix3 Peripheral Device The following table shows the peripheral devices used in the existing systems and applicability of the system FD. Model Name of Programmable controller a Peripheral Model Name of a Software Package Applicability Applicable Range Model Name Device at Start-up SW4GP-GPPA...
  • Page 241 APPENDICES The compatibility of the conventional products (The existing system products) and the new products (The AnU-compatible products) are listed in the following table. Product Used to Write to the Product Used to Read from Compatibility CPU Module the CPU module The conventional product New product (Programmable controller:...
  • Page 242: Appendix 4 Precautions For Utilizing The Existing Sequence Programs For The Qcpu-A

    APPENDICES Appendix4 Precautions for Utilizing the Existing Sequence Programs for the QCPU-A This section explains the precautions for utilizing the sequence programs created for the A1SHCPU, A2SHCPU to the QCPU-A. The sequence programs created for the A2USCPU(S1) can directly be used for the QCPU-A.
  • Page 243: Appendix 4.1 Instructions With Different Specifications

    APPENDICES Appendix4.1 Instructions with different specifications This section explains how to modify the sequence program when the instructions with different specifications are used. Basically, the instructions which are not listed in this section do not require modifications. CHK instruction.... Modifications are required when the A1SHCPU or the A2SHCPU is used in the refresh mode.
  • Page 244: Appendix 4.2 Special Relays And Special Registers With Different Specifications

    APPENDICES Appendix4.2 Special relays and special registers with different specifications The QCPU-A do not use the following special relays and special registers. Although no error occurs even if the following special relays and special registers in the original program remain in the newly created program (they will be ignored), it is recommended to delete them from the program.
  • Page 245: Appendix 4.4 I/O Control Mode

    APPENDICES Appendix4.4 I/O control mode The I/O control mode of the QCPU-A is the refresh mode (partial direct I/O depending on the instruction), and is different from that of the A1SHCPU and A2SHCPU. Therefore pay attention to the input timing of the input (X) and the output timing of the output (Y). Pulse processing program by the SET/RST instruction To make the QCPU-A execute the pulse output used in the direct mode by the SET/ RST instruction in the A1SHCPU or A2SHCPU, create the program as follows:...
  • Page 246: Appendix 4.5 Microcomputer Program

    APPENDICES Appendix4.5 Microcomputer program Since the QCPU-A do not have the microcomputer mode, the utility software packages and user-created microcomputer programs used for the A1SHCPU and A2SHCPU are not available. The microcomputer program area of the QCPU-A is dedicated for the SFC. When the utility software packages or the microcomputer programs above are used, delete all of the SUB instructions (microcomputer program call) used for executing them from the sequence program.
  • Page 247: Appendix 4.6 Index Register Processing

    APPENDICES Appendix4.6 Index register processing The index register of the QCPU-A is rewritten to the value prior to the execution of the interrupt program when the processing is transferred to the main or sequence program even if the value was updated by the interrupt program. App - 53...
  • Page 248: Appendix 5 External Dimensions

    APPENDICES Appendix5 External Dimensions Appendix5.1 Q02CPU-A, Q02HCPU-A and Q06HCPU-A QCPU-A module 89.3 27.4 Unit : mm App - 54...
  • Page 249: Appendix 5.2 A1S61Pn, A1S62Pn And A1S63P Power Supply Module

    APPENDICES Appendix5.2 A1S61PN, A1S62PN and A1S63P power supply module Unit : mm App - 55...
  • Page 250: Appendix 5.3 Base Unit

    APPENDICES Appendix5.3 Base unit QA1S33B main base unit Unit : mm QA1S35B main base unit Unit : mm QA1S38B main base unit Unit : mm App - 56...
  • Page 251 APPENDICES QA1S51B extension base unit 3-mounting screws (M5×25) 16.4 80±0.3 50.7 Unit : mm QA1S65B extension base unit 4-mounting screws (M5×25) I/O0 I/O1 I/O2 I/O3 I/O4 POWER QA1S65B 16.4 295±0.3 51.2 Unit : mm QA1S68B extension base unit 4-mounting screws (M5×25) I/O0 I/O1 I/O2...
  • Page 252: Appendix 6 Transportation Precautions

    APPENDICES Appendix6 Transportation Precautions When transporting lithium batteries, make sure to handle them based on the transportation regulations. Appendix6.1 Relevant models The batteries used for CPU modules are classified as follows: Product Name Model Name Description Handling Category Battery Q6BAT Lithium battery Dangerous goods SRAM card battery...
  • Page 253: Appendix 6.2 Transportation Guidelines

    APPENDICES Appendix6.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 254: Appendix 7 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 Electric programmable controllers. Note: This symbol is for EU member states only.
  • Page 255: Appendix 7.2 Exportation Precautions

    APPENDICES Appendix7.2 Exportation precautions The new EU Battery Directive (2006/66/EC) requires the following when marketing or exporting batteries and/or devices with built-in batteries to EU member states. • To print the symbol on batteries, devices, or their packaging • To explain the symbol in the manuals of the products Labelling To market or export batteries and/or devices with built-in batteries, which have no symbol, to EU member states on September 26, 2008 or later, print the symbol...
  • Page 256 INDEX Device list ............4-13 Accumulator [A] ..........4-2 Device points.............4-2 Allowable period of momentary power failure ................4-3 Annunciator [F] ..........4-2 END processing ..........4-4 Error Code List ..........11-12 External Dimensions Base Unit CPU module ........... App-54 External Dimensions of Base Unit ..App-56 Main Base Unit ........
  • Page 257 Parts names...........5-3 Latch relay [L] ........... 4-2 Precautions Latch (power failure compensation) range ..4-3 Battery handling precautions ......7-3 CPU module handling precautions ....4-41 ERR. LED is flashing ........11-8 DESIGN PRECAUTIONS ......A-1 ERR. LED is turned on........ 11-7 DISPOSAL PRECAUTIONS......
  • Page 258 SYSTEM CONFIGURATION System Configuration Overview....2-22 System Equipment ........... 2-8 Timer [T] ............4-2 Troubleshooting flowchart Flow for actions when the ERR. LED is flashing ..............11-8 Flow for actions when the ERR. LED is turned on............. 11-7 Flow for actions when the output module’s output load does not turn on .......
  • Page 259 WARRANTY Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company.
  • Page 260 The company names, system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies. In some cases, trademark symbols such as '™' or '®' are not specified in this manual. SH(NA)-080065-N...
  • Page 262 SH(NA)-080065-N(1906)MEE MODEL: QCPU-A(A)-U-SHO-E MODEL CODE: 13JR10 HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission.

This manual is also suitable for:

Qcpu-a seriesQ02cpu-aQ02hcpu-aQ06hcpu-a

Table of Contents