background image

7.

7 -

 

8

AUTO REFRESH FUNCTION

7.2

Auto Refresh Setting of CC-Link

Auto refresh of the CC-Link designates automatic communications between the QnACPU 
and the buffer memory for cyclic communication of CC-Link master stations/local stations.
Data for communication varies depending on the remote station connected.

• Remote I/O station (Communication in ON/OFF data)
• Remote device station (Communication in ON/OFF data and Word data)
• Intelligent device station (Communication in ON/OFF data and Word data)
• Master station/local station (Communication in ON/OFF data and Word data)

The auto refresh setting of the CC-Link allows communication with other stations of CC-
Link using the FROM/TO instruction without communicating with the master station of the 
CC-Link.

Summary of Contents for Q2ACPU

Page 1: ......

Page 2: ......

Page 3: ...limit setting in positioning any of them must be created outside the PLC 2 When the PLC detects the following error conditions it stops the operation and turn off all the outputs The overcurrent protection device or overvoltage protection device of the power supply module is activated The PLC CPU detects an error such as a watchdog timer error by the self diagnostics function In the case of an err...

Page 4: ...programs so that the whole system functions safely all the time Also before performing any other controls e g program modification operating status change status control read the manual carefully and ensure the safety In these controls especially the one from an external device to a PLC in a remote location some PLC side problem may not be resolved immediately due to failure of data communications...

Page 5: ...the time CAUTION Use the PLC under the environment specified in the user s manual Otherwise it may cause electric shocks fires malfunctions product deterioration or damage Insert the module fixing projection into the fixing hole in the base unit to mount the module Incorrect mounting may cause malfunctions a failure or a drop of the module In an environment of frequent vibrations secure the module...

Page 6: ...modules may be heated resulting in a fire or failure Press crimp or properly solder the connector for external connection with the specified tool Incomplete connection may cause a short circuit fire or malfunctions Tighten terminal screws within the specified torque range If the screw is too loose it may cause a short circuit fire or malfunctions If too tight it may damage the screw and or the mod...

Page 7: ...may cause personal injuries or a fire due to exothermic heat burst and or ignition Be sure to shut off all phases of the external power supply used by the system before cleaning or retightening the terminal screws or module mounting screws Failure to do so may result in an electric shock If they are too loose it may cause a short circuit or malfunctions Tightening the screw excessively may damage ...

Page 8: ...lure to do so may result in failure or malfunctions of the module When replacing the fuse use a fuse specified by the manufacturer Using the one for the high rated current or an electric wire may cause a fire Do not drop or apply any impact to the battery Doing so may damage the battery resulting in electrolyte spillage inside the battery If any impact has been applied discard the battery and neve...

Page 9: ...se of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Medi...

Page 10: ...2 Section 2 2 2 2 1 7 2 8 2 2 19 8 Chapter 20 Section 20 1 20 1 1 20 1 2 20 1 3 20 1 4 20 1 5 20 1 6 20 2 20 2 1 20 2 2 20 2 3 20 2 4 20 2 5 20 2 6 20 2 7 22 4 Appendix 7 8 9 9 1 9 2 WARRANTY Oct 2006 IB NA 66608 C SAFETY PRECAUTIONS Section 3 1 1 3 1 2 3 2 3 3 1 3 3 2 Chapter 4 Section 5 3 6 1 7 1 9 1 9 3 9 3 1 9 9 2 12 1 2 12 1 5 12 4 14 1 15 1 15 2 16 1 1 16 1 3 16 2 16 3 17 1 17 1 1 17 2 17 5 ...

Page 11: ...ual number is given on the bottom left of the back cover Print Date Manual Number Revision Mar 2010 IB NA 66608 F SAFETY PRECAUTIONS Section 3 3 1 19 1 19 5 19 7 1 21 2 21 3 2 22 3 7 APPENDIX 2 Partial correction ...

Page 12: ... 1 2 Configuration of peripheral devices capable of QnACPU 3 2 3 2 System Configuration Overview 3 3 3 3 System Equipment 3 6 3 3 1 System equipment list 3 6 3 3 2 Precautions when configuring the system 3 21 3 3 3 QnACPU memory block diagram 3 25 4 PERFORMANCE SPECIFICATIONS 4 1 to 4 3 5 I O NUMBER ASSIGNMENT 5 1 to 5 14 5 1 I O Numbers 5 1 5 2 I O Number Assignment Concept 5 2 5 3 I O Assignment...

Page 13: ...10 1 Simultaneous monitoring by several people 8 62 8 10 2 Simultaneous execution of write during RUN by several people 8 63 9 MAINTENANCE FUNCTION 9 1 to 9 21 9 1 Function List 9 1 9 2 Watchdog Timer 9 2 9 3 Self diagnostics Function 9 4 9 3 1 Interruption due to error detection 9 8 9 3 2 LED indication due to an error 9 8 9 3 3 Resetting error 9 9 9 4 Error History 9 10 9 5 System Protect 9 11 9...

Page 14: ... 12 1 Program Execution Types 12 1 12 1 1 Initial execution type programs 12 4 12 1 2 Scan execution type program 12 7 12 1 3 Low speed execution type program 12 9 12 1 4 Standby type program 12 16 12 1 5 Initial processing 12 22 12 1 6 Refresh processing of I O module 12 22 12 1 7 END processing 12 23 12 2 Operation Processing of RUN STOP PAUSE and STEP RUN 12 24 12 3 Operation Processing for Ins...

Page 15: ...t Names of Memory Card 18 6 18 6 Installing Batteries CPU Module and Memory Card Batteries 18 7 18 7 Installing Removing a Memory Card 18 8 19 LOADING AND INSTALLATION 19 1 to 19 24 19 1 Fail Safe Circuit Concept 19 1 19 2 Installation Environment 19 7 19 3 Calculation of Heat Generated by the PLC 19 8 19 4 Installing the Base Units 19 10 19 4 1 Installation precautions 19 10 19 4 2 Installation 1...

Page 16: ...als of Troubleshooting 22 1 22 2 Troubleshooting 22 2 22 2 1 Troubleshooting flowchart 22 2 22 2 2 Flow for actions when the POWER LED is turned OFF 22 3 22 2 3 Flow for actions when the RUN LED is turned OFF 22 4 22 2 4 When the RUN LED is flashing 22 5 22 2 5 Flow for actions when the ERROR LED is turned ON flashing 22 6 22 2 6 When the USER LED is turned ON 22 7 22 2 7 When the BAT ARM LED is t...

Page 17: ... Microcomputer programs App 124 Appendix 4 7 Comments App 125 Appendix 4 8 Constant Scan Function Error Check Function App 126 Appendix 4 9 I O control mode App 127 Appendix 4 10 Data Link System App 128 Appendix 4 11 Index Register Processing App 129 Appendix 4 12 CHK Instruction IX Instruction App 130 Appendix 4 13 Accessing File Register R with Instructions App 131 APPENDIX 5 ERROR CODES RETURN...

Page 18: ... Models App 160 Appendix 10 2 Transportation Guidelines App 161 APPENDIX 11 Handling of Batteries and Devices with Built in Batteries in EU Member States App 162 Appendix 11 1 Disposal precautions App 162 Appendix 11 2 Exportation precautions App 163 INDEX Index 1 to Index 6 ...

Page 19: ...parately SH 080041 13JF60 Building Block Type I O Module User s Manual Explains the specifications of building block type I O modules Sold separately IB 66140 13J643 MELSECNET 10 Network System for QnA Q4AR Reference Manual Describes the general concept specifications and part names and settings for MELSECNET 10 Sold separately IB 66690 13JF78 MELSECNET MELSECNET B Data Link System Reference Manua...

Page 20: ...A 18 Type SW2IVD GPPQ GPP Software package Operating Manual Q6TEL Describes Q6TEL system configuration operating methods etc Included with product IB 66777 13J924 Manual Name Manual No Model Code ...

Page 21: ...ackage Operating Manual Online Precautions for Battery 1 The operation after removal of a battery After removing a battery of the CPU module format the memory using a peripheral device to start next operation Refer to Section 21 5 2 The operation after excess of a battery life After removing a battery of the CPU module due to its excess life format the memory using a peripheral device to start nex...

Page 22: ... 2 and 3 These sections give the general description and system configuration for the QnACPU Read them to learn the features of QnACPU and the modules that can be used and points to note when configuring a system 2 Sections 4 to 15 These sections give the specifications and functions of QnACPU They describe each QnACPU function to enable you to use the QnACPU effectively 3 Sections 16 to 18 These ...

Page 23: ...bbreviation of Control Communication Link 6 GPP function Abbreviations for the SW IVD GPPQ type GPP function software package GX Developer 7 Personal computer IBM s PC AT or completely compatible computers 8 Peripheral device capable of GPP functions Generic term for a peripheral device capable of running the GPP function software for example an IBM PC AT 9 Q6PU Abbreviation for Q6PU programming u...

Page 24: ...or basic instructions and application instructions b The access time for expansion data memory file registers R has been conformed with the internal devices of the QnACPU data registers D and link registers W c Reading writing of the buffer memories of special function modules dedicated to QnA serial communication modules have been realised processing speed up by six times compared to AnUCPU The p...

Page 25: ...e process to preset the program execution time for constant scan time or during the set execution time of the low speed execution program d Stand by type This type of program consists entirely of a subroutine program or interrupt program 4 The SFC language MELSAP3 has been supplied With enhancement of step attributes and SFC control instructions MELSAP3 makes SFC programming even easier 5 A softwa...

Page 26: ...dder is displayed with comments 3 Familiar operations can be performed with pull down menus and dialog boxes e The debugging function at start up has been perfected 1 Ladder modification while performing monitoring is possible 2 Coil ON OFF causes can be searched for 3 The timing for monitoring can be set using a step number or device status allowing debugging to be conducted under the optimum con...

Page 27: ... package The basic programs for accessing special function modules and standard programs for error detection alarm processing etc have been brought together as a package of macro and library data 3 Ladder sequence linking package This package is used to link multiple programs to make a single program This has an automatic allocation function that ensures that devices from each program without dupl...

Page 28: ...ip this item and the description of additional functions When using additional function special function module instructions of the QnACPU it is necessary to match the GPP function model and the function version version of the applicable special function module Refer to Table 2 1 Variety of local devices Refer to Section 2 2 1 1 Monitor test of local device Refer to Section 8 2 2 Use of local devi...

Page 29: ...r Version No restriction No restriction No restriction BC and later No restriction Local device monitor test Local device switching of subroutine interrupt program Auto refresh function of CC Link AJ61QBT11 control instructions MELSECNET 10 relay communication from Ethernet AJ71QE71 control instructions AD75 control instructions ID interface module instructions Compatibility with AJ71QC24N command...

Page 30: ...2IVD GPPQ type GPP function software package 2 Auto refresh setting of CC Link a When setting auto refresh of the CC Link on the peripheral function cyclic communication with other stations connected to the CC Link can be automatically performed according to the set auto refresh data Remote I O station Communication in ON OFF data Remote device station Communication in ON OFF data and Word data In...

Page 31: ...t module should be upgraded to B or later 4 AJ71QC24N compatible commands are possible a The following AJ71QC24N commands are available Multiple blocks batch read Command 0406 Multiple blocks batch write Command 1406 b Multiple blocks batch read batch write is available with AJ71QC24N R2 R4 Multiple blocks batch read batch write is not available with AJ71QC24 R2 R4 For commands of multiple blocks ...

Page 32: ...tand alone system 3 1 1 Equipment configuration in a stand alone system POINT 1 Up to two memory cards can be installed if required SRAM and E2 PROM memory cards allow file read write when mounted on the CPU module 2 When using an A5 B extension base unit pay particular attention to the power supply capacity of the main base unit In the case of I O modules and the special function module with a hi...

Page 33: ...eral device refer to the Operating Manual for each 2 QnACPU can connect a peripheral device capable of ACPU only when accessing an ACPU in another station via a MELSECNET 10 or MELSECNET data link However QnACPU cannot be accessed In this case set SW2 of system setting switch 2 on the CPU module ON 1 2 3 software package used To RS 422 interface AC30R4 PUS cable AC20R4 A8PU cable RS 422 cable RS 2...

Page 34: ...can be used 3 The overall distance of the extension cable must be 6 6m 21 65ft or shorter 4 When using the extension cable do not tie it with the main circuit cables which has high voltage large current or install them close to each other I O number assignment 1 I O numbers are allocated in accordance with the order of the numbers set for the extension base stages regardless of the order in which ...

Page 35: ...ers do not need to be sequential but any extension stage omitted from the system will occupy 8 slots 16 I O points 5 With regard to items 2 to 4 above the I O allocations can be changed by setting I O allocations in the parameters Refer to Section 5 3 Power supply module C P U 0 1 2 3 4 5 6 7 8 9 00 10 20 30 40 50 60 70 0F 1F 2F 3F 4F 5F 6F 7F 80 90 10 A0 11 12 13 14 15 F0 E0 D0 C0 FF EF DF CF BF ...

Page 36: ...ion stage numbers do not need to be sequential but any extension stage omitted from the system will occupy 8 slots 16 I O points 5 With regard to items 2 to 4 above the I O assignment can be changed by setting I O assignments in the parameters Refer to Section 5 3 Power supply module C P U 0 1 2 3 4 5 6 7 8 9 00 10 20 30 40 50 60 70 0F 1F 2F 3F 4F 5F 6F 7F 80 90 10 A0 11 12 13 14 15 F0 E0 D0 C0 FF...

Page 37: ...Including memory card current consumption Q2ACPU S1 Number of I O points 1024 built in RAM 60k steps 0 4 Q3ACPU Number of I O points 2048 built in RAM 92k steps 0 4 Q4ACPU Number of I O points 4096 built in RAM 124k steps 0 9 Memory card Q1MEM 64S SRAM 64k bytes For use with QnACPU only Q1MEM 128S SRAM 128k bytes Q1MEM 256S SRAM 256k bytes Q1MEM 512S SRAM 512k bytes Q1MEM 1MS SRAM 1M bytes Q1MEM 2...

Page 38: ... 055 AX50 S1 16 input 48VDC sink source input module 16 16 inputs 0 055 AX60 16 input 100 110 125VDC sink input module 16 16 inputs 0 055 AX60 S1 16 input 100 110 125VDC sink source input module 16 16 inputs 0 055 AX70 16 input input module for sensor 16 16 inputs 0 055 AX71 32 input input module for sensor 32 32 inputs 0 11 AX80 16 input 12 24VDC source input module 16 16 inputs 0 055 AX80E 16 in...

Page 39: ...tputs 0 115 0 15 AY13 32 point relay contact output module 2A 32 32 outputs 0 23 0 29 AY13E 32 point relay contact output module 32 32 outputs 0 23 0 29 AY13EU 32 output relay contact output module fused 32 32 outputs 0 23 0 29 AY15EU 24 point relay contact output module 2A CE compliant 32 32 outputs 0 15 0 22 AY22 16 point triac output module 2A fused 16 16 outputs 0 305 AY23 32 point triac outpu...

Page 40: ...t protection function 16 16 outputs 0 115 0 22 AY70 16 output CMOS 5 12VDC output module 16mA 16 16 outputs 0 10 12VDC 0 11 AY71 32 output CMOS 5 12VDC output module 16mA 32 32 outputs 0 20 12VDC 0 20 AY72 64 output CMOS 5 12VDC output module 16mA 64 64 outputs 0 30 12VDC 0 60 AY80 1 16 output 12 24 48VDC transistor output module 0 5A fused 16 16 outputs 0 115 0 12 AY81 1 32 output 12 24VDC transi...

Page 41: ...erpolation P3 3 axes Independent simultaneous 3 axes linear interpolation 2 axes circular interpolation 2 axes 32 special 32 points 0 7 AD75M2 AD75M3 Positioning detection module A61LS Absolute detection method Resolution One resolver revolution 4096 divisions Response speed within 6ms 48 0 8 A62LS S5 48 1 5 The resolution depends on the connected resolver A63LS 32 special 32 points 0 9 When setti...

Page 42: ... Multiplex module photo MOS relay Analog input 16 channels 16 empty 16 points 0 35 Temperature digital converter module A616TD For temperature detection by thermocouple when connected to A60MXT 0 to 10V 0 to 20mA when connected to A60MX R 32 special 32 points 1 0 A60MXT Multiplex module mercury relay Temperature input 15 channels Temperature detection by thermocouple when used in combination with ...

Page 43: ...each channel 1 second 2 seconds 4 seconds 8 seconds The total recording time is 64 seconds 16 special 16 points 0 6 0 38 Network module AJ71QLP21 For MELSECNET 10 optical loop networks compatible with SI cable 32 special 32 points 0 65 For Use with QnACPU Only Maximum 4 modules can be used for one CPU module Refer to Section 3 3 2 AJ71QLP21G For MELSECNET 10 optical loop network compatible with GI...

Page 44: ...each 32 special 32 points 0 3 For use with QnACPU only AJ71QC24 N R2 Link module that communicates data with a computer Transmission speed 300bps to 19 2kbps RS 232C 2 channels 32 special 32 points 0 2 AJ71QC24 N R4 Link module that communicates data with a computer Transmission speed 300bps to 19 2kbps RS 422 2 channels 32 special 32 points 0 38 Ethernet interface module AJ71QE71 B2 10BASE2 speci...

Page 45: ...sed for a local station in a multidrop link In A0J2CPU and A0J2HCPU systems A0J2C214 can also be used as the master station in computer links and multidrop data links 64 points 0 3 CC Link system master local module AJ61QBT11 For CC Link system master and local stations When used as the master station the module controls maximum 64 remote I O stations When a local station is used the module occupi...

Page 46: ... FMS interface module AJ71PB96F PROFIBUS FMS master client server module Total I O points 241241 points 32 special 32 points 0 54 MODBUS serial communication module AJ71UC24 R2 2 MODBUS serial communication module Transmission speed 300bps to 19200bps 32 special 32 points 1 4 PLC easier monitoring module AS91 PLC easier monitoring module 16 16 outputs 0 08 With simulation switch 16 points Dummy mo...

Page 47: ... 240 dots high intensity A956WGOT Medium size graphic operation terminal 256 colors TFT color 320 240 dots high intensity A953GOT Medium size graphic operation terminal 8 colors STN color 320 240 dots STN monochrome 320 240 dots 256 colors TFT color 320 240 dots high intensity With handheld type For RS 232C connected only A951GOT Medium size graphic operation terminal 8 colors STN color 320 240 do...

Page 48: ...es can be installed A35B 5 I O modules can be installed A32B 2 I O modules can be installed No connector for extension A32B S1 2 I O modules can be installed With connector for extension Extension base unit A68B 8 I O modules can be installed The power supply module is required A65B 5 I O modules can be installed A62B 2 I O modules can be installed A58B 8 I O modules can be installed A61P A61PN A6...

Page 49: ...51NM8 FGMA250V 8A Cartridge type 8A For AY22 HP 70K Plug type 7A For AY23 HP 32 Plug type 3 2A For AY50 AY80 MP 20 Plug type 2A For AY60 MP 32 Plug type 3 2A For AY60E MP 50 Plug type 5A For power supply GTH4 FGTA250V 4A SM250V 4A Cartridge type 4A For A63P SM6 3A FGTA250V 6A Cartridge type 6 3A Product Name Model Name Description Number of Occupied Points points I O Assignment Module Type Current...

Page 50: ...nector terminal block converter module AC05TB For 0 5m 1 64ft sink module A6TBXY36 A6TBXY54 A6TBX70 AC10TB For 1m 3 28ft sink module AC20TB For 2m 6 56ft sink module AC30TB For 3m 9 84ft sink module AC50TB For 5m 16 40ft sink module AC80TB For 8m 314 96inch sink module Common current 0 5A or less AC100TB For 10m 393 7inch sink module Common current 0 5A or less AC05TB E For 0 5m 1 64ft source modu...

Page 51: ...O modules 2 Peripheral device Contact TOA ELECTRIC INDUSTRIAL CO LTD Product Name Model Name Remark Programming unit Q6PU Connected to the CPU module by an RS 422 cable AC30R4 PUS AC20R4 A8PU for program writing and reading 5VDC 0 4A RS 422 cable AC30R4 PUS Cable for connection between CPU module and Q6PU 3m 9 84ft long AC20R4 A8PU Cable for connection between CPU module and Q6PU 2m 6 56ft long ...

Page 52: ...nly 1 module Link module Ethernet module Total 4 for network Ethernet use Total 2 for data link use Total 4 for network Ethernet and data link use 1 I O module Standard input modules and output modules 2 Special function module Special function modules that perform processing in accordance with FROM TO instructions from the QnACPU for example A68AD A62DA etc 3 Intelligent special function module S...

Page 53: ...e becomes M10 Device Access range Device range equivalent to the A3HCPU 1 Device range equivalent to the AnACPU 1 AD51 S3 AJ71C24 S3 AJ71P41 AD51H S3 AD51FD S3 AJ71C23 S3 AJ71C24 S6 S8 AJ71UC24 AJ71AP21 S3 2 AJ71AR21 2 AJ71AT21B 2 AJ71ME81 AJ71E71 S3 2 AJ71E71N 3 T AJ71E71N B5T B2 B5 Q2A Q2A S1 Q3A Q4A I O device X Y X Y0 to X Y7FF X Y0 to X Y7FF X Y0 to X Y1FF X Y0 to X Y3FF X Y0 to X Y7FF Intern...

Page 54: ...ons in other networks accessed through up to 7 relay stations by using the routing function g When accessing from intelligent communication module AD51H S3 to other station QnACPU on the network only Format 1 control table can be used Format 2 control table cannot be used Access to other network is not allowed on Format 1 control table h In QnACPU I O assignment set with the parameter cannot be va...

Page 55: ...a access unit A6TEL Modem interface unit A6GPP Intelligent GPP A6HGP Hand held graphic programmer A6PHP Plasma hand held graphic programmer System start up software package for ACPU SW GPPA SW SAP2 Utility software package for ACPU SW GPPATEL SW CADIF SW DRWA SW FUNP SW TSAP2 Peripheral Device Capable of GPP Functions Software Package for System Start up Personal computer GX Developer SW IVD GPPQ ...

Page 56: ...naged by QnACPU in the QnACPU Programming Manual Fundamentals Built in RAM Memory that stores parameters sequence programs etc Error history storage memory Memory that stores error history data Device memory Memory that stores device data Memory card RAM ROM area Memory that stores the files comments etc for parameters sequence programs sampling traces etc PLC memory Indicates all the memories of ...

Page 57: ...ps 0 15 s steps 0 075 s steps MOV 0 6 s steps 0 45 s steps 0 225 s steps Constant scan Function that makes the scan time constant 5ms to 2000ms Possible to set in 5ms units Possible to set in the parameters Memory capacity Capacity of the installed memory card Max 2036k bytes Program capacity Number of steps Max 28k steps Max 60k steps Max 92k steps Max 124k steps Number of files 28 files 60 files...

Page 58: ...he parameter Data register D Default 12288 points D0 to D12287 Link register W Default 8192 points W0 to W1FFF Annunciator F Default 2048 points F0 to F2047 Edge relay V Default 2048 points V0 to V2047 File register R 32768 points R0 to R32767 Up to 1042432 points can be used by block switching 1042432 points ZR0 to ZR1042431 Block switching is not necessary Special link relay SB Default 2048 poin...

Page 59: ...n the parameters Remote RUN PAUSE contact Possible to setup one contact point for each of RUN PAUSE from X0 to X1FFF Clock function Year month day hour minute second day of the week automatic detection of the leap year Accuracy 2 3 to 4 4s TYP 1 8s d at 0 Accuracy 1 1 to 4 4s TYP 2 2s d at 25 Accuracy 9 6 to 2 7s TYP 2 4s d at 55 Allowable momentary power failure period Depends on the power supply...

Page 60: ...s used in the sequence program to input data from a input module and to output data to an output module The I O number is expressed as three digit hexadecimal numbers The I O numbers when all the I O modules are occupied in 16 points are indicated below REMARK When programming with a peripheral device for GPP function I O numbers can be input in 2 digits I O numbers Input with a peripheral device ...

Page 61: ...o the number of I O points for each module 3 16 points are assigned to the empty slots where no I O module or special function module is mounted 4 If an extension base unit is connected its assignment starts from the number immediately after the number assigned to a main base unit The order of assignment for extension base units is not the order in which the extension base units are connected but ...

Page 62: ...17F 18 19 20 21 22 23 5 6 110 11F 100 10F 17 16 1A0 1AF 1B0 1BF 1C0 1CF 1D0 1DF 1E0 1EF 1F0 1FF 26 27 28 29 30 31 7 8 190 19F 180 18F 25 24 UNIT 1 2 3 4 5 6 7 1 2 3 4 5 6 7 Extension base unit Main base unit Extension base unit Stage number setting Extension cable UNIT 1 2 3 4 5 6 7 1 2 3 4 5 6 7 8 slots are occupied Equivalent of 8 slots occupied allocated as 8 slots The three slots from 21 to 23...

Page 63: ... number modification in a program since it enables to match with the I O numbers of the designed program and to change the I O numbers assigned to each module on the base unit per slot 2 The concept of I O assignment with GPP function The following two methods are available for I O assignment with GPP function 1 Set the number of points for the empty slots on a main base and extension base Points ...

Page 64: ... screen in the parameter mode A65B 9 0 1 2 3 4 5 6 7 X000 X01F X020 X02F X030 X04F Y050 Y05F Y060 Y06F Y070 Y08F A35B Y0F0 Y0B0 Y0BF Y10F 10 11 12 8 CPU module Power supply module Power supply module Y090 Y0AF Y0C0 Y0EF Allocate a number consecutive to the last I O number of the main base unit Three empty slots 48 points of the A35B are allocated as 0 point Output Output Output Output Output Input...

Page 65: ...o 16 characters Base specification Set data for each base unit Up to 16 characters No setting Power model name Set the model name of the power supply module Extension cable Set the model name of the extension cable Up to 16 characters Type and Points In accordance with the loaded module Start XY The number following the total points obtained by adding the number of points of the modules already se...

Page 66: ...in excess of the actual number of points is occupied with dummy points If the slot where an I O module is loaded is set as a empty slot the I O module will be unusable 3 The slots for which I O assignment is not performed using GPP function are assigned with the number of points of the loaded module 4 The slots for which I O assignment is not performed using GPP function are assigned I O numbers t...

Page 67: ...the I O for the I O hybrid module e g A42XY as an output module d When the MELSECNET 10 network is established assign the I O only for the host station master station Since the I O assignment of MELSECNET 10 to the remote I O station is irrelevant the I O assignment is not allowed For I O assignment of MELSECNET 10 to the remote I O station use the I O assignment settings in the Network parameter ...

Page 68: ...or 32 points When the A35B is used there are three empty slots When setting the assignment for these to 0 points in order to increase the number of I O points that can be used by the CPU module When reserving 32 I O points for a current empty slot to which a 32 point input module is loaded later in order to prevent the I O number assignment change To achieve these operations perform I O assignment...

Page 69: ...5 10 5 I O NUMBER ASSIGNMENT b I O numbers when I O assignment is performed using GPP function 1 I O Allocation example The example of I O assignment with GPP function ...

Page 70: ... 2 Since 32 points is set the points from 40 to 4F is occupied with dummy points 3 Since Empty S 16 points is set the points cannot be used for outputs 4 Since Empty S 0 points is set the number of I O points for the three slots are not lost 5 Since input S 32 points is set there are 32 input points 6 Since 48 points are set E0 to EF is occupied with dummy points ...

Page 71: ...umbers before the replacement b I O numbers when I O Allocation is performed using GPP function 1 I O Allocation example The example of I O assignment with GPP function CPU module Power supply module Input 16 points 16 points 16 points 16 Output 16 points 16 0 1 2 3 4 5 6 7 X10 X20 X30 Y40 Y50 X1F X2F X3F Y4F Y5F X00 X0F These I O numbers are not to be changed This module is to be replaced by a 32...

Page 72: ...rs of the module for which the change was made and the subsequent modules In the example above since 20 is set for the Start XY for the second slot consecutive I O numbers starting from X30 are set for slot 3 and later CPU module Power supply module Input 16 points 32 16 16 Output 16 16 X80 X20 X30 Y40 Y50 X9F X2F X3F Y4F Y5F X00 X0F 16 16 Y60 Y6F Y70 Y7F A38B 0 1 2 3 4 5 6 7 Input Input Input poi...

Page 73: ...the machine I O numbers X0 to X3F Y40 to Y7F and machine I O numbers X200 to X23F and Y240 to Y27F with a single PLC it is desired to combine input modules and output modules on the base unit To achieve this operation perform I O assignment as follows a Loading status and I O numbers to be set b The example of I O Allocation with GPP function A B ...

Page 74: ...ed by the QnACPU For example analog quantity is converted to a digital value by an analog digital converter module which is a special function module so that they can be used by the QnACPU The special function module has buffer memory in which data input from external sources and data to be output to external destinations are stored The folloiwng two methods are available for reading data from a s...

Page 75: ...in the specified device is written to the buffer memory REMARK 1 For details on the FROM TO instructions refer to the QCPU Q mode QnACPU Programming Manual Common Instructions 2 For details on the buffer memory of a special function module refer to the manual of the special function module in use Data communications with a special function module POINT When executing the FROM TO instruction for th...

Page 76: ...QnACPU Programming Manual Fundamentals The special direct device differs from the FROM TO instruction in that the CPU module can handle the buffer memory of a special function module as a direct device This can reduce the total number of steps in the program However the instruction processing speed is the same with the FROM TO instruction Example U10 G10 U10 G10 Indicates the head I O No 100 of th...

Page 77: ... instruction This is because programming scan interval is added due to an access processing to the special function module for each instruction 2 When executing the instruction using a special direct device for the special function module frequently in short scan time it may cause the target special function module operation error When performing the instruction using a special direct device match...

Page 78: ... at the END processing The QnACPU can process all the data communication requests received in one scan with one END processing according to the parameter settings In this case the data lag to each module is eliminated but the END processing is extended by the data communications request processing Data communications request batch processing is set in the 6 General Data Processing on the PC system...

Page 79: ... the buffer memory area for the batch refresh send received data of the type AJ71PT32 S3 MELSECNET MINI S3 master module abbreviated as the MINI master module hereafter The settings are made on the MELSECNET MINI setting in the parameter mode of GPP function Sequence programs can be created using the I O devices allocated to send received by the MELSECNET MINI S3 setting The FROM TO instructions a...

Page 80: ...ch after the QnACPU performs the END instruction Auto refresh processing is performed when the CPU module is in the RUN PAUSE STEP RUN status 5 The master module may perform the processing while the link communication start signal Y n 18 or Y n 28 is OFF depending on the remote terminal units connected For instance if the AJ35PTF R2 RS 232C interface unit is used without protocol it is necessary t...

Page 81: ...umber of the device The total number of remote I O stations set starting from the first device number is occupied as a auto refresh area 8 points station 64 stations 512 points Bit device 2 Use of X Y remote I O range is recommended for devices X1000 to X11FF 10 to 41 Send data storage device Y M L B T ST C D W R ZR none Bit device multiples of 16 Y1000 to Y11FF 1 Number of retries 0 to 32 times S...

Page 82: ...N OFF data from the input module and the ON OFF data from auto refresh of MELSECNET MINI S3 Therefore input X of the CPU module is not operated as desired 100 to 103 195 Faulty station detection M L B T ST C D W R ZR none Bit device multiples of 16 Sets the head device to store the faulty stations detected data MINI occupies 4 words MINI S3 occupies 5 words No setting 107 196 to 203 Error No T ST ...

Page 83: ...received data storage devices is explained using the system example shown below Example When the device X Y400 and later are used as the remote I O stations Sample parameter setting of the GPP function for the above system configuration is shown below ...

Page 84: ...dules connected are as follows With respect to X440 to X45F they are simultaneously refreshed and set to OFF at any time Do not use X440 to X45F in the sequence program Stations 1 to 4 AX41C X400 to X41F Stations 5 and 6 AJ35TB 16D X420 to X42F Stations 7 and 8 AX40Y50C X430 to X43F Used by the system CPU module X40F X41F X42F X43F X44F X45F X408 X418 X428 X438 X448 X458 X407 X417 X427 X437 X447 X...

Page 85: ...e send data storage devices and received data storage devices make sure that there is no duplication of device numbers When the received data storage device is set to B0 in the system configuration example it occupies B0 to B5F as the device range Set the send data storage device to B60 or later When the send data storage device is set to B60 the device range will be B60 to BBF 2 If a bit device i...

Page 86: ...ing on the remote station connected Remote I O station Communication in ON OFF data Remote device station Communication in ON OFF data and Word data Intelligent device station Communication in ON OFF data and Word data Master station local station Communication in ON OFF data and Word data The auto refresh setting of the CC Link allows communication with other stations of CC Link using the FROM TO...

Page 87: ...ed number of stations Total number of stations are obtained to refresh all areas The input module area is also refreshed The settings are made in units of 16 points X M L B T ST C D W R ZR Receiving data batch refresh word device Remote device RWr The device that stores the batch refresh received data from the remote station is set When the head device number is set the points corresponding to the...

Page 88: ...f a transient transmission error is set 1 to 7 Number of automatic return stations The number of automatic return stations is set to one link scan 1 to 10 Operation specification for CPU stop When the CPU module has stopped continuation stop of the data link is set Stop Continue Scan mode setting Synchronization Non synchronization is set to the CPU module scan Non synchronization Synchronization ...

Page 89: ...edicated network instruction does not exist appears e Refresh operation for the mixture of MELSECNET 10 II and MELSECNET MINI S3 Refresh is performed in the order of MELSECNET 10 II CC Link and MELSECNET MINI S3 Therefore the input data specifying the same range is afterward overwritten with the executed data The output data is output to the MELSECNET 10 II CC Link and MELSECNET MINI S3 f The oper...

Page 90: ...rocedures a When the CC Link is selected in the Parameter the CC Link setting screen appears b Set the number of the CC Link modules loaded on the main base unit and extension base unit for the QnACPU and selct Execute then the screen of CC Link setting list appears Pressing the key registers the set data Esc ...

Page 91: ...ting I O No Auxiliary setting 2 Module type 1 M Master station 5 Station information setting 2 L Local station 3 Batch refresh device Remote input RX Device Remote output RY Device Remote register RWr Device Remote register RWw Device Special link relay SB Device Special link register SW Device Execute Y Cancel N Label name I O number setting of the CC Link module for the specified module number R...

Page 92: ...ormation setting screen appears When pressing the key the screen returns to the CC Link setting screen of c Esc Esc Station information setting Spase Select Esc Close Label name Station No Station type Number of occupied stations Intelligent buffer specification word Send Receive Auto 1 2 3 4 5 6 7 8 9 10 11 12 I O I O I O I O I O I O I O I O I O I O I O I O 1 Set the number of stations specified ...

Page 93: ...function 1 Function that continually collects the data of devices in accordance with a timing set at the CPU module Section 8 5 Status latch function 1 Function that collects the device data at the moment to designate Section 8 6 Step operation Functions that runs one step or one part of a program runs a program with a part skipped Section 8 7 Step execution Function that runs a program step by st...

Page 94: ...stop condition setup in accordance with a precise timing When monitoring the CPU module marked Function version B using a peripheral device capable of GPP function local device monitor test is executed by setting local device monitor 8 2 1 Monitoring condition setting 1 This function allows setting of the monitoring condition All operations are performed using Monitor test menu in the ladder mode ...

Page 95: ...ection timing is the moment when a QnACPU shows designated status immediately before executing the designated step The following shows the possible designations to execute When switching from OFF to ON When switching from ON to OFF All the time only during ON ON All the time only during OFF OFF All the time in any statuses Always ...

Page 96: ... specified word device becomes the specified value The following shows the method for designating the current value Decimal designation K Hexadecimal designation H When 2 Bit Device is designated The collection timing of the monitor data is the scan END processing when the execution status of the specified bit device becomes the specified status The following shows the possible designations for ex...

Page 97: ...lows Step 100 Word device D1 K5 The monitor timing is shown below However the monitoring interval at a peripheral device capable of GPP functions depends on the processing speed of that peripheral device Even if data changes occur faster than the monitor interval data can be collected only once during the interval ...

Page 98: ...d for a monitor condition the monitor data collection timing is such that data is collected when the status immediately before execution of the step designated from the LD instruction in the block becomes the designated status 2 If the ladder block head other than 0 step is specified to the step number as detailed conditions the monitor data is collected when the instruction execution status immed...

Page 99: ...is pressed b When 2 Condition is set 1 Device and 2 Calculation State can be set 1 When 2 Calculation State is set The monitor stop timing is such that monitoring stops when the execution condition of the step designated for the monitor condition attains the designated status The following shows the possible designations for execution status If 2 Calculation State isn t set the timing for monitor ...

Page 100: ...ted value The following shows the method for designating the current value For decimal word designation K For hexadecimal word designation H For decimal double word designation K L For hexadecimal double word designation H L For real number designation E When 2 Bit Device is designated The monitor stop timing is such that monitoring stops when the execution status of the designated bit device beco...

Page 101: ...ws an example of this type of monitoring 5 The devices of special function modules can be monitored The following shows an example of this type of monitoring REMARK To monitor devices of special function modules set 2 Buffer Memory 1 Monitor for 5 Monitor Target Setting under the ladder mode Option menu ...

Page 102: ...espect to the devices listed above Digit designation for bit devices Bit number designation for word devices a Bit devices X FX DX Y FY DY M L F SM V B SB T Contact T Coil ST Contact ST Coil C Contact C Coil J X J Y J B J SB BL S b Word device T Current value ST Current value C Current value D SD FD W SW R Z ZR U G J W J SW a Bit device X FX Y FY M L F SM V B SB T Contact ST Contact C Contact J X ...

Page 103: ...IVD GPPQ are used the local device can be monitored with the same operation as the operation without function version B 6 When monitoring the buffer memory of a special function module the scan time is prolonged in the same way as it is when a FROM TO instruction is executed 7 Several people can perform monitoring at the same time The following considerations apply when executing this High speed m...

Page 104: ...am B with the CPU module which is executing programs A B and C 1 Peripheral device To perform monitor test of the local devices the following GPP function software packages are required Personal computer GX Developer SW2IVD GPPQ type GPP function software package X0 MOVP K2 D0 X1 MOVP K3 D9 X10 MOVP K4 D0 X11 MOVP K8 D9 X20 MOVP K3 D0 X21 MOVP K6 D9 EX Execution of program A B C Program A Program ...

Page 105: ...heral devices Display the ladder in the ladder mode Change a mode to a monitor mode Press the ALT GRPH key Select 6 Monitor test Select H Local device compatibility setting Set the local device compatibility to Execute Monitor the local device of the displayed program Display the local device setting screen Display the ALT GRPH menu Set the local device monitor ...

Page 106: ...am is monitored the local device data is read escape The scan time is extended as follows Table 8 1 Operation for CPU module and GPPQ function versions GPPQ Model Name Monitor Device With Function Version B Without Function Version B D0 D100 D0 D100 SW0 GPPQ SW1 GPPQ D0 of program C is monitored D100 after execution of program C is monitored D0 of program C is monitored D100 after execution of pro...

Page 107: ...e of GPP functions with respect to one file In order for this designate the pointer for the programs to be written from the peripheral devices capable of GPP functions in advance This enables write safely during RUN using peripheral devices capable of GPP functions CAUTION Read the manual carefully and confirm safety before changing the program during operation An operation error of write during r...

Page 108: ...RUN 2 It is possible to write programs from peripheral devices capable of GPP functions that are connected to other stations in the network during the RUN AJ71QC24N P1 END X0 X2 X1 P0 SET M10 P1 END P0 SET M10 Y30 Y30 X3 X4 X5 X3 X4 X5 X0 X2 X1 The machining program from P0 onward is obtained by write during RUN The machining program from P1 onward is obtained by write during RUN Peripheral device...

Page 109: ...g relative RUN with pointer is selected NOTE The following shows the precautions relating to write during RUN 1 The only memory that can be used for write during RUN is the built in RAM If write during RUN is performed during a boot operation also write the program to the memory card at STOP When the boot operation is started again without write on the memory card the program before write during R...

Page 110: ...peed execution type program 4 Write during RUN execution of low speed execution type program POINT Write during RUN cannot be performed on the program in step operation 1 scan 1 scan 1 scan 1 scan 1 2 3 4 Scan execution type program step 0 to END Scan execution type program step 0 to END Scan execution type program step 0 to END Scan execution type program step 0 to END Low speed execution type pr...

Page 111: ...three functions For explanations of each function refer to Section 8 4 1 through Section 8 4 3 Program monitor list Interrupt program monitor list Scan time measurement 8 4 1 Program monitor list This is a function that displays the processing time of the program being executed The scan time execution count and processing time for each item can be displayed for each program All operations are perf...

Page 112: ...exceeds the time displayed here a watchdog timer error occurs at the CPU module 2 Max Scan The total time for the items listed under Time Details Scan is displayed here b Time Details Scan The scan time details are displayed here 1 Program The total execution time of scan execution type programs is displayed here 2 END Proc Time The END processing time is displayed here 3 Slow Prog When an executi...

Page 113: ... program of the stand by program is performed in the subroutine call interrupt request the number of the stand by program is not counted 3 Both start and stop of the program can be performed on Program monitor list screen a Start of program Either Scan execution or Low speed execution can be set for the stand by program When the key is pressed the window below is displayed b Stop of program 1 When...

Page 114: ...Batch Monitor 2 Select Interrupt Program List Monitor The following shows an example of the display when the interrupt program monitor list function is run The following shows an explanation of the screen above a Ex Times The number of times the program has been executed taking the point when monitoring started as 0 in the count is displayed here When reaching the maximum times of 65536 the count ...

Page 115: ... time of section of the program in a program file The function can also be used to measure times within subroutine programs and interrupt programs If there is an interrupt program in the monitored section the processing is added to the total measurement time All operations are performed using Monitor test menu in the ladder mode 1 Select Measure Scan Function Description ...

Page 116: ...ent results are displayed NOTE 1 Make sure that the start step is lower than the end step in the setting 2 Times that span different program files cannot be measured 3 If the measured time is less than 0 100ms 0 000ms is displayed 4 END processing time is not included in the measuring time being included in the measurement range ...

Page 117: ...ion samples the contents of a designated device in a constant time interval the sampling cycle and stores the trace results in a sampling trace file in a memory card b The devices that can be traced are listed below POINT When executing the sampling trace function a memory card is required 1 Bit device X FX DX Y FY DY M L F SM V B SB T Contact T Coil ST Contact ST Coil C Contact C Coil J X J Y J B...

Page 118: ...ng trace operation Memory card 1 2 3 4 5 6 n 1 n 1 2 3 4 5 6 n 1 n Reading to peripheral device When n data has been stored the existing data is overwritten starting from the 1st data area When the trigger point is executed sampling is performed for the designated number of times and then the data of the sampling trace area is latched Peripheral device capable of GPP functions Sampling trace area ...

Page 119: ...ION 2 Basic operation The basic operation for sampling trace is shown below The statuses during execution of the sampling trace function can be confirmed by monitoring special relays SM800 to SM805 and SM826 Trace execution ...

Page 120: ...e trace The following shows the operation at error occurrence When an error occurs during sampling trace SM826 sampling trace error comes ON and at the same time SM801 sampling trace start goes OFF Start the trace again for turning OFF SM826 ...

Page 121: ...e These operations are performed on the Sampling Trace screen of the trace menu in the online mode 1 Set the trace devices and trace conditions with GPP function a Setting the trace devices Set the devices at Trace Device Setting on the Sampling Trace screen Operation Procedures ...

Page 122: ...ION b Setting the trace conditions Set the trace conditions at Trace Device Setting on the Sampling Trace screen Sampling the designated number of times count after trigger leads completion after the trigger point execution ...

Page 123: ...wing shows the setting device under the detailed condition The following qualifications are possible with respect to the devices listed above Digit designation for bit devices Bit number designation for word devices Every END Data collected at END instruction of every scan Every Interval Data collected with each designated time Setting range is 5 to 5000ms in 5ms units Specify Detail Condition Set...

Page 124: ...file to the memory card by using 9 Write to PC Condition on the Sampling Trace screen Since file names are used when writing to the memory card multiple trace files can be written At Instruction Execution When executing STRA instruction At Request of PDT When operating trigger using GPP functions Specify Detail Condition Set a device and step number The following shows setting examples The details...

Page 125: ...g b Sampling Trace Data Select one of the following 1 Register Start The trace is registered and started The trace count is started 2 Suspension The trace is suspended The trace count and the count are cleared after the trigger To restart the trace select Register Start again 3 Display Status The trace statuses are displayed on the same screen 4 Trigger Execution The count is started after the tri...

Page 126: ...h the QnACPU sampling trace can be executed from only one site at a time 3 Since the trace condition registered in the CPU module is latched the condition data is retained even when the PLC power is turned OFF The data can be cleared by performing a latch clear operation using the RUN STOP key switch on the QnACPU 4 The QnACPU must be connected to the peripheral device capable of GPP functions in ...

Page 127: ...he status latch file stores the status latch condition and status latch execution data for status latch execution Saving the device statuses can be executed in the following case When executing SLT instruction in a program When specifying a status latch start at GPP functions When the conditions of the set devices and step Nos are met c The status latch results show the bit device ON OFF statuses ...

Page 128: ... of the status latch function can be checked by monitoring special relays SM806 to SM809 and SM827 3 The following shows the operation at error occurrence When an error occurs during status latch SM827 comes ON and at the same time SM808 completed is turned ON To turn SM827 OFF either turn SM809 ON or execute the SLTR instruction ...

Page 129: ...g a Status Latch Device Setting Set the devices to execute the status latch Select one of the following Applicable devices REMARK Up to 1000 device ranges can be set including both bit devices and word devices The devices listed above cannot be qualified 1 All Internal Dev Whether or not QnACPU latches all built in devices is set 2 Specify Detail Range The device types and numbers of points are se...

Page 130: ...g to the memory card multiple status latch files can be written 1 At Instruction Execution When executing SLT instruction 2 At Request of PDT When operating trigger using the peripheral devices capable of GPP function 3 Specify Detail Condition Set a device and step number The following shows setting examples The details on how to make the settings and trigger execution timing are the same as desc...

Page 131: ... one of the following 1 Register Start The status latch is registered and started Device data collection is started 2 Suspension The status latch statuses are cleared 3 Display Status The status latch statuses are displayed on the same screen 4 Trigger execution The trigger is executed Refer to Precaution 6 1 Select From List Data from among the status latch files in the memory card are selected 2...

Page 132: ... a time 3 Since the status latch conditions registered in the CPU module are latched the status latch data is retained even when the power is turned OFF The data can be cleared by performing a latch clear operation using the RUN STOP key switch on the QnACPU 4 Status latch is performed by connecting the QnACPU with the peripheral devices capable of GPP function 5 When the monitor destination is se...

Page 133: ...used to determine the causes of faults during debugging This function can only be used when the CPU module is set to STEP RUN The step operation function provides the following three functions For explanations of each function refer to Section 8 7 1 through Section 8 7 3 Step execution Partial execution Skip execution Application Function Description ...

Page 134: ... Instructions are executed one for each step starting from the step where program operation is stopped Program operation is stopped again after execution of each instruction This method is used to confirm the status of each devices after execution of one instruction 2 Step execution with designated loop count Program execution is repeated for the designated loop count range 1 to 32767 beginning wi...

Page 135: ...3 8 DEBUGGING FUNCTION The following shows the procedures to perform step execution All operations are performed on Monitor test screen in the ladder mode debugging 1 Select B Step Run Operation Procedures ...

Page 136: ...ws the procedures to perform partial execution All operations are performed on Monitor test screen in the ladder mode debugging 1 Designate the execution start step break condition and execution operation with GPP function a Setting the execution start step Designate the step at which partial execution is started at 1 Partial Run on the Partial Run screen Fig 8 4 Partial execution Operation Proced...

Page 137: ...Break Cond on the Partial Run screen The following shows the devices that can be set 1 Bit device X FX DX Y FY DY M L F SM V B SB T Contact T Coil ST Contact ST Coil C Contact C Coil J X J Y J B J SB BL S 2 Word device T Current value ST Current value C Current value D SD FD W SW R Z ZR U G J W J SW ...

Page 138: ...n Scan time Designates whether QnACPU executes the scan time by the actual time or by the designated time Default designated time 10ms Interrupt status Designates whether or not interrupts are prohibited during execution Default Inhibit Refresh Designates whether QnACPU executes I O refresh whenever program execution is stopped due to satisfaction of a condition or executes only at END processing ...

Page 139: ...he designated step s skipped The following shows the procedures to perform skip execution All operations are performed on Monitor test screen in the ladder mode debugging 1 Set the program range to be skipped using GPP function Designate the step number s to be skipped on D Skip Run screen Fig 8 5 Skip execution Operation Procedures ...

Page 140: ...program trace file stores the trace condition data and trace execution data to execute a program trace After a trace is started in a peripheral device capable of GPP functions it is continued until the set number of traces is completed d The trace results show the program name step No device status etc for each trace No POINT When executing the program trace function a memory card is required 1 Bi...

Page 141: ...ic operation The following shows the basic operation for program trace The statuses during execution of the program trace function can be confirmed by monitoring special relays SM810 to SM815 and SM828 Without suspension of the trace ...

Page 142: ... following shows an operation at error occurrence When an error occurs during program trace SM828 program trace error comes ON and at the same time SM811 program trace start goes OFF To turn SM828 OFF either turn SM811 ON or execute the PTRA instruction ...

Page 143: ...rogram Trace screen of the trace menu in the online mode Perform these operations with the CPU module setting to the STEP RUN Refer to Section 8 7 1 Set the trace devices and trace conditions with GPP function a Setting the trace devices Set the devices at Trace Device Setting on the Program Trace screen Operation Procedures ...

Page 144: ...s executed from the trace start to the trace end For the count after the trigger set the number of program traces executed from execution of the trigger to the trace end The following shows the formula that sets range for these counts 2 Trace Point Set the point at which the trace is to be executed Select one or multiple item s of the following Count after trigger total count 8192 Branch Instructi...

Page 145: ...f PDI When operating trigger using the peripheral devices capable of GPP function Specify Detail Condition Set a device and step number The following shows setting examples The details on how to make the settings and trigger execution timing are the same as described in Section 8 2 Monitor condition setup in Monitor function Bit device X FX Y FY M L F SM V B SB T Contact ST Contact C Contact J X J...

Page 146: ...ination Set the drive number and file name at 1 Execute Trace Display Status on Program Trace screen b Write the trace file to the memory card Write the trace file to the memory card by using 9 Write to PC Condition on Program Trace screen Since file names are used when writing to the memory card multiple trace files can be written ...

Page 147: ... is started The trace count is started 2 Suspension The trace is suspended The trace count and the count are cleared after the trigger To restart the trace select Register Start again 3 Display Status The trace statuses are displayed on the same screen 4 Trigger Execution The count is started after the trigger The trace is ended on reaching the designated count after the trigger 1 Select From List...

Page 148: ...n the RAM area of the memory card 3 It is possible to execute program trace from another station in the network or from a serial communication module However sampling trace cannot be executed from more than one site at the same time With the QnACPU sampling trace can be executed from only one site at a time 4 The program trace is performed by connecting the QnACPU with the peripheral device capabl...

Page 149: ...modules 1 When the program is executed data chaneges from to external sources are isolated by setting so that data refreshes for input output modules are not executed 2 Isolation from special function module operations is achieved by setting Ignore or Depend on Simulation Data File with respect to the buffer memory of the special function module POINT When the link memory and the buffer memory are...

Page 150: ...onitor for 2 Buffer Memory Link Memory Switch to the debug mode Switch to STEP RUN Select E Simulation in the Monitor test menu Select 3 Depend on Simulation Data File for 3 Link Memory Buffer Memory and set the drive name to be used and file name Select 9 Device Test from the Monitor test menu and set the device status The operation results are stored in the memory card Data read and written to t...

Page 151: ...ng Item Setting Option Description Input Refresh Yes No Select whether inputs from external sources are input to the CPU module or not Output Refresh Yes No Select whether the operation results in the CPU module are output to external destinations or not Link Memory Buffer Memory Access Unit Ignore Depend on Simulation Data File Select the method of accessing each module ...

Page 152: ...r simulation cannot be executed from several sites at the same time With the QnACPU sampling trace can only be executed from one site at a time 4 Simulation is performed by connecting the QnACPU and the peripheral devices capable of GPP function 5 Note the following points when executing simulation If direct inputs DX and direct outputs DY are used to handle inputs outputs directly the device memo...

Page 153: ...from host Debug function from other stations Monitor Write during RUN Execution Time Measurement Sampling Trace Program Trace Status Latch Step Operation Simulation Monitor Write during RUN Execution time measurement Sampling trace Program trace Status latch Step operation Simulation Simultaneous execution possible However the detailed condition setting at only one peripheral device capable of GPP...

Page 154: ...on is no more than 1k step Accordingly a maximum of 15 monitor files can be set Since the built in RAM program file area is in the same area as the monitor file for other stations the program file area is reduced for the area of the other station monitor file 2 After setting the built in RAM is formatted NOTE 1 The detailed conditions for monitoring can be set from one site only 2 Monitoring from ...

Page 155: ... Setting in 8 Option menu of the ladder mode 4 Write During RUN Setting and 7 Write Method at Write During RUN are set The following shows setting examples a Set 1 Write into PC during Run state for 4 Write During Run Setting b Select 1 Normal or 2 Relatively using Pointer for 7 Write Method at Write During Run If more than one person is to perform a write during RUN operation with respect to the ...

Page 156: ...rom P1 The program enclosed in the frame is the program subject to write during RUN NOTE Refer to Section 8 3 P1 END X0 X2 X1 P0 SET M10 P1 END P0 SET M10 Y30 Y30 X3 X4 X5 X3 X4 X5 X0 X2 X1 Writes P0 or later in the machining program in RUN Peripheral device A capable of GPP functions Peripheral device B capable of GPP functions Serial communication module AJ71QC24N Writes P1 or later in the machi...

Page 157: ...Function that sets whether reading writing is enabled or disabled for QnACPU files Section 9 5 Keyword registration Function that disables GPP function operations with respect to the CPU module Section 9 6 Online I O module change Function that allows replacement of I O modules while the CPU module is in the RUN status Section 9 7 System display Function that allows monitoring of the system config...

Page 158: ... watchdog timer does not give time out WDT times out when the END instruction is not executed within the value set for the watchdog timer due to a QnACPU hardware error or an excessively long sequence program scan time REMARK Scan time is the time taken for the execution of the sequence program starting from step 0 and ending at step 0 The scan time is not the same in every scan it differs accordi...

Page 159: ...utputs are turned OFF b The RUN LED on the front of the CPU module goes off and the ERROR LED flickers c SM1 turns ON and the error code is stored in SD0 REMARK The watchdog timer can be reset by a WDT instruction in the sequence program However the scan time value is not reset and scan time is measured up to the END instruction POINT An error occurs within 0ms to 10ms in the measured time for wat...

Page 160: ...an error is detected by self diagnosis CPU module operation complies with one of the following two modes Mode in which PLC operation is stopped When an error is detected operation is stopped immediately and all outputs Y are turned OFF Mode in which PLC operation is continued When an error is detected only the program part affected by the error is not executed the rest of the program is executed I...

Page 161: ...The default for all of these in the parameter settings is Yes If No is set for error check error detection is not performed for these items which shortens the processing time for the END instruction Even if Yes for error check is set in the parameter 1 thorugh 3 above error check can be canceled by turning on the special relay SM1084 However if No is set in the parameter turning off SM1084 is inef...

Page 162: ...Continue ON OFF AC DOWN Low battery Always Default check executed 3 Continue ON OFF BATTERY ERROR Handling error I O module verification Default stop 1 When executing END instruction Default check executed 2 Stop Continue OFF ON Flickering ON UNIT VERIFY ERR Special function module allocation error When power is ON or RESET When switching from STOP to RUN Stop OFF Flickers SP UNIT LAY ERR Special ...

Page 163: ...errupt program error When executing each instruction Stop OFF Flickers CAN T EXECUTE I Unable to execute instruction When executing each instruction Stop OFF Flickers INST FORMAT ERR Extended instruction error Default stop 1 When executing each instruction Stop Continue OFF ON Flickering ON EXTEND INST ERR SFC program configuration error When switching from STOP to RUN Stop OFF Flickers SFCP CODE ...

Page 164: ...s 9 3 2 LED indication due to an error In the case of an error occurrence the LED LED indicator on the front face of the CPU module gives a visual indication For details on the operation of the LED refer to Section 9 9 POINT Interrupt pointers I32 to I39 are prohibited for execution when the PLC power is ON or when the CPU module is reset To use I32 to I39 make the execution allowed with IMASK ins...

Page 165: ...t with the error reset the special relay and special register relating to the error and the LED LED indicator return to their status before error occurrence If the same error occurs again after the error reset it is recorded in the error history again To reset multiple detected annunciators only the first detected F number is reset POINT When an error is reset by storing its error code in SD50 the...

Page 166: ...h the number of error records set in the parameters is installed d The following shows the storage area for the error history file 1 When the number of errors that can be stored is exceeded the oldest error record is cleared and the newest one stored in the same place 2 Clearing the error history The error history is cleared by using the error history clear function in the PLC menu in the PLC diag...

Page 167: ...5 2 Always Valid for devices Memory card units All files Establishes write protect for the memory card and prohibits writing Turn ON the memory card s write protect switch Refer to Section 18 5 Always Drive units Parameter program Registers entry codes for the following settings in relation to a specific drive Example Built in RAM 1 Prohibiting read write display 2 Prohibiting writing Register pas...

Page 168: ...ion The following shows an explanation of each item in the screen a Password When a password is registered in the CPU module input the registered password so that file operations are executed When an incorrect password is input file operations are not performed b Operation 1 Change Register a new password in the CPU module Or if the password matches change the password Read Write and Display Prote...

Page 169: ...ing attributes for each file 2 The keyword registered in the CPU module cannot be read from the CPU module If you forget the password CPU module file operations will be impossible Keep a record of the password e g on paper and store it in a safe place 3 When a keyword is registered memory for 1 file is occupied When a keyword is registered in the built in RAM 4k bytes are occupied ...

Page 170: ... program 2 Replacement method The following two methods can be used to replace an I O module during online a Use Connect Unit in the PLC menu in the GPP function PLC diagnostics mode b Use special relays special registers 3 Procedure when using GPP function a Designate the I O module to be replaced with Connect Unit of the PLC menu in the PLC diagnostics mode b Replace the designated I O module CA...

Page 171: ...atus The sequence program shown above can be written from GPP function in the RUN status 1 Turn ON the input condition and set the number of the I O module to be replaced in SD251 and turn ON SM251 2 Confirm that output Y has come ON first and replace the designated I O module 3 Turn OFF the input condition and turn OFF SM251 This starts operation of the module after replacement A designated I O m...

Page 172: ... a Type b No of Occupied Points c Head X Y number 2 The following module information set in the parameters a Type b No of Occupied Points c Type Name 3 The following information relating to the CPU module a Status of the RUN STOP key switch b Status of the system setting switches c LED statuses These items can be checked using the detail HELP display and CPU module panel items in the display menu ...

Page 173: ...in the STOP status To light either turn the RUN STOP key switch RUN STOP RUN or reset operation using the RUN STOP key switch ERROR Indicates the CPU module error detection status ON OFF Flickering A self diagnostics error that does not stop operation other than a battery error has been detected The operation mode at error occurrence has been set to Resume in PC RAS setting in the parameter mode N...

Page 174: ... order of priority the LED does not light even if the error corresponding to that error item number occurs For details on the setting method refer to the POINT in Section 9 9 2 Method for Turning OFF the LED LED Name ERROR USER BAT ALARM BOOT Resolve the cause of the error then execute the LEDR instruction Eliminate the cause of the error then reset the error using special relay SM50 and special r...

Page 175: ...ring and comment displays in accordance with LED instructions 5 Clock data If several errors occurred at a time the indication conforms to the following conditions 1 Stop error is indicated unconditionally 2 Operation continue error are indicated in accordance with error item numbers in an order of priority set by default Priorities can be changed set with special registers SD207 to SD209 3 If sev...

Page 176: ...ROR SFCP EXE ERROR Operation error Link parameter error SFC instruction operation error SFC program execution error 4 4 ICM OPE ERROR FILE OPE ERROR EXTEND INST ERROR Memory card operation error File access error Extended instruction error 5 5 PRG TIME OVER Constant scan setting time over error Low speed execution monitoring timeout 6 6 CHK instruction 7 7 Annunciators 1 8 8 LED instruction 9 9 BA...

Page 177: ...D to remain OFF and the LED indicator to remain blank when a fuse blown error occurs set 0 in the item number setting area whose item number is 2 Since the item number 2 is not set the ERROR LED and the LED indicator remains OFF even if a fuse blown error is detected The ERROR LED and the LED indicator also remain OFF even if another error whose error item number is 2 is detected I O module verify...

Page 178: ... operation Operates the QnACPU from a remote place Section 10 6 Remote RUN STOP Starts or stops the CPU module operation Section 10 6 1 Remote STEP RUN Performs a step operation to the CPU module Section 10 6 2 Remote PAUSE Suspends the CPU module operation Section 10 6 3 Remote RESET Resets the CPU module Section 10 6 4 Remote latch clear Clears the CPU module latch data Section 10 6 5 Relationsh...

Page 179: ...atedly performed while maintaining constant scan time When the low speed execution type program is used either this constant scan function or a low speed program execution time has to be set For details refer to the QnACPU Programming Manual Fundamentals Scan time when the constant scan is not used Scan time when the constant scan time is set to 70ms Scan time when the constant scan time is set to...

Page 180: ...stant scan time setting Make sure that the constant scan time setting is shorter than the set time for WDT Watchdog timer If it is longer than the set time for WDT the QnACPU detects a WDT error and the program execution is stopped Set the constant scan time within the following range c Sequence program processing is suspended in the wait time between the END processing of the sequence program and...

Page 181: ...ruction takes long processing time the constant scan is completed after finishing the processing of the instruction during execution The time extended to complete the execution of the instruction is the constant scan error For details of the instruction processing time refer to the QCPU Q mode QnACPU Programming Manual Common Instructions Error Maximum processing time of one instruction in the low...

Page 182: ... can be latched 1 Latch relay 2 Link relay 3 Annunciator 4 Edge relay 5 Timer 6 Retentive timer 7 Counter 8 Data register 9 Link register b The latch range is set on the Device in the parameter mode of GPP function In latch range setting it is possible to set a range within which the latch clear key is effective Latch 1 Start and a range within which the key is not effective Latch 2 Start For deta...

Page 183: ...fault values instead perform Latch clear When the latch clear is performed the devices data in the non latched range is also cleared However the devices for which the latch clear key has been set to Disable in the Parameter are not cleared by performing latch clear b For the methods of performing latch clear refer to Section 12 4 ...

Page 184: ...utputs Y when switching from STOP to RUN or to output them after an operation can be set in the PC system in the parameter mode of GPP function a Re output Prior to Calc The output Y status immediately before the STOP status is output and then the sequence program is calculated b Output after operation execution After one Scan The output is OFF status The output Y will be output after the sequence...

Page 185: ...The clock data is composed of the year month day hour minute second and day of the week used by the clock element in the PLC CPU as shown below 2 Accuracy The accuracy of the clock function depends on the ambient temperature as shown below POINT The CPU module system uses the clock data for a breakdown history When using a CPU module be sure to set the correct time first Data name Description Year...

Page 186: ...e clock elements using the Set clock of the PLC menu in PLC diagnostics mode When using the Q6PU clock data can be written to the clock elements by using the clock monitor option in the monitor functions of the PLC system in the other mode For details on the operation for each peripheral device refer to the Operating Manual for each POINT 1 Clock data is not written to clock elements in advance Wr...

Page 187: ...structions b To read the clock data to SD210 to SD213 turn SM213 ON from a sequence program or a peripheral device c When using the CPU module with a 16 character LED indicator on the front panel the clock data Month day hour minute second can be displayed on the LED indicator To display the clock data on the LED indicator turn SM212 ON The clock data display has the lowest priority of any LED dis...

Page 188: ...a stored in SD210 to SD213 to the clock elements after execution of the END instruction in the scan in which SM210 turns from OFF to ON SM211 Clock data error Used to determine whether or not there are any errors when the clock data is set Turns ON if any data is not a BCD cord SM212 1 Clock data display Displays clock data on the LED indicator on the front panel of a CPU module When SM212 is ON t...

Page 189: ...s the last two digits of the year SD211 Clock data day hour The day and hour are recorded as follows SD212 Clock data minute second The minute and second are recorded as follows SD213 Clock data day of the week The day of the week is recorded as follows The settings for the day of the week are as follows Day of the week Sun Mon Tue Wed Thu Fri Sat Storage data 0 1 2 3 4 5 6 ...

Page 190: ...STOP from an external source 2 Operation for remote RUN STOP The following shows the program operations to which remote RUN STOP is performed 3 Method for performing remote RUN STOP The following two methods are available for performing remote RUN STOP a Method using a remote RUN contact The remote RUN contact is set in the PLC system in the parameter mode of GPP function The settable device range...

Page 191: ... STOP is performed from any one of remote RUN contact GPP function serial communication module etc the QnACPU will be STOP 2 In order to set the QnACPU to RUN again after it has been set to STOP by remote STOP all external factors which set remote STOP Remote RUN contact GPP function serial communication module etc have to be set to RUN REMARK The RUN STOP status is defined as follows Fig 10 5 Tim...

Page 192: ...step at a time starting from the designated step For details on step run refer to Section 8 7 1 Application of remote STEP RUN When debugging the system for example the program can be performed while checking its execution and the contents of each device 2 Method for performing remote STEP RUN The procedure for remote STEP RUN is as follows 1 Set the RUN STOP key switch of the CPU module to RUN po...

Page 193: ...ttable device range is from input X0 to 1FFF 1 When the scan END processing is performed with both the remote PAUSE contact and the PAUSE enable flag SM206 are ON the PAUSE status contact SM204 turns ON When performing up to the END instruction of the scan following the scan in which the PAUSE status contact turned ON the PAUSE state is established and operation is stopped 2 When turning the remot...

Page 194: ...SE command has received from GPP function is performed the PAUSE status contact SM204 turns ON When performing up to the END instruction of the scan following the scan in which the PAUSE status contact turned ON the PAUSE status is established and the operation is stopped 2 When the remote RUN command is received from GPP function the sequence program operation is again performed from step 0 Fig 1...

Page 195: ...PP function or a serial communication module a Regardless of whether reset is performed from GPP function or a serial communication module the setting to enable remote RESET has to be made in the Parameter before performing the reset operation The remote RESET Enable Disable setting is made in the PLC system in the parameter mode of GPP function b When the parameter is set to Allow in the Remote r...

Page 196: ... be performed by operation from GPP function or a serial communication module The operation using GPP function can be performed in the Remote operation of the PLC menu in any mode The control using a serial communication module is performed with the commands in the dedicated protocol For details on serial communication module control refer to the Serial Communication Module User s Manual POINT Rem...

Page 197: ...e the remote PAUSE enable coil SM206 has to be turned ON in advance 3 Remote reset field in the PLC system has to be set to Allow in parameter mode 4 The operation status can be RESET if the CPU module is stopped by remote operation When the RUN STOP key switch is set to RUN and multiple remote operation requests are received the CPU module first performs the operation with the highest priority Th...

Page 198: ...are explained from the next section However for details on the instructions for peripheral devices refer to the QCPU Q mode QnACPU Programming Manual Common Instructions 10 7 1 Operation for message display Specified character strings can be displayed on the Q6PU using the MSG instruction for peripheral devices Furthermore character strings can be displayed with GPP function by using the CPU messa...

Page 199: ... Q6PU can be stored as ASCII data without change in specified devices by using the PKEY instruction for peripheral device Data input ends when a CR code is input or when the 32nd character is input Example Program to input TOSOU LINE READY on the Q6PU when X0 is turned ON OTHER FUNCTIONS ...

Page 200: ... module access interval time for the special function module specified in special register SD550 is read into special registers SD551 to SD552 ON Read OFF Ignored Number Name Description SD550 Service interval measurement module Set the I O number of the module whose access interval time is to be measured Set the I O number of the peripheral device connected to the RS 422 interface of the CPU modu...

Page 201: ... REMARK The module access interval includes a transient request interval such as a monitor a test and a program read write The access interval via cyclic communication from a network module or a data link module is not stored ...

Page 202: ...thod for each function refer to the GX Developer Operating Manual or SW IVD GPPQ Operating Manual Offline Item Function Refer to PLC name Naming the CPU module to be used Section 11 2 Drive title Assigning a title to each drive Section 11 3 File title Assigning a title to each file Section 11 4 Device comment Assigning comments and or labels to devices used in a program Section 11 5 Statements not...

Page 203: ...GPP function Two types of PLC names can be set labels and comments The settings are made on the Define PC name screen in the parameter mode of GPP function The setting details are indicated in the table below Item Setting Setting range Default value Label Set a label for the CPU module Up to 10 characters No setting Comment Set a comment for the CPU module Up to 64 characters ...

Page 204: ...o easily identify what file is stored in the built in RAM or memory card Drive titles are created on the Title Statement Def screen under the PC menu in the online mode of GPP function A created title is displayed on the screen as shown below POINT Note that creating a drive title uses an area equivalent to one file in each memory ...

Page 205: ...es so that the contents of the files can be figured out File titles are set in file setting performed when starting GPP function or in PLC writing from the PLC menu in any mode Up to 32 characters can be used File titles are stored in the corresponding created files Note that they are not stored in any files for file registers ...

Page 206: ...sed for each comment and up to 10 characters for each label device label name Comments and labels can be assigned to the following devices POINT A memory card is required to create device comments and store a device comment file in a CPU module Device name X Y M L F SM B SB V T present value C present value ST present value D SD W SW R ZR P I U G J X J Y J B J SB J W J SW BL S BL TR When P or I co...

Page 207: ...ogram Name is Used Use the comment file with the same file name as the program that exists in the specified drive and is currently being executed When the program is changed the comment file is also changed 3 Using the designated device comment file Use the name of the file that is stored in the drive specified by the parameter POINT 1 When using the QCDSET instruction note the following points a ...

Page 208: ...cumentation mode of GPP function 2 The details of each comment are as follows a Statement Line statement A comment can be appended to a ladder block provided for individual function to explain the meaning and usage of the function b Pointer statement A comment can be appended to a pointer placed in the head of a subroutine or interrupt program to explain the meanng and usage of each program c Note...

Page 209: ...lue comments are assigned to initial device value files so that individual file contents can be figured out Initial device value comments are stored in an initial device value file They are set on the Device Initial Value Range screen displayed from the edit menu in the device mode of GPP function ...

Page 210: ... the programming data can be stored in the built in RAM of a CPU module or a memory card When dividing a program data into multiple programs set execution type for each program in program setting in the parameter mode of GPP function The QnACPU executes each execution type program in order of setting There are four executions types Initial execution type Scan execution type Low speed execution typ...

Page 211: ...ed only in the surplus scan time after execution of a scan execution type program in the constant scan setting or only when the low speed type program execution time is set Refer to Section 12 1 3 Standby type Program that is only executed when an execution request is made for it Refer to Section 12 1 4 ...

Page 212: ...ssing when a PLC is powered ON when a CPU module is reset or when the RUN STOP key switch of a CPU module is switched from STOP to RUN POINT For the QnACPU all execution types need not be set Use initial execution type low speed execution type and standby type programs marked with asterisks if required ...

Page 213: ...RUN b The execution type is set to Init in program setting in the parameter mode of GPP function c Initial execution type programs can be used for applications such as the initial processing for a special function module where once the program has been executed it need not be executed from the next scan 2 Execution of multiple initial execution type programs If there are more than one initial exec...

Page 214: ...ssing When execution of all initial execution type programs is completed END processing is performed and a scan execution type program is executed from the next scan POINT Instructions that contain a completion device cannot be used in initial execution type programs ...

Page 215: ...mer WDT reset instruction is executed in the sequence program measurement of the initial scan time is continued 5 Initial execution monitoring time This is a timer for monitoring the execution time of initial execution type programs no default value is set To monitor the execution time of an initial execution type program a value can be set within the range of 10ms to 2000ms in PLC RAS in the para...

Page 216: ...m is executed again By inserting a COM instruction at the end of a scan execution type program END processing general data processing link refresh can be executed for each program 4 When constant scan time is set 1 When constant scan is set the scan execution type program is executed once for every preset constant scan time REMARK 1 Constant scan is a function whereby a scan execution type program...

Page 217: ...set instruction is executed in the sequence program measurement of each scan time is continued 6 WDT watchdog timer This is a timer that monitors the scan time and 200ms is set as a default value WDT is set within the range of 10ms to 2000ms in PLC RAS in the parameter mode Unit 10ms When using a low speed execution type program s make sure that the specified WDT value is greater than the sum of t...

Page 218: ...n type programs in each scan and to make these programs operate properly set the low speed program execution time in PLC RAS in the parameter mode Setting range 1 to 2000ms Unit 1ms In order to execute low speed execution type programs either the constant scan time or the low speed program execution time must be set b Set Slow as the execution type in program setting in the parameter mode c This e...

Page 219: ...am is executed Wait time for constant scan Therefore the scan time for each scan is constant If surplus time in constant scan is less than 2ms the low speed execution type program is not executable When using a low speed execution type program set a proper constant scan time so that surplus time will be 2ms or longer 4 When the low speed program execution time is set operation of the scan executio...

Page 220: ...ex register processing in the case where an interrupt program is executed during execution of a low speed execution type program refer to the QnACPU Programming Manual Fundamentals 3 Set a proper low speed program execution time so that the value obtained by adding it to the scan time is smaller than the set WDT value 4 The COM instruction cannot be used in the low speed program 5 When Constant sc...

Page 221: ...12 12 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...

Page 222: ...12 13 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU ...

Page 223: ... program and the low speed END processing time If multiple low speed execution type programs are to be executed it is the total time of the time required for completion of all low speed execution type programs and the low speed END processing time b The QnACPU measures the low speed scan time and stores it in special registers SD528 to SD535 1 The low speed execution scan time can be checked by mo...

Page 224: ...the range of 10ms to 2000ms in PLC RAS in the parameter mode Setting units 10ms If the low speed scan time exceeds the set low speed execution monitoring time a PRG TIME OVER error occurs The QnACPU however continues its operation POINT The low speed execution monitoring time is measured in low speed END processing Because of this when the low speed execution monitoring time t is set to 100ms a PR...

Page 225: ...equired for control are changed to the scan execution type programs Programs not used for control are changed to the standby type programs 2 Program library a Library creation of program 1 Program library is used to control subroutine programs and interrupt programs separately from the main routine program It is possible to create multiple subroutine programs and interrupt programs as one standby ...

Page 226: ...broutine programs 3 Use common pointers Subroutine programs using common pointers can be called from all the programs that are being executed by the QnACPU REMARK For details on common pointers refer to the QnACPU Programming Manual Fundamentals POINT 1 Timers are not to be used in standby type programs because they update present values and turn ON OFF the contacts when the OUT T instruction is e...

Page 227: ...andby type program An END instruction is required at the end of the interrupt programs 2 Since there are no restrictions on the order of creation of interrupt programs there is no need to arrange pointers in ascending order of pointer numbers when creating multiple interrupt programs REMARK For details on interrupt pointers refer to the QnACPU Programming Manual Fundamentals ...

Page 228: ... programs to be executed in a control program Defining the scan execution type program as the control program the QnACPU switches between the standby type program and the scan execution type program according to the set conditions to control the program to be executed The following shows how the excution types of standby programs ABC DEF GHI and JKL are changed in the control program 1 PSCAN instr...

Page 229: ...e of the program to be executed next is changed from the standby type to the scan execution type The following shows the operation that the QnACPU switches the standby type program DEF to the scan execution type and the scan execution program ABC to the standby type program when M0 in program ABC turns on Before execution of PSCAN and PSTOP instructions After execution of PSCAN and PSTOP instructi...

Page 230: ...PU c The program execution type is changed by the PSCAN or PSTOP instruction in the END processing Therefore it is not changed during program execution REMARK The GHI and DEF programs are executed in the sequence set with parameters in the program setting ...

Page 231: ...N RUN LED is flickering STOP RUN Note that the instructions for conversion into pulse PLS P may not function properly since the previous information may not be retained depending on the program change write during RUN in STOP status or write to PLC 12 1 6 Refresh processing of I O module Refresh processing of I O modules is executed Refer to the QnACPU Programming Manual Fundamentals Item Status o...

Page 232: ...sh processing is performed when a refresh request is issued from a network module or a link module d When the trace point for sampling trace is set to each scan after execution of END instruction the status of the set device is stopred into the sampling trace area e Refresh processing based on the MELSECNET MINI S3 automatic refresh function is performed Refer to Chapter 7 POINT 1 If the constant ...

Page 233: ...he system configuration Note that it may be longer than this depending on the conditions 2 STOP status operation processing a The STOP status is a status in which sequence program operation is stopped by the RUN STOP key switch or due to remote STOP see Section 10 6 1 b When entering the STOP status the CPU saves the output status data and turns all output points to OFF Data memories except for ou...

Page 234: ...rts from step 0 Depends on the output mode set by the parameter for STOP RUN Starts operations from the condition immediately before entering the STOP status Depends on the output mode set by the parameter for STOP RUN POINT The QnACPU executes the following processing in any of RUN state STOP state or PAUSE status Refresh processing of I O modules Data communication with peripheral devices comput...

Page 235: ...tored The timer count continues b If there is an SFC continuous operation designation system save processing is executed c When power is restored the operation processing will be continued d While the operation is interrupted due to an instantaneous power failure measurement of the watchdog timer WDT continues For example if 200ms is set for the WDT parameter setting power failure of 15ms in the s...

Page 236: ...een in the parameter mode of GPP function There are the following two latch range setting options Devices for which the latch clear key is disabled can be cleared by an instruction or by the clear operation of GPP function For details on device latch ranges refer to the QnACPU Programming Manual Fundamentals For details on the operation method of GPP function refer to the GX Developer Operating Ma...

Page 237: ...12 28 12 OVERVIEW OF PROCESSING PERFORMED BY THE QnACPU MEMO ...

Page 238: ...module Remote reset 1002H Enable or disable the remote reset operation Output at STOP RUN 1003H Set the output mode for switching from STOP to RUN Common pointer No 1005H Set the first common pointer number General data processing 1006H Set the number of modules that are processed in one general data processing Points occupied by empty slot 1007H Set the number of points occupied by empty slots Sy...

Page 239: ...al Fundamentals 1 module 1 to 6 modules Section 6 3 16 points 0 point to 64 points in 16 point units Section 5 3 No setting C0 to C65535 QnACPU Programming Manual Fundamentals I28 100ms I29 40ms I30 20ms I31 10ms 5ms to 1000ms in 5ms units Not used Not used Use the same file name as the program Use the following file QnACPU Programming Manual Fundamentals Not used Not used Use the same file name a...

Page 240: ...DT setup WDT setting 3000H Set the watchdog timer for the CPU module Initial execution monitoring time Low speed execution monitoring time Error check 3001H Set whether to detect the specified errors or not Operating mode when there is an error 3002H Set the operation mode in which the CPU module enters when an error is detected Constant scan 3003H Set the constant scan time Annunciator display mo...

Page 241: ...g 1 range only for each device Section 10 3 No setting 1 range only for each device Section 10 3 No setting 1 range only for each device QnACPU Programming Manual Fundamentals 200ms 10ms to 2000ms in 10ms units Section 9 2 No setting 10ms to 2000ms in 10ms units Section 12 1 1 No setting 10ms to 2000ms in 10ms units Section 12 1 3 Checked Error checked Section 9 3 Stop Stop Continue Section 9 3 No...

Page 242: ...t CPU module operation Extension cable MELSECNET Ethernet setting Set link parameters for the MELSECNET II data link system network parameters for the MELSECNET 10 network system or Ethernet parameters Unit count 5000H Valid module for access to other station 5001H MELSECNET II and MELSECNET 10 network setting Inter device transfer parameters 5002H Routing parameter 5003H Network setting 5NM0H Net...

Page 243: ...MELSECNET B Data Link System Reference Manual M Network type M Network type M Network type 0H MELSECNET 10 Default 7H MELSECNET Local station DH MELSECNET 10 Multiple remote submaster No remote master in the host CPU module 1H MELSECNET 10 Control station 8H MELSECNET II mixed Local station 2H MELSECNET 10 Normal station 9H MELSECNET II Local station EH MELSECNET 10 Multiple remote submaster There...

Page 244: ...resh Retry count for communication errors FROM TO instruction access priority Receive data clear at communication error Faulty station detection bit data Error No MINI link operation when CPU stopped Circuit error check Supplementary settings 7000H Perform various settings required when multiple programs are used Program setting Set programs to be executed among multiple programs Boot file setting...

Page 245: ...of 16 5 times 0 to 32 times CPU CPU Link Clear Clear Hold No setting M L B T ST C D W R ZR none No setting D W T ST C R ZR Stop Continue Stop Latch data Test message OFF data Latch data QnACPU Programming Manual Fundamentals No setting Program name Scan Low speed Initial Standby No setting File name Type Transfer source drive Transfer destination drive QCPU Q mode QnACPU Programming Manual SFC QCP...

Page 246: ...pe CNM1H Receiving data batch refresh bit device Input data Transmission data batch refresh bit device Output data Receiving data batch refresh word device Remote device RWr Transmission data batch refresh device Remote device RWw Batch refresh device for special relay Batch refresh device for special register Number of retries CNM2H Number of automatic return stations Standby master staiton No PL...

Page 247: ... T ST C D W R ZR M L B T ST C D W R ZR T ST C D W R ZR 1 to 7 1 to 10 Not reserved Reserved Continue Stop Synchronization Non synchronization 1 to 100 0 is invalid Remote I O station Remote device station Intelligent device station 1 station 2 station 3 station 4 station Specification of reserved station Specification of invalid station M Network type M Network type 0H Master station 4H MELSECNET ...

Page 248: ... RAM as a standard feature to store parameters and programs programs can be executed without installing a memory card Each CPU model has a built in RAM of the following program capacity Q2ACPU 28k steps 112k bytes Q2ACPU S1 60k steps 240k bytes Q3ACPU 92k steps 368k bytes Q4ACPU 124k steps 496k bytes ...

Page 249: ...le with the simulation function 2 5 To use the sampling trace function 2 6 To use the status latch function 2 7 To use the program trace function 2 8 To store the breakdown history data in a file 2 9 To execute programs of the maximum number of steps available for the QnACPU When a program of the maximum capacity is stored in the built in RAM the parameter files and initial device values must be s...

Page 250: ...es 256 is substituted for a and the remainder for b Setting with SW IVD GPPQ Although the size varies depending on EMS capacity it is equivalent to or less than the size obtained in the above DX Developer case Initial device value 3 Number of device points 2 device types 1 44 66 File register Number of points for file registers 2 bytes Local device Simulation data Sampling trace data 362 No of wor...

Page 251: ...ounded up as follws depending on the memory area used for storage Note that when a file is transferred from the memory card to the built in RAM in boot operation the reserved capacity is changed after transfer Built in RAM 4096 bytes 1k step units Memory card 512 bytes units ...

Page 252: ...vironment where the pressure is higher than the atmospheric pressure at sea level Otherwise malfunction may result To use the PLC in high pressure environment please contact your local Mitsubishi representative Specifications Item Specifications Operating ambient temperature 0 to 55 Storage ambient temperature 20 to 75 Operating ambient humidity 10 to 90 RH No condensing Storage ambient humidity 1...

Page 253: ... from RUN to STOP and back to RUN Alternatively reset it with the RUN STOP key switch For the Q3ACPU and Q4ACPU the message PRG CHECK is displayed on the LED display 2 ERROR LED ON OFF Flashing A self diagnostic error except for a battery error which does not stop operation was detected When the parameter setting is made for operation to continue when an error occurs Normal An error that stops ope...

Page 254: ...gs required to operate the CPU module are made All switches are set to OFF before shipment SW2 to 4 Parameter area Setting of the memory in which parameters are written System setting switch 1 Built in RAM Memory Card A Memory Card B SW2 to 4 are valid even if SW1 is OFF RAM ROM RAM ROM SW2 OFF ON OFF ON OFF SW3 OFF OFF ON ON OFF SW4 OFF OFF OFF OFF ON 15 System setting switch 2 Settings required ...

Page 255: ...15 4 15 HARDWARE SPECIFICATIONS OF CPU MODULES 16 RS 422 connector Connector for connecting to a peripheral device No Name Application ...

Page 256: ...PU module in RESET state Display on Q3ACPU Q4ACPU OFF 3 Set the RUN STOP key switch to STOP RUN RUN LED ON CPU module in RUN state Display on Q3ACPU Q4ACPU OFF POINT 1 For the QnACPU after writing a program except for writing to PLC during RUN set the CPU module to RESET and then to RUN 2 If the key switch is set to RUN without resetting the CPU module will remain in STOP state displaying as follo...

Page 257: ...an using the RUN STOP key switch Refer to Section 10 6 5 1 In out switch ON LED in the switch ON Memory card removal prohibited 2 In out switch OFF LED in the switch OFF Memory card removal permitted Removal of memory card POINT 1 The LED in the in out switch may not come OFF if the memory card is being used for a CPU module system function sampling trace status latch etc or by a program In this c...

Page 258: ...s follows 1 Install the memory card 2 In out switch ON LED in the switch ON Memory card removal prohibited POINT 1 After installing the memory card set the memory card in out switch to ON If it is not set to ON the memory card cannot be used 2 During one scan after the memory card installation mounting processing is performed again Note that the scan time may be increased by 10ms at maximum ...

Page 259: ... less Rated output current 5VDC 8A 5A 8A 2A 8A 24VDC 0 8A 1 5A 1 2A Overcurrent protection 1 5VDC 8 8A or higher 5 5A or higher 8 5A or higher 2 2A or higher 8 5A or higher 24VDC 1 2A or higher 2 3A or higher 1 7A or higher Overvoltage protection 2 5VDC 5 5 to 6 5V 5 5 to 6 5V 5 5 to 6 5V 5 5 to 6 5V 5 5 to 6 5V 24VDC Efficiency 65 or higher Dielectric withstand voltage Between AC external termina...

Page 260: ...ightening torque 78 to 118N cm 39 to 59N cm 78 to 118N cm External dimensions 250 H mm 9 8inch 55 W mm 2 1inch 121 D mm 4 7inch 250 H mm 9 8inch 37 5 W mm 1 5inch 121 D mm 4 7inch 250 H mm 9 8inch 55 W mm 2 1inch 121 D mm 4 7inch Weight 0 98 kg 0 75 kg 0 94 kg 0 8 kg 0 94 kg 0 75 kg 0 8 kg Allowable momentary power failure period 3 20ms or less 1ms or less 20ms or less 20ms or less at 100V DC Item...

Page 261: ...higher 24VDC 1 2A or higher Overvoltage protection 2 5VDC 5 5 to 6 5V 24VDC Efficiency 65 or higher Dielectric withstand voltage Between primary side and FG 2830V AC rms 3 cycles altitude 2000m 6562ft Noise durability Checked by noise simulator of noise voltage IEC801 4 2kV 1500Vp p noise width 1 s and noise frequency 25 to 60Hz Power indicator LED indication of power supply Terminal screw size M4...

Page 262: ...itch the input power OFF then back ON The system is started up with an initial start If the system is not booted and the LED remains off this means that the power supply module has to be replaced 3 Allowable momentary power failure period The allowable momentary power failure period of PLC CPUs varies depending on the power supply module used In the system using the A63P it is the time from when t...

Page 263: ...ion that power to the module is supplied by the power supply module on the main base For 5VDC current consumption of I O modules special function modules and peripheral devices refer to Section 3 3 For devices purchased by users refer to the manual for each device When selecting a power supply module take account of the current consumption of the peripheral devices connected to special function mo...

Page 264: ... the A61P 5VDC 8A b Since power to the A52B A55B or A58B is supplied via an extension cable a voltage drop occurs through the cable It is necessary to select a power supply module and cables with proper length so that 4 75VDC or more is available on the receiving end For details of voltage drop refer to Section 17 3 Application Standards of Extension Base Units 2 Handling precautions for the A66P ...

Page 265: ...dule For A63P Output module For AY11E AY13E Output module For AY23 Output module For AY22 Output module For AY50 AY80 Output module For AY60 Output module For AY60E Type Cartridge type Cartridge type Cartridge type Plug type Plug type Plug type Plug type Plug type Rated current 4A 6 3A 8A 3 2A 7A 2A 3 2A 5A External dimensions 6 0 2 32 1 2 mm inch 6 0 2 32 1 2 mm inch 5 2 0 2 20 0 8 mm inch 30 3mm...

Page 266: ...malfunctions If too tight it may cause damage to the screws and or module resulting in an accidental drop of the module short circuit or malfunctions Connect the extension cable to the connector of the base unit or module Check for incomplete connection after installing it Poor electrical contact may cause incorrect inputs and or outputs Insert the memory card and fully press it to the memory card...

Page 267: ...nt foreign matter such as wire chips from entering the module during wiring If any foreign matter has entered the module remove it 4 Tighten the module installation screws and terminal block screws within the tightening torque range specified shown in the table below 5 When installing the module to the base unit press the module completely so that its hook is locked into the base To remove the mod...

Page 268: ...16 16 10 POWER SUPPLY MODULE 16 3 Part Names Part names of the power supply modules are shown here 1 Names and description of parts of the A61P A61PN and A61PEU module PN ...

Page 269: ...16 11 16 POWER SUPPLY MODULE 2 Names and description of parts of the A62P A62PEU and A65P module ...

Page 270: ... input terminal Power input terminals for A63P 24VDC A67P 100VDC Do not connect the and sides of 24VDC 110VDC to the wrong side Doing so causes the fuse blown LG terminal For power filter grounding FG terminal Terminal screw M4 0 7 6 Ground terminal connected to the shielding pattern on the printed circuit board ...

Page 271: ...16 13 16 POWER SUPPLY MODULE 4 Names and description of parts of the A66P ...

Page 272: ...fers from the supply power voltage the following occurs Be sure to set it correctly Supply Power Voltage 100VAC 200VAC Set to 100VAC jumper fitted as indicated at 2 The power supply module is damaged The CPU module is not damaged Set to 200VAC jumper fitted as indicated at 3 No fault occurs in the module However the CPU module does not operate No setting jumper not fitted No fault occurs in the mo...

Page 273: ...ch 250mm 9 8inch 29mm 1 1inch 480mm 18 7inch 250mm 9 8inch 29mm 1 1inch Weight 0 96kg 1 3kg 1 5kg 1 9kg Item Model Name A62B A65B A68B A52B A55B A58B I O module installation range 2 modules can be installed 5 modules can be installed 8 modules can be installed 2 modules can be installed 5 modules can be installed 8 modules can be installed Power supply module loading Power supply module required N...

Page 274: ... power of the A52B A55B and A58B is supplied from the power supply module mounted on the main base unit 2 Before using the A52B A55B or A58B refer to Section 16 1 2 Power supply module selection and Section 17 3 Application Standards of Extension Base Units ...

Page 275: ...s set the A6SIM X64Y64 does not operate normally When 0 is to be set for the base unit specification of the A6SIM X64Y64 replace the base unit with the A38B POINT 1 The A38HB A38HBEU can perform high speed access to the buffer memories of special function modules only I O devices of I O modules are not accessed at high speed but at the same access speed as that of a conventional main base unit 2 W...

Page 276: ...ly line at 55 0 019 0 028 0 052 Application For connection between main base and extension base For connection between extension bases Weight 0 34kg 0 52kg 1 06kg CAUTION Connect the extension cable to the connector of the base unit or module Check the cable for incomplete connection after connecting it Poor electrical contact may cause incorrect inputs and or outputs When using extension cables k...

Page 277: ...B by the following calculation method 1 Selection condition a Voltage of 4 75VDC or more is identified on the receiving end of the base unit 2 Calculation of the voltage on the receiving end a The 5VDC output voltage of the power supply module drops to 4 9V b Resistance value of the cable AC06B 0 019 AC12B 0 028 AC30B 0 052 The voltage of the receiving end on the 2nd extension base is Voltage on r...

Page 278: ...any of the A62B A65B A68B is connected between the main base unit and the A52B A55B or A58B calculate a voltage drop by the following Calculate the total resistive value for the extension cables which are connected from the main base unit to the A52B A55B or A58B via the A62B A65B or A68B Calculate a 5VDC consumption current for the A52B A55B or A58B which flows thorough the extension cables V1 0 ...

Page 279: ...onnectors of the base unit are made of resin Do not drop them or apply heavy impact to them CAUTION Do not remove the printed circuit board from the base unit Doing so may cause failure malfunctions personal injuries and or a fire Use caution to prevent foreign matter such as dust or wire chips from entering the base unit during wiring Failure to do so may cause a failure malfunction or fire ...

Page 280: ...llation A bell shaped hole used to install the base unit to a control panel For M5 screw Module fixing cutout The projection and hook on rear of a module are inserted for fixing the module Module fixing screw Base cover A protective cover for the connector for the extension cable To connect an extension the top of the connector has to be removed with a tool such as nippers Module connector Connect...

Page 281: ... and receiving signals to and from the extension base unit Connect the extension cable AC B Base cover A protective cover for the connector for the extension cable To connect with another extension base unit the part enclosed by a groove at the portion marked OUT on the base cover must be removed with a tool such as nippers Stage number setting switch Switch for setting the stage number of the ext...

Page 282: ...e cover For the stage number setting procedure see Guide hole for base installation A bell shaped hole used to install the base unit to a control panel For M5 screw FG terminal Ground terminal connected to the shielding pattern on the printed wiring board located under the base cover Module fixing screw Modules can be fixed with a screw in addition to the module fixing hook Screw size M4 0 7 screw...

Page 283: ...ting Extension Stage Number Setting 1st Stage 2nd Stage 3rd Stage 4th Stage 5th Stage 6th Stage 7th Stage Setting of the stage number setting connector POINT With the stage number setting connector CON3 select one of the 1st to 7th that matches the extension stage number Multiple settings for the same stage duplicate stage setting or no setting is not allowed because it may result in erroneous inp...

Page 284: ...ng 59k bytes 123k bytes 250 5k bytes 506k bytes 1016 5k bytes 2036k bytes Number of storable files 118 128 256 Insertion removal limit 5000 times External dimensions 85 6mm 3 3inch 54mm 2 1inch 3 3mm 0 1inch Weight 0 04kg 2 SRAM E2 PROM type memory cards Item Model Name Q1MEM 64SE Q1MEM 128SE Q1MEM 256SE Q1MEM 512SE Q1MEM 1MSE Memory capacity before formatting 32k bytes 64k bytes 128k bytes 256k b...

Page 285: ...BATTERIES Insertion removal limit 5000 times External dimensions 85 6mm 3 3inch 54mm 2 1inch 3 3mm 0 1inch Weight 0 04kg 2 SRAM E2 PROM type memory cards Item Model Name Q1MEM 64SE Q1MEM 128SE Q1MEM 256SE Q1MEM 512SE Q1MEM 1MSE ...

Page 286: ...ng manual GX Developer Operating Manual Type SW IVD GPPQ Software package Operating Manual Online 2 Installing the battery in the memory card The memory card is packaged with a RAM memory bakup battery To use the RAM memory of the memory card this battery must be installed first 3 Switch setting when using a memory card When using a memory card turn ON the memory card in out switch which is close ...

Page 287: ...voltage 3 6VDC Baterry life when stored 5 years Battery life when used Refer to Section 21 3 1 Lithium content 0 48g Application Built in RAM memory backup and power failure compensation External dimensions 16 30mm 0 6 1 2 inch Item Model Name BR2325 or equivalent Type BR type coin cell lithium battery Initial voltage 3 0VDC Baterry life when stored 5 years Battery life when used Refer to Section ...

Page 288: ...Do not expose the memory card to water c Do not expose the memory card to direct sunlight or leave it near a heat source d Be careful to prevent dust from entering the connector e Do not store the memory card in high temperature or high humidity areas f To protect the memory card from static electricity always enclose it in a plastic case before transporting or storing g Do not touch the terminals...

Page 289: ... Description Remark 1 Connector Connects the memory card to the CPU module 2 Battery holder Holds a lithium battery that is used to backup RAM data 3 Battery holder locking switch Locks the battery holder to the memory card Locked in LOCK position 4 Write protect switch Enables or disables writing to the memory Factory set to OFF ON Data writing disabled OFF Data writing enabled ...

Page 290: ...CPU module battery is shipped with its battery connector disconnected connect the connector according to the procedure indicated below 2 Since the memory card battery is removed from the battery holder before shipping set it in the battery holder before use of the RAM POINT Firmly push the connector all the way ...

Page 291: ...JECT button and remove the memory card CAUTION Insert the memory card and fully press it to the memory card connector After that check for incomplete insertion Poor electrical contact may cause malfunctions POINT 1 When a memory card is installed the scan time will increase by 10ms at maximum The scan time increases only in 1 scan during which the QnACPU performs mount processing 2 If the memory c...

Page 292: ...ove install prohibit flag it is still disabled even if the memory card in out switch is set to ON The relationship between the memory card in out switch and the memory card remove insert prohibit flag is shown in the table below Memory card remove insert prohibit flag Memory card in out switch ON Removal insertion prohibited OFF Removal insertion permitted ON Removal insertion prohibited Removal i...

Page 293: ... external power supply for a DC output module is powered ON and then the PLC is powered ON the DC output module may generate incorrect outputs temporarily upon the PLC power ON To prevent this it is required to build a circuit by which the PLC is powered on first Also an external power failure or PLC failure may lead to erroneous operation In order to eliminate the possibility of an system error a...

Page 294: ...device such as a fuse Design a circuit so that the external power will be supplied after power up of the PLC Activating the external power supply prior to the PLC may result in an accident due to incorrect output or malfunction For the operation status of each station at a communication error in data link refer to the respective data link manual Otherwise incorrect output or malfunction may cause ...

Page 295: ... out of range file register when designing sequence programs For instruction details refer to the programming manual When an output module is used to control the lamp load heater solenoid valve etc a large current ten times larger than the normal one may flow at the time that the output status changes from OFF to ON Take some preventive measures such as replacing the output module with the one of ...

Page 296: ...operations such as forward and reverse rotation and parts that could cause machine damage or accidents Switches the power supply to output devices OFF when the system stops At emergency stops At stops on reaching a limit Power supply Power supply Switches the power supply to output devices OFF when the system stops Output for warning lamp or buzzer Turned ON in RUN status by SM403 The setting for ...

Page 297: ...ystem example 1 The output module for fail safe purpose should be mounted on the last slot of the system YB0 to YBF in the above system Fail safe circuit example 2 Since YB0 turns ON and OFF alternatively at 0 5 second intervals use a contactless output module a transistor is used in the above example 3 If an off delay timer especially miniature timer is not available construct a fail safe circuit...

Page 298: ...e circuit using on delay timers only 4 Use a solid state relay for the M1 relay T1 M1 L L MC T1 T2 M2 M2 M1 M1 MC 1s 1s T2 M2 4 SM412 YB0 YB0 0 5s 0 5s YB0 YB1 YBF 24V 0V CPU module Output module External load ON delay timer ON delay timer Internal program 24VDC ...

Page 299: ...y may fall outside the range of 10 to 90 RH 3 Condensation may occur due to drastic changes in temperature 4 Corrosive gas or flammable gas exists 5 A lot of conductive powdery substance such as dust or iron powder oil mist salt or organic solvent exists 6 A location exposed to direct sunlight 7 Strong electric or magnetic fields may be generated 8 Vibrations and shocks are transmitted directly to...

Page 300: ...on efficiency of the power supply module is about 70 and 30 is consumed as heat generated thus 3 7 of the output power is the power consumption Therefore the calculation formula is 2 Total power consumption of 5VDC logic circuits of modules The 5VDC output circuit power of the power supply module is regarded as the power consumption of each module W5V I5V 5 W I5V Current consumption of 5VDC logic ...

Page 301: ... power consumption values obtained for each block is power consumption of the entire PLC system W Wpw W5V W24V WOUT WIN WS W Using this value W calculate the amount of heat generation and temperature rise inside the panel The calculation formula to obtain the temperature rise inside a panel is shown as IOUT Output current actual operating current A Vdrop Voltage dropped across each output load V I...

Page 302: ...agnetic contactor or no fuse breaker and install to a separate panel or away from such devices 5 Provide wiring ducts as necessary However when the clearance from the top or bottom of the PLC is less than that in Fig 19 1 and Fig 19 2 pay attention to the following a When installing a duct over the PLC the height of the duct must be 50mm 1 97inch or less to allow sufficient air flow Place the PLC ...

Page 303: ...t allowed Fig 19 5 Horizontal mounting Not allowed Panel etc Door PLC Contactor relay etc 100mm 3 94inch or more 1 Depends on the length of the extension cable as indicated below 2 When no link module is used 50mm 1 97inch or more For Type AC06B cable 450mm 17 72inch or less For Type AC12B cable 1050mm 41 34inch or less For Type AC30B cable 2850mm 112 21inch or less 100mm 3 94inch or more 3 When t...

Page 304: ...it 1 Installing a module The procedure for mounting a module is described below WARNING Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Failure to do so may damage the module Before energizing and operating the system after installation or wiring be sure to attach the terminal cover supplied with the product Failure to do so may...

Page 305: ...the fixing hole in the base unit to mount the module Incorrect installation could result in malfunction failure or a drop of the module For use in an environment of frequent vibrations secure the module with screws Tighten the screws within the specified torque range If the screw is too loose it may cause a drop of the module a short circuit or malfunctions If too tight it may cause damage to the ...

Page 306: ...e for removing a module is explained here POINT Always disengage the hook from the module fixing hole A and then remove the module fixing projection from the module fixing hole B An attempt to remove the module forcibly may damage the hook or module fixing projection ...

Page 307: ...se unit to the I O module on the left end If no dustproof cover is attached foreign matter will enter the I O module causing a failure Procedures for installing and removing the dustproof cover are described below 1 Installation Insert the dustproof cover into the connector or terminal side groove of the I O module first as shown in the figure and then push the dustproof cover ...

Page 308: ... INSTALLATION 2 Removal To remove the dustproof cover from the I O module insert the tip of a flat head screwdriver into the hole as shown in the figure then pry the tab of the cover out from the hole using the screwdriver ...

Page 309: ...e Do not connect multiple power supply modules to one module in parallel The power supply modules may be heated resulting in a fire or failure Press crimp or properly solder the connector for external connection with the specified tool Incomplete connection may cause a short circuit fire or malfunctions Tighten terminal screws within the specified torque range If the screw is too loose it may caus...

Page 310: ...evices as shown below When there is much noise connect an isolating transformer e Taking rated current or inrush current into consideration when wiring the power supply be sure to connect a breaker or an external fuse that have proper blown and detection When using a single PLC a 10A breaker or an external fuse are recommended for wiring protection Power Supply Module Transformer Capacity n Stands...

Page 311: ...een modules Also use a thick wire max 2 mm2 to minimize voltage drop h Do not install 100VAC and 24VDC wires together with main circuit wires high voltage and large current or I O signal lines including common line Provide a distance of 100mm 3 94inch or more between them if possible i As a measure against lightning surges connect a lightning surge absorber as shown below CAUTION Do not connect mu...

Page 312: ... distance wiring of 200m 656 2ft or longer leak current due to capacitance may cause failure h As protective measures against lightning surges separate the AC wiring from the DC wiring and connect a lightning surge absorber as shown in 1 i Failure to do so increases the risk of I O equipment failure due to lightning POINT 1 Ground the lightning surge absorber E1 and the PLC E2 separately from each...

Page 313: ...he PLC to make the grounding cable short as possible d If any malfunction occurs due to grounding disconnect either or both of the LG and FG terminals of the base unit from the ground CAUTION Always ground the FG and LG terminals to the protective ground conductor Failure to do so may cause an electric shock or malfunctions PLC Other equipment PLC Other equipment PLC Other equipment 1 Independent ...

Page 314: ...19 19 22 LOADING AND INSTALLATION 19 7 2 Wiring to module terminals This section provides an example for wiring power cables and ground wires to the main and extension bases ...

Page 315: ...lderless terminals with insulation sleeves of 0 8 mm 0 03 inch or less thick The number of the solderless terminals to be connected for one terminal block are limited to 2 2 When connection is made between the LG and FG terminals be sure to ground the wire When it is not grounded with LG and FG terminals connected it will be susceptible to noise Note that each LG terminal has half the potential of...

Page 316: ... an uninterruptible power supply UPS pay attention to the following Use an on line or line interactive UPS with voltage distortion of 5 or less When using an off line system UPS use the F series UPS manufactured by Mitsubishi Electric serial No P or later Example FW F10 03 K 0 5K Do not use any off line system UPS other than the F series ...

Page 317: ...rmany 20 1 Requirements for Compliance with EMC Directives The EMC Directives specifies emission and immunity criteria and requires the products to meet both of them i e not to emit excessive electromagnetic interference emission to be immune to electromagnetic interference outside immunity Guidelines for complying the machinery including MELSEC QnA series PLC with the EMC Directives are provided ...

Page 318: ...e Measure the emission released by the product to the power line 150 K 500k Hz QP 79 dB Mean 66 dB 1 500 K 30M Hz QP 73 dB Mean 60 dB 1 EN61131 2 A12 2000 EN61000 4 2 2 Static electricity immunity Immunity test by applying static electricity to the module enclosure 4kV 8kV contact discharge air discharge EN61000 4 4 2 First transient burst noise Immunity test by applying burst noise to the power l...

Page 319: ...e can be ensured even at high frequencies e Holes made in the control panel must be 10cm 3 94inch diameter or less If the diameter is more than 10cm 3 94inch radio waves can be leaked 3 Connection of power cable and ground wires Handle the power cables and ground wires as described below a Provide a grounding point near the power supply module Ground the power supply module s LG and FG terminals L...

Page 320: ...2000 in the condition that shielded cables are to be used If shielded cables are not used or if grounding of shielded cables is not correct the noise resistance will be less than the specified value 1 Grounding of shielded cables a Shielding must be done close to the control panel Otherwise electromagnetic induction from the cable after the grounding point will generate high frequency noise b Part...

Page 321: ...s recommended 3 Ethernet module Precautions to be followed when AUI cables 1 twisted pair cables and coaxial cables are used are described below a Be sure to ground the AUI cables connected to the 10BASE5 connectors Because the AUI cable is of the shielded type as shown in the figure below partly remove the outer sheath and ground the exposed shield section to the widest possible surface Refer to ...

Page 322: ... 422 etc in the same manner as described in 1 if they are brought out of the control panel 5 Positioning modules Precautions for configuring machinery compliant with the EMC Directives using the AD75P S3 are described below a When using a cable of 2m 6 56ft or less Ground the shield section of the external wiring cable with a cable clamp Ground the shield at the closest location to the AD75 extern...

Page 323: ...xternal device in the shortest distance c Models and required quantities of the ferrite core and cable clamp Cable clamp Ferrite core Required quantity Model AD75CK Manufactured by Mitsubishi Electric Model ZCAT3035 1330 TDK ferrite core Contact TDK Corporation Cable length Optional part Required quantity 1 axis 2 axes 3 axes 2m 6 56ft or less AD75CK 1 1 1 2m 6 6ft to 10m 32 8ft AD75CK 1 1 1 ZCAT3...

Page 324: ...e the specified CC Link dedicated cable c Connect the CC Link module and each CC Link station to the FG line inside the control panel with the FG terminals as shown below Simplified diagram d Power line connecting to the external power supply terminal compliant with I O power port of CE standard should be 30m 98 43 ft or less Power line connecting to module power supply terminal compliant with mai...

Page 325: ... unit The following table lists the base units that can be used for compliance with the EMC directives Model Precautions A61P A62P Use not allowed A63P Use a CE compliant 24VDC power supply in the control panel A61PN A61PEU A62PEU Make sure to short and ground the LG and FG terminals Type Model Applicability Main Base Unit A38HBEU Applicable A3 B A38HB N A Extension Base Unit A5 B A6 B Applicable ...

Page 326: ...r supply module as possible Ferrite core 20 1 7 Noise filter power supply line filter A noise filter is a component which has an effect on conducted noise With the exception of A61PEU A62PEU and A63P it is not required to fit the noise filter to the power supply line but fitting it can further suppress noise The noise filter has the effect of reducing conducted noise of 10 M Hz or less Use any of ...

Page 327: ...dels that conform to the above standard For the modules which operate with the rated voltage less than 50 VAC or 75 VDC conventional models can be used because the low voltage directives do not apply to them 20 2 2 Precautions when using the QnA series PLC Module selection 1 Power supply module Since a power supply module with the rated input voltage of 100 200VAC has a potentially hazardous volta...

Page 328: ... the PLC The installation category indicates the durability level against surge voltage generated by a thunderbolt Category I has the lowest durability and category IV has the highest durability Category II indicates a power supply whose voltage has been reduced by two or more levels of isolating transformers from the public power distribution Fig 20 1 Installation category Category IV Category II...

Page 329: ... panel also has the dustproof and waterproof functions Insufficient dustproof and waterproof features lower the insulation withstand voltage resulting in insulation destruction As our PLCs are designed assuming the pollution level 2 use them in an environment of pollustion level 2 or lower As shown above the PLC can meet pollution level 2 when stored in a control panel equivalent to IP54 Pollution...

Page 330: ...wer supply For the remote module which requires 24VDC as module power supply the 5 12 24 48VDC I O module and the special function module which requires the external power supply use the 5 12 24 48VDC circuit which is doubly insulated from the hazardous voltage circuit or use the power supply whose insulation is reinforced 2 External devices When a device with a hazardous voltage circuit is extern...

Page 331: ... 3 Connection conditions Loosening of terminal screw No loosening Retighten the terminal screw Proximity of solderless terminals There is an appropriate distance Correct the distance Connector areas of extension cable No loosening at connectors Retighten the connector fixing screw 4 LEDs on the main module Power supply module POWER LED Confirm it is ON The LED is ON Faulty if it is OFF Refer to Se...

Page 332: ...3 Fuse Check if the fuse is blown Preventive maintenance Even if a fuse has not blown the element may have deteriorated due to inrush current and the fuse should therefore be changed at regular intervals 4 Installation condition Loosening backlash Test by moving the module Must be installed solidly Retighten the screw For CPU module I O module and power supply modules check all connections Adhesio...

Page 333: ...ore cleaning or retightening the terminal screws or module mounting screws Failure to do so may result in an electric shock If they are too loose it may cause a short circuit or malfunctions If too tight it may cause damage to the screws and or module resulting in an accidental drop of the module short circuit or malfunctions ...

Page 334: ...there is a voltage drop in the battery of any of the following the built in RAM memory card A or memory card B In order to determine which of these memory s battery has sustained the voltage drop check the contents of special relay SD51 and SD52 When the voltage of any memory s battery drops the bit in SD51 and SD52 that corresponds to each memory turns ON POINT SM51 is a battery voltage drop alar...

Page 335: ...is explained below The following two points are applied 1 The battery installed in the CPU module does not back up the RAM memories of the memory cards 2 The batteries installed in the memory cards do not back up the built in RAM of the CPU module AC power supply for CPU module CPU module battery Memory card battery CPU module memory Memory card memory ON ON ON OFF OFF ON OFF OFF ON ON OFF OFF ON ...

Page 336: ...Battery life hr Guaranteed value MIN Actual value TYP After SM51 is turned ON Q2ACPU 1800 14500 48 Q2ACPU S1 1150 10700 27 Q3ACPU 4000 18000 113 Q4ACPU 1750 6200 44 POINT 1 Use the battery within the time shown by the guaranteed value of the battery life 2 If the battery may be used exceeding the guaranteed time perform the following measures Perform ROM operation to protect a program in case that...

Page 337: ...s not been used exceeding the guaranteed value shown in the above table 2 Replace the battery when it has been used exceeding the guaranteed value shown in the above table and SM51 is on Table 21 4 Battery lives of memory cards Memory card model name Battery life hr Guaranteed value MIN Actual value TYP After SM51 is turned ON Q1MEM 64S 5256 23652 8 Q1MEM 128S 2628 12264 6 Q1MEM 256S 5256 23652 8 ...

Page 338: ...memory is backed up by the capacitor for a while However if replacement takes longer than the guaranteed value shown in the following table the content of the memory may be erased so replace the battery quickly WARNING Correctly connect the battery connector Do not charge disassemble heat short circuit solder or throw the battery into the fire Incorrect battery handling may cause personal injuries...

Page 339: ...21 9 21 MAINTENANCE AND INSPECTION Table 21 5 Period backed up by the capacitor Period backed up by the capacitor min 3 Refer to Section 21 3 2 2 ...

Page 340: ...y can be replaced while the memory card is out of the CPU module However if the time taken to replace the battery exceeds the guaranteed value indicated in Table 21 6 below the contents of the memory may be lost Therefore change the battery as quickly as possible While the PLC power is ON the battery can be replaced without removing the memory card in the CPU module In this case the memory content...

Page 341: ...21 11 21 MAINTENANCE AND INSPECTION Table 21 6 Period backed up by the capacitor Period backed up by the capacitor min 2 Refer to Section 21 3 2 1 ...

Page 342: ...efore be changed at regular intervals 21 4 1 Replacement of the fuse for a power supply module The procedure for replacing the fuse is as follows CAUTION When replacing the fuse use a fuse specified by the manufacturer Using the one for the high rated current or an electric wire may cause a fire Refer to Section 22 2 2 Flow for actions when thePOWER LED is turned off ...

Page 343: ...21 21 13 MAINTENANCE AND INSPECTION 21 4 2 Replacement of the fuse for an output module ...

Page 344: ... the memory for which a battery is backed up in the table above with a peripheral device For memory clear format operations refer to the following manuals Type SW IVD GPPQ GPP Software package Operating Manual Online GX Developer Operating Manual Memory Battery A6BAT installed in a CPU module Battery incorporates a memory card CPU module Built in RAM Device Memory card SRAM type SRAM E2 PROM type ...

Page 345: ...rmat the memory for which a battery is backed up in the table above with a peripheral device For memory clear format operations refer to the following manuals Type SW IVD GPPQ GPP Software package Operating Manual Online GX Developer Operating Manual Memory Battery A6BAT installed in a CPU module Battery incorporates a memory card CPU module Built in RAM Device Memory card SRAM type SRAM E2PROM ty...

Page 346: ...lowing points After confirming 1 to 6 connect a peripheral device and observe the operation status of the PLC and program contents 2 Error confirmation Observe how the error changes by performing the following operations 1 Set the RUN STOP key switch to STOP 2 Reset using the RUN STOP key switch 3 Turn ON OFF the power supply 3 Narrow down the range By performing the 1 and 2 above assume the fault...

Page 347: ...responding to the error code and corrective actions are described 22 2 1 Troubleshooting flowchart The error definitions are described by events Section 22 2 2 Section 22 2 3 Section 22 2 6 Section 22 2 7 Section 22 2 8 Section 22 2 9 Section 22 2 10 Section 9 7 Section 22 2 11 Section 22 2 4 Section 22 2 5 ...

Page 348: ...22 22 3 TROUBLESHOOTING 22 2 2 Flow for actions when the POWER LED is turned OFF The flow when the PLC power is ON or when the POWER LED of the power supply module is ON during operation is described ...

Page 349: ...22 22 4 TROUBLESHOOTING 22 2 3 Flow for actions when the RUN LED is turned OFF The flow when the POWER LED of the CPU module turns OFF during operation is described Section 22 2 5 ...

Page 350: ... after writing a program in the STOP state the RUN LED flashes Then no CPU module error occurs but the operation stops To set the CPU module to RUN either turn the RUN STOP key switch to STOP then RUN again or reset the CPU module using the key switch The RUN LED turns ON With the Q3ACPU and Q4ACPU the message PRG CHECK is displayed on the LED indicator on the front panel of the CPU module ...

Page 351: ...en the operation is started or when the ERROR LED of the CPU module is ON blinking during operation is described Note that in the case of the Q3ACPU and Q4ACPU an error message is displayed in the LED indicator on the front panel Check and correct the error following an error code list Section 22 3 3 Section 22 3 Section 22 3 ...

Page 352: ...N STOP key switch is turned to L CLR several times in a latch clear operation the USER LED flashes to indicate that latch clear processing is in progress With Q3ACPU and Q4ACPU the message L CLR RDY is displayed in the LED indicator on the front panel of the CPU module When the RUN STOP key switch is turned once more to L CLR while the USER LED is flashing the USER LED goes OFF and latch clear pro...

Page 353: ...t turn ON The flow when the output load of the output module is not turned ON during operation is described POINT For problems when the input signal does not turn off or output load does not turn off perform troubleshooting by referring to the fault examples for the I O modules in Section 22 5 ...

Page 354: ...22 22 9 TROUBLESHOOTING 22 2 9 Flow for actions when the program cannot be written The flow when a program cannot be written to the CPU module is described SW5 SW5 ...

Page 355: ...SHOOTING 1 3 2 YES NO Check if the in out switch of the memory card is ON Check if the write protect switch is OFF Check if the memory is formatted Check the designation for the write destination Can program be written ...

Page 356: ...22 22 11 TROUBLESHOOTING 22 2 10 Flow for actions when booting from a memory card is not possible The flow when the CPU module cannot be booted from a memory card is described ...

Page 357: ...22 12 22 TROUBLESHOOTING ...

Page 358: ...witch the power supply module and confirm the LED lights Is CPU module started up See Flowchart for actions when the POWER LED is turned OFF Review the wiring and turn ON all the power supply Is CPU module started up Is CPU module started up Is CPU module started up Make the PLC diagnosis and execute the troubleshooting according to the result Connect the extension cable Switch the RUN STOP key sw...

Page 359: ...22 14 22 TROUBLESHOOTING MEMO ...

Page 360: ...em to the CPU module error codes 4000H to 4FFFH are returned to the request source QnACPU errors and corrective actions are described in this section 1 How to read the error code lists The following shows the way of reading the error code lists from Section 22 3 3 1000 to 1999 to Section 22 3 9 9000 to 9999 a Error code common information and individual information Alphanumeric characters in the p...

Page 361: ...y the self diagnostics function of the CPU module CPU module 1000 to 9999 1 Section 22 3 3 to Section 22 3 9 Detection while communicating with the CPU module CPU module 4000H to 4FFFH Appendix 5 Serial communication 7000H to 7FFFH Serial Communication Module User s Manual CC Link module B000H to BFFFH CC Link System Master Local Module User s Manual Ethernet module C000H to CFFFH Ethernet Interfa...

Page 362: ...dule is faulty Collateral informationmmon Common Information Individual Information Diagnostic Timing At power ON At reset When an END instruction executed Take noise reduction measures Reset the CPU module and RUN it again If the same error is displayed again this suggests a CPU module hardware fault Contact your local Mitsubishi representative 1102 RAM ERROR The work area RAM in the CPU module i...

Page 363: ...ormation Individual Information Diagnostic Timing At power ON At reset 1202 OPE CIRCUIT ERR The operation circuit for sequence processing in the CPU module does not operate normally Collateral informationmmon Common Information Individual Information Diagnostic Timing At power ON At reset 1203 OPE CIRCUIT ERR The operation circuit for index modification in the CPU module does not operate normally ...

Page 364: ...the common information of the error using the peripheral device and replace the fuse at the output module corresponding to the numerical value module No reading Alternatively monitor special registers SD1300 to SD1331 with the peripheral device and change the fuse of the output module whose bit has a value of 1 Check whether the external power supply for output load is ON or OFF When a GOT is bus ...

Page 365: ...g At power ON At reset Reset the CPU module and RUN it again If the same error is displayed again the intelligent function module special function module CPU module or base unit is faulty Contact your local Mitsubishi representative 1412 CONTROL BUS ERR The FROM TO instruction is not executable due to a control bus error with the intelligent function module special function module On error occurri...

Page 366: ... voltage This can be detected from the control system or standby system of the redundant system Collateral informationmmon Common Information Individual Information Diagnostic Timing Always Check the 24VDC power supplied to the system management module AS92R RUN On ERR On CPU Status Continue 1600 BATTERY ERROR 2 The battery voltage in the CPU module has dropped below stipulated level The lead conn...

Page 367: ...a special function module was allocated to a location reserved for an I O module Or the opposite has happened Collateral informationmmon Common Information Module No Slot No Individual Information Diagnostic Timing At power ON At reset Reset the PLC parameter I O allocation setting to conform with the actual status of the special function modules RUN Off ERR Flicker CPU Status Stop 2101 SP UNIT LA...

Page 368: ... five The same network numbers or identical station numbers exist in the MELSECNET 10 network system Two or more master or load stations exist simultaneously at the MELSECNET II or MELSECNET B data link system Collateral informationmmon Common Information Module No Slot No Individual Information Diagnostic Timing At power ON At reset Reduce the AJ71QLP21 and AJ71QBR11 modules to four or less Reduc...

Page 369: ...t was accessed is experiencing a hardware fault Therefore change the faulty module Alternatively contact your local Mitsubishi representative RUN Off On ERR Flicker On CPU Status Stop Continue 1 QnA 2111 SP UNIT ERROR The location designated by a link direct device J is not a network module The I O module special function module was nearly removed completely removed or mounted during running Colla...

Page 370: ... memory card is inserted Remove memory card after placing the memory card in out switch OFF Turn on the card insert switch after inserting a memory card RUN Off On ERR Flicker On CPU Status Stop Continue 1 2301 ICM OPE ERROR The memory card has not been formatted Memory card format status is incorrect Collateral informationmmon Common Information Drive name Individual Information Diagnostic Timing...

Page 371: ...he instruction again RUN Off On ERR Flicker On CPU Status Stop Continue 1 QnA 2411 FILE OPE ERROR The file is the one which cannot be specified by the sequence program such as comment file The specified program exists in the program memory but has not been registered in the program setting of the Parameter dialog box This error may occur when the ECALL EFCALL PSTOP PSCAN or POFF instruction is exe...

Page 372: ...Information File name Drive name Individual Information Diagnostic Timing At power ON At reset Edit the PLC parameter program setting to yes Alternatively delete unneeded programs 2502 CAN T EXE PRG The program file is incorrect Alternatively the file contents are not those of a sequence program Collateral informationmmon Common Information File name Drive name Individual Information Diagnostic Ti...

Page 373: ...N Off ERR Flicker CPU Status Stop QnA PARAMETER ERROR The parameter settings in the error individual information special register SD16 are illegal Collateral informationmmon Common Information File name Drive name Individual Information Parameter number Diagnostic Timing At power ON At reset STOP RUN At writing to progurammable controller 3001 PARAMETER ERROR The parameter settings are corrupted C...

Page 374: ...OP RUN Correct and write the network parameters If the error occurs after correction it suggests a hardware fault Contact your local Mitsubishi representative 3101 LINK PARA ERROR The network No specified by a network parameter is different from that of the actually mounted network The head I O No specified by a network parameter is different from that of the actually mounted I O unit The network ...

Page 375: ...l Information Parameter number Diagnostic Timing At power ON At reset STOP RUN 3104 LINK PARA ERROR The Ethernet and MELSECNET 10 use the same network number The network number station number or group number set in the network parameter is out of range The specified I O number is outside the range of the used CPU module The Ethernet specific parameter setting is not normal Collateral informationmm...

Page 376: ...vidual Information Parameter number Diagnostic Timing STOP RUN 3202 SFC PARA ERROR The number of step relays specified in the device setting of the PLC parameter dialog box is less than that used in the program Collateral informationmmon Common Information File name Individual Information Parameter number Diagnostic Timing STOP RUN 3203 SFC PARA ERROR The execution type of the SFC program specifie...

Page 377: ... is not an SFC program Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing At power ON At reset STOP RUN When instruction executed 4002 INSTRCT CODE ERR The name of dedicated instruction specified by the program is incorrect The dedicated instruction specified by the program cannot be executed by the specified module Collateral informationm...

Page 378: ...iming At power ON At reset STOP RUN 4100 OPERATION ERROR The instruction cannot process the contained data Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing When instruction executed Read the common information of the error using the peripheral device check error step corresponding to its numerical value program error location and correct...

Page 379: ...gram corresponding to that value program error location Q4AR 4107 OPERATION ERROR Numbers of execution to the CC Link instruction are beyond 32 Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing When instruction executed Set the numbers of execution to the CC Link instruction to 32 or less QnA 4108 OPERATION ERROR The CC Link parameter is ...

Page 380: ...n executed Read the common information of the error using the peripheral device check error step corresponding to its numerical value program error location and correct the problem 4210 CAN T EXECUTE P The CALL instruction is executed but there is no subroutine at the specified pointer Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing Whe...

Page 381: ...on Program error location Individual Information Diagnostic Timing When instruction executed 4231 INST FORMAT ERR The number of IX and IXEND instructions is not equal Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing When instruction executed 4235 INST FORMAT ERR The configuration of the check conditions for the CHK instruction is incorre...

Page 382: ...mon Information Program error location Individual Information Diagnostic Timing STOP RUN 4411 CAN T SET BL Block number designations overlap in SFC program Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing STOP RUN 4420 CAN T SET S A step number designated in an SFC program exceeds the range Collateral informationmmon Common Information P...

Page 383: ...ber Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing STOP RUN Write the program to the CPU module again using GX Developer Read the common information of the error using GX Developer and check and correct the error step corresponding to that value program error location 4504 SFCP FORMAT ERR The structure of the SFC program is illegal The...

Page 384: ...ted to an initial start RUN On ERR On CPU Status Continue 4611 SFCP EXE ERROR Key switch was reset during RUN when presumptive start was designated for SFC program Collateral informationmmon Common Information Program error location Individual Information Diagnostic Timing STOP RUN 4620 BLOCK EXE ERROR Startup was executed at a block in the SFC program that was already started up Collateral inform...

Page 385: ...on Common Information Program error location Individual Information Diagnostic Timing When instruction executed Read the common information of the error using the peripheral device and check and correct the error step corresponding to that value program error location Turn ON if the special relay SM321 is OFF 4632 STEP EXE ERROR There were too many simultaneous active steps in blocks that can be d...

Page 386: ...value in the PLC RAS setting of the PLC parameter Resolve the endless loop caused by jump transition Check the number of interrupt program executions with the peripheral device and reduce the number of interrupts 5010 PRG TIME OVER The program scan time exceeded the constant scan setting time specified in the PLC RAS setting of the PLC parameter Collateral informationmmon Common Information Time v...

Page 387: ...tem and standby system RUN On ERR On CPU Status Continue 6100 TRUCKINERR A CPU module tracking memory error was detected during initial This can be detected from the control system or standby system of the redundant system Collateral informationmmon Common Information Individual Information Diagnostic Timing At power ON At reset STOP RUN Hardware fault of the CPU module Please contact your local n...

Page 388: ...system of the redundant system Collateral informationmmon Common Information Reason s for system switching Individual Information Diagnostic Timing At switching request Check the standby system condition RUN On ERR On CPU Status Continue 6221 CAN T EXE CHANGE Switching is disabled because of a bus switching module error This can be detected from the control system of the redundant system Collatera...

Page 389: ... the numerical value annunciator number RUN On ERR On Off 2 CPU Status Continue QnA RUN USER LED On ERR USER LED On CPU Status Continue 9010 CHK ERR Error detected by the CHK instruction Collateral informationmmon Common Information Program error location Individual Information Failure No Diagnostic Timing When instruction executed Read the individual information of the error using the peripheral ...

Page 390: ...anceled the first one with No F only is canceled Refer to the following manual for details of error canceling QCPU User s Manual Function Explanation Program Fundamentals POINT 1 When the error is canceled with the error code to be canceled stored in the SD50 the lower one digit of the code is neglected Example If error codes 2100 and 2101 occur and error code 2100 to cancel error code 2101 If err...

Page 391: ...ister relating to the error and the LED LED indicator return to their state before the error occurred If the same error occurs again after the error has been reset it is recorded in breakdown history again To reset multiple detected annunciators only the first detected F number is reset POINT When storing the error code to be reset in SD50 at error reset the lower one digit of the code number is i...

Page 392: ...R constant 0 1 to 0 47 F 47 to 120 1 2W is recommended Example 2 Input signal does not turn OFF Driven by a limit switch with a neon lamp Same as the example 1 Or provide a totally independent display circuit separately Example 3 Input signal does not turn OFF Line capacity C of the leak current twisted pair cable due to line capacity of the wiring cable is about 100PF m Same as the example 1 Howe...

Page 393: ...e that the resistance R is 2 k The power capacity W of the resistor when the switch turned on is Because the resistance is selected so that the power capacity is three to five times the actual power consumption 1 5 to 2 W should be selected From the above the resistor to be connected across the terminal in question and COM is 2 k 1 5 to 2 W Situation Cause Countermeasure Example 5 Input signal doe...

Page 394: ...deteriorate and burn out Example 2 Load does not turn OFF Triac output Leak current caused by built in noise supressor Connect a resistor to the both ends of the load When the wiring distance from the output module to the load is long be aware of the risk of a leak current due to line capacity Example 3 Load turns OFF with a delay Triac output Leakage current due to surge suppressor for the load D...

Page 395: ...k path When the load is a relay or similar device a reverse voltage absorbing diode must be connected to it Shown by dotted line in the figure at left Example 6 Load does not operate normally due to external shorting etc AY60EP AY80EP AY81EP AY82EP External load malfunction or incorrect connection Check the external load Check voltages across the following terminals with output Y on If output volt...

Page 396: ...urrent a and L3 current b turn ON 2 A potential difference to COM1occurs in the emitter E of Tr1 to Tr3 since diode D1 is connected between COM1 and the emitter 3 The transistors AY40 to 42 etc are accompanied by a parasitic transistor Tr4 4 The potential difference described in 2 above is supplied between the base B of Tr4 and emitter E which causes the base current c to flow Tr4 turns ON 5 The c...

Page 397: ...t Y0 turns ON for about 500 s 1 After checking the external supply power takes at least 10ms to start up when turned it ON OFF set the switch SW1 at the primary side of the external supply power 2 If setting the switch at the secondary side of the external supply power is required connect a capacitor and resistor so that the start up of the power is slowly performed Longer than 10ms Example R1 40 ...

Page 398: ...peration start Logical NOT operation start N C contact logical operation start Logical product N O contact series connection Logical product NOT N C contact series connection Logical sum N O contact parallel connection Logical sum NOT N C contact parallel connection Rising edge pulse operation start Falling edge pulse operation start Rising edge pulse series connection Falling edge pulse series co...

Page 399: ...Stores the operation result Reads the operation result from MPS Reads the operation result from MPS and clears the result Inverts the operation result Converts the operation result to a rising edge pulse Converts the operation result to falling edge pulse Converts the operation result to rising edge pulse stored at Vn Converts the operation result to falling edge pulse stored at Vn ...

Page 400: ... Description Output Device output Sets a device Resets a device Generates one program cycle pulse at the rising edge of an input signal Generates one program cycle pulse at the falling edge of an input signal Inverts device output Converts a direct output to pulse Classification Symbol Description Shift Shifts a device 1 bit Classification Symbol Description Master control Master control start Mas...

Page 401: ...ion Symbol Description Stop Stops sequence operation when the input condition is met Sequence program execution can be resumed by turning the RUN STOP key switch to RUN No processing No processing for program erasure or space No processing for starting a new page during printout No processing for managing the rest of the program as starting from step 0 of page n ...

Page 402: ...S1 S2 Non conductive status when S1 S2 Conductive status when S1 S2 Non conductive status when S1 S2 32 bit data comparison Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1...

Page 403: ...tus when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Classification Symbol Description ...

Page 404: ...string S2 Non conductive status when character string S1 character string S2 Conductive status when S1 1 S1 S2 1 S2 Non conductive status when S1 1 S1 S2 1 S2 Conductive status when character string S1 character string S2 Non conductive status when character string S1 character string S2 Conductive status when character string S1 character string S2 Non conductive status when character string S1 c...

Page 405: ... data comparison Compares n points of data from S1 with n points of data from S2 in 1 word units and stores the comparison result in the n points starting from the bit device specified by D Classification Symbol Description ...

Page 406: ... S1 S2 D D S D S1 S2 D BIN 32 bit addition subtraction D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D BIN 16 bit multiplication division S1 S2 D 1 D S1 S2 quotient D remainder D 1 BIN 32 bit multiplication division S1 1 S1 S2 1 S2 D 3 D 2 D 1 D S1 1 S1 S2 1 S2 quotient D 1 D remainder D 3 D 2 ...

Page 407: ... S1 1 S1 S2 1 S2 D 1 D BCD 4 digit multiplication division S1 S2 D 1 D S1 S2 quotient D remainder D 1 BCD 8 digit multiplication division S1 1 S1 S2 1 S2 D 3 D 2 D 1 D S1 1 S1 S2 1 S2 quotient D 1 D remainder D 3 D 2 Floating point data addition subtraction D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D Classification Symbol Description ...

Page 408: ... stores the result to devices starting from D Associates the character string specified at S2 to the character string specified at S1 and stores the result to devices starting from D BIN block addition subtraction Adds n points of data from S1 and n points of data from S2 in a batch and stores the result to devices starting from D BIN data increment D 1 D D 1 D 1 D BIN data decrement D 1 D D 1 D 1...

Page 409: ...DICES 3 Data conversion instructions Classification Symbol Description BCD conversion BIN conversion Floating point BIN conversion BIN floating point conversion BIN 16 bit 32 bit conversion BIN gray code conversion ...

Page 410: ...k conversion Converts n points of BIN data from S to BCD data in a batch and stores the result to devices starting from D Converts n points of BCD data from S to BIN data in a batch and stores the result to devices starting from D Classification Symbol Description ...

Page 411: ...sfer S 1 S D 1 D Character string data transfer Transfers the character string specified at S to devices starting with the device specified at D 16 bit data negation transfer S D 32 bit data negation transfer S 1 S D 1 D Data block transfer Same data block transfer 16 bit data exchange S D 32 bit data exchange S 1 S D 1 D Block data exchange Upper lower byte swap ...

Page 412: ...conditionally Causes a jump to the END instruction when the input condition is met Classification Symbol Description Interrupt disable Disables execution of interrupt programs Interrupt enable Cancels the execution disabled status for interrupt programs Interrupt disable enable setting Disables or enables execution of individual interrupt programs Return Returns from the interrupt program to the s...

Page 413: ...s a rotary table that is partitioned into n1 from the position at which it is stopped to the position specified by S 1 in the direction that gives the shortest path Ramp signal Changes the device data specified at D1 in the range of n1 to n2 in n3 scans Pulse density Counts the pulse input of the device specified at S for the time specified at n and stores the result in the device specifid at D Pu...

Page 414: ... 3 Application Instructions 1 Logical operation instructions Classification Symbol Description Logical product D S D S1 S2 D D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D Logical sum D S D S1 S2 D D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D ...

Page 415: ... 18 APPENDICES Exclusive logical sum D S D S1 S2 D D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D Not exclusive logical sum D S D S1 S2 D D 1 D S 1 S D 1 D S1 1 S1 S2 1 S2 D 1 D Classification Symbol Description ...

Page 416: ...App 19 APPENDICES 2 Rotation instructions Classification Symbol Description Right rotation Left rotation Right rotation Left rotation ...

Page 417: ...App 20 APPENDICES 3 Shift instructions Classification Symbol Description n bit shift 1 bit shift 1 word shift ...

Page 418: ...App 21 APPENDICES 4 Bit processing instructions Classification Symbol Description Bit set reset Bit test Bit device batch reset ...

Page 419: ...App 22 APPENDICES 5 Data processing instructions Classification Symbol Description Data search Bit check Decode Encode 7 segment decode ...

Page 420: ...n sequence starting from the one specified at D Associates the lower 8 bits of 16 bit data for n points starting from the one specified at S to give 16 bit data and stores the data to the devices in sequence starting from the one specified at D Search Searches the n points of data starting from the device specified at S in 16 bit units and stores the maximum value to the device specified at D Sear...

Page 421: ... no execution processing for the subroutine program Pn when the input condition is not met Executes the subroutine program Pn of the specified program when the input condition is met S1 to Sn are arguments for the subroutine program 0 n 5 Executes no execution processing for the subroutine program Pn of the specified program when the input condition is not met Executes link refresh and general dat...

Page 422: ...Description Table processing Classification Symbol Description Data read Reads data in 16 bit units from special function modules Reads data in 32 bit units from special function modules Data write Writes data in 16 bit units to special function modules Writes data in 32 bit units to special function modules ...

Page 423: ...es starting from the one specified at S and ending at 00H to an output module Converts the device comment specified at S to ASCII codes and outputs the result to an output module Display Displays ASCII codes in the 8 points of devices corresponding to 16 characters starting from the one specified at S on the LED indicator Displays the comment of the device specified at S on the LED indicator Reset...

Page 424: ...cates the start of ladder pattern change for the ladders to be checked with the CHK instruction Indicates the end of ladder pattern change for the ladders to be checked with the CHK instruction Status latch Executes status latch Resets the status latch to enable re execution of status latch Sampling trace Triggers sampling trace Resets the sampling trace to enable re execution of sampling trace Pr...

Page 425: ...s and stores them to the word devices starting from the one specified at D Decimal ASCII BIN Converts the 5 digit decimal ASCII value specified at S to a 1 word BIN value and stores this to the word device specified at D Converts the 10 digit decimal ASCII values specified at S to a 2 word BIN value and stores this to the word device specified at D Hexadecimal ASCII BIN Converts the 4 digit hexade...

Page 426: ...IN ASCII Converts the 1 word BIN value in the devices starting from the one specified at S to hexadecimal ASCII data and stores them to the word devices starting from the one specified at D for n characters ASCII Hexadecimal BIN Converts the hexadecimal ASCII data in the devices starting from the one specified at S to BIN values for n characters and stores them to the devices starting from the one...

Page 427: ...Floating point data Converts the BCD data specified at S1 to a floating point data with the number of fraction part digits specified at S2 and stores this data to the devices specified at D Classification Symbol Description ...

Page 428: ...Classification Symbol Description Trigonometric function floating point data Sin S 1 S D 1 D Cos S 1 S D 1 D Tan S 1 S D 1 D Sin 1 S 1 S D 1 D Cos 1 S 1 S D 1 D Tan 1 S 1 S D 1 D Degree radian conversion Exponent operation Natural logarithm Square root ...

Page 429: ...App 32 APPENDICES Trigonometric function Classification Symbol Description ...

Page 430: ...S2 1 S3 S3 1 The value at S2 1 S2 is stored to D 1 D Dead zone control Taking the area set by S1 and S2 as the dead band if the input value specified at S3 is within the dead band 0 is stored to the word device specified at D and if it is outside the dead band the value obtained by subtracting the dead band upper lower limit value from the input value is stored to the word device specified at D Wh...

Page 431: ...ues for the input value specified at S3 1 S3 with S1 1 S1 and S2 1 S2 calculates the value for S1 bias and stores it to the word device specified at D 1 D When S3 1 S3 0 0 D 1 D When S3 1 S3 0 S3 1 S3 S2 1 S2 D 1 D When S3 1 S3 0 S3 1 S3 S1 1 S1 D 1 D Classification Symbol Description Block No setting Changes the block No of an extension file register to the number specified at S Sets the name of ...

Page 432: ...App 35 APPENDICES 15 Clock instructions Classification Symbol Description Clock data read write ...

Page 433: ...al device Stores the data input from a peripheral device to the device specified at D Classification Symbol Description Program execution status switch Sets the specified program in the standby status Turns OFF the coil of the specified program s OUT instruction and sets the program to the standby status Registers the specified program as a scan execution type program Registers the specified progr...

Page 434: ...T in a sequence program Timing clock Direct read write in 1 byte unit Indirect address set Numeral key input from keyboard Fetches ASCII data to the input module specified at S for 8 points converts the data to hexadecimal values and stores them in the devices starting with the one specified at D1 ...

Page 435: ...efresh instructions Classification Symbol Description Specified network refresh Performs link refresh for the network module corresponding to the specified network No in network n Refreshes the network module corresponding to the specified I O number in network n ...

Page 436: ...on Data send receive to from other stations Sends data message to another station Receives data message from another station Processing request to other stations Executes remote RUN STOP for another station Data read write from to a special function module at a remote I O station Reads data from a special function module installed at a remote station in the MELSECNET 10 network Writes data to a sp...

Page 437: ... at a remote I O station Reads data from the special function module installed at a remote I O station in the MELSECNET II system Writes data to the special function module installed at a remote I O station in the MELSECNET II system Classification Symbol Description Routing information read Reads the data of the transfer destination network with the number specified by n in the routing parameters...

Page 438: ...r graph the PID control status of the loop with the number specified at S1 on the display for the AD57 specified at n At the start of execution of PID control monitor static image elements of other than the bar graph and numerical data are displayed by issuing the initial screen display request specified at S2 Specified loop operation stop Stops operation for the loop whose number is specified at ...

Page 439: ...rinter PRN Character outputting up to the 00H code to a printer PR Data read from memory card GET Data write to memory card PUT AJ71C24 S3 S6 S8 control instruction Data send for the specified number of bytes in no protocol mode PRN Data send up to the 00H code in no protocol mode PR Data receive in no protocol mode INPUT Communications status read SPBUSY Send receive processing forced interruptio...

Page 440: ...otocol mode PRN Data send up to the 00H code in no protocol mode PR Data receive in no protocol mode INPUT Communications with remote terminal modules MINI MINIEND Error reset for remote terminal module MINIERR Communications status read SPBUSY Communication processing forced interruption SPCLR Classification Function Instruction Symbol ...

Page 441: ... Character display color specification COLOR Character color change CCDSP CCDSPV ASCII character display PR PRN ASCII character write to VRAM PRV PRNV Character display EPR EPRN Character write to VRAM EPRV EPRNV Concatenated display of same character CR1 CR2 CC1 CC2 minus display CINMP hyphen display CINHP period decimal point display CINPT Numeric character display CIN0 to CIN9 Alphabet characte...

Page 442: ...start IDON1 IDON2 AJ71QC24 control instruction Writes the user registration frame to the E2PROM for the AJ71QC24N PUTE Reads the user registration frame from the E2 PROM for the AJ71QC24N GETE Data send with the dedicated protocol using the on demand function ONDEMAND Data send for the specified number of bytes in no protocol mode OUTPUT Data send in accordance with the send schedule table in no p...

Page 443: ...igh speed write to ID data carrier IDFWD1 IDFWD2 CC Link control instruction Read from the buffer memory of the intelligent device station RIRD Write to the buffer memory of the intelligent device station RIWT Write to the buffer memory of the intelligent device station with handshake RISEND Read from the buffer memory of the intelligent device station with handshake RIRCV Read from master station...

Page 444: ...ing data setting PPOSET Positioning start data setting PSDSET Positioning special start data setting PSPSET Condition data setting PCTSET Error warning number read PEWR Monitor data read PMDRD Positioning data I F setting PIFSET AJ71QE71 control instruction Parameter setting EPRSET QnA compatible transmission receiving instruction Other station device read READ SREAD Other station device write WRI...

Page 445: ...e relay is set by the system or user and if it is set by the system when setting is performed Set by S Set by system U Set by user sequence programs or test operations from GX Developer S U Set by both system and user When set Indicated only for registers set by system Each END Set during each END processing Initial Set only during initial processing when power supply is turned ON or when going fr...

Page 446: ...ge returns to normal S Error M9006 QnA SM53 AC DC DOWN detection OFF AC DC DOWN not detected ON AC DC DOWN detected Turns ON if an instantaneous power failure of within 20ms occurs during use of the AC power supply module Reset when the power supply is switched OFF then ON S Error M9005 QnA Turns ON if an instantaneous power failure of within 1ms occurs during use of the DC power supply module Res...

Page 447: ...Started monitoring timer started Corresponds to SD90 Goes ON when measurement of step transition monitoring timer is commenced Resets step transition monitoring timer when it goes OFF U M9108 QnA SM91 Corresponds to SD91 M9109 SM92 Corresponds to SD92 M9110 SM93 Corresponds to SD93 M9111 SM94 Corresponds to SD94 M9112 SM95 Corresponds to SD95 M9113 SM96 Corresponds to SD96 M9114 SM97 Corresponds t...

Page 448: ... until I O module change is finished U M9094 Q2A S1 Q3A Q4A Q4AR SM252 I O change OK OFF Replacement prohibited ON Replacement enabled Goes ON when I O replacement is OK S END New SM255 MELSECNET 10 module 1 information OFF Operative network ON Standby network Goes ON for standby network If no designation has been made concerning active or standby active is assumed S Initial New QnA SM256 OFF Read...

Page 449: ...ansition is not executed Always ON during operation in the no continuous transition mode S Instruction execution M9104 QnA S Status change New QnA SM325 Output mode at block stop OFF OFF ON Preserves Select whether the coil outputs of the active steps are held or not at the time of a block stop As the initial value the output mode at a block stop in the parameter is OFF when the coil outputs are O...

Page 450: ...ly is turned OFF or a CPU module reset is performed goes from OFF to start Note that the ON OFF status changes when the designated time has elapsed during the execution of the program S Status change M9030 QnA SM411 0 2 second clock M9031 QnA SM412 1 second clock M9032 QnA SM413 2 second clock M9033 QnA SM414 2n second clock This relay alternates between ON and OFF at intervals of the time unit s ...

Page 451: ...SM510 Low speed program execution flag OFF Completed or not executed ON Execution under way Goes ON when low speed execution type program is executed S Every END processing New QnA SM551 Reads module service interval OFF Ignored ON Read When this relay goes from OFF to ON the module service interval designated by SD550 is read to SD551 to SD552 U New QnA ...

Page 452: ...es ON when drive 3 card 2 RAM area is present S Initial New Q2A S1 Q3A Q4A Q4AR SM623 Drive 4 flag OFF No drive 4 ON Drive 4 present Goes ON when drive 4 card 2 ROM area is present S Initial New Q2A S1 Q3A Q4A Q4AR SM624 Memory card B in use flag OFF Not used ON In use Goes ON when memory card B is in use S Status change New Q2A S1 Q3A Q4A Q4AR SM625 Memory card B remove insert prohibit flag OFF R...

Page 453: ... to remote terminal module enabled ON Communication request to remote terminal module disabled Used to determine whether communications requests to remote terminal modules connected to the AJ71PT32 S3 can be executed or not S Instruction execution M9081 QnA SM715 EI flag OFF During DI ON During EI ON when EI instruction is being executed S Instruction execution New QnA SM736 PKEY instruction execu...

Page 454: ...underway U New QnA SM813 Program trace trigger OFF ON Start Program trace trigger goes ON when this goes from OFF to ON Identical to PTRA instruction execution status S Status change New QnA SM814 After program trace trigger OFF Not after trigger ON After trigger Goes ON after program trace trigger S Status change New QnA SM815 Program trace completion OFF Not completed ON End Goes ON at completio...

Page 455: ...er off file OFF No power off file ON Power off file present Goes ON if a file is present during access when power is interrupted S Status change U New QnA SM910 RKEY registration flag OFF Keyboard input notregistered ON Keyboard input registered Goes ON at registration of keyboard input OFF if keyboard input is not registered S Instruction execution New QnA ...

Page 456: ...ed fore fuse condition QnA M9002 SM1002 I O module verify error OFF Normal ON Error Turned on if the status of I O module is different form entered status when power is turned on Remains ON if the condition is restored to normal thereafter I O module verification is done also to remote I O station modules Reset is enabled only when special registers SD1116 to SD1123 are reset QnA M9004 SM1004 NIMI...

Page 457: ...ock data read request OFF Ignored ON Read request Reads clock data to SD1025 to SD1028 in BCD when SD1028 is on QnA M9029 SM1029 Batch processing of data communications requests OFF Batch processing not conducted ON Batch processing conducted The SM1029 relay is turned on using a sequence program to process all data communication requests accepted during one scan in the END processing of that scan...

Page 458: ...e are output When SM701 is ON ASCII codes of 16 characters are output QnA M9051 SM1051 CHG instruction execution disable OFF Enabled ON Disable Switched ON to disable the CHG instruction Switched ON when program transfer is requested Automatically switched OFF when transfer is complete M9052 SM1052 SEG instruction switch OFF 7SEG segment display ON I O partial refresh When SM1052 is ON the SEG ins...

Page 459: ...heck for fuse blown Check of battery Collation check of I O module M9091 SM1091 Operation error details flag OFF No error ON Error Turns ON when the detail factor of the operation error is stored into SD1091 Remains ON if the condition is restored to normal thereafter M9094 SM1094 SM251 I O exchange flag OFF Exchanged ON Not exchanged The I O module can be changed online with power on when SM251 i...

Page 460: ... started ON Trace completed Set when sampling trace of all specified blocks is completed Reset when sampling trace is started QnA M9181 SM1181 SM822 Active step sampling trace execution flag OFF Trace not being executed ON Trace execution under way Set when sampling trace is being executed Reset when sampling trace is completed or suspended QnA M9182 SM1182 SM821 Active step sampling trace permiss...

Page 461: ...tier two matches that of the master station in tier three in a three tier system Valid for only the master station in a three tier system QnA M9208 SM1208 Sets master station B and W transmissionrange for lower link master stations only OFF Transmits to tier2 and tier 3 ON Transmits to tier2 only Depends on whether or not the B and W data controlled by higher link master station host station is se...

Page 462: ... ON Abnormal Depends on the error condition of the reverse loop line QnA M9243 SM1243 Loopback implementation OFF Loopback not being conducted ON Loopback implementation Depends on whether or not loopback is occurring at the local station QnA M9246 SM1246 Data not received OFF Reception ON No reception Depends on whether or not data has been received from the master station QnA M9247 SM1247 Data n...

Page 463: ...parate S Each END New Q4AR SM1511 Start mode when power supply is on OFF System A fixed mode ON Previous control system latch mode Turns on when the start mode for a redundant system when the power is turned on is the previous control system latch mode S Initial New Q4AR SM1512 Start mode when CPU is started OFF Initial start ON Hot start Turns on when the CPU module operation mode is hot start wh...

Page 464: ...eing used at END U New Q4AR SM1520 Data tracking transfer trigger specification OFF No trigger ON Trigger SM1520 Block 1 When data is transferred by the data tracking instruction S TRUCK the target block is specified as trigger U New Q4AR SM1521 SM1521 Block 2 SM1522 SM1522 Block 3 SM1523 SM1523 Block 4 SM1524 SM1524 Block 5 SM1525 SM1525 Block 6 SM1526 SM1526 Block 7 SM1527 SM1527 Block 8 SM1528 ...

Page 465: ...41 SM1561 SM1561 Block 42 SM1562 SM1562 Block 43 SM1563 SM1563 Block 44 SM1564 SM1564 Block 45 SM1565 SM1565 Block 46 SM1566 SM1566 Block 47 SM1567 SM1567 Block 48 SM1568 SM1568 Block 49 SM1569 SM1569 Block 50 SM1570 SM1570 Block 51 SM1571 SM1571 Block 52 SM1572 SM1572 Block 53 SM1573 SM1573 Block 54 SM1574 SM1574 Block 55 SM1575 SM1575 Block 56 SM1576 SM1576 Block 57 SM1577 SM1577 Block 58 SM1578...

Page 466: ... even if returns to normal thereafter S Each END SM0 Q4AR SM1601 Self diagnosis error OFF No self diagnosis error ON Self diagnosis error Turns on when an error occurs in the self diagnosis results Remains on even if returns to normal thereafter S Each END SM1 Q4AR SM1605 Error common information OFF No error common information ON Error common information Turns on when there is error common inform...

Page 467: ...6 SM1718 SM1718 Block 7 SM1719 SM1719 Block 8 SM1720 SM1720 Block 9 SM1721 SM1721 Block 10 SM1722 SM1722 Block 11 SM1723 SM1723 Block 12 SM1724 SM1724 Block 13 SM1725 SM1725 Block 14 SM1726 SM1726 Block 15 SM1727 SM1727 Block 16 SM1728 SM1728 Block 17 SM1729 SM1729 Block 18 SM1730 SM1730 Block 19 SM1731 SM1731 Block 20 SM1732 SM1732 Block 21 SM1733 SM1733 Block 22 SM1734 SM1734 Block 23 SM1735 SM1...

Page 468: ...nly during one scan when the transmission of the corresponding data is completed S status change New Q4AR SM1761 SM1761 Block 50 SM1762 SM1762 Block 51 SM1763 SM1763 Block 52 SM1764 SM1764 Block 53 SM1765 SM1765 Block 54 SM1766 SM1766 Block 55 SM1767 SM1767 Block 56 SM1768 SM1768 Block 57 SM1769 SM1769 Block 58 SM1770 SM1770 Block 59 SM1771 SM1771 Block 60 SM1772 SM1772 Block 61 SM1773 SM1773 Bloc...

Page 469: ...tents of special register in more detail Set by When set Indicates whether the relay is set by the system or user and if it is set by the system when setting is performed Set by S Set by system U Set by user sequence programs or test operations from GX Developer S U Set by both system and user When set Indicated only for registers set by system Each END Set during each END processing Initial Set o...

Page 470: ...hat type of information is being stored in the common information areas SD5 through SD15 and the individual information areas SD16 through SD26 are stored here The category code for judging the the error information type is stored The common information category codes store the following codes 0 No error 1 Unit module No 2 File name Drive name 3 Time value set 4 Program error location 5 System swi...

Page 471: ...slot Nos are consecutively assigned to the slots of the base units in order of the main base unit and extension base units 1 to 7 When the number of base unit slots has been set in the I O assignment setting of the PLC parameter dialog box the slot Nos are assigned for only the number of set slots 2 When 0FFFFH is stored into SD6 I O No the I O No cannot be identified due to overlapping I O No etc...

Page 472: ...14 SD15 3 4 Number Meaning File name ASCII code 8 characters Extension 2EH ASCII code 3 characters Pattern Block No Step No transition condition Sequence step No L Sequence step No H 0 0 0 0 to 0 1 2 3 4 15 14 to Not used Bit number SFC block designation present 1 absent 0 SFC transition designation present 1 absent 0 SFC step designation present 1 absent 0 SD6 SD7 SD8 SD9 SD10 SD11 SD12 SD13 SD14...

Page 473: ...20 SD21 SD22 SD23 SD24 SD25 SD26 3 ABCDEFGH IJK 42H B 41H A 44H D 43H C 46H F 45H E 48H H 47H G 49H I 2EH 4BH K 4AH J b15 to b8 b7 to b0 Number Meaning Drive File name ASCII code 8 characters Extension 2EH ASCII code 3 characters Empty Example File name SD16 SD17 SD18 SD19 SD20 SD21 SD22 SD23 SD24 SD25 SD26 Number Meaning Time 1 s units 0 to 999 s Time 1ms units 0 to 65535ms Empty SD16 SD17 SD18 S...

Page 474: ... 51H 50H 47H QPG Sequence program SFC program 51H 43H 44H QCD Device comment 51H 44H 49H QDI Initial device value 51H 44H 52H QDR File register 51H 44H 53H QDS Simulation data 51H 44H 4CH QDL Local device 51H 54H 44H QTD Sampling trace data 51H 54H 4CH QTL Status latch data 51H 54H 50H QTP Program trace data 51H 54H 52H QTR SFC trace file 51H 46H 44H QFD Breakdown history data ...

Page 475: ...DC DOWN detection Every time the input voltage falls to or below 85 AC power 65 DC power of the rating during operation of the CPU module the value is incremented by 1 and stored in BIN code S Error D9005 QnA SD54 MINI link errors Error detection state 1 When any of X n 0 X n 20 X n 6 X n 26 X n 7 X n 27 and X n 8 X n 28 of the mounted MINI S3 turns ON the bit of the corresponding station turns to...

Page 476: ...umber for timer set value and time over error Corresponds to SM90 Set the annunciator number F number that will be turned ON when the step transition monitoring timer setting or monitoring timeout occurs Turning ON any of SM90 to SM99 during an active step starts the timer and if the transition condition next to the corresponding step is not met within the timer time limit the set annunciator F tu...

Page 477: ...as indicated in the following figure S Every END processing D9015 format change QnA b15 b12 b11 b8 b7 b4 b3 b0 1 2 Empty 3 to to to to 1 CPU switch status 0 RUN 1 STOP 2 L CLR 2 Memory card switch 3 DIP switch b8 through b12 correspond to SW1 through SW5 of system setting switch 1 b14 and b15 correspond to SW1 and SW2 of system setting switch 2 respectively OFF at 0 ON at 1 b4 corresponds to memor...

Page 478: ...ear last two digits and month are stored as BCD code as shown below S Request U D9025 QnA SD211 Clock data Clock data day hour The day and hour are stored as BCD code as shown below D9026 SD212 Clock data Clock data minute second The minutes and seconds after the hour are stored as BCD code as shown below D9027 SD213 Clock data Clock data day of week The day of the week is stored as BCD code as sh...

Page 479: ...ber of an I O module that is removed replaced in the online status with power on Default value 100H U D9094 Q2A S1 Q3A Q4A Q4AR SD253 RS422 transmission speed RS422 transmission speed Stores transmission speed of RS422 0 9600bps 1 19 2kbps 2 38 4kbps S When changed New QnA SD220 SD221 SD222 SD223 SD224 SD225 SD226 SD227 b15 to b8 b7 to b0 15th character from the right 16th character from the right...

Page 480: ...ice assignment Same as parameter contents Number of points assigned for X Stores the number of points currently set for X devices S Initial New QnA SD291 Number of points assigned for Y Stores the number of points currently set for Y devices SD292 Number of points assigned for M Stores the number of points currently set for M devices SD293 Number of points assigned for L Stores the number of point...

Page 481: ...t for the first module SD362 to SD368 Information from 4th module Configuration is identical to that for the first module SD380 Ethernet instruction reception status Instruction reception status of 1st module S Initial New QnA SD392 Software version Internal system software version Stores the internal system software version in ASCII code Note The internal system software version may differ from t...

Page 482: ...Stores value n of 2n second clock Default is 30 Setting can be made between 1 and 32767 U New QnA SD420 Scan counter Number of counts in each scan Incremented by 1 for each scan execution after the CPU module is set to RUN Not counted by the scan in an initial execution type program Count repeats from 0 to 32767 to 32768 to 0 S Every END processing New QnA SD430 Low speed scan counter Number of co...

Page 483: ...Storage range 0 to 65535 SD527 Stores the s place S Every END processing D9019 format change QnA SD527 Maximum scan time in 100 s units New SD528 Current scan time for low speedexecution type programs Current scan time in 1 ms units Stores the current scan time of a low speed execution type program into SD528 and SD529 Measurement is made in 100 s units SD528 Stores the ms place Storage range 0 to...

Page 484: ...es the ms place Storage range 0 to 65535 SD547 Stores the s place Storage range 0 to 900 Stored every scan S Every END processing New QnA SD547 Execution time for low speed execution type programs in 100 s units SD548 Scan execution type program execution time Scan execution type program execution time in 1 ms units Stores the execution time of a scan execution type program during one scan into SD...

Page 485: ...y Drive 4 capacity Drive 4 capacity is stored in 1 k byte units Empty capacity after format is stored S Initial Card installation and removal New Q2A S1 Q3A Q4A Q4AR SD624 Memory card B use conditions Memory card B use conditions The use conditions for memory card B are stored as bit patterns In use when ON The significance of these bit patterns is indicated below S Status change New Q2A S1 Q3A Q4...

Page 486: ...II code S Status change New QnA SD652 SD653 SD654 SD655 SD656 SD660 Boot operation designation file Boot designation file drive number Stores the drive number where the boot designation file QBT is being stored S Initial New QnA SD661 File name of boot designation file Stores the file name of the boot designation file QBT S Initial New QnA SD662 SD663 SD664 SD665 SD666 SD641 SD642 SD643 SD644 SD64...

Page 487: ...ed to the MELSECNET MINI S3 S During execution D9081 QnA SD715 IMASK instruction mask pattern Mask pattern Patterns masked by use of the IMASK instruction are stored in the following manner S During execution New QnA SD716 SD717 SD718 Accumulator Accumulator For use as replacement for accumulators used in A series programs S U New QnA SD719 SD730 No of empty areas for CC Link communication reguest...

Page 488: ...762 SD763 SD764 SD765 SD766 SD767 SD768 SD769 2nd character 1st character 4th character 3rd character 6th character 5th character 8th character 7th character 10th character 9th character 12th character 11th character 14th character 13th character 16th character 15th character 18th character 17th character 20th character 19th character 22nd character 21st character 24th character 23rd character 26t...

Page 489: ...ucted 1 Contents of pattern data S During execution D9055 format change QnA SD813 SD814 SD815 SD816 SD806 SD807 SD808 SD809 SD810 SD811 2nd character 1st character 4th character 3rd character 6th character 5th character 8th character 7th character 2EH 2nd character of the extension 1st character of the extension 3rd character of the extension b15 to b8 b7 to b0 SD812 SD813 SD814 SD815 SD816 Patter...

Page 490: ...18 SD919 SD920 SD921 SD922 SD923 SD924 SD925 SD901 SD902 SD903 SD904 SD905 SD906 b15 to b8 b7 to b0 2nd character 1st character 4th character 3rd character 6th character 5th character 8th character 7th character 2EH 2nd character of the extension 1st character of the extension 3rd character of the extension SD910 SD911 SD912 SD913 SD914 SD915 b15 to b8 b7 to b0 SD916 SD917 SD918 SD919 SD920 SD921 ...

Page 491: ...ersion can be set by the user program if they could be set by the user program before conversion For details on the ACPU special registers refer to the user s manual for the corresponding CPU and MELSECNET or MELSECNET B Data Link System Reference Manuals Supplemental explanation on Special Register for Modification column For the device numbers for which a special register for modification is spe...

Page 492: ... devices perform monitor operation given in hexadecimal Cleared when all contents of SD1116 to SD1123 are reset to 0 I O module verify check is executed also to the modules of remote I O terminals QnA D9004 SD1004 MINI link master module errors Stores setting status made at parameters Error status of the MINI S3 link detected on loaded AJ71PT32 S3 is stored QnA D9005 SD1005 AC DOWN counter Number ...

Page 493: ...odule remains in RUN mode if changed to PAUSE mode QnA D9016 SD1016 Program number 0 Main program ROM 1 Main program RAM 2 Subprogram 1 RAM 3 Subprogram 2 RAM 4 Subprogram 3 RAM 5 Subprogram 1 ROM 6 Subprogram 2 ROM 7 Subprogram 3 ROM 8 Main program E2PROM 9 Subprogram 1 E2PROM A Subprogram 2 E2PROM B Subprogram 3 E2PROM Indicates which sequence program is run presently One value of 0 to B is stor...

Page 494: ...data minute second The minute and second are stored as BCD code as shown below QnA D9028 SD1028 Clock data Clock data day of week The day of the week is stored as BCD code as shown below QnA D9035 SD1035 SD648 Extension file register Use block No Stores the block No of the extension file register being used in BCD code QnA D9036 SD1036 Extension file registerfor designation of device number Device...

Page 495: ...ores 0 when error code 80 81 or 82 occurred Stores the block stating step number when error code 83 occurs QnA D9053 SD1053 Error transition Transition condition number where error occurred Stores the transition condition number where error code 84 occurred in an SFC program in BIN value Stores 0 when error code 80 81 82 or 83 occurred QnA D9054 SD1054 Error sequence step Sequence step number wher...

Page 496: ...9105 SD1105 D9106 SD1106 D9107 SD1107 D9108 SD1108 Step transfer monitoring timer setting Timer setting valve and the F number at time out Set the value of the step transition monitoring timer and the annunciator number F number that will be turned ON when the monitoring timer times out By turning ON any of SM1108 to SM1114 the monitoring timer starts If the transition condition following a step w...

Page 497: ...mber turned off by is erased from any of D9125 to D9132 and the F numbers stored after the erased F number are shifted to the preceding registerers By executing instruction the contents of SD64 to SD71 are shifted upward by one For A3N A3HCPU it can be performed by use of INDICATOR RESET switch on front of CPU module When there are 8 annunciator detections the 9th one is not stored into SD64 to SD...

Page 498: ...n corresponds to MELSECNET or MELSECNET II Bits corresponding to the MELSECNET II stations become 1 Bits corresponding to the MELSECNET stations or unconnected become 0 If a local station goes down during the operation the contents before going down are retained Contents of SD1224 to SD1227 and SD1228 to SD1231 are ORed If the corresponding bit is 0 the corresponding bit of the special register ab...

Page 499: ...7 switches to STOP mode b6 in SD1212 becomes 1 and when SD1212 is monitored its value is 64 40H QnA D9213 SD1213 Local station operation status Stores conditions for up to numbers 17 to 32 D9214 SD1214 Local station operation status Stores conditions for up to numbers 33 to 48 D9215 SD1215 Local station operation status Stores conditions for up to numbers 49 to 64 D9216 SD1216 Local station error ...

Page 500: ...ditions for up to numbers 33 to 48 D9227 SD1227 Local station and remote I O station initial communications underway Stores conditions for up to numbers 49 to 64 D9228 SD1228 Local station and remote I O station error Stores conditions for up to numbers 1 to 16 Stores the local or remote station numbers which are in error The bit corresponding to the station number with the error becomes 1 Example...

Page 501: ...ng to the MELSECNET II stations become 1 Bits corresponding to the MELSECNET stations or unconnected become 0 If a local station goes down during the operation the contents before going down are retained Contents of SD1224 to SD1227 and SD1228 to SD1231 are ORed If the corresponding bit is 0 the corresponding bit of the special register above becomes valid If the host master station goes down the ...

Page 502: ... 12 Special register Number Name Meaning Explanation Set by When Set Corres ponding ACPU D9 Corresponding CPU SD1300 Fuse blown module Bit pattern in units of 16 points indicating the modules whose fuses have blown 0 No blown fuse 1 Blown fuse present The numbers of output modules whose fuses have blown are input as a bit pattern in units of 16 points If the module numbers are set by parameter the...

Page 503: ... D9121 SD1406 D9122 SD1407 D9123 SD1408 New SD1409 to SD1430 New SD1431 New Table App 3 14 Special register Number Name Meaning Explanation Set by When Set Corres ponding ACPU D9 Corresponding CPU SD1500 SD1501 Basic period Basic period tome Set the basic period 1 second units use for the process control instruction using floating point data U New Q4AR SD1502 Process control instruction detail err...

Page 504: ...et by When Set Corres ponding ACPU D9 Corresponding CPU SD1512 Operation mode during CPU module start up Hot start switch power out time Shows the power out time S during the automatic switch from hot start to initial start in the operation mode when the CPU module is started up S Initial New Q4AR SD1590 Switch request network No Request source network No Stores the request source at work No when ...

Page 505: ...ormation classification code Refer to SD4 for the storage status S Each END SD4 Q4AR SD1605 Error common information Error common information Stores the common information for the error code Refer to SD5 to SD15 for the storage status SD5 SD1605 SD6 SD1606 SD7 SD1607 SD8 SD1608 SD9 SD1609 SD10 SD1610 SD11 SD1611 SD12 SD1612 SD13 SD1613 SD14 SD1614 SD15 SD1615 S Each END SD5 to SD15 Q4AR SD1606 SD1...

Page 506: ...s These are all 0 for stand alone systems Table App 3 17 Special register Number Name Meaning Explanation Set by When Set Corres ponding ACPU D9 Corresponding CPU SD1700 Tracking error detection count Tracking error detection count When the tracking error is detected count is added by one S Error New Q4AR ...

Page 507: ...rrective Action BMOVR instruction Program example LEDA BMOVR LEDC D10 LEDC D100 SUB K10 LEDR OUT SM1255 LEDC D10 LEDC D100 OUT SM1255 LEDR Modify the instruction to a BMOV instruction BMOV ZR100 ZR1000 K10 BXCHR instruction Program example LEDA BXCHR LEDC D10 LEDC D100 SUB K10 LEDR OUT SM1255 LEDC D10 LEDC D100 OUT SM1255 LEDR Modify the instruction to a BXCH instruction BXCH ZR100 ZR1000 K10 CHG ...

Page 508: ... Program example The number of counter points or the device by which the set value is used is set by parameter Number of counter points 512 Setting val stored dev start D3000 OUT C0 K10 OUT C256 D3000 OUT C0 K10 OUT C256 D3000 After conversion the parameters will be set as defaults so they must be set again if using an interrupt counter RFRP instruction Program example RFRP H100 K10 W100 K10 OUT S...

Page 509: ...s it is not necessary Change the microcomputer program for the AnNCPU or A3HCPU to the sequence program using QnACPU instructions Refer to Appendix 4 6 ZRRD instruction Program example DMOV K8000 D9036 LEDA ZRRD DMOV K8000 SD1036 OUT SM1255 Modify the instruction to an MOV instruction MOV ZR8000 SD718 SD718 is the device resulting from converting accumulator A0 ZRWR instruction Program example DMO...

Page 510: ...T D10 D100 DOUT instruction Program example LEDA DOUT LEDC Y10 LEDR OUT DY10 DRCL instruction Program example DRCL K8 DRCL SD718 K8 SD718 is the device resulting from converting accumulator A0 DRCR instruction Program example DRCR K8 DRCR SD718 K8 SD718 is the device resulting from converting accumulator A0 DROL instruction Program example DROL K8 DROL SD718 K8 SD718 is the device resulting from c...

Page 511: ...igh speed 512 Retentive 768 Setting val stored dev start D5000 OUT T0 K10 OUT T200 K10 OUT T225 K10 OUT T256 D5000 OUT T512 D5256 OUT T768 D5512 OUT T0 K10 OUTH T200 K10 OUT ST225 K10 OUT T256 D5000 OUTH T512 D5256 OUT ST768 D5512 RCL instruction Program example RCL K8 RCL SD718 K8 SD718 is the device resulting from converting accumulator A0 RCR instruction Program example RCR K8 RCR SD718 K8 SD71...

Page 512: ...SUM instruction Program example SUM D10 SUM D10 SD718 SD718 is the device resulting from converting accumulator A0 ZRRDB instruction Program example DMOV K8000 D9036 LEDA ZRRDB DMOV K8000 SD1036 ZRRDB SD1036 SD718 SD1036 is the device resulting from converting the special register D9036 SD718 is the device resulting from converting accumulator A0 ZRWRB instruction Program example DMOV K8000 D9036 ...

Page 513: ...function module dedicated instruction LEDA LEDB instruction name SUB LEDC device 1 SUB LEDC device n LEDR Program example LEDA SVWR1 SUB H2 LEDC D10 LEDR Enter G before the instruction G instruction name device Un device n G SVWR1 U2 D10 AnA AnUCPU data link dedicated instruction LEDA LEDB instruction name SUB LEDC device 1 SUB LEDC device n LEDR Program example LEDA LRDP SUB K12 LEDC D10 LEDC D10...

Page 514: ...d Z Z0 Z1 to Z6 Z1 to Z6 V Z7 V1 to V6 Z8 to Z13 If an index register is used for destination of double word operation or single word multiplication division the relation of upper and lower levels may be broken causing a problem An CPU Instruction Instruction after A QnA Conversion ...

Page 515: ... to left L Same as to left S Same as to left Correct to M M9000 to M9255 SM1000 to SM1255 B Same as to left T low speed timer Low speed high speed retentive is determined by parameter setting Same as to left T high speed timer Same as to left T retentive timer ST C Same as to left F Same as to left D Same as to left D9000 to D9255 SD1000 to SD1255 W Same as to left R Same as to left Z Z Z0 Z1 to Z...

Page 516: ...App 119 APPENDICES b Devices that are outside the QnACPU range are converted to SM1255 if they are bit devices and to SD1255 if they are word devices ...

Page 517: ...h parameters are not converted I O assignment Only the head I O No is made blank all other items are converted MELSECNET MINI auto refresh setting If only I O assignment was set in the parameters and MELSECNET MINI auto refresh settings have not been made the MELSECNET MINI data link operates with the default values The following items are set for the QnACPU default If settings have been made make...

Page 518: ...unt up For QnACPU the timer counts up instantaneously 2 Interrupt counter Interrupt counters for QnACPU count the number of interrupt occurrences However the counter contact does not turn ON even when the count has reached the set value The operation of interrupt counters for ACPU differs according to the CPU type a Interrupt counters for A3HCPU AnACPU or AnUCPU count the number of interrupts occu...

Page 519: ...e program and stand by execution for the subsequence program Modification of the sequence program The CHG instruction that switches between main sequence and subsequence programs is converted to OUT SM1255 after A QnA conversion Modify this OUT SM1255 to the PSCAN instruction which converts another sequence program to an scan execution type program Next add the GOEND instruction that executes a ju...

Page 520: ...ubsequence programs is converted to OUT SM1255 after A QnA conversion Delete it as it is not required for QnACPU If the same interrupt program or pointer is used for the main sequence program or subsequence program use only one interrupt program or pointer REMARK An ACPU executes END processing on switching from execution of the main sequence program to execution of the subsequence program and als...

Page 521: ...icrocomputer programs convert processing contents of the microcomputer programs to sequence programs using operation instructions added for QnACPU When using a utility software package of the following convert processing contents of the utility software package to a sequence program using operation instructions added for QnACPU SW AD57P Refer to the QnACPU Programming Manual AD57 Instructions SW U...

Page 522: ...App 125 APPENDICES Appendix 4 7 Comments Conversions are made for the device range of QnACPU Devices outside the range are not converted ...

Page 523: ...ction When using the constant scan function or error check function for ACPUs special registers or special relays are set In contrast for QnACPUs these functions are set with parameters To use these functions after conversion make settings in PLC RAS in the parameter mode ...

Page 524: ... output timing for outputs Y differs from that for the refresh mode The I O control mode for each CPU module is shown below Modifying programs that generate pulses from SET RST instructions by using direct devices Modify programs which in the direct mode output pulse output to the external using SET RST instructions to programs that use direct output devices for QnACPU Model Name I O control Metho...

Page 525: ... in the AnUCPU parameters can be converted by A QnA conversion Parameter modifications after conversion are not needed CPU modules other than AnUCPU The link settings in the CPU module parameters cannot be converted by A QnA conversion Link settings must be made in the parameters after conversion ...

Page 526: ...m The index registers in the interrupt program are cleared and the saved main sequence program contents are written to them For ACPU processing differs according to the CPU module type The processing for AnACPU and AnUCPU is the same as for QnACPU and no program modification is required after conversion In the case of AnCPU AnNCPU and A3HCPU when program processing is transferred from an interrupt...

Page 527: ...on pointer P254 and the CJ instruction destination pointer are converted to pointers with the same number As the above pointers are not used for QnACPU delete them For bit device output inversion The QnACPU has the FF instruction for inverting bit device outputs Modify the CHK instruction to the FF instruction 2 IX instruction The IX instruction is converted but not executed Modify the program so ...

Page 528: ... data FFFFH is stored to the storage device When writing data the instruction is executed but no data is stored in the file register For ACPU execution of such an instruction causes an error The capacity of file register R is set by parameter It is therefore necessary to check the capacities of file registers before executing instructions that access file registers such as the MOV instruction and ...

Page 529: ...rror detected by the QnACPU self diagnostics function it is not stored to special relay SD0 If the request source is a peripheral device the message or the error code is displayed If the request source is a special function module or a network system the error code corresponding to the requested processing is returned Location Where an Error is Detected Error Code Reference for Error Contents CPU ...

Page 530: ...n Turn the QnACPU system protect switch OFF 4005H The data volume is too large for the specified request Cannot execute in excess of capacity Reduce the data volume so that it can be handled with the request 4006H Password has not been cancelled Password has not been cancelled Cancel the set password 4007H CID is different from the QnACPU data Message 1 is displayed Check the CID 4008H The QnACPU ...

Page 531: ...ange the file name and then perform the request 4029H The capacity of the designated file is not secured File capacity is not enough Review the capacity of the designated file Or sort the designated drive memory and re perform 402AH The designated cluster No does not exist Cannot access files Check the designated cluster No and access by designating a cluster No within the number of clusters of th...

Page 532: ...f the device or the number of device points designated for simulation is not in 16 point units Device No is not in 16 units Check the head number and number of device points and then modify them to 16 point units 4050H Protect error Request contents cannot be performed because the write protect switch of the memory card is ON Cannot execute as the memory protect switch is ON Turn the write protect...

Page 533: ...eters Does not match the parameter Check the parameters Or check the data 4066H A keyword that differs from the one set for the designated drive memory was specified Keyword doesn t match Check the designated keyword 4067H The designated monitor file has not been secured File capacity is not enough Secure the monitor file then perform monitoring 4068H The designated command cannot be registered or...

Page 534: ...he parameters then designate the pointer P I 4086H An attempt was made to add a pointer P I that have already existed Device ranges are duplicated Check the pointer No to be added and change it 4087H The number of pointers designated is too great No pointer exists Check and correct the designated pointer 4088H The designated step No is not at the head of the instruction Execution position is incor...

Page 535: ...en completed 4098H An attempt was made to perform a request during one step continuous processing Unable to execute due to on going process Reissue the request after the processing has been completed 4099H An attempt was made to perform a request during one step forced execution processing Unable to execute due to on going process Reissue the request after the processing has been completed 409AH A...

Page 536: ...rect the designated file name 40B2H The designated program was not an SFC program This file cannot be handled Check and correct the designated file name 40B3H The SFC dedicated instruction exists in the write during RUN area Setting is incorrect Check and correct the set contents 4A00H Link related error The designated station cannot be accessed because no routing parameters have been set to the r...

Page 537: ...App 140 APPENDICES REMARK 1 Message 1 An error code is displayed in 2 Alert 1 3 Alert 2 ...

Page 538: ...App 141 APPENDICES APPENDIX 6 EXTERNAL DIMENSIONS Appendix 6 1 CPU Module 1 Q3ACPU Q4ACPU modules Unit mm inch ...

Page 539: ...App 142 APPENDICES 2 Q2ACPU Q2ACPU S1 modules Unit mm inch ...

Page 540: ...App 143 APPENDICES Appendix 6 2 Power Supply Module 1 A61P A61PN A61PEU A62P A62PEU A63P A65P A67P power supply modules Unit mm inch ...

Page 541: ...App 144 APPENDICES 2 A66P power supply module Unit mm inch ...

Page 542: ...App 145 APPENDICES Appendix 6 3 Main Base Unit 1 A32B base unit 2 A32B S1 base unit Unit mm inch Unit mm inch ...

Page 543: ...App 146 APPENDICES 3 A35B base unit 4 A38B A38HB A38HBEU base unit Unit mm inch Unit mm inch ...

Page 544: ...se Unit 1 A62B A65B A68B base units Unit mm inch Model Name Variable Dimensions mm inch Number of Slots A B C A62B 218 8 58 238 9 37 6 0 24 2 slots 0 1 A65B 332 13 07 352 13 86 12 0 47 5 slots 0 to 4 A68B 446 17 6 466 18 35 18 0 71 8 slots 0 to 7 ...

Page 545: ...55B A58B base units Unit mm inch Model Name Variable Dimensions mm inch Number of Slots A B C A52B 163 6 42 183 7 2 4 0 16 2 slots 0 1 A55B 277 10 9 297 11 69 10 0 39 5 slots 0 to 4 A58B 391 15 4 411 16 18 16 0 63 8 slots 0 to 7 ...

Page 546: ...ogram set the special relaies below 1 Switching of local device with special relay ON OFF Subroutine program SM776 Interrupt program SM777 SM776 SM777 OFF Operation is performed at the local device of the call source file of the subroutine program Operation is performed at the local device of the file executed before execution of the interrupt program ON Operation is performed at the local device ...

Page 547: ...App 150 APPENDICES a Operation for subroutine program SM776 operation OFF without function version B or with function version B SM776 operation ON with function version B ...

Page 548: ...App 151 APPENDICES b Operation for interrupt program SM776 operation OFF without function version B or with function version B SM776 operation ON with function version B ...

Page 549: ... instruction Therefore when SM776 and SM777 are ON the scan time is extended by the time below after the subroutine program interrupt program is executed once b ON OFF of SM776 and SM777 is set for each CPU module It cannot be set for each file c When ON OFF of SM776 and SM777 is changed during execution of the sequence program the control is performed with the changed information Q2ACPU S1 560 1 ...

Page 550: ...CNET 10 The network allows communicating data with the QnACPU in other station via many Ethernet or MELSECNET 10 To perform the network relay from the Ethernet module the Ethernet module with function version B or later is required 1 Access range Table 8 1 shows the access range of the network relay ftom the computer peripheral device with the system ...

Page 551: ...on and 2nd station and so on counting from the QnACPU side Table 8 1 Comparison table of access range from Ethernet module Access to Route QnACPU with Function Version QnACPU without Function Version A B A B Host access Computer QnACPU A Other station access in host network MELSECNET 10 Computer QnACPU B Other station access of other network From MELSECNET 10 to Ethernet Computer QnACPU C Other st...

Page 552: ...module without function version B error code 3103 No Ethernet module in the I O number set with the parameter appears and the system stops due to an error Table 8 2 Operation of QnACPU for online offline of Ethernet module Ethernet Parameter Ethernet Module Status QnACPUOperation With Online Communication with external device is performed with the specified parameter Offline The QnACPU does not sh...

Page 553: ...N1 Output points 16 N2 For N1 and N2 refer to the following table 2 Instruction execution time a Processing time of each instruction used for QnACPU program For the processing time of each instruction refer to the following manual QCPU Q mode QnACPU Programming Manual Common Instructions b Since interrupt fixed cycle execution type program have overhead time add the overhead time to the instructio...

Page 554: ...ECNET MINI S3 refresh Refresh time between QnACPU and MELSECNET MINI S3 network module For MELSECNET MINI S3 refresh time refer to the following manual MELSECNET MINI S3 Master Module User s Manual 3 CC Link auto refresh Refresh time between QnACPU and CC Link master local module For the auto refesh processing time of CC Link refer to the following manual Control Communication Link System Master L...

Page 555: ...ndition loca device setting 1 k point n number of program files 7 Multiple program execution Overhead time when executing each program that executes several programs in the QnACPU The processing time is added when several programs are executed Condition n number of program files CPU Module Processing Time Q2ACPU S1 0 46ms Q3ACPU 0 35ms Q4ACPU 0 18ms CPU Module Processing Time Agreement in Designat...

Page 556: ...ocessing time when the file register is used The processing time is added when the file register is used Condition n number of program files CPU Module Processing Time Q2ACPU S1 0 87 n 1 0 74ms Q3ACPU 0 64 n 1 0 60ms Q4ACPU 0 32 n 1 0 28ms ...

Page 557: ...nt Models The batteries used for QnACPU are classified as shown in the table below Product Name Model Name Description Handled as QnA series battery A6BAT Lithium battery alone Non dangerous goods QnA series memory card Q1MEM 128S Q1MEM 128SE Q1MEM 1MS Q1MEM 1MSE Q1MEM 256S Q1MEM 256SE Q1MEM 2MS Q1MEM 512S Q1MEM 512SE Q1MEM 64S Q1MEM 64SE Packed with lithium coin battery BR2325 ...

Page 558: ...e 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 For details please consult your transportation company ...

Page 559: ...s a separate collection system for waste batteries Dispose of batteries properly at the local community waste collection recycling center The following symbol is printed on the batteries and packaging of batteries and devices with built in batteries used for Mitsubishi programmable controllers Note This symbol is for EU member states only The symbol is specified in the new EU Battery Directive 200...

Page 560: ...8 or later print the symbol shown on the previous page on the batteries devices or their packaging 2 Explaining the symbol in the manuals To export devices incorporating Mitsubishi programmable controller to EU member states on September 26 2008 or later provide the latest manuals that include the explanation of the symbol If no Mitsubishi manuals or any old manuals without the explanation of the ...

Page 561: ...Unconnected 21 14 Battery transportation App 160 Boot file setting 13 7 Boot operation 14 2 22 11 C Cables 20 4 Calculation of Heat 19 8 Category II 20 12 Causes of Increasing Scan Time App 157 CE mark 20 1 CHK Instruction IX Instruction App 130 Circuit Fail Safe Circuit 19 5 System design circuit 19 4 Clearing file register 12 27 Clock data read 10 10 Clock Function 10 8 Comments App 125 COMMENTS...

Page 562: ... Detected by the CPU Module 4000H to 4FFFH App 133 Procedure to read an error code 22 16 ERROR CODES RETURNED TO THE REQUEST SOURCE IN GENERAL DATA PROCESSING App 132 Error history 9 10 Execution time measurement 8 19 Execution Types 12 1 Extension Application standards of extension base modules 17 5 Extension Base Unit App 147 Extension Cables Specifications 17 4 Setting of Extension Stage Number...

Page 563: ...2 3 Flow for actions when the RUN LED is turned OFF 22 4 When the USER LED is ON 22 7 LED indication 9 17 Lightning surge absorber 19 19 Link direct device 4 2 Link register W 4 2 Link relay B 4 2 Local device Data clear of local device 12 27 Monitor test of local device function version B or later 8 12 Use of local device Function version B or later App 149 Local pointer 12 17 LOW VOLTAGE DIRECTI...

Page 564: ... supply module specifications 16 1 Power supply module Replacement of the fuse for a power supply module 21 12 Precautions Precautions for using coaxial cables 20 5 Precautions When Connecting Uninterruptible Power Supply Module UPS 19 24 Transportation Precautions App 160 Precautions when using the QnA series PLC 20 11 Priority setting 9 19 Processing speed 4 1 Processing time App 156 Program cap...

Page 565: ... Standard applied for MELSEC QnA series PLC 20 11 Standards EMC DIRECTIVES 20 1 LOW VOLTAGE DIRECTIVES 20 11 Standby type program 12 16 Statements notes 11 7 Status Latch Function 8 35 Step execution 8 42 Step operation 8 41 Step relay S 4 2 STEP RUN status operation processing 12 24 STOP status operation processing 12 24 Structured programs 2 2 System area 8 11 8 62 SYSTEM CONFIGURATION 3 1 Confi...

Page 566: ...s 19 22 Write Simultaneous execution of write during RUN by several people 8 63 Write during RUN 8 15 Writing clock data to the clock devices 10 9 Write during RUN 8 15 Numerics 5VDC internal power consumption 4 3 Flow for actions when the BAT ARM LED is turned ON 22 7 Troubleshooting flowchart Flow for actions when booting from a memory card is not possible 22 11 Flow for actions when the ERROR L...

Page 567: ...MEMO ...

Page 568: ...avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or...

Page 569: ......

Page 570: ......

Reviews: