Home
MELSEC A62P Manual - Artisan Scientific Surplus Equipment
Contents
1. 16 4 0 65 Unit mm in Appendix 6 4 2 A1S68B extension base unit 4 mounting screws 6 N 130 5 12 O a e afi To o o E Elm ES k 400 15 75 16 4 0 65 Lif 7 D 1 OER e q o g a 28 1 10 d k d b Unit mm in APP 80 APPENDICES Appendix 6 4 3 A1S52B extension base unit 4 mounting screws M5 x 25 A o A Ki i TIT om F ge ojo 2 T tp l 135 5 31 Ria a 155 6 10 Tie oli 28 1 10 od ho MELSEC A Unit mm in Appendix 6 4 4 A1S55B extension base unit 4 mounting screws M5 x 25 110 4 33 Ha gt SS KT TT 130 5 12 240 9 45 260 10 24 m APP 81 16 4 0 65 28 1 10 Unit mm in APPENDICES MELSEC A Appendix 6 4 5 A1S58B extension base unit 4 mounting screws M5 x 25
2. 8 8 E ome vo j vo VO amp Vo 3 O Tay 52 MITSUBISHI ELECTRIC CORPORATION fasses 8 CT SNE ede eo ae o L 345 13 58 ER D D pes o D n Di i sas fh dk Unit mm in Appendix 6 4 6 A1S65B S1 extension base unit 4 mounting screws M5 x 25 TA A our OUT ke 110 14 33 Vo j P f i E 130 15 12 E 16 4 0 65 295 11 61 E 315 12 40 28 1 10 Unit mm in APP 82 APPENDICES Appendix 6 4 7 A1S68B S1 extension base unit MELSEC A 4 mounting screws M5 x 25 8 a4 m T H o p E 130 5 12 Amm vo W vo vo EH fio 10 UJ EX 3 A MITSUBISHI ELECTRIC CORPORATION soszeEesoas2 a m n Jo wA Gao o H en Goi can o E r 200 15 75 i k 16 4 0 65 Lit o ao Sa ER n n o alin 280410 D dk Unit mm in Appen
3. Memory write protect switch ON Memory write protect switch OFF 4 AnSHCPU MELSEC A 2 When the A2SHCPU S1 is used The memory write protect range can be changed by changing the settings of the memory write protect DIP switches For details see Fig 4 16 The SW2 may be in the ON or OFF position A2SHCPU Switch No Application I O select switch setting ON Direct method OFF Refresh method Memory write protect setting RAM and E PROM ON With memory write protection 1 OFF Without memory write protection 1 When installing the memory cassette the setting becomes invalid to RAM only A2SHCPU S1 Switch No Application I O select switch setting 10 ON Direct method OFF Refresh method Memory write protect setting RAM and E7 PROM ON With memory write protection 1 OFF Without memory write protection penra O fmon TT e riatoraekbytes O r feomeys O O EE a 16 to 32 k bytes 0 to 16 k bytes 1 When installing the memory cassette the setting becomes invalid to RAM only Fig 4 16 Memory write protect DIP switch settings 4 AnSHCPU MELSEC A Set the memory write protect range according to the address step number of each memory area sequence program comment sampling trace status latch file register Do not use the memory write protect function when executing a sampling trace or status latch
4. Jumper Memory protection setting pin Shows the memory protection canceled state A2SNMCA 30KE 7 MEMORY ICs AND BATTERY MELSEC A 7 2 Battery This section describes the specifications handling instructions and installation procedure for the battery 7 2 1 Specifications Table 7 3 shows specifications of the battery used to retain the data stored in memory when a power interruption occurs Table 7 3 Battery specifications Se Normal voltage 3 6 V DC Guaranteed lite Application For IC RAM memory backup and power interruption compensation function External dimensions mm in 16 0 63 x 30 1 18 7 2 2 Handling instructions 1 Do not short circuit 2 Do not disassemble 3 Do not expose to naked flame 4 Do not heat 5 Do not solder the battery terminals 7 2 3 Installation The battery lead connector is disconnected from the battery connector on the AnSHCPU board to prevent discharge during transportation and storage Before starting the ANSHCPU plug the battery connector into the battery connector on the ANSHCPU board e To use a sequence program stored in the user program area in the ANSHCPU if a power interruption occurs e To retain the data if a power interruption occurs A1SHCPU Battery connector 8 LOADING AND INSTALLATION MELSEC A 8 LOADING AND INSTALLATION
5. MELSEC A APPENDICES Appendix 1 Instructions Instructions used with the AnSHCPU are listed below See the following programming manuals for details of the instructions ACPU Programming Manual Fundamentals IB 66249 ACPU Programming Manual Common Instructions IB 66250 AnSHCPU AnACPU AnVCPU Programming Manual Dedicated Instructions IB 66251 1 Sequence instructions a Contact instruction Contact LD LDI AND ANI OR ORI b Connection instruction Connection ANB ORB MPS MRD MPP c Output instruction Output OUT SET RST PLS PLF CHK d Shift instruction Shift SFT SFTP e Master control instruction Master control MC MCR f Termination instruction Program end FEND END Q D o a E c O ER 5 a Stop STOP No operation Page feed page feed operation of printer NOPLF output APP 1 APPENDICES MELSEC A 2 Basic instructions a Comparison instructions b BIN arithmetic operation instructions o 16 bits Two types each for and P Addition 32 bits Two types each for D and D P Subtraction 16 Bis Two types each for and P 32 bits Two types each for D and D P Multiplication 16 bits a 32 bits Division DD 1 Addition INC INCP DING DINCP 1 Subtraction DEC DECP DDEC DDECP c BCD arithmetic operation instructions Addition BCD 4 digits Two types each for B and B P BCD 8 digits Two types each for DB
6. Number of points read Specify the number of data read word basis 1 to 480 Object area Set 00041 when accessing the buffer memory 00044 leer of an intelligent device station Specify the error check device Enor cheek 0 Completion status is used for 0 1 TER error check Other than O RX is used for error check Buffer memory address Specify the head address of the buffer memory Read data Pe stern _ 1 1 For error codes at error occurrence refer to the following manual Control amp Communication Link System Master Local Module type AJ65BT11 A1SJ61BT11 User s Manual 2 2 Indicates the maximum number of data read Set a value within the intelligent device station buffer memory capacity and parameter set receiving buffer area setting range 3 3 Refer to the manual of the intelligent device station from which data is read Handshaking Link 1 Handshaking link device setting items Devices Br 2 Setting of handshaking link devices Set data Setting Setting range end Specify the handshaking RX number of the Oto 127 User intelligent device station Specify the handshaking RY number of the Oto 127 User intelligent device station Specify the handshaking RWr number of the Oto 15 User intelligent device station FF 1 1 When FF is set no number is specified 2 2 The RX RY and RW numbers used are set by the user Note that RX and RY ON OFF control and RW data setting are performed by
7. b Voltage drop of the main base unit can be ignored A1S3 JB A1S3 JB a A52B A55B or A58B extension base unit is used Voltage drop of the main and extension Voltage drop of the extension base units can be ignored base units can be ignored 6 BASE UNIT AND EXTENSION CABLE MELSEC A 3 Calculation of the receiving end voltage Vocpu Vo Vi Ve V3 V4 Vs Ve V7 Ve Vo Vio V11 V12 V13 V14 Vis Icpu lo l l2 Ia l4 l5 le Iz Ig lg lo l1 l12 lia l14 lis Veru Vo to V7 Voltage drop of each slot of a main base unit IcPu lo to I7 Current consumption of each slot of a main base unit Vs to Vis Voltage drop of each slot of an extension base unit Is to 115 Current consumption of each slot of an extension base unit a Calculation of voltage drop of a main base unit A1S32B A1S33B A1S35B A1S38B Each slot of a main base unit has a resistance of 0 007 Q Calculate the voltage drop of each slot to obtain the total voltage drop of a main base unit 1 Voltage drop of a CPU module Vcru Veru 0 007 x 0 4 lo h l2 l3 l4 l5 le I7 Is lg lio h1 112 113 114 115 2 Voltage drop of slot O Vo Vo 0 007 x lo l1 l2 13 l4 154 le 17 ls 19 ho ha 112 113 114 115 3 Voltage drop of slot 1 V1 Vi 0 007 x l1 l2 13 144 15 le 17 ls lo lo hi h2 113 114 115 4 Voltage drop of slot 2 V2 V2 0 007 x l2 l3 l4 15
8. 4 Precautions a The constant scan time setting value stored in D9020 is cleared to zero 0 when the AnSHCPU power is turned ON or reset using the RUN switch Therefore it is necessary to write the following program if a constant scan is required from the first scan immediately after the AnSHCPU is turned ON or reset Contact normally ON II Oa Constant scan time setting value b Ifa momentary power interruption within the allowable time occurs the constant scan time is lengthened by the time taken up by the momentary power interruption Accordingly the constant scan function does not operate correctly c During constant scan time processing the following interrupt processing is allowed interrupt Processing time AD51 S3 general data processing 0 2 to 0 5 msec I O interrupt Interrupts from Al61 or AD51 S3 0 2 msec interrupt program execution time of IO to 117 10 msec interrupt 1 0 msec interrupt program execution time of 129 to 131 Interrupt from peripheral 0 2 msec devices When the above interrupts overlap the interrupt processing time becomes the total of the overlapping interrupts 4 AnSHCPU MELSEC A 4 2 2 Power interruption compensation for device data in the AnSHCPU LATCH function Data of all the AnS devices except devices specified as latch area are returned to default values OFF for bit devices and 0 for word devices when the power for AnSHCPU is interru
9. Appendix 1 1 CC Link Dedicated Instructions The instructions dedicated to CC Link are designed to make automatic refresh setting for the AnSHCPU and master module local module and to make data communication with a remote station connected to CC Link There are 11 different CC Link dedicated instructions as indicated in Table 1 Table 1 CC Link dedicated instruction list Instruction Stations Instruction execution connected to Classification name Description stations CC Link o pm e Network parameter RLPA Sets the network parameters to the master Y x setting module of CC Link Automatic refresh RRPA Sets the automatic refresh parameters to the y Y parameter setting master local module of CC Link Read from automatic Reads the specified points of data from the updating buffer memory RIFR automatic updating buffer memory of the L gt gt p gt 0 Ho wo lnOo gt 5 NO master local module Write to automatic Writes the specified points of data to the updating buffer memory RITO automatic updating buffer memory of the master local module Read from remote Reads the specified points of data from the device station buffer specified buffer memory of the remote memory device station Write to rom te d vico Writes the specified points of date to the station buffer memory RIWT specified buffer memory of the remote device station Y Y Y Y Read from intelligent Reads the specified points of
10. Is the voltage of the power supply for the load applied Check the Input signal in monitor mode with the pro grammer monitor signal OFF s voltage 2 across the output Check the wiring load of module s output COM the power supply for the terminals as load and restore the specified power Check external wiring and external input equipment Specified voltage Check the load wiring and Failure of output module load and restore the Replace output module power Check rush current when Change the output relay the output load reaches number to adjust the rush the maximum number of current to comply with simultaneous ON signals specifications Consult your nearest Mitsubishi representative If the input or load signals are not switched OFF see Section 11 4 I O Connection Troubleshooting and take corrective measures 11 8 11 TROUBLESHOOTING MELSEC A 11 2 8 Flowchart used when a program cannot be written to the PC CPU The following shows the corrective measures when a program cannot be written to the PC CPU Program cannot be written to the PC CPU Is the RUN STOP keyswitch set to STOP Set the RUN STOP keyswitch to STOP YES Can the program be written Replace the PC CPU YES Can the program be written Switch OFF the memory protect M PRO OFF Is the memory protect switch OFF
11. Set the CPU to RUN Switch ON the power Turn ON the start switch When DC power is established RA2 comes ON Timer TM times out after the DC power reaches 100 The TM set value should be the period of time from when RA2 comes ON to the establishment of 100 DC voltage Set this value to approximately 0 5 seconds When the magnetic contactor MC comes in the output equipment is powered and may be driven by the program If a voltage relay is used at RA2 no timer TM is required in the program MELSEC A 1 RUN STOP circuit interlocked with RA1 run monitor relay 2 Low battery alarm 3 RA1 switched ON by M9039 run monitor relay 4 Power to output equipment switched OFF when the STOP signal is given 5 Input switched when power supply established 6 Set time for DC power supply to be established 7 ON when run by M9039 8 Interlock circuits as necessary 8 LOADING AND INSTALLATION 2 MM 2 MELSEC A Fail safe measures against PC failures Problems with the CPU or memory can be detected by the self diagnosis function However problems with the I O control area may not be detected by the CPU If such a problem arises all I O points turn ON or OFF depending on the nature of the problem and it may not be possible to maintain normal operating conditions and operating safety Although Mitsubishi PCs are manufactured under strict quality control they may fail or op
12. 1 OVERVIEW 7 10 12 13 MELSEC A Full compatibility with A1S S1 A2SCPU S1 Because there is full compatibility of the functions and instructions with A1S S1 AZ2SCPU S1 all software packages can be used For the GPP function software package select A3 as the CPU type to create the sequence program In addition power supply module base unit and I O modules can be used Compact size The outside dimensions of the ANSHCPU system with one power supply module one CPU and eight 16 point I O modules for use with AnS mounted to the main base unit are 430 mm 16 9 in W 130 mm 5 12 in H and 110 mm 4 33 in D Max 8 k 14 k steps of program An AnSCPU allows the creation of a program of up to 8 k A1SCPU S1 A1SCPUC24 R2 14 k A2SCPU S1 steps containing up to 26 sequence instructions 131 basic instructions 106 application instructions and 11 CC Link dedicated instructions In addition microcomputer programs and utility programs created by the user can be used SFC language compatible An AnSCPU contains a microcomputer program area so it can use an SFC program by using the software on an IBM personal computer Two extension connectors on the right and left sides In order to facilitate wiring wherever the extension base unit is installed extension connectors are provided at both left and right sides of the AnSHCPU and extension cables that suit the requirements imposed by d
13. 28 1 10 lO Lalla i c Unit mm in 4 mounting screws 6 6 eo vo POWER MITSUBISHI ELECTRIC CORPORATION i Do TJ if M5 x 25 Pt 235 9 25 255 10 04 al O oO i Fm APP 78 16 4 0 65 28 1 10 Unit mm in APPENDICES MELSEC A Appendix 6 3 3 A1S35B main base unit 4 mounting screws M5 x 25 g 1 0 6 Ei Ls Ls k 110 4 33 l CPU KO J vO ro IE 7 TT MITSUBISHI ELECTRIC CORPORATION 1 30 5 1 2 a J eer Es Totaly ae eal Hl 2 L k TAN k 16 4 0 65 i gt 325 12 80 LI fmi g paa po D SS Unit mm in Appendix 6 3 4 A1S38B main base unit 4 mounting screws M5 x 25 130 5 12 Bos26E680652 C MADEINJAPAN ESD 410 16 14 16 4 0 65 430 16 93 ae LI n E d F Unit mm in APP 79 APPENDICES MELSEC A Appendix 6 4 Extension Base Units Appendix 6 4 1 A1S65B extension base unit 4 mounting screws M5 x 25 8 Acc im qa e Tall L E 295 11 61 m 315 12 40 T H a n n mi 28 1 10 B 110 14 33 130 15 12
14. O Fe O 9 s to O O Om INPUT INPUT O _ 240VAC 240VAC A1S61PEU A1S62PEU 4 A1S61PEU 5 A1S62PEU MELSECA1S61PN MELSECA1S62PN POWER Que POWER O lt MITSUBISHI MITSUBISHI INPUT OUTPUT INPUT OUTPUT 100 240VAC 5VDC 5A 100 240VAC 5VDC 3A 105 105VA 24VDC 0 6A 50 60Hz 50 60Hz TZ O 24V O 24G Sjer gua ole to O3 INPUT i O3 INPUT O _J 100 240VAC o O _ 100 240VAC A1S61PN A1S62PN C7 6 A1S61PN 7 A1S62PN No Name escnipion O O POWER LED The indicator LED for the 5 V DC power AE ad 24 G Used to supply 24 V DC to inside the output module using external wiring FG terminal The grounding terminal connected to the shield pattern of the printed circuit board 5 POWER SUPPLY MODULE MELSEC A p Name scription OOO O Either a 100 V AC or 200 V AC power supply can be connected when using 100 V AC short the two input voltage terminals with the jumper supplied as an accessory to use 200 V AC leave these terminals open The jumper is not attached to the module when shipment It is packed in a bag together with the module lt Setting when the power supply voltage is 100 V AC gt Input voltage select terminals O F Short using the jumper provided C TsHort toovac as an accessory O Lorn 200VAC O SiG O pur O 100 200VAC LG ter
15. Tightening the screws too far may cause damages to the screws and or the module resulting in fallout short circuits or malfunction When installing more cables be sure that the base unit and the module connectors are installed correctly After installation check them for looseness Poor connections could result in erroneous input and erroneous output Correctly connect the memory cassette installation connector to the memory cassette After installation be sure that the connection is not loose A poor connection could result in erroneous operation Do not directly touch the module s conductive parts or electronic components Doing so could cause erroneous operation or damage of the module WIRING PRECAUTIONS e Completely turn off the external power supply when installing or placing wiring Not completely turning off all power could result in electric shock or damage to the product e When turning on the power supply or operating the module after installation or wiring work be sure that the module s terminal covers are correctly attached Not attaching the terminal cover could result in electric shock Be sure to ground the FG terminals and LG terminals to the protective ground conductor Not doing so could result in electric shock or erroneous operation When wiring in the PC be sure that it is done correctly by checking the product s rated voltage and the terminal layout Connecting a power supply that is different from the
16. V 8 LOADING AND INSTALLATION MELSEC A 6 Power consumption of the special function module power supply is expressed as Ws Isv x 5 Iz4v x 24 hoov x 100 W The sum of the above values is the power consumption of the entire PC system W Wew Wsv Waav Wout Win Ws W Further calculations are necessary to work out the power dissipated by the other equipment in the panel Generally the temperature rise in the panel is expressed as W UA T C Where W power consumption of the entire PC system obtained as shown above A panel inside surface area m am ll 6 if the panel temperature is controlled by a fan etc 4 if the panel air is not circulated If the temperature rise inside the panel exceeds the stipulated range you are recommended to install a heat exchanger in the panel to lower the temperature If an ordinary ventilation fan is used dust will be sucked in along with the air from outside the panel and this may affect the performance of the PC 8 LOADING AND INSTALLATION 8 4 Module Mounting MELSEC A This section gives the mounting instructions for the main base unit and extension base units 8 4 1 Mounting instructions The instructions for mounting the PC to a panel etc are presented below 1 To improve ventilation and facilitate the replacement of the module provide 30 mm 1 18 in or more of clearance around the PC However w
17. 1 is subtracted from the contents of detection quantity q y D9124 The quantity which has been turned on by OUT F or SET F is stored into D9124 in BIN code The maximum value of D9124 is 8 When one of FO to 255 is turned on by OUT F or SET F the F number which has turned on is entered into D9125 to D9132 in due order in BIN code The F number which has been turned off by RST F is erased from D9125 to D9132 and the contents of data registers succeeding the data register where the erased F number was stored are shifted to the preceding data registers When the LED R instruction is executed the contents of D9125 to D9132 are shifted upward by one When there are 8 annunciator detections a 9th one is not stored in D9125 to 9132 even if detected Annunciator Annunciator detection number detection number SET SET SETSET SETSET SETSET SET SET SETLED R F50 F25 F19 F25 F15 F70 F65 F38F110F151F210 ojojojojojojojojojo APP 58 APPENDICES MELSEC A 1 All special register data is cleared by the power off latch clear and reset operations The data is retained when the RUN STOP switch is set to STOP For the above special registers with numbers marked 1 the contents of the register are not cleared if the normal status is restored To clear the contents use the following method 1 Method using a user program Insert the circuit shown at right pias e
18. 1 l Completion device OFF i i es E Abnormal ON completion 4 l i On completion status OFF f 1 Normal completion J display device E Ss lormal completion 1 scan During processing of RIWT instruction Data can be written by RIWT instruction I 1 1 i i l 1 I Prt j 1 1 l 4 The following condition will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of written points specified at CDD 1 is outside the range 0 to 480 APP 29 APPENDICES MELSEC A Program Example The following program writes data 10 and 20 to 111H and 112H of the buffer memory of the intelligent device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F X0020 PK i 0 MOV 2 D251 Setting of the number of written points Setting of intelligent device station buffer memory Setting of buffer memory head address P H MOV 0004 D252 PH MOV 0111 D253 P K LMOV 10 D254 Setting of written data 10 PK MOV 20 D255 Setting of written data 20 TLEDB RIWT H SUB 0000 K SUB 1 RIWT instruction designation LEDC D250 CLEDC M250 l LLEDR CIRCUIT END APP 30 APPENDICES MELSEC A 1 1 8 Read from intelligent device station buffer memory with handshake RIRCV Bit device Worddevice device Constant Pointer F xlyimbuls e rlrclo wlrlnoalz v x n P
19. Can the program be written Isa ROM memory cassette used Replace the EZPROM memory cassette or use a built in RAM Can the program be written Counstult your nearest Mit subishi representative End 11 9 11 TROUBLESHOOTING MELSEC A 11 3 Error Code List If an error occurs in the RUN mode an error display or error code including a step number is stored in the special register by the self diagnosis function The error code reading procedure and the causes of and corrective actions for errors are shown in Table 11 1 11 3 1 Error codes The followings are the explanation about the descriptions and the causes of the error messages error codes and the detailed error codes and their corrective actions The detailed error codes are stored in D9092 only when using the dedicated instruction for CC Link Contents of Deaile special error register code D9008 D9092 BIN value Error message INSTRUCT CODE ERR Table 11 1 Error codes CPU status Error and cause An instruction code which cannot be decoded by the CPU is included in the program 1 A memory cassette containing an invalid instruction code has been loaded 2 The occurrence of an error destroyed the memory contents adding an instruction code that cannot be read to the memory An instruction code which cannot be decoded by the CPU is included in the program 1 A memory cassette conta
20. FG Frame Ground with the thickest and shortest wire possible The wire length must be 30 cm 11 18 in or shorter The LG and FG terminals function is to pass the noise generated in the PC system to the ground so an impedance that is as low as possible must be ensured As the wires are used to relieve the noise the wire itself carries a large noise content and thus short wiring means that the wire is prevented from acting as an antenna A long conductor will become a highly efficient antenna at high frequency 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A 2 The earth wire led from the earthing point must be twisted with the power supply wires By twisting with the earthing wire noise flowing from the power supply wires can be relieved to the earthing However if a filter is installed on the power supply wires the wires and the earthing wire may not need to be twisted 3 Except for A1S61PEU and A1S62PEU short between FG and LG terminals by a short jumper wire 9 1 2 3 Cables The cables led from the control cabinet contain a high frequency noise element and outside the control panel these cables act as antennae and radiate noise The cables connected to input output modules or special modules which leave the control panel must always be shielded cables Mounting of a ferrite core on the cables is not required excluding some models but if a ferrite core is mounted the noise radiated through the cable can be su
21. LED LED is ON during OFF or flashing 11 2 3 and 11 2 4 RUN indicates an error Check that the OFF a ERROR See Sections LED LED is ON when ON when an error 11 2 5 and 11 2 6 an error occurred occurred ON when input is ON Check that the OFF when input is OFF Input See Sections p LED turns ON and Display other than LED hie 11 2 7 OFF above indicates an error On when output is ON Output Check that the OFF when output is OFF See Sections LED turns ON and Display other than LED Ser 11 2 7 OFF above indicates an error CPU module indicator lamps 10 1 10 MAINTENANCE AND INSPECTION Periodic Inspection MELSEC A This section explains the inspection items which are to be checked every six months to one year This inspection should also be performed when the equipment is moved or modified or the wiring is changed Table 10 2 Periodic inspection No Check item Check point Judgement temperature Measure whit thermometer and hygrometer Measure corrosive gas Ambient humidity Line voltage check Ambient environment Measure voltage across 100 200 V AC terminal Looseness Move the module play Ingress of dust or foreign material a e 2 5 fe D E 3 Loose terminal screws Distances between Solderless terminals Visual check Connecting conditions Loose connector Battery Check battery special auxiliary relays M9006 an
22. Locations where the ambient humidity is outside the range of 10 to 90 RH Locations where dew condensation takes place due to sudden temperature changes Locations where there are corrosive and or combustible gasses Locations where there is a high level of conductive powder such as dust and iron filings oil mist salt and organic solvents Locations exposed to the direct rays of the sun Locations where strong power and magnetic fields are generated Locations where vibration and shock are directly transmitted to the main module 8 3 Calculation of Heat Generated by the Programmable Controller System The operating ambient temperature of the PC must be kept below 55 C In order to plan a heat dissipating design for the panel that houses the equipment the average power consumption heat generation of the devices and equipment housed in the panel must be known Therefore the method for determining the average power consumption of an AnSHCPU system is described here Calculate the temperature rise inside the panel from the power consumption Average power consumption Power is consumed by the following PC areas Is v 5 V DC line AC power supply Power Re module PC CPU Output Input Special fucn module module module tion module 5 Relay Input current Power transistor lin x E supply poe a pay 24V DC line Output current Input External 24 lout x
23. and DB P BCD 4 digits Two types each for B and B P Subtraction BCD 8 digits Two types each for DB and DB P Multiplicati BCD 4 digits Multiplication EA BCD 8 digits DB DB P Division BCD 4 digits B B P BCD 8 digits DB DB P d BCD BIN conversion instructions INAS BCD BCDP DBCD DBCDP act BIN BINP DBIN DBINP e Data transfer instructions MOV MOVP Transfer DMOV DMOVP XCH XCHP Change DXCH DXCHP 16 bits CML CMLP Undefined transfer 32 bits DCML DCMLP Block transfer 16 bits BMOV BMOVP Repeat data block transfer 16 bits FMOV FMOVP APP 2 APPENDICES MELSEC A f Program branch instructions CJ SCJ JMP Subroutine call CALL CALLP RET Interrupt program enable disable El DI IRET Microcomputer program call g Refresh instructions Link refresh COM Link refresh enable disable El DI Partial refresh 3 Application instructions a Logical operation instructions Logical product 16 bits Two types each for WAND and WANDP 32 bits DAND DANDP Logical product 16 bits Two types each for WOR and WORP 32 bits DOR DORP Exclusive logical sum 16 bits Two types each for WXOR and WXORP 32 bits DXOR DXORP NOT exclusive logical 16 bits Two types each for WXNR and WXNRP sum 32 bits DXNR DXNRP es Comploment 16 bits NEG NEGP reversed sign b Rotation instructions Right ward rotation 16 bits ROR RORP RCR RCRP 32 bits DROR DRORP DRCR
24. b12 to b15 Remote device station Oto 2 Slave station setting information Local station Intelligent device station 3 Set the number of points transmitted from the master y Sending buffer size i station to a local intelligent device station Receiving buffer size Set the number of points transmitted from a z 9 local intelligent device station to the master station Set the number of points of the automatic updating buffer used by the master station and local intelligent device station Automatic updating buffer size To be set in response to the module used APP 8 APPENDICES MELSEC A Functions 1 When the RLPA instruction is executed the network parameter data set to the devices beginning with the one specified at D1Cis get to the master module specified at n AnSHCPU Master module n Network Network parameter setting Network to parameter parameters data DD n 2 When the slave station type specified is a local intelligent device station it is necessary to set the sending buffer size receiving buffer size and automatic updating buffer size When the slave station type is a remote I O station or a remote device station it is not necessary to set the sending buffer size receiving buffer size and automatic updating buffer size Local station Remote I O station Remote device station Intelligent device station Sending buffer s
25. le 17 ls 19 ho 111 lo 113 114 115 5 Voltage drop of slot 3 V3 V3 0 007 x l3 l4 l5 le I7 18 lo lo h1 ho l3 114 115 6 Voltage drop of slot 4 V4 V4 0 007 x l4 l5 le 17 ls l9 ho hi h2 h3 114 115 7 Voltage drop of slot 5 Vs Vs 0 007 x l5 le 17 ls lo l10 h1 l12 113 114 115 8 Voltage drop of slot 6 Ve Ve 0 007 x le 17 ls l9 ho 144 h2 143 114 115 9 Voltage drop of slot 7 V7 V7 0 007 x l7 ls lo l10 h1 Ihe h3 114 115 10 Total voltage drop of a main base unit Vk Vk Vepu Vo V1 V2 V3 V4 V5 Vo V7 6 BASE UNIT AND EXTENSION CABLE MELSEC A b Calculation of voltage drop of an extension base unit A1S52B S1 A1S55B S1 A1S58B S1 Each slot of an extension base unit has a resistance of 0 006 Q Calculate the voltage drop of each slot to obtain the total voltage drop of an extension base unit 1 Voltage drop of slot 8 Vs Vs 0 006 x ls l9 ho h11 112 113 114 115 2 Voltage drop of slot 9 Vo Vo 0 006 x l9 l10 111 l12 113 h4 115 3 Voltage drop of slot 10 Vio Vio 0 006 x lo h11 112 113 l14 115 4 Voltage drop of slot 11 V11 V11 0 006 x 111 112 113 h4 115 5 Voltage drop of slot 12 V12 V12 0 006 x 112 113 l14 115 6 Voltage drop of slot 13 V13 V13 0 006 x 113 114
26. 2 o gt 3 fo E gt o o gt n ra o z fo a Different intelligent device stations have different buffer memory capacities Refer to the manual of the intelligent device station used Only one of the RIRD RIWT RISEND and RIRCV instructions may be executed for the same station If two or more of the RIRD RIWT RISEND and RIRCV instructions are executed the second and subsequent instructions are ignored RDGET RDPUT and RDMON may be executed for the same station separately Any of these instructions cannot be executed in two or more locations for the same station If any of RDGET RDPUT and RDMON instructions is used in two or more places the second and subsequent instructions are ignored RIRD RIWT RISEND RIRCV RDGET RDPUT and RDMON may be executed for different stations at the same time Note that up to 64 instructions may be executed simultaneously The data of any devices used by the CC Link dedicated instruction should not be changed until the completion of the instruction If the data of the device is changed during execution of the instruction the CC Link dedicated instruction cannot be completed properly Specify the head I O number of the master local module in the CC Link dedicated instruction This head I O number of the master local module is the value in the upper 2 digits of the master local module s I O number represented in 3 digits For example when the master local module s I O numb
27. 2nd priority 1st priority ie i Ignored Error item No setting area D9038 D9039 D9039 4 D9038 b15 to b4 b3 to bO b15 to b12 bli to b8 b7 to b4 b3 to bO 0 0 0 6 4 3 2 1 Fig 4 15 Error priority in D9038 and D9039 and error setting items The ERROR LED is not lit if an error in Table 4 7 for which error indication priority is not set occurs If all bits are 0 in D9038 and D9039 for example the ERROR LED will not be lit when any errors among those corresponding to error item numbers 1 to 6 occurs Example To make the ERROR LED stay OFF when an annunciator F is turned ON change the error item number area initially set to 4 to 0 b15 to b4 b3 to bO b15 to b12 b11 to b8 b7 to b4 b3 to bO o o 0 6 0 3 2 1 The error item setting area does not contain 4 so the ERROR LED will remain OFF even when an annunciator is turned ON 2 In this case however M9008 the CPU error flag is set and the corresponding error code is stored in D9008 CPU error register In order to change the priorities store the error item number listed in Table 4 7 in each priority area of D9038 and D9039 the LED display priority storage registers 4 AnSHCPU MELSEC A 4 2 9 Clock function The AnSHCPU has an internal clock function Time management is made possible by reading clock data Clock operations continue by using battery backup in the
28. 4 7 that normally turns ON the ERROR LED occurs if indication of the error is not necessary For example the ERROR LED can be made to stay OFF when an annunciator F is turned ON However the setting cannot be changed for errors that stop the sequence program b An LEDR instruction can be used to reset annunciators By setting the annunciator to the first priority an LEDR instruction can be used to reset the annunciator even if another error occurs Normally if a higher priority error occurs the annunciator cannot be reset 1 The default setting of priorities for ERROR LED display is shown in Table 4 7 Table 4 7 Priority for ERROR LED display Flashing Annunciator F turning ON Battery error D 6 i High Error which causes the AnSHCPU to stop A unconditionally I O module verification error 1 Blown fuse error Special module fault Link parameter error 2 Operation error CHK instruction execution Low 4 AnSHCPU MELSEC A 2 Changing the priorities The ERROR LED display priority in D9038 and D9039 the LED display priority storage register is changed by changing the previously set error item number Fig 4 15 shows the error number storage for each priority and the default values initially set by the PC CPU D9038 D9039 D9039 _____ D9038 b15 to b4 b3 to bO b15 to b12 b11 to b8 b7 to b4 b3 to bO 5th priority 4th priority 3rd priority
29. 9 A1S65B extension base unit 20 ccccccccccccceceeseeeseeeeeeeeeeeeeeeeeeeeeees APP 80 A1S68B extension base unit 2 cccccccccceccceeseeeseeeeeeeeeeeseeeeeeeeeees APP 80 A1S52B extension base unit 2 cccccccccceceeeeseeeseeeeeeeeeeeeeeeeeeeseees APP 81 A1S55B extension base UNit 2 niinen sanina thuiteas kirain ainiin APP 81 A1S58B extension base unit 2 cc ccccccccceeceeseseceeeseeeeeeeceeeeeeeeeees APP 82 A1S65B S1 extension base UNlit cecccccccesesesseeseeeseeeeeeeeeeseeees APP 82 A1S68B S1 extension base unit tetas APP 83 A1S52B S1 extension base unit tetas APP 83 A1S55B S1 extension base Unit tetas APP 84 Appendix 6 4 10 A1S58B S1 extension base unit APP 84 Appendix 6 5 Memory Cassette cece ccccceceeneeeeeeteeeeeeeeeeseeeseeeseeeeeseeeseneeseeenereneeeeags APP 85 Appendix 6 5 1 AnSMCA memory Cassette eee eere eene srnesrnesnesreesrne APP 85 Appendix 6 5 2 AnSNMCA memory cassette eseese eeeene snenie srresernssens APP 85 Appendix 6 6 Memory Write Adapter reter APP 86 Appendix 6 6 1 A6WA 28P memory write adapter eee ee eeeeeeeeees APP 86 1 OVERVIEW 1 OVERVIEW MELSEC A This user s manual describes the functions specification and handling of the A1SJHCPU general purpose PC abbreviated as A1SJHCPU from here on A1SHCPU general purpose P
30. A6WU requires a memory write adapter optional The valid combinations of memory cassette and memory write adapter are as follows CPU model Memory cassette model Memory write adapter model A1SHCPU A1SNMCA 8KP A6WA 28P A1SJHCPU A1SHCPU A1SMCA 8KP A1SNMCA 8KP A6WA 28P 5 Program write during operation with E7PROM a When an operation is executed using an E PROM writing is not possible in the RUN status If writing is attempted in this status the following messages will be sent to the peripheral devices e When the SW3GP GPPA PC COMMUNICATIONS is used ERROR ERROR CODE 17 is displayed e When SWORX GPPA gt PC COMMUNICATIONS is used ERROR ERROR CODE 17 is displayed e When the A7PU is used gt PC NOT RESPOND is displayed Programs cannot be written from peripheral devices which are connected to the computer link module or other stations of the MELSECNET Write programs from peripheral devices connected to the ANSHCPU s RS 422 2 SYSTEM CONFIGURATION c MELSEC A When writing a program to the A1SNMCA 2KE set the parameter for main sequence program capacity to 2 k steps or less Programs written with a main sequence program capacity setting of 3 k steps or over cannot work properly Checking between the AnSHCPU and a peripheral device will resultin a mismatch 2 SYSTEM CONFIGURATION MELSEC A 2 2 2 Software packages 1 Specifying the system startup software package
31. AC of the power supply module and the I O cables and the cable for 12 24 V DC of I O modules are not affected or bent If an equipment which generates noise or heat is positioned in front of the PC i e mounted on the back side of a panel door allow a clearance of 100 mm 3 94 in or more between the PC and the equipment Also allow a clearance of 50 mm 1 97 in or more between the right left side of a base unit and this equipment 8 LOADING AND INSTALLATION MELSEC A 8 4 2 Installation This section explains how to mount main and extension base units Indicates the panel top wiring duct or any assembly Main base Extension base 30 mm 1 17 in or more o o 30 mm 1 17 in or more Fig 8 1 Parallel mounting Indicates the panel top wiring duct or any assembly 30 mm 1 17 in or more Main base ERR O ES E base 30 mm 1 17 in or more 30 mm 1 17 in or more 30 mm 1 17 in or more Duct max length 50 mm 1 97 in 80 mm 3 15 in or more 30 mm 1 17 in or more Fig 8 2 Serial mounting Panel etc Contactor relay etc 100 mm 3 94 in or more Fig 8 3 Minimum front Fig 8 4 Vertical mounting Fig 8 5 horizontal clearance with panel door not allowed mounting not allowed 8 LOADING AND INSTALLATION MELSEC A 8 5 Installation and Removal of Module This section explains the mounting and removal of the I O module
32. APP 65 APPENDICES MELSEC A processing time us Condition device A1SHCPU A2SHCPU Refresh Direct Refresh Direct method method method method YOON OFF YOON OFF 28 FEND M9084 OFF 628 0 451 7 412 3 YOON OFF YOON OFF Not n execution f MC Y During execution M L S Not in execution E During execution CR Not in execution Y During When ON PLS execution When OFF PLF M L Not in execution F During When ON execution When OFF T JL DE P a o q i i L Not in execution Y SF During execution SFTP L B M Not in execution B During execution No index modification CJ Index modification No index modification SC Index modification No index modification CALL Index modification No index modification CALLP ish di Index modification RET D P J APP 66 APPENDICES SUBP MELSEC A method method method method ne O O a APP 67 APPENDICES MELSEC A Processing time us Condition A1SHCPU A2SHCPU Refresh Direct Refresh Direct S1 S2 D1 D2 method method method OO pos 17 0 37 1 34 3 36 9 19 2 12 9 13 7 27 5 25 3 27 3 14 5 12 8 13 6 27 5 25 5 27 5 14 5 Ee 0 e e e Ec e om e me mr ue Ee e om mm im mo Sos o usos APP 68 APPENDICES MELSEC A Processing time us
33. Ce Ey AISCO7NB 5 m 196 85 in long ee es Class 2 power supply recognized by the UL cUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION Description A1SMCA 8 k steps equipped with EPROM EPROM 8KP directly A1SNMCA 8 k steps equipped with EPROM 8KP directly A1SMCA 2k steps equipped with E7PROM 2KE directly A1SMCA 8 k steps equipped with E7PROM 8KE directly A1SNMCA 2 k steps equipped with EPPROM E PROM 2KE directly Memory cassette AISNMCA 8ksteps equipped with EPROM 8KE directly A2SNMCA 14 k steps equipped with E PROM 30KE directly Memory write Used for memory cassette adapter AGWA 28P connector EPROM 28 pin A6BAT IC RAM battery backup For sink type input module and A6TBXY36 sink type output module standard type For sink type input module and ASTEAN sink type output module 2 wire type For sink type input module RETA 3 wire type For source type input module oe standard type y For source type output module AGTDY36 E standard type For source type input module A6TBX54 E 2 wire type J For source type output module A6TBY54 E 2 wire type For source type input module A6TBX70 E 3 wire type ACO5TB 0 5 m 1 64 ft for source module Connector terminal block conversion module AC10TB 1 m 3 28 ft for source module AC20TB 2 m 6 56 ft for source module Cable for connector terminal block conversion module AC50TB 5 m 16
34. Condition A1SHCPU A2SHCPU Refresh Direct Refresh Direct Se i oe 12 1 18 3 13 6 13 2 e eo e p e E O a E E E EEE EEE O O E a CT CTT E ee eee E ee er a e e e O E A e efe e e e e e e e e e e RE E o e e as e as ao E epl e eje es e ep e e e e a A FUI e e na 5 4 8 1 O e A E CE 7 8 o DDEC O 11 1 poro JJ e a e APP 69 APPENDICES MELSEC A Processing time us Condition ENE A1SHCPU A2SHCPU Pree rca ees Cm ae as me fe Ee eo amp mj s a Cee pm pe e um me mo Ee oje 0 umja m Eme o o o ue f o us mo EE o apa ae E amp a mae EE fp ue we me a e um E OC o meme as os E ofe a ss o EE im pe e ufa a ua C oo e ma m ur m C o o o ae e e e C ofe e e e e Cs fofas fo o me e C ofe e o o e a C ofe e ee e e O o o o ee s ms ma C e o m ue Eme f o e me a me me Em es ee eo E e me ma a as E e ee fe e APP 70 APPENDICES MELSEC A ET E Ee o or fis ms no fome E 0 off pas aero Ee oe eo aspas oem us ns es pa Ee 0 os se E 0 ue a ui fosso Smee ear e Es o e ee
35. Four mounting screws M5 x 25 1 For the installation of the dustproof cover see Section 8 6 When using one of the base units A1S52B S1 A1S55B S1 or A1S58B S1 which do not require a supply module see Section 5 1 1 Selection of the power supply module and Section 6 1 3 6 BASE UNIT AND EXTENSION CABLE MELSEC A 6 1 2 Specifications of extension cables Table 6 3 shows the specifications of the extension cables which can be used for the AnSHCPU system Table 6 3 Extension cable specifications ham eee 5608 msm ns ncia aise isca nscoto asc ascome msc Cable length 0 055 0 33 0 7 1 2 3 0 6 0 0 45 0 7 3 0 5 0 m ft 0 18 1 08 2 3 3 94 9 84 19 68 1 48 2 3 9 84 16 14 Resistance of 5VDC supply line Q at 55 C Connection between Connection between Application Connection between main base unit and A1S5 B S1 A1S6 B S1 main base unit and main base unit and A5 B A6 JB A5 B A6 JB Weight 0 025 0 01 0 14 0 20 0 40 0 65 0 20 0 22 0 4 0 56 kg Ib 0 055 0 022 0 31 0 44 0 88 1 43 0 44 0 48 0 88 1 23 6 1 3 Application standards for extension base units A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B A58B When an extension base unit of one of the models A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B is used make sure a voltage of 4 75 V or higher is supplied to the receiving end at the module installed in the last slot of the
36. M9040 M9041 RUN PAUSE status Turned ON when conditions PAUSE status for setting the CPU module in the PAUSE status are satisfied Fig 4 8 PAUSE timing using a remote PAUSE contact 4 AnSHCPU MELSEC A b Peripheral devices 1 The PAUSE status contact M9041 closes after execution of the END FEND instruction of the scan during which the remote PAUSE command from a peripheral device is received When the END FEND instruction of the scan after M9041 has set is executed the AnS is set to PAUSE and its operation stops 2 When a remote RUN command from a peripheral device is received the PAUSE status is canceled and sequence program operations resume from step 0 Remote PAUSE command Remote RUN command M9041 RUN PAUSE status Turned ON when conditions PAUSE status for setting the CPU module in the PAUSE status are satisfied Fig 4 9 PAUSE timing chart when using a peripheral device 1 M9041 is used as an interlocking contact to switch ON or OFF the output Y in the PAUSE status take interlock with the PAUSE status contacts M9041 M20 In the PAUSE status the status of M20 determines the status of Y70 M9041 AP Switches OFF in the PAUSE status Switches ON in the PAUSE status 4 AnSHCPU 4 2 5 Status latch MELSEC A The status latch function copies all device data to the status latch area when
37. MELSEC AnS The standard applied for MELSEC AnS is EN61010 1 safety of devices used in measurement rooms control rooms or laboratories For the modules which operate with the rated voltage of 50 V AC 75 V DC or above we have developed new models that conform to the above standard See Appendix 4 For the modules which operate with the rated voltage under 50 V AC 75 V DC the conventional models can be used because they are out of the low voltage instruction application range 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION 9 2 2 9 2 3 MELSEC A Precautions when using the MELSEC AnS series PC Power supply Module selection 1 Power module For a power module with rated input voltage of 100 200 V AC select a model in which the internal part between the first order and second order is intensively insulated because it generates hazardous voltage voltage of 42 4 V or more at the peak area See Appendix 4 For a power module with 24 V DC rated input a conventional model can be used I O module For I O module with rated input voltage of 100 200 V AC select a model in which the internal area between the first order and second order is intensively insulated because it has hazardous voltage area See Appendix 4 For I O module with 24 V DC rated input a conventional model can be used CPU module memory cassette base unit Conventional models can be used for these modules because they only have a5 V DC
38. Sa sa as Abnormal 1 ON completion 1 On completion status 1 4 display device OFF 1 Normal completion et 1 scan l l l l i i J During processing of RISEND instruction Data can be written by RISEND instruction APP 37 APPENDICES MELSEC A Operation Error The following condition will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of written points specified at 1 is outside the range 0 to 480 Program Example The following program writes the number of data written and data ABCDEFGHIJ to 200H 205H of the buffer memory of the intelligent device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F The completion status is used for error check Also RXO RYO and RWr0 are used as handshaking link devices X0020 PK i i ot MOV 6 D201 Setting of the number of written points P H intelli i i Setting of intelligent device station MOV 0004 D202 buffer memory PH TMOV 0000 D203 Setting of error check E H Setting of buffer memory head LMOV 0200 D204 address K Mov 5 D205 H Written data 5 setting PH CMOV 4142 D206 Written data AB setting H L MOV 4344 D207 Written data CD setting PH MoV 4546 D208 Written data EF setting PH LMOV 4748 D209 Written data GH setting PH MOV 494A D210 Written data IJ setting x0020 PH l 51 4 T MOV 0000 D300 H RYO RXO set
39. Section 5 1 5 2 Section 6 1 2 Section 8 7 1 8 7 2 Section 9 1 3 Section 11 3 1 Appendix 1 1 1 Appendix 3 1 3 2 Appendix 5 INTRODUCTION Thank you for choosing the Mitsubishi MELSEC A Series of General Purpose Programmable Controllers Please read this manual carefully so that the equipment is used to its optimum A copy of this manual should be forwarded to the end user Contents OVERVIEW cece cetacean EURO ISSO a a ak aes 1 1to1 4 1d Feats ienai dni in diane Minin Minden aiid 1 2 SYSTEM CONFIGURATION ccccssecssseecesseeeseseeeeeeeseneeenseaeeesaesaseeeeneeseseeeesseesesneeeenseaes 2 1to2 21 2 1 Overall Configuratio M asesina aee decoded ache aae eraa aaae aaaeeeaei 2 1 2d CANSHCPU aaa a eina aae t e a ee a 2 1 22 ATSIC RW ari nanat ea ae es raaa aa a r a aaa a a 2 3 2 2 Cautions on Configuring a SYSteM ccccceceeececeeeeeeeeeeeeeeeeeeceaeeeseaaeeseaeeseeeseeeeeseaaeeeeeeseneees 2 5 RA Hardware aa A T ias eb baianas duda a LS dean 2 5 2 2 2 Software packages 0 ceecccecsseceeccetesseeseeeeeaaeseecaeeaeeeeaaeseeaeeeaaeeenaeeesaeeeeaaaeeseeeeeaaees 2 8 2 3 System EqQuipMeNt stn ieee arith eet ated ait diene 2 10 2 4 General Description of System Configuration errar 2 20 as ee ANOR RU o O eia de err erereee reer eee a SRS fu co meereerer cee 2 20 PARE ae Ober LO RU Ses tina cos ipa cas Ra ar Tree atoa DO o acao cere rene reer ere 2 21 SPECIFICATIONS ies e ee e ba ceetev ae ceed entueted nade dare
40. The PC CPU has checked if write and read operations can be performed properly with respect to the data memory area of the PC CPU Normal writing and or read write turned out to be impossible 1 The operation circuit which performs the sequence processing in the PC CPU does not operate properly Scan time exceeds watchdog monitoring time 1 Scan time of user program is excessive 2 Scan time has lengthened due to instantaneous power interruption which occurred during the scan 1 When the END instruction is executed itis read as another instruction code due to noise etc 2 The END instruction has changed to another instruction code The END instruction cannot be executed Check for an endless loop and MIBPEGRCE os STOP with the program looped n the program disengaged or has been removed or a I O module data is different from that at power ON 1 The I O module including the special STOP function module is incorrectly RUN different module has been loaded 1 There is an output module with a blown fuse 2 The external power supply for the output load is OFF or not connected FUSE BREAK STOP OFF 32 RUN 11 12 MELSEC A Corrective action 1 Write parameters and or sequence programs correctly to the memory cassette 2 Remove a memory cassette which does not have any parameter and or sequence program Since this is a PC CPU hardware fault consult your nearest Mitsubishi rep
41. The RDPUT instruction may be executed for two or more remote device stations at the same time However this instruction cannot be executed for the same remote device station in two or more locations at the same time As control data specify the values given in the manual of the remote device station If wrong setting is made the instruction will not be completed When the LEDA instruction is used the RDPUT instruction is executed every scan while the write command is ON When the LEDB instruction is used the RDPUT instruction is executed only one scan on the leading edge OFF ON of the write command Note that several scans will be required until the completion of write processing by the RDPUT instruction Therefore execute the next RDPUT instruction after the completion device has switched on The RDPUT instruction executed before the completion of RDPUT instruction execution is ignored APP 44 APPENDICES MELSEC A END END END END processing processing processing processing Sequence program flow nn RDPUT instruction i 1 i i Executed execution complete RDPUT instruction l i i i i ON 1 l Completion device OFF i 1 a a re a 1 Abnormal 1 5 i i ON completion E On completion status OFF 1 Normal completion J display device ee scan pe r During processing of RDPUT instruction o Data can be written by RDPUT instruction Program Example The following program writes 1 point o
42. an SLT instruction is executed After the data has been copied the data in the status latch area can be monitored by a programming device Status latch data can be read by using the GPP function in oder to monitor it AnSHCPU Peripheral device GPP function Transfer by Reading in i SLT the PC instruction Status mode Status Display for monitoring Device memory area i E File area area register area Fig 4 10 Status latch operation 1 Applications The status latch function can be used to check device data when an error is found during debugging It is also used to find out the cause of an error during sequence program execution This is achieved by making a program that will execute the SLT instruction if an error condition arises 1 Processing a The following data is stored in the status latch area when an SLT instruction is executed 1 Device memory X Y M L S F B ON OFF data T C Contact and coil ON OFF data and present values D W A Z V Stored data 2 File register R Stored data b Data is stored in the status latch area when an SLT instruction is executed With devices which turn ON OFF or store data using the same condition the data to be stored in the status latch area differs before and after executing an SLT instruction 4 AnSHCPU MELSEC A Example If a device which is turned ON and OFF by the same condition occurs before and after the SL
43. and or data backup is required The following sections give the battery service life and the battery changing procedure 10 3 1 Service life of battery Table 10 3 shows the service life of the battery Table 10 3 Battery life Battery life Battery life Total power interruption time Hr Guaranteed value Actual service After M9006 or CPU model MIN value TYP M9007 is turned ON A1SJHCPU A1SHCPU 4000 20000 100 A2SHCPU A2SHCPU S1 2200 12000 The actual service value indicates a typical life time and the guaranteed value indicates the minimum life time Preventive maintenance is as follows 1 Even if the total power interruption time is less than the guaranteed value in the above table change the battery after four to five years 2 When the total power interruption time has exceeded the guaranteed value in the table above and M9006 has turned ON change the battery 10 3 10 MAINTENANCE AND INSPECTION MELSEC A 10 3 2 Battery replacement procedure When the service life of the battery has expired replace the battery using the following procedure Even if the battery is removed the memory is backed up by a capacitor for some time However if the replacement time exceeds the guaranteed value shown in the following table the contents of the memory may be lost Therefore replace the battery as quickly as possible q Replacement of battery gt Table 10 4 Backup time by capacitor
44. as the POWER LED RUN LED ERROR LED and I O LED f Status of various setting switches such as extension base and power interruption compensation After checking a to f connect the peripheral equipment and check the running status of the PC CPU and the program contents Trouble check Observe any changes in the error condition when performing the following operations a Set the RUN STOP keyswitch to the STOP position b Reset using the RUN STOP keyswitch c Turn the power ON and OFF Narrow down the possible causes of the trouble Deduce where the fault lies i e a Inside or outside the PC CPU b In the I O module or another module c In the sequence program 11 1 11 TROUBLESHOOTING MELSEC A 11 2 Troubleshooting This section explains the procedure for determining the cause of problems errors and corrective action to be taken in response to error codes 11 2 1 Troubleshooting flowcharts The procedures for troubleshooting are given in the following flowcharts C Occurrence of error See Section 11 2 2 Is the POWER LED OFF See the flowchart used when the POWER LED goes OFF See Section 11 2 3 Is the RUN LED OFF See the flowchart used when the RUN LED goes OFF See Section 11 2 4 See the flowchart used when the RUN LED flashes Is the RUN LED flashing See Section 11 2 5 See the flowchart used when the ERROR LED Is l
45. be switched ON by using either of the following PAUSE Remote PAUSE contact Peripheral device Stores all device data in the status latch area in the AnS when the status latch condition is Status latch switched ON The stored data can be monitored by a peripheral device Samples the specified device operating status at predetermined intervals and stores the Sampling trace sampling result in the sampling trace area in the AnS The stored data can be monitored by a peripheral device e Allows the device Y M L S F B used with the OUT instruction to be disconnected from Offline switch the sequence program processing Ea ene e Sets the ON OFF status of the ERROR LED in the event of an error e Executes clock operation in the CPU module Clock 1 e Clock data includes the year month day hour minute second and day of the week e Clock data can be read from special registers D9025 to D9028 The AnSHCPU cannot do step operation PAUSE using RUN STOP key switch or I O module replacement at online 1 Handling the year 2000 Year 2000 is a leap year so February 29 comes after February 28 The AnSHCPU automatically fixes date by the clock element in the CPU module so the user does not have to manually set the date to the clock element The year only contains the last two digits of the year Therefore when the clock data is read from the PC CPU and used in the sequence control the year data may have to be fixed using a
46. been made to a location where there is no special function module The model name of the module specified in the CC Link dedicated instruction is different from that specified by I O allocation parameter The module specified by a CC Link dedicated instruction is not a master module The contents which have been written to the parameter area of the link by setting the link range in the parameter setting of peripheral device are different from the link parameter contents The setting for the total number of slave stations is 0 The result of BCD conversion has exceeded the specified range 9999 or 99999999 A setting has been done which exceeds the specified device range and the operation cannot be done File registers are used in the program without performing the capacity setting of file registers 11 13 parameter setting according to the actually loaded special function module by using a peripheral device Read the error step by use of peripheral device and check and correct the content of the FROM TO instruction at that step by using a peripheral device Match the model name specified by I O allocation parameter with that specified in the CC Link dedicated instruction Read the error step with a peripheral device Check and correct the CC Link dedicated instruction in the step 1 Write the parameters again and check If this message is displayed again there is a hardware fault Therefore c
47. destinations specified by the CJ SCJ CALL CALLP or JMP instructions Although there is no CALL instruction the RET instruction exists in the program and has been executed The CJ SCJ CALL CALLP or JMP instruction has been executed with its jump destination located below the END instruction The number of FOR instructions does not match the number of NEXT instructions The JMP instruction specified between FOR and NEXT has caused the execution to deviate from between FOR and NEXT The JMP instruction has caused the execution to deviate from the subroutine before the RET instruction is executed The JMP instruction has caused execution to jump to a step or subroutine between FOR and NEXT There are instructions including NOP other than LDX LDIX ANDX and ANIX in the CHK instruction circuit block There is more than one CHK instruction The number of contact points in the CHK instruction circuit block exceeds 150 The X device number in the CHK instruction circuit block exceeds X7FE There is no circuit block in front of the CHK instruction circuit block Dem D1 device number of the CHK D1 D2 instructions is different from the contact device number above the CJ instruction 7 Pointer P254 is not attached to the start of the CHK instruction circuit block pase HHH D2 1 Although the interrupt module is used there is no number for interrupt pointer which corresponds to that module in the progr
48. extension base units that can be used in the system and the application standards for extension base units 6 1 1 Specifications of base units 1 Specifications of main base units Table 6 1 Main base unit specifications PR eg il e eee pas Number of I O modules 2 can be loaded 3 can be loaded 5 can be loaded 8 can be loaded Enabled 96 mm 0 24 in slot for M5 screw mm in 8 66 x 5 12 x 1 10 10 04x5 12x 1 10 1280x5 12x110 16 93 x 5 12 x 1 10 2 Specifications of extension base units Table 6 2 Extension base unit specifications ete ere A1S65B S1 A1S68B S1 A1S52B S1 A1S55B S1 A1S58B S1 Number of I O modules 5 can be loaded 8 can be loaded 2 can be loaded 5 can be loaded 8 can be loaded Power supply module Required Not required loading Installation hole size 6 mm 0 24 in slot for M5 screw Terminal screw size M4 x 8 FG termina Applicable wire size fozstozmm Applicable solderless V 1 25 4 V 1 25 YS4 V 2 YS4A Applicable tightening terminal size torque 98 to 137 N cm 10 to 14 kg cm 56 to 79 Ib in 315 x 130 x 28 420 x 130 x 28 135 x 130 x 28 260 x 130 x 28 365 x 130 x 28 12 40 x 5 12 x 16 54 x 5 12 x 5 31 x 5 12 x 1 10 10 24 x 5 12 x 14 37 x 5 12 x 1 10 1 10 1 10 1 10 Weight kg lb 0 71 1 56 0 95 2 09 0 38 0 84 0 61 1 34 0 87 1 91 1 One dustproof cover for I O module Four mounting screws M5 x 25 External dimensions mm in
49. following measures to minimize the voltage drop a Change the positions of modules Install the modules of the main base unit from slot O in descending order of current consumption Install modules with small current consumption in the extension base units Connect the base units in series By connecting the base units in series connecting an extension cable to the left side of a main base unit see Section 8 4 2 the voltage drop of the main base unit can be minimized But when a long extension cable is used for this connection the extension cable may cause a larger voltage drop than that of the main base unit In such case calculate the voltage drop as described in 3 Use a short extension cable The shorter the extension cable the lower and the smaller its voltage drops Use extension cables that are as short as possible 6 BASE UNIT AND EXTENSION CABLE MELSEC A 6 2 Nomenclature and Settings 1 Main base unit A1S32B A1S35B A1S38B Ed Ea El E El E E g 4 sm rt f rt o DD Looe Moe Connector for extension cable Connector for sending and receiving signals to and from the extension base unit Cover to protect the connector for the extension cable 2 Base cover When connecting an extension cable remove the appropriate base cover located below the word OUT with nippers or a similar tool Connectors where the power supply module CPU module I O modul
50. immunity 2 static electricity to the 8 k V air dischar module enclosure ar discharde prEN50082 2 1991 IEC801 3 Immunity test by radiating an 10 V m 27 MH Radiated electromagnetic field 2 electric field to the product Cy Me ron EC801 4 Immunity test by applying irst transient burst noise urst noise to the power line 2 k V and signal cable ENV50140 rs 7 a Immunity test by radiating an 10 V m 80 1000 M Hz 80 AM modulation 1 k Radiated electromagnetic field electric field to the product Hz AM modulation 2 ena t tic field Immunity test by radiating an 10 V m 900 M Hz 200 Hz pulse modulation 50 PET romagne elis electric field to the product duty Pulse modulation 2 E Cc NV50141 Immunity test by inducting onduction noise electromagnetic field to the 10 Vrms 0 15 80 M Hz 80 modulation 1 k Hz power line signal cable l Fi EN61000 4 2 Immunity test by applying 4 k V contact discharge Static electricity immunity 2 static electricity to the 8 k V air dischar module enclosure aindischarge EN61000 4 4 Immunity test by applying First transient burst noise burst noise to the power line 2 k V and signal cable 2 k V EN50082 2 1995 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A 1 QP Quasi peak value Mean Average value 2 The PC is an open type device device installed to another device and must be installed in a conductive control box The tests for the correspond
51. in the offline status The status of devices in the offline status offline switch opened as follows a The ON OFF status that existed just before the offline status was established is retained b When a forced set reset is executed using a peripheral device in the offline status the reset set status after the forced set reset is retained 3 Operating procedures a To setthe AnSHCPU in the offline status use a peripheral device to set the offline switch b To return the AnSHCPU from the offline status to the online status use either of the following two methods 1 Reset the offline switch setting using a peripheral device 2 Reset the AnSHCPU with the RUN STOP keyswitch Devices set in the offline status cannot be turned ON and OFF using a sequence program Devices set in the offline status during testing must be returned to the online status by resetting the off line switch after completing the test operation Devices returned from the offline status to the online status can be turned ON and OFF using a peripheral device Before returning such devices to the online status check the input conditions of OUT instructions Make sure that no problems will arise when the devices are returned to the online status 4 AnSHCPU MELSEC A 4 2 8 Setting priorities for ERROR LED display By changing the setting the following can be done a The ERROR LED can be made to stay OFF even when an error see Table
52. is not within the set value a A watchdog timer is detected then the CPU stops program processing and flashes the RUN LED on its front face b There are two types of error code for the watchdog timer error codes 22 and 25 Error code 22 signifies that an END instruction is executed after the WDT has exceeded its set value Error code 25 signifies that the CPU is executing a dead loop program and never reaches an END instruction This error could occur if the PC hardware is faulty or branch instructions are used incorrectly in the program Scan time WDT count value WDT error occurs if the set value is exceeded Sequence program operation END processing time END Step 0 instruction execution Setp 0 jm WDT reset WDT is reset when END is executed 4 AnSHCPU MELSEC A 3 Watchdog timer reset using the sequence program The watchdog timer is reset with a WDT instruction in the sequence program The watchdog timer begins counting again from 0 However the scan time values registered in D9017 to D9019 are not reset when the WDT instruction is executed WDT instruction execution WDT END instruction Step 0 execution A B Watchdog timer count If the watchdog timer count value of either A or B value reset exceeds the set value a watchdog timer error occurs gt Scan time 4 When a watchdog timer error occurs check the error by seeing Chapter 11 Tro
53. memory Setting of buffer memory head address RIRD instruction designation APPENDICES MELSEC A pE E 2 gt moor2 moon Data to be set Write command Head I O number of object LEDA LEDB RIWT Executed while ON master local module Executed at leading edge Remote station number SUB nd Device number designated e When the host station is the SUB 3 Constant designated master station 1 to e Local station O to 64 Available device Word device Son orar e E 3 gt D o o gt a 8 a 3 E Z 2 Device for storing control data LEDC and written data Bit device number which is LEDR switched on on completion of execution Control Data 1 Control data setting items Completion status Number of points written Control data Remote station s object area Buffer address Stores data written to remote Written data storage area station by RIWT instruction Number of points specified at 1 1 APP 27 APPENDICES MELSEC A 2 Control data Set data Setting Setting end range Status on completion of instruction execution is stored Completion status 0 Noerrot System Other than O Error code Number of points Specify the number of data written word basis 1 to 480 written e Set 0004H when accessing the buffer Remote station s object memory of an intelligent device sta
54. memory cassette even when the PC power is OFF or there is a momentary power interruption lasting 20 msec or longer 1 Clock data is the data of the clock inside the AnSHCPU This data is shown below Year month date hour minutes seconds day Last 2 digits 11012 1 to 31 ae automatically detected 2 Clock accuracy varies according to ambient temperature as follows Ambient i Accuracy Weekly difference sec temperature C y y po woa OOO 3 Clock data can be read and written using special relays special registers or dedicated instructions a The special relays used for the clock function are as follows Device Name Description _ e Clock data stored in D9025 to D9028 is written to the clock device after the execution of END in the Request to set clock data sem scan in which M9025 status is changed from OFF to ON M9026 Clock data error e Turned ON if set clock data is not BCD code Clock is read to D9025 to D9028 after the lock E M30287 megestio cone soc cala execution of END when M9028 is ON 4 AnSHCPU MELSEC A b Special relays EO J peonon id Clock data Year month Monin 01 to 12 in BCD Year 00 to 99 in BCD D9026 Clock data 8 Hour Day hour 00 to 23 in BCD Day 01 to 31 in BCD D9027 Clock data Second Minute second 00 to 59 in BCD Minute 00 to 59 in BCD Day of the week 0 to 6 in BCD Clock da
55. module Cable clamp Power supply External wiring cable 2 m to 10 m 6 56 ft to 32 81 ft 3 Ferrite core and cable clamp types and required quantities a Cable clamp Type AD75Ck Mitsubishi Electric b Ferrite core Type ZCAT3035 1330 TDK ferrite core c Required quantity Cable length Prepared part Required Qty isto tuo saes Within 2 m 6 6 ft AD75CK E E md E 32 8 ft zeaTsos5 1330_ 14 2 3 9 1 2 8 I O and other communication cables Always earth the shield section of the I O signal cables and other communication cables RS 232 C RS 422 etc in the same manner as described in Section 9 1 2 4 ifthe cables go outside of the control cabinet 9 1 2 9 Power supply module The precautions required for each power supply module are described below Always observe the items noted as precautions Always mount one of the filters listed in Section 9 1 2 10 to the incoming power supply lines A1S61PEU A1S62PEU A1S61PN A1S62PN A1SJCPU S3 Always ground the LG and FG terminals after short circuiting them A1SJHCPU 1 Ifa sufficient filter circuitry is built into a 24 V DC external power supply module the noise generated by A1S63P will be absorbed by that filter circuit so a line filter may not be required 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A 9 1 2 10 Ferrite core A ferrite core is effective for reducing noise in the band of 30 M Hz to 100 M Hz Mou
56. or more intelligent device stations at the same time However this instruction cannot be executed for the same intelligent device station in two or more locations at the same time 3 Before executing the RISEND instruction set the network parameters using the RLPA instruction network parameter setting If the RISEND instruction is executed without the network parameters set abnormal completion will occur and 4B00H will be stored into the completion status 4 No processing will be performed if the number of written points specified at 1 is 0 Execution Conditions When the LEDA instruction is used the RISEND instruction is executed every scan while the write command is ON When the LEDB instruction is used the RISEND instruction is executed only one scan on the leading edge OFF ON of the write command Note that several scans will be required until the completion of write processing by the RISEND instruction Therefore execute the next RISEND instruction after the completion device has switched on The RISEND instruction executed before the completion of RISEND instruction execution is ignored END END END END processing processing processing processing Sequence program flow Z RISEND instruction l l l l Executed execution complete i l RISEND instruction l 1 1 1 1 1 1 ON o 1 i 1 I Completion device OFF i a es PR a lt lt
57. program cannot be written to the PC CPU 11 9 1 153 Error Code LIST a a a EaD So RO E ARE So NR c cd dra 11 10 TASH EIMONnCOUES voran E T esd ines teense aqua TRSA 11 10 11 4 I O Connection Troubleshooting ir reeeeeeeaaree aerea nana 11 15 11 4 1 Input circuit troubleshooting 0 eee cece eeee ee eeeeeeeeeee eter eeeeaeeeeeeeaaeeeseeaeeeteaaeeeeeeaaes 11 15 11 4 2 Output circuit failures and Corrective action ri 11 17 APPENDICE O aaar re aea aer aar ar eneee aa eer a raean e a Eeee aere ei aean Aaner Ean THEE EEn niat APP 1 to APP 86 Appendix i InsStuct onS ssi E E A AAO APP 1 Appendix 1 1 CC Link Dedicated Instructions eras APP 5 Appendix 1 1 1 Instructions for use of the CC Link dedicated instructions APP 6 Appendix 1 1 2 Network parameter setting RLPA APP 7 Appendix 1 1 3 Automatic refresh parameter setting RRPA APP 11 Appendix 1 1 4 Read from automatic updating buffer memory RIFR APP 17 Appendix 1 1 5 Write to automatic updating buffer memory RITO APP 19 Appendix 1 1 6 Read from remote station buffer memory RIRD APP 23 Appendix 1 1 7 Write to remote station buffer memory RIWT APP 27 Appendix 1 1 8 Read from intelligent device station buffer memory wit
58. refresh points 3 Automatic refresh parameter settings RX s head number Set the head number of RX on the master local module side RY s head number Set the head number of RY on the master local module side RWr Syst RW s head number Set the head number of RW on the master local module side SB s head number Set the head number of SB on the master local module side SW s head number Set the head number of SW on the master local module side Set the AnSHCPU side device with the following device code AnSHCPU side refreshed Deviconame X Y M E T CJD W R RR DE Devicecode 1 2 3 4 5 6 7 8 0 Eis 0 No automatic refresh setting AnSHCPU side refreshed set the head device number on the AnSHCPU side User device s head number Number of refresh points Set the number of points on which automatic refresh will be performed User 0 No automatic refresh setting APP 12 APPENDICES MELSEC A Functions 1 Set the devices and numbers of points on which automatic refresh will be performed between the AnSHCPU and master local module When the FROM TO instruction is used to read write data from to the master local module the RRPA instruction need not be executed AnSHCPU Master module Ro rR ee a a q E PS Sado secs ep RR NS Tia g l Designation Designation of device s l of device code head number l RX area i RX I A 1 2 0 Oah D Refresh i lt i gt D 3 point
59. screen included model connected STN TFT color EL via bus 32 Base window screen 1024 pixels special points are Large graphic operation terminal occupied A810GOT CRT connection model for monitor Consumed Base window screen 1024 pixels power 100 VA A1S32B Up to two I O modules can be loaded Equipped A1S33B Up to three I O modules can be loaded with two i extension Main A1S35B Up to five I O modules can be loaded co necira base unit one is on A1S38B Up to eight I O modules can be loaded the right the other on the left side A1S52B Up to two I O modules can be loaded Power A1S55B Up to five I O modules can be loaded supply S1 S1 module cannot be loaded power is Extension A1S58B S1 Up to eight I O modules can be loaded rupplied base unit TOM in main base unit S1 S1 Large graphic operation terminal monitor screen included model black and white LCD color LCD EL 250 monitor screens 255 parts A77GOT S5 A1S65B Up to five I O modules can be loaded Needs a power A1S68B Up to eight I O modules can be loaded supply module For A1SC01B 0 055 m 2 17 in long flat cable extension on the right side 0 33 m 11 8 in long 0 7 m 27 6 in long Extension Extension 1 2 m 47 24 in long ei tee cable A1SC30B 3 m 118 11 in long cable A1SC60B 6 m 236 22 in long AISCOSNB 0 45 m 17 72 in long are AISCO7NB 0 7 m 27 6 in long AL AT AISCSONB 4 3m 118 11 in long
60. sequence program depending on the usage Year 1999 99 Year 2000 00 When comparison is made only with the last two digits of the year read the year 2000 and consecutive years are considered older than the year 1999 4 AnSHCPU MELSEC A 4 2 1 Constant scan Because the processing time of each individual instruction in a sequence program differs depending on whether or not the instruction is executed the scan time differs accordingly for each scan The constant scan function sets varying scan times to a fixed value regardless of the sequence program processing time Scan time constant scan function not used Sequence program Lo END processing 0 END 0 60 msec 50 msec 50 msec 70 msec 70 msec Fig 4 4 Constant scan function 1 Constant scan application When executing simple positioning by turning output Y ON OFF the positioning time may vary since the ON OFF timing of output Y differs for each scan When using the constant scan function variation in the positioning timing can be decreased by the ON OFF timing of output Y 2 Setting range a Constant scan time can be set in the range of 10 to 2000 msec Enter the required constant scan time in special register D9020 in units of 10 msec setting value between 10 and 2000 msec If the D9020 setting is outside the range of 1 to 200 the constant scan time will be as indicated below Setting for D9020 Constant
61. since it will make it impossible to store the data in the memory 4 4 4 Clearing latched data Follow the procedure described below to clear latched data using the RUN STOP key switch The latch clear operation also clears unlatched device data 1 Turn the RUN STOP key switch from the STOP position to the L CLR position several times to make the RUN LED flash quickly ON for approximately 0 2 seconds and OFF for approximately 0 2 seconds The quickly flashing RUN LED indicates that the preparation for the latch clear operation is completed 2 Turn the RUN STOP key switch from the STOP position to the L CLR position again while the RUN LED is flashing The latched data will be cleared and the RUN LED will go OFF To cancel the latch clear operation tum the RUN STOP key switch to the RUN position to make the AnSCPU start processing or to the RESET position to reset the AnSCPU Latched data can be cleared using the GPP function The A6GPP for example performs latch clear using DEVICE MEMORYALL CLEAR of the test functions of the PC mode See the GPP Operating Manual for details 5 POWER SUPPLY MODULE MELSEC A ol POWER SUPPLY MODULE a a Specifications 1 Table 5 1 shows the specifications of the power supply modules Table 5 1 Power supply modules specifications Specifications Base loading slot Power supply module loading slot y 100 to 120 V AC 10 15 85 to 132 V AC 24
62. source type 32 point 12 24 V DC transistor output PIER module 0 1 0 05 A source type 32 32 outputs 0 016 32 point 12 24 V DC input module A1SH42 32 output 12 24 V DC transistor output 2 32 outputs 0 50 0 008 module 0 1 A sink type A1SX 8 point 24 V DC input module 48Y18 8 output relay contact output module 6 16 outputs A1SX 8 point 24 V DC input module 8 output 12 24 V DC transistor output 6 16 outputs 48Y58 module 32 point 12 24 V DC input module sink type 128 points ATSJS6DR 24 point 24 VDC 240 V AC relay contact output module 2 A slot 0 64 points 32 point 12 24 V DC input module sink slot 1 to 4 type Vacant 16 points mle eR 24 point 24 V DC transistor output module 0 5 A sink type Dynamic Number of set s 16 32 48 and 64 point input A1542X 12 24 V DC dynamic input module a module Inputs Dynamic Number of 16 32 48 and 64 point output A1542Y 12 24 VDC dynamic output module points module Outputs A1SG60 Keeps unused slots free from dust 16 empty installable to the extension base Install to A1SJHCPU Not Oo o o oo o o fo oO oo Class 2 power supply recognized by the UL CUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION MELSEC A Number of Current Description inputs outputs consumption Approved I O allocation standard module type 5YPDC 24v pc Dummy A1SG62 16 32 48 and 64 input selectable ro sel module modu
63. the refresh mode Use the DIP switch SW1 to switch the I O control mode On shipment from the factory the direct mode is set for both inputs and outputs SW1 ON Controls both inputs and outputs in the Controls both inputs and outputs in the direct mode refresh mode Make sure that the power is OFF be to reswitching the I O control mode 4 4 3 Memory write protect switch setting The memory write protect switch is designed to protect data in the RAM memory from being overwritten due to incorrect operation or malfunction of a peripheral device It is used to prevent overwriting or deletion of created programs To modify data in RAM memory the memory write protect switch must be turned OFF The memory write protect switch is set to OFF SW2 OFF before shipment from the factory 1 When the AiSHCPU A1SJHCPU is used The memory write protect function of the A1SHCPU A1SJHCPU is set ON OFF by using a DIP switch SW2 The memory write protect function protects the first 32 k bytes of the 64 k byte user memory area When the CPU is equipped with a memory cassette or operated using a ROM or E PROM the memory write protect switch setting is invalid By selecting the ON position on this switch the parameters the program and a part of extension file register will be write protected in the memory See Section 4 1 9
64. the terminal block connector is 0 75 18 to 1 25 mm 14 AWG However it is recommended to use wires of 0 75 mm 18 AWG for convenience Separate the input and output lines I O signal wires must be at least 100 mm 3 94 in away from high voltage and large current main circuit wires If the I O signal wires cannot be separated from the main circuit wires and power wires ground at the PC side with batch shielded cables Under some conditions it may be preferable to ground at the other side PC Shielded cable Shielded sheath DC If wiring has been done with piping ground the piping Separate the 24 V DC I O cables from the 100 V AC and 200 V AC cables If wiring over 200 m 0 12 mile or longer distances problems can be caused by leakage currents due to line capacity Take corrective action as described in Section 10 4 Grounding Grounding must be done in conformance with a to d below a Ground the PC as independently as possible Be sure to ground to the protective ground conductor grounding resistance 100 or less If independent grounding is impossible use the joint grounding method as shown in the figure below 2 Another equipment Another equipment grounding The protective ground conductor 1 Independent grounding Best 2 Joint grounding Good 3 Joint grounding Not allowed c Use a wire with a cross sectional area of at le
65. 100 V AC input module 16 16 inputs 05 UL cUL ASX10EU 16 point 100 V AC input module 16 16 inputs 05 A1SX20 16 point 200 V AC input module 16 16 inputs 05 A1SX20EU _ 16 point 200 V AC input module 16 16 inputs 5 05 Input f module 16 point 12 24 V DC 12 24 V AC input l A1SX40 16 point 12 24 VDC input module 16 16 inputs 0 05 32 point 12 24 V DC input module 32 82inputs 0 08 32 point 24 V DC input module 32 32inputs 0 08 64 point 12 24 V DC input module 64 64inputs 0 09 UL cUL 64 point 24 V DC input module 64 64inputs 0 09 32 point 5 12 V DC input module 32 32inpuis 0 075 16 point 12 24 V DC sink source input F A1SX80 modile 16 16 inputs 16 point 24 V DC sink source input A1SX80 S1 oh p 16 16 inputs o5 A1SX80 S2 16 point 24 V DC input module 16 16 inputs 0 05 A1SX81 3r poii 12 24 V DC sink source input 32 32 inputs 008 A1SX81 S2 32 point 24 V DC input module 32 32 inputs 008 Class 2 power supply recognized by the UL cUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION MELSEC A Number of Current Description inputs outputs consumption Approved I O allocation standard module type 5YPDC 24v pc A1SY10 6 point relay contact output module 2 A 16 16 outputs 0 12 0 09 A1SY10EU 16 point relay contact output module 2 A 16 16 outputs 0
66. 115 7 Voltage drop of slot 14 V14 V14 0 006 x l14 115 8 Voltage drop of slot 15 Vis V15 0 006 x 15 9 Total voltage drop of an extension base unit Vz Vz V8 Vo V10 V11 V12 V13 V14 V15 c Calculation of voltage drop in extension cables 1 Total current consumption of an extension base unit Iz Iz ls l9 ho 111 h2 3 h4 115 2 Voltage drop in an extension cable Vc Vc Resistance of an extension cable x Iz Resistance of extension cables A1SCO1B 0 020 A1SC30B 0 121 Q A1SCO3B 0 021 Q A1SC60B 0 182 Q A1SCOZB 0 036 Q A1SCO5NB 0 037 Q A1SC12B 0 055 Q A1SCO7NB 0 045 Q d Voltage at the receiving end 5 1 V VK VZ VC gt 4 75 V 6 BASE UNIT AND EXTENSION CABLE 4 5 MELSEC A Examples el el el A1S38B A1S03B 0 021 9 A1S58B el Calculation of voltage drop of the main base unit VK 0 007 x 0 4 0 05 x 8 7 6 5 4 3 2 1 0 27 x 8 x 8 0 13636 Calculation of voltage drop of the extension base unit VZ 0 006 x 0 27 x 8 7 6 5 4 3 2 1 0 05832 Calculation of voltage drop in the extension cable VC 0 036 x 0 27 x 8 0 07776 Voltage at the receiving end 5 1 0 13636 0 05832 0 07776 4 82756 V Since the voltage at the receiving end is more than 4 75 V the system can be put into operation Minimizing the voltage drop Try the
67. 12 0 09 UL cUL A1SY14EU 16 point relay contact output module E 16 16 outputs 0 12 0 09 AisyisA _ 8 point relay contact output module 2 16 16 outputs 0 24 0 075 All points independent A1SY18AEU 8 point relay contact output module 2 A 16 16 outputs 0 075 200 A1SY22 16 point triac output module 0 6 A 16 16 outputs 0 27 V AC 0 004 8 point triac output module 1 A ATSY2BA All points independent 6 16 OU onj A1SY28AEU 8 point triac output module 0 6 A 16 16 outputs 0 27 16 point 12 24 V DC transistor output A1SY40 module 0 1 A sink type 6 16 outputs 0 016 Output 32 point 12 24 V DC transistor output ule A1SY41 module 0 1 A sink type 32 32 outputs 0 50 0 016 64 point 12 24 V DC transistor output A1SY42 module 0 1 A sink type 64 64 outputs 0 016 16 point 12 24 V DC transistor output wie module 0 5 A sink type 16 16 outputs 16 point 24 V DC transistor output module A1SY60 2 A sink type 16 16 outputs 0 015 16 point 12 V DC transistor output module A1SY60E 1 A source type 16 16 outputs 8 point 5 12 24 48 V DC transister A1SY68A output module sink source type 16 16 outputs 0 13 All points independent 32 point 5 12 V DC transistor output ATSY7 module 0 016 A sink type 32 32 outputs 16 point 12 24 V DC transistor output ATSY80 module 0 8 A source type 16 16 outputs A1SY81 32 point 12 24 V DC transistor output 32 32 outputs 0 50 0 016 module 0 1 A
68. 2 STOP operation STOP indicates stopping of sequence program operation by executing a STOP instruction or by using the remote STOP function see Section 4 2 3 When the CPU is set to STOP the output status is saved and all outputs are switched OFF Data other than the outputs Y is retained 3 PAUSE operation PAUSE indicates stopping of sequence program operation with the output and data memory status retained An AnSHCPU executes the following operations at any time in the RUN STOP or PAUSE mode e Refresh processing of the I O module when the refresh mode is set e Data communications with computer link modules e Link refresh processing Therefore the following operations are possible even when the AnSHCPU is in the STOP or PAUSE status e Monitoring I O status and testing using a peripheral device e Read write with computer link modules e Communications with other stations in the MELSECNET data link system 4 AnSHCPU MELSEC A 4 1 3 Watchdog timer WDT The watchdog timer is an internal system timer which monitors the scan time of sequence program execution to detect program errors The WDT also detects PC hardware faults The default value for the watchdog timer is 200 msec This value can be changed from 10 to 2000 msec in the parameters 1 Normal operation scan time is within the set value The watchdog timer is reset after the execution of an END instruction 2 Faulty operation scan time
69. 3WU eer writer cable module graphic programmer EPROM write adapter AGWA 28P ROM cassette A1SNMCA 8KP A1SMCA 8KP Printer AC30R2 A7NPR A7PR K7PR K6PR A6GPP gt fie GPP cable K6PR K K6PR K S1 GT 10 general purpose printer ROM cassette A1SNMCA 8KP A1SMCA 8KP A7PU Audio cassette cable Audio cassette programming module J 1 recorder A7PUS AGWA 28P programming module AC30R4 PUS cable gt A8PUE AC20R4 A8PU programming module cable p RS 232C cable 2 t SWOIX GPPAE 1 See the SWOIX GPPAE Software RS 232C RS422 ret pp SA MELSEC MEDOC Package Operating Manual or the converter o compatible system FD MELSEC MEDOC Operating Manual 4 for connectable cables and devices RS 422 cable 2 IBM is a registered trademark of the International Business Machines Corporation 2 SYSTEM CONFIGURATION MELSEC A 2 2 Cautions on Configuring a System This section describes the hardware and software that can be used with the AnSHCPU 2 2 1 Hardware 1 I O module An A N or Af JA building block type I O module can be used by loading it to the A5 B A6 B extension base 2 Special function module a An A Nor A JA special function module can be used by loading it to the A5 B A6 JB extension base b Limits are imposed on the number of the following special function modules that can be loade
70. 4 ft for source module ACO5TB E 0 5 m 1 64 ft for source module AC10TB E 1 m 3 28 ft for source module AC30TB 3 m 9 84 ft for source module MELSEC A Approved standard Applicable model For A1SJHCPU AGWA 28P required For A1SJH A1SHCPU AGWA 28P required For A1SJHCPU Writing reading directly from the peripheral device is possible For A1SJH A1SHCPU Writing reading directly from the peripheral device is possible For AZSHCPU Writing reading directly from the peripheral device is possible For A1SMCA 8KP Used to partition ROM in A1SMCA 8KP Mounted in A1SCPU A2SCPU body A1SX41 S2 A1SX42 S2 A1SY41 A1SY42 A1SH42 AX42 S1 AY42 S1 S3 S4 AH42 A1SX41 S2 A1SX42 S2 A1SH42 AX42 S1 AH42 A1SX81 S2 AX82 A1SY81 AY82EP A1SX81 S2 AX82 A1SY81 AY82EP A1SX81 S2 AX82 A6TBXY36 AGTBXY54 A6TBX70 A6TBX36 E A6TBY36 E AGTBX54 E AC20TB E 2 m 6 56 ft for source module A6TBY54 E A6TBX70 E AC30TB E 3 m 9 84 ft for source module AC50TB E 5 m 16 4 ft for source module ESPE 0 6 m 1 97 ft long 3 m 9 84 ft long AC50TE 5 m 16 4 ft long AC100TE 10 m 32 8 ft long Cable for connecting relay terminal module A6TE2 16SR A1SX10 A1SX10EU A1SX20 A1SX20EU A1SX30 A1SX40 S1 S2 A1SX80 S1 S2 A1SY10 A1SY10EU A1SY14EU A1SY18A A1SY18AEU A1SY22 A1SY28A A1SY28EU A1SY40 A1SY50 A1SY60 E AISY68A A1SY80 A1SX48Y18 A1SX48Y58 A1SI61 A1S64AD A1S62DA A1S63
71. 4 s d at 55 C 1 I O processing during refresh and LD instruction execution 2 Actual I O points are the same as the AnS series but this model has 2048 points of I O device for each CPU X Y0 to 7FF The added I O device can be used for MELSECNET B MELSECNET MINI or CC Link Appendix 3 3 Precautions when Switching the Model Appendix 3 3 1 PC type setting The PC type becomes A3 to enable the use of 2048 input device points X Y file register R8192 points and LEAD LEDB instructions Appendix 3 3 2 The precaution when performing the ROM cutoff When performing the ROM cutoff of A1SUHCPU and A1SHCPU with SW4GP GPPA the startup model must be changed as following rere eee Startup model Before software version Q AOJ2H Aafter software version R A1S APP 61 APPENDICES Appendix 3 3 3 Appendix 3 3 4 Appendix 3 3 5 Appendix 3 3 6 MELSEC A The precaution when utilizing the sequence program In case of utilizing the sequence program the parameter must be set again as the parameter goes back to the initial setting when performing the change of the PC type System comfirmation by high speed instruction processing Comfirm effects on the user system by the instruction processing speed and the reduction of the scan time Handling conventional memory cassettes Conventional memory cassettes A1 SMCA 2KE 8KE 8KP for A1SCPU and A2SMCA 14KE for A2SCPU cannot be used for A1SHCPU and A2SH
72. 5 10 base 5 Ethernet Susser ve 32 For 1 axis position control speed control A1SD70 speed position control X 0 3 Position Analog voltage output O to 10 V Special 32 point For position control for speed control for speed position control 48 A1SD71 S2 Pulse train output 2 axes oaks independent simultaneous 2 axis control Special 46 point direct interpolation Allows alteration of the output speed Position setting of a manual pulse generator A1SD71 S7 for position control 48 Pulse train output 2 axes Special 48 point independent simultaneous 2 axis control direct interpolation ID interface module 32 een ee Reader writer connection 1 Special 32 point ID interface module 32 ATSJ 1D2 M4 Reader writer connection 2 Special 32 point 14 Number of entries for calling control trigger device 2000 maximum word number of 40 S Half character 32 module plover St 1120 maximum word number of 80 Special 32 point ga Half character Number of entries for receiver number 1000 Analog Analog input 2 channel Simple loop 32 WO A1S63ADA Analog output 1 channel Control Special 32 point module possible Class 2 power supply recognized by the UL CUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION MELSEC A Number of Current inputs outputs consumption Approved I O allocation svoe av 06 standard 5VDC 24V DC module type A1SD62 24 bit bina
73. 9084 Error check setting made on execution of the END instruction To shorten the END instruction processing time ON Error unchecked e Fuse blown I O module verify error battery error 1 All special relays are switched off by the power off latch clear and reset operations The special relays remain unchanged when the RUN STOP switch is set to STOP The above relays with numbers marked 1 remain on if normal status is restored To turn them off use the following method 1 Method using a user program Insert the circuit shown at right Reset execution command into the program and turn on i RST M9000 the reset execution command A contact to clear the special Enter the number to be reset relay M Method using a peripheral device Cause forced reset by the test function of peripheral equipment For the operating procedure refer to the manual for each peripheral device By moving the RESET key switch at the CPU front to the RESET position the special relay is turned off 3 Special relays marked 2 are switched on off in the sequence program APP 53 APPENDICES MELSEC A Appendix 2 2 Special Registers D The special registers are data registers used for specific purposes Therefore do not write data to the special registers in the program except the ones with numbers marked 2 in the table Table 2 22 Special registers list Number Name Stored data Explanation e When modu
74. ADA A1S62RD3 4 A1SD61 A1SP60 AnS I O module and special module terminal block cover Slim type terminal block cover for the AnS I O module and special module terminal block connector type A1STEC S Class 2 power supply recognized by the UL cUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION MELSEC A I O cables with connectors for I O modules with 40 pin connector specifications A1SX41 A1SX42 A1SY41 A1SY42 etc or 37 pin D sub connector specifications A1SX81 A1SY81 A1SY81EP are available Consult your nearest Mitsubishi representative for I O cables with connectors 2 Al JNAT JA extension base unit The following table shows the modules that can be loaded to the A JNA JA extension base units A65B A68B A55B or A58B For details on the specifications of each module see the appropriate module manual 1 All A JNA JA building block type I O modules are compatible with the ANSHCPU Do em ot O A60MXR A68ADN DA converter module A62DA A62DAS1 A616DAI A616DAV A68DAV A68DAI AJ71C24 S3 S6 S8 AJ71UC24 AD51E AD51ES3 AD51H S3 2 SYSTEM CONFIGURATION MELSEC A Multidrop data link module AJ71C22 Interrupt module Al61 A61P A62P A63P A65P A66P A67P A68P A61PEU A62PEU Extension base unite A62B A65B A68B A52B A55B A58B 3 Peripheral devices e A6PHP Plasma handy e SWI GP GPPAEE A series GPP function system disk graphic A6PHP
75. C abbreviated as A1SHCPU A2SHCPU general purpose PC abbreviated as A2SHCPU and AZSHCPU S1 general purpose PC abbreviated as AASHCPU S1 A1SHCPU and A1SJHCPU are grouped as A1SHCPU unless there is necessity to identify each model Also A1SHCPU A2SHCPU and A2SHCPU S1 are grouped as AnSHCPU unless there is necessity to identify each model The AnSHCPU is a compact type building block PC The model is one third the size of the conventional building block type PC and allows easy operation in spite of its small size AnSHCPUs are miniature building block programmable controllers which have been downsized to occupy one third of the volume of conventional building block type programmable controllers and are designed to be easy to use in spite of their small size Sequence programs that have been created for the existing AOJ2CPU AOJ2HCPU and A INCPU models can be used by changing the CPU type specification for the program Moreover since modules for use with A INCPU can be used by installing them on an extension base unit for A INCPU use it is possible to extend the functions of an AnSCPU The AnSCPU has functions equivalent to those of the A2NCPU and we urge you to make the best use of these functions in order to use the equipment efficiently This user s manual refers to peripheral devices AGGPP A6PHP IBM PC AT A7PU A7PUS and A8PUE by using the following abbreviations A6GPP A6PHP and IBM PC AT started up with S
76. C 3 A 24 V DC 0 6 A output a rare Input module Power supply module A1SY14EU 16 points 240 V AC output relay A1SY18AEU 8 points 240 V AC output independent common relay A1SY28EU 8 points 100 to 240 V AC output triac APP 63 APPENDICES MELSEC A Appendix 5 Instruction Processing Time processing time us Condition device A1SHCPU A2SHCPU Refresh Direct Refresh Direct method method method method H Y M L S B F T C o D a Br lo O o a When not changed 0 33 2 2 0 25 OFF S0OFF ONSON When changed 0 33 2 2 0 25 M When not changed 0 33 0 33 0 25 excluding OFF S0OFF ONSON special M o When changed OFF gt OFF ONSON Processing time APP 64 APPENDICES MELSEC A processing time us Condition device A1SHCPU A2SHCPU Refresh Direct Refresh Direct method method method method When not pense ooo During ONSON execution When changed OFF gt ON When not changed During ONON execution When changed OFF gt ON Special m Not in execution an A B M L S B Not in execution During execution When not changed During OFF gt OFF execution When changed EE oT Notinexecution in execution M L When not changed S B During OFF OFF execution When changed ON OFF i F During execution a a e ee EEE 5 57 1 EEE 4 57 1 T C During execution a pao OE pa E 3 9 0 EEE 3 9 0 AO A1
77. CPU Used only for A1SJHCPU The new type memory cassettes A1 SNMCA 2KE 8KE 8KP for A1SJHCPU A1SHCPU and A2SNMCA 3KE for A2SHCPU should be used Switching from the A2SMCA 14KP when A2SCPU A2SMCA 14KP has been used When A2SHCPU A2SNMCA 30KE was switched 1 area cannot be used as the extension file register When 1 area has been used as the extension file register the system of A2USCPU S1 A2SMCA 14KP should be used a In RAM operation ROM memory capacity max 64 k bytes Not usable y 4 A 3kbytes Parameter area tkbyte T C set values area Memory write 1t014ksteps Sequence program are protect range 2 to 28k bytes required min 1 k step 32 k bytes Microcomputer program area Internal RAM Unused memory area e 64 k bytes y Extension file b In E2PROM operation Parameter area T C set values area Sequence program are required min 1 k step Microcomputer program area Unused Stored in ROM eA Not usable used by system Unused register area Extension fil Usable with xtension file SWOGHP register area ULTP FN1 Sampling trace area Sampling trace area Status latch area File register area Status latch area File register area Comment area Comment area APP 62 APPENDICES MELSEC A Appendix 3 3 7 Restrictions in microcomputer programs When a customer used the
78. CPU S1 mm capacity Data memory ssid memory None File register Memory capacity capacity Device setting Execution condition Sampling count A1SHCPU A2SHCPU S1 Link relay B Timer T 7 Only for L1000 to L2047 None for others Counter C Data register D Link register W Number of link stations Input X A1SHCPU 0 to 3648 lt ae mito units of 64 points 0 8to 16k Sit Absentipresent 2 to 8Kk RR RE 0 8 k OBkbytes Device number a ae scan 0 to 3648 points in units of 64 points Pertime time 0 to 1024 times in units of 129 times Oto 14 k bytes in units of 2 k bytes 0 to 26 k in units of 2 k BO to B3FF in units of 1 point TO to T255 in units of 1 point CO to C255 in units of 1 point DO to D1023 in units of 1 point WO to W3FF in units of 1 point 1 to 64 X0 to FF in units of 16 points 4 AnSHCPU MELSEC A Table 4 4 Parameter setting ranges Continued Valid pa Default value Setting range o A2SHCPU lt eee eae to 1FF in units of 16 lt eee eae A2SHCPU S1 a eae 10 975 in units of 16 a aT A1SHCPU O rea for in units of 16 O rea Setting of link Output Y A2SHCPU Non YO to 1FF range in units of 16 points A2SHCPU S1 Ea DOTE in units of 16 Ea E ee to B3FF nis r lay B in units of 16 E ee E a oan 2 to W3FF Line register Ny in units of 1 a oan 2 I O assignment None X Y0 to X Y1F
79. Capacitor backup time Minutes Turn OFF the PC power supply Guaranteed value Actually applied value MIN TYP 15 Open the cover on the front of the AnSCPU Remove the old battery from the holder and remove the lead from the lead clamp Then remove the lead connector from the connector Insert a new battery into the holder in the correct orientation and con nect the lead wires to the connector Clamp the lead with the lead clamp The red lead is positive and the blue one negative A1SHCPU a cai a _ Close the cover on the front of the 1 AnSCPU El LN o Turn ON the PC power supply Battery A6BAT connector Monitor M9006 and check ON OFF Battery failure gt 10 4 11 TROUBLESHOOTING MELSEC A 11 TROUBLESHOOTING This chapter describes various procedures for troubleshooting and corrective action 11 1 Basic Troubleshooting System reliability depends not only on reliable equipment but also on short down times in the event of faults The three basic points to be kept in mind in troubleshooting are 1 Visual checks Check the following points D Machine motion in the stopped and operating status Power ON or OFF a b c Status of I O equipment d Condition of wiring I O wires cables e Display status of various indicators such
80. D Head number of devices which stores link parameters Data to be set Automatic Refresh 1 Automatic refresh parameter setting items Parameter Data D 0 RX s head number D 1 AnSHCPU side refreshed device code D 2 AnSHCPU side refreshed device s head number r RX refresh range setting D 3 Number of refresh points lt D 4 RY s head number D 5 AnSHCPU side refreshed device code r RY refresh range setting O 6 AnSHCPU side refreshed device s head number D 7 Number of refresh points J D 8 RW s head number D 9 AnSHCPU side refreshed device code r RW refresh range setting D 10 AnSHCPU side refreshed device s head number D 11 Number of refresh points J D 12 SB s head number D 13 AnSHCPU side refreshed device code f SB refresh range setting D 14 AnSHCPU side refreshed device s head number D 15 Number of refresh points J D 16 SW s head number D 17 AnSHCPU side refreshed device code D 18 AnSHCPU side refreshed device s head number r SW refresh range setting D 19 Number of refresh points APP 11 APPENDICES MELSEC A 2 Points for automatic refresh parameter area Automatic refresh parameter data occupies 20 points from OD 0 to DD 19 When there is a device on which automatic refresh will not be performed RX RY RW SB SW set 0 to its refreshed device code or number of
81. DRCRP Left ward rotation 16 bits ROL ROLP RCL RCLP 32 bits DROL DROLP DRCL DRCLP c Shift instructions ER 16 bits SFR SFRP BSFR BSFRP DSFR DSFRP cristae 16 bits SFL SFLP BSFL BSFLP DSFL DSFLP d Data processing instructions SER SERP Bit check SUM SUMP DSUM DSUMP 2 MDSU n DE DE P 2 MDSU n Encod EN ENCOP ncode MDNM bits co CO 16 bits BSET BSETP 16 bits BRST BRSTP 16 bits DIS DISP Association 16 bits UNI UNIP e FIFO instructions 16 bits FIFW FIFWP 16 bits FIFR FIFRP APP 3 APPENDICES f ASCII instructions ASCII conversion ASCII print Two types each for PR and PRC g Buffer memory access instructions a FROM FROMP DFRO DFROP Dale wits TO TOP DTO DTOP h FOR NEXT instruction FOR NEXT i Data link module instruction LRDP RERP LWTP RTOP j Display instruction Display reset LEDR k Other instructions Fault check WDT reset WDT WDTP Status latch SLT SLTR Sampling trace STRA STRAR Carry flag set reset STC CLC Timing clock DUTY 4 CC Link dedicated instructions Read buffer memory of intelligent remote station station Write to buffer memory of intelligent remote station with handshaking Read buffer memory of intelligent remote station with handshaking Read to the word station link register RDGET Write to the word station link register RDPUT Monitor the word station link register RDMON APP 4 APPENDICES MELSEC A
82. ES Appendix 6 6 Memory Write Adapter Appendix 6 6 1 A6WA 28P memory write adapter an A 28P rd a O l I i I l I l l LJ LA y 8 0 71 22 96 0 90 18 0 71 lt lt _ Unit mm in 45 7 1 80 INOO SNOO APP 86 MELSEC A Looking for more information A Artisan Visit us on the web at http www artisan scientific com for more information QUALITY INSTRUMENTATION GUARANTEED Price Quotations Drivers Technical Specifications Manuals and Documentation Artisan Scientific is Your Source for Quality New and Certified Used Pre owned Equipment e Tens of Thousands of In Stock Items Fast Shipping and Delivery Equipment Demos Hundreds of Manufacturers Supported Leasing Monthly Rentals Consignment Service Center Repairs InstraView Remote Inspection Experienced Engineers and Technicians on staff in our Remotely inspect equipment before purchasing with our State of the art Full Service In House Service Center Facility Innovative InstraView website at http www instraview com We buy used equipment We also offer credit for Buy Backs and Trade Ins Sell your excess underutilized and idle used equipment Contact one of our Customer Service Representatives today Talk to a live person 888 88 SOURCE 888 887 6872 Contact us by email sales artisan scientific com Visit our website http www artisan scientific com
83. ET MITHUBISHI V O 54 5 2 15 Unit mm in MELSEG asuncru APP 76 Unit mm in MELSEC A APPENDICES MELSEC A Appendix 6 2 A1S61P A1S62P A1S63P A1S61PEU A1S62PEU A1S61PN A1S62PN Power Supply Module O ai ater ae Statin an MELSEC Arseir POWER O L MITSUBISHI O INPUT OUTPUT 3 HRAS bx 85 132 VAC 5VDC 5A 170 264 VAC 50 60 Hz O 130 5 12 nA N a cd UU Pel m 93 6 3 69 54 5 2 15 6 5 0 26 Unit mm in APP 77 APPENDICES Appendix 6 3 Main Base Units Appendix 6 3 1 A1S32B main base unit MELSEC A 4 mounting screws M5 x 25 Appendix 6 3 2 A1S33B main base unit i j A J NV OUT OUT ga Ko K 4 EP E MITSUBISHI ELECTRIC CORPORATION EE L ii amp Hy y by 20 ren 16 4 0 65 220 8 66 i
84. F in units of 16 points a of internal relay M latch relay L and step ce a M L S 0 to 2047 relay S setting o M L S are serial numbers None for S 100 msec points of 100 msec TO to T199 msec and integrating timers 10 msec in units of 8 points T200 to T255 Timers have serial numbers Setting of timer 256 points in units of 8 points for counters and interrupt counters Must be consecutive numbers E eee to XFF Setting of remote RUN PAUSE None Setting of counter No interrupt counter contact e SS to X1FF A2SHCPU S1 ss XOtOX3FF Fuse blown Continuation ne WOverityeror sp inuati ntinuation at the time of O verily SUO Stop Stop continuatio error Operation error Continuation Special function module check error Stop STOP gt RUN displ d Op ration y Output before STOP or after SR INaspiay mode prensa re output o operation execution STOP Print title entry Up to 128 characters FEZES Max 6 digits in hexadecimal N pda we 0 to 9 A to F Ese tis not possible to set a PAUSE contact alone 4 AnSHCPU MELSEC A 4 1 9 Memory capacity settings main programs file registers comments etc The A1SHCPU A2SHCPU S1 provides 64 k 192 k bytes of user memory area RAM Data for parameters T C set values main programs sampling trace status latch file registers and comments can be stored in the user memory area 1 Calculating memory capacity The user mem
85. HCPU MELSEC A 4 2 7 Offline switch function While the AnSHCPU is running during the execution of a sequence program it is not possible to turn sequence program OUT instruction devices ON and OFF using a peripheral device test function The offline switch function allows these devices to be turned ON and OFF with a peripheral device test function while the AnSHCPU is running It is possible to check operation of OUT instruction devices which are not turned ON and OFF by the sequence program and to check the wiring between the output module and an external device with the offline switch function Offline switch closed OUT instruction o ue do L gt Online status 1 gt Offline status 2 Offline switch opened This online status is established when the offline switch is closed The OUT instruction device is controlled turned ON OFF by the sequence program The offline status is established when the offline switch is opened The OUT instruction is isolated from the sequence program In the offline status it is not possible to control the OUT devices using the sequence program Fig 4 14 Offline and online status 1 Devices which can use the offline switch function The following devices can use the offline switch function a Outputs Y b Internal relays M c Latch relays L d Step relays S e Link relays B f Annunciators F 4 AnSHCPU MELSEC A 2 Status of devices
86. I Gs a Gl Gt a O OERA Ge Ae eT PTL Ee ESTs te TOTO e E Niel ae Mis OVO OF ver aT eNe e MET E om TT jofofolofo TT ttt os peer Tel a ee ea Read command Data to be set LEDA LEDB RIRCV Executed while ON Executed at leading edge o prot object gt Device number designated Constant designated Intelligent device station number 1 to 64 Device for storing control data and read data BO OO Handshaking link device RX RY number Bit device number which is switched on on completion of execution E Control Data 1 Control data setting items 61 0 Completion status n 1 Number of points read 1 2 Object area fixed to 0004H gt Control data 1 3 Error check 1 4 Buffer address 5 ene Stores data read from intelligent device station to on completion of RIRCV instruction execution Dan Number of points specified at 1 1 2 Number of control data area points Data read from an intelligent device station is stored into the area after the 5 points of control data DD 0 to 4 Reserve the control data area for 5 points number of points specified at 1 successively APP 31 APPENDICES MELSEC A 3 Control data Set data Setting Setting end range Status on completion of instruction execution is stored Completion status 0 Nono System Other than O Error code
87. Looking for more information A Artisan Visit us on the web at http www artisan scientific com for more information QUALITY INSTRUMENTATION GUARANTEED Price Quotations Drivers Technical Specifications Manuals and Documentation Artisan Scientific is Your Source for Quality New and Certified Used Pre owned Equipment e Tens of Thousands of In Stock Items Fast Shipping and Delivery Equipment Demos Hundreds of Manufacturers Supported Leasing Monthly Rentals Consignment Service Center Repairs InstraView Remote Inspection Experienced Engineers and Technicians on staff in our Remotely inspect equipment before purchasing with our State of the art Full Service In House Service Center Facility Innovative InstraView website at http www instraview com We buy used equipment We also offer credit for Buy Backs and Trade Ins Sell your excess underutilized and idle used equipment Contact one of our Customer Service Representatives today Talk to a live person 888 88 SOURCE 888 887 6872 Contact us by email sales artisan scientific com Visit our website http www artisan scientific com a a MITSUBISHI ELECTRIC MELSEC A series Programmable Controller User s Manual AnS H CPU fa MITSUBISHI ELECTRIC EUROPE B V FACTORY AUTOMATION O SAFETY PRECAUTIONS 60 Read these precautions before using When using Mitsubishi equipment thoroughly read this manual and the associated manuals introduced in this
88. M ROM cassette A1SNMCA 8KP equipped with EPROM A1SNMCA KE equipped with E7PROM Battery A6BAT Power supply module Input module Output module Special function module Main base A1S3 B er Extension cable A1SCO INB Extension cable A1SC B Building block type A D 0000000009 77 OO o BoOD5505559 Power supply module Extension base Extension base i O E A5 B Without a power supply module A1S5 B S1 Without a power supply module i Special function module A6 JB Equipped with a power supply A1S6 B S1 Equipped with a power supply module module 2 SYSTEM CONFIGURATION MELSEC A Memory write adapter dedicated to A1SNMCA 8KP A6WA 28P To AnSHCPU AC30R4 AC300R4 cable ROM cassette for A1SHCPU A6PHP plasma ACOSWU APWE LOMA SKP cable P ROM handy graphic writer module programmer SW3GP GPPAEE SW4GP GPPAEE system FD A6GPP Intelligent GPP SW3GP GPPAEE SW4GP GPPAEE Memory write adapter ROM cassette FD system dedicated to A1SNMCA 8KP for A1SHCPU AGWA 28P A1SNMCA 8KP 1 RS 232C cable IBM PC AT or SWOIX GPPAE 1 Refer to SWOIX GPPAE Software 100 compatible MELSEC MEDOC Package Operating Manual or the system FD MELSEC MEDOC Operating Manual for connectable cables and devices 2 IBM is a registe
89. O module to the base unit Use the module X64Y64 A AnS series extension cable between the AnS series basic base and A6SIM X64Y64 Compact graphic operation terminal A1SJ71T32 S3 monitor screen included model black and white LCD 250 monitor screens 255 parts 32 Special 32 point 32 Special 32 point 0 33 32 Special 32 point For master or local station of 32 ATSJZIATEIB MELSECNET B data link system Special 32 point 0 66 o Special 32 point Special 32 point 32 32 outputs Exclusive I O mode 32 Special 32 point 0 35 Expansion mode 48 Special 48 point I O dedicated mode 32 Special 32 point 0 30 Expansion mode 48 Special 48 point 64 64 outputs 0 113 TYP 64 64 inputs 0 3 all 64 64 outputs points on Class 2 power supply recognized by the UL cUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION MELSEC A Number of Current z Description inputs outputs consumption Approved I O allocation standard module type 5VDC 24V DC When connected via bus 32 special points are occupied Consumed power 100 VA When Mid size graphic operation terminal connect connected A850GOT monitor included model black and ing via bus 32 white LCD STN color LCD MELSEC special Base window screen 1024 pixels NET 0 7 points are A851GOT occupied Large graphic operation terminal When A870GOT monitor
90. P 23 APPENDICES MELSEC A 3 Control data Set data Setting Setting range end Status on completion of instruction execution is stored Completion status 0 N eiror System Other than O Error code Number of points read Specify the number of data read word basis 1 to 480 e Set 0004H when accessing the buffer Remote station s object memory of an intelligent device station 0004H User area e Set 2004H when accessing the random 2004H access buffer memory of a local station Buffer memory address Specify the head address of the buffer memory Baoe E E E ASSES 1 1 For error codes at error occurrence refer to the following manual Control amp Communication Link System Master Local Module type AJ65BT11 A1SJ61BT11 User s Manual 2 2 Indicates the maximum number of data read Set a value within the remote station buffer memory capacity and parameter set receiving buffer area setting range 3 3 Refer to the manual of the remote station from which data is read When specifying the random access buffer memory set the address with the head of the random access buffer memory defined as 0 Functions 1 Reads the points of data specified at Op 1 from the buffer memory address specified at D1 3 qn the remote station having the station number specified at QD and connected to the master local module specified at aD and stores that data into the devices starting from the one specified at 4 On c
91. PH MOV 0001 D1001 P H s mov 0040 D1002 H PK H t mov 32 D1003H P H MOV 0000 D1004 P H H t mov 0002 D1005 H P H MOV 00A0 D1006 H PK MOV 48 D1007 PH H t mov 0000 D1008 H P H MOV 0007 D1009 H P H MOV 00A0 D1010 PK H mov 272 Dony P H MOV 0000 D1012 P H MOV 0003 D1013 P H H mov 0040 D1014 H PK H mov 256 D1015H P H MOV 0000 D1016 P H H mov 0007 D1017 P H MOV 00A0 D1018 H PK MOV 256 D1019 t LEDB RRPA H z K SUB 0 H LEDC D1000 H H Lo LEDR MELSEC A RX s head number 0 setting X setting AOH XAO setting 32 points setting RY s head number 0 setting Y setting AOH YAO setting 48 points setting RW s head number 0 setting D setting 160 D160 setting 160 A0H 272 points setting SB s head number 0 setting M setting 160 M160 setting 160 A0H 256 points setting SW s head number 0 setting W setting AOH WAO setting 256 points setting RRPA instruction designation APPENDICES MELSEC A Available device Word device Data to be set nt Head I O number of object master module Read destination designation e Intelligent device station Station numbers 1 to64 n2 only when the host station Command LEDA LEDB RIFR Executed while ON _ LEDC SUB GD sus LEDC SUB Gs LEDC TO Executed at leading edge Device number designated Cons
92. RUN status ERROR LED is lit Is M9008 ON Cause of the Hardware fault ERROR LED being lit Check corrective action in the fault code list Software error Reset the AnSHCPU us ing the RUN STOP Can it be corrected Take corrective action Set the RUN STOP key switch to the STOP posi tion Correct the cause of the error Set the RUN STOP key switch to the RUN posi tion y Does the ERROR LED come ON Consult your nearest Mit subishi representative C 11 6 11 TROUBLESHOOTING MELSEC A 11 2 6 Flowchart used when the ERROR LED flashes The following shows the corrective measures when the ERROR LED flashes ERROR LED ties Is 0 stored YES in special register D9124 Consult your nearest Mit subishi representative y Reset the ON annunciator coil using a RST F in struction 11 7 11 TROUBLESHOOTING MELSEC A 11 2 7 Flowchart used when the output load of the output module does not come ON Output load does not come ON Check the output state in monitor mode with the pro grammer Is the indicator LED of the output mod ule ON Measure the voltage be tween the module input and COM terminal Is the indicator LED of the input mod ule ON Specified voltage
93. RY ICs AND BATTERY 7 1 Memory ICs This section describes the specifications handling instructions and installation of the memory ICs used in the ANSHCPU 7 1 1 Specifications Table 7 1 and 7 2 show the specifications of the ROMs Table 7 1 Memory specifications A1SHCPU New memory cassette Conventional memory cassette A1SNMCA 2KE A1SNMCA 8KE A1SNMCA 8KP A1SMCA 2KE A1SMCA 8KE A1SMCA 8KP Memory specifications E PROM EPEOM E PROM EPEOM Memory capacity 8 k bytes 32 k bytes 32 k bytes 8 k bytes 32 k bytes 32 k bytes max 2 k steps max 8 k steps max 8 k steps max 2 k steps max 8 k steps max 8 k steps ae service life for 49900 times 100000 times O 10000 times 100000 times min 15 x 69 6 x 40 5 0 59 x 2 75 x 1 59 15 x 68 6 x 42 0 59 x 2 70 x 1 65 Weight kg I 0 03 0 06 A1SHCPU ES A1SJHCPU Es Table 7 2 Memory specifications A2SHCPU New memory cassette Conventional memory cassette A2SNMCA 30KE A2SMCA 14KE A2SMCA 14KP Memory specifications E PROM E PROM EPROM 64 k bytes 64 k bytes 64 k bytes Memory capacity A2SHCPU max 14 k steps max 14 k steps max 14 k steps A2SHCPU S1 max 30 k steps E PROM service life for 100000 times o writing 15 x 69 6 x 40 5 0 59 x 2 75 x 1 59 15 x 68 6 x 42 0 59 x 2 70 x 1 65 Weight kg I 0 03 0 06 A2SHCPU S pe a d a 7 MEMORY ICs AND BATTERY MELSEC A 7 1 2 Handling instructions 1 2 Handl
94. S Ud sia des Diy anda 9 11 9 2 7 External wifing soises NEET N a EEE EE 9 11 10 MAINTENANCE AND INSPECTION nsssssssnnnnnnennnnnnnnennnennunnnnnnnnnnnnnnnnnnnnnnnnnnnnannn munnen na 10 1to10 4 10 14 Daily INSPOCtON nisust EAEE EREA A E 10 1 10 2 Periodic nspeCtion sirra AAT ceed A E R ANAE 10 2 10 3 Replacement of Battery errar era naareanaaanarenaaaaareaa na naeanana 10 3 10 3 1 Service life of battery rear naeeaarra aaa aa nanaananaa 10 3 10 3 2 Battery replacement procedure ereta aerea 10 4 TA TROUBLESHOOTING csseccnscccstie ecsteecencte aeaaee ransa enaa saa ouai a Eea iaaa deernis 11 1 to 11 17 11 1 Basic Troubleshooting iseki dEr ARRANA AEE EEEE R Ap AEREA OEC R TERRAS 11 1 TL2 Troubleshooting ius tite ataxia enact levee ANAE S dace suche agi nace clo acest ee aie 11 2 11 2 1 Troubleshooting flowcharis arrematar 11 2 11 2 2 Flowchart used when the POWER LED goes OFF 11 3 11 2 3 Flowchart used when the RUN LED goes OFF 11 4 11 2 4 Flowchart used when the RUN LED flashes cence eeeeeeeeeeeeeeeeeeeeeaees 11 5 11 2 5 Flowchart used when the ERROR LED is lit 11 6 11 2 6 Flowchart used when the ERROR LED flashes 11 7 11 2 7 Flowchart used when the output load of the output module does not come ON ss ia leat can ate ja E SL eee a 11 8 11 2 8 Flowchart used when a
95. S52B S1 A1S55B S1 A1S58B S1 A1S65B S1 A1S68B S1 A52B A55B A58B A62B Extension base units A65B A68B Extenal bl A1SC01B A1SC03B A1SC07B A1SC12B A1SC30B A1SC60B ACO6B AC12B AC30B eee See A1SCO5NB A1SCO7NB 1 Only the 1st extension base unit can be used when extension base units of types other than the AnS S1 are equipped The S1 type and other types must not be used together 2 To use the AnS S1 type extension base unit with an A N or A JA type the latter must be equipped with the last extension base unit The A N or A JA extension base unit cannot be connected to the AnS S1 type Notes 3 When an A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B is used a voltage of 5 V DC is supplied from the power supply module See Section 7 1 3 and consider the application 4 The extension cable should be used for distances of up to 6 m 19 68 ft 5 The extension cable must not be bundled with or laid near the main circuit high voltage high current lines 1 Allocate I O numbers to the extension base units in order of extension base unit number not in extension cable connection order 2 I O numbers are allocated on the assumption that both the main base unit and the extension base units have eight slots Sixteen input output points will be allocated to each slot indicated by dotted lines in the above system configuration figure 1 0 number allocation 3 Allocate 16 input output points to empty slo
96. SERIAL must be selected The start up file type name will need to be changed when using a SW GP GPPA ROM writer eraser on an A1SHCPU A1SJHCPU Set AOJ2H for Version Q or earlier A1S for Version R or later Then select SERIAL In addition it will be necessary to select 27256 for ROM setting type 1 Mount a memory cassette to the memory write adapter Couple the connectors correctly 2 Mount the memory write adapter coupled with the memory cassette to the ROM socket of an AGGPP or A6WU in the correct orientation The pin on the cut corner side of the memory write adapter is pin No 1 F D fl Cut corner gt ROM socket A1SMCA 8KP A6WA 28P A1SNMCA 8KP 7 MEMORY ICs AND BATTERY MELSEC A 7 1 5 Memory write protect setting for an AZSNMCA 30KE When an A2SNMCA 30KE is installed on an A2SHCPU misuse of peripheral devices can cause the E7PROM memory to be over written In order to prevent this from occurring the AASNMCA 30KE has been provided with a memory write protect setting When the memory write protect setting pin is in the ON position all 64 k bytes of the user memory area will be protected The memory write protect setting pin must be moved to the OFF position in order to allow the contents of the ROM memory to be corrected The pin is set to the OFF position before shipment from the factory See Section 4 1 9 regarding memory area allocation
97. SET SW GP GPPKEE K series GPP function system disk programmer SWO GPPU User disk 2DD AC30R4 RS 422 cable 3 m 9 84 ft long A6GPP SW GP HGPAEE A series GPP function system disk Intelligent GPP A6GPP SET SW GP HGPKEE K series GPP function system disk SWO GPPU User disk 2DD AC30R4 RS 422 cable 3 m 9 84 ft long Composite 3 AC10MD A6GPP i e Connects A6GPP and monitor display 1 m 3 28 ft long AC30R4 3 m 9 84 ft lon RS 422 cable coma long Connects CPU and A6GPP A6PHP AC300R4 30 m 98 4 ft long User disk SW0 GPPU Used for storing user program 3 5 in E Applicable to gt P Cleaning disk SW0 FDC i Power supply module e Connected directly to the CPU with an RS 422 cable AC30R4 AC300R4 A7PU to read and write programs Provided with an MT function e The product package includes a cable used for connection to an audio Programming cassette recorder module ROS Connected directly to the CPU with an RS 422 cable AC30R4 PUS to read and write programs A8PUE Connected directly to the CPU with an RS 422 cable AC30R4 PUS AC20R4 A8PU to read and write programs AC30R4 AC300R4 Used to connect an A7PU to the CPU Long 3 m 30 m 9 84 ft 98 4 ft Used to connect an A7PUS or A8PUE to the CPU Long 3 m 9 84 ft AC20R4 A8PU Used to connect an A8PUE to the CPU Long 2 m 6 56 ft e Used for writing a program in the CPU A6PHP to ROM or for reading o writer AGWU a CPU program fro
98. STOP status with external signals commands from peripheral devices remote RUN contacts with the RUN switch at the RUN position 1 Application of remote RUN STOP Remote RUN STOP control is useful in the following cases a When the AnSHCPU is at a remote location b When the AnSHCPU is located in a control box 2 Executing a remote RUN STOP Remote RUN STOP operation is possible using the following methods a Remote RUN contacts Remote RUN STOP control is possible by turning a remote RUN contact set in the parameters ON and OFF 1 When the remote RUN contact is turned OFF the AnSHCPU is set to the RUN status 2 When the remote RUN contact is turned ON the AnSHCPU is set to the STOP status Switching between RUN and STOP is executed after execution of the END FEND Step0 END Remote RUN contact OEE RUN STOP status STOP status Fig 4 6 Remote RUN STOP timing chart when using a remote RUN contact 4 AnSHCPU MELSEC A b The AnSHCPU RUN STOP operation is executed by specifying remote RUN STOP from a peripheral device computer link module or the AD51 S3 Step 0 gt END Step 0 gt END 0 Remote STOP Peripheral command device Remote RUN command AnSHCPU RUN STOP status OS STOP status Fig 4 7 Remote RUN STOP timing chart when using the remote RUN STOP command from a peripheral device 3 Precautions a Because th
99. T instruction in a program the ON OFF status display will differ before and after the execution of the SLT instruction Circuit example Monitor display of status latch data xo xo When the SLT instruction is Hj no a 4 Y10 executed Y10 is ON and ON is displayed a7 SLT When the SLT instruction is LG 4 Ln executed Y11 is OFF and OFF is displayed 3 Precaution a Executing an SLT instruction causes the scan time to be increased by the time indicated below Therefore take this into consideration when determining the watchdog timer setting and the constant scan time setting for the ANSHCPU Device memory only Device memory and file register Processing time msec 4 AnSHCPU MELSEC A 4 2 6 Sampling trace It is not possible to check the transition of the ON OFF status of bit devices and the data in word devices using a peripheral device monitor function The sampling trace function samples the data from designated devices at fixed intervals and stores the sample data in the sampling trace area After the STRA instruction is executed the data stored in the sampling trace area is sampled the designated number of times and the device data is latched Data stored in the sampling trace area can be read by using the GPP function to monitor it AnSHCPU Peripheral device GPP function Sample trace area Sample trace area 1st sample data l Display of i Device 28 i sam
100. This chapter describes the procedure for loading and installation and gives relevant precautions to ensure that the system performs with high reliability and that its functions are used to best effect 8 1 Safety Consideration When the power to the system is turned ON or OFF the process output may not perform normally at times due to the difference between the delay time and the rise time of the power supply of the PC CPU main module and the external power supply especially DC Also if there is an error in the external power supply the output process may malfunction For example if the power supply to the PC is switched on after switching on the external power supply for the sequence program operation at a DC output module the DC output module may temporarily output erroneous signals when the power to the PC is switched on A circuit that allows the power to the PC to be switched on first must therefore be provided In addition if there is an abnormality in the external power supply or trouble in the PC this could cause malfunction To a prevent erroneous operation of the entire system and b ensure safety prepare circuits such as an emergency stop circuit protection circuit and interlock circuit that prevent machine damage and or accidents due to erroneous operation of peripheral devices An example system design circuit based on this concept is shown on the following page Some types of AnS series output module detect a blo
101. V DC 30 35 Rated input voltage 200 to 240 V AC 10 15 170 to 264 V AC 15 6 to 31 2 V DC Rated input frequency 50 60 Hz 3 NS TR Input voltage distortion factor Within 5 See Section 8 8 Max input apparent power 105 VA 20 A 8 ms or lower 81 A1 ms or lower Era END zavoro J oa T Y Overcurrent protection 5V DC 5 5 A or higher 3 3 A or higher 5 5 A or higher 24 V DC P 0 66 A or higher 5 5 5 to 6 5 V Overvoltage protection 24 V DC Efficiency 65 or higher Allowable momentary power failure time 3 1 ms or lower Between primary 1500 V AC 1 1500 V AC 1 500 V AC Dielectric withstand and 5 V DC voltage Between primary 1 VAC 1 and 24 V DC 200 C Insulation resistor 5 MQ or higher at insulation resistance tester Noise voltage 500 Vp p Noise voltage 1500 Vp p Noise width 1 us Noise Noise width 1 us Noise frequency 25 to 60 Hz noise simulator condition frequency 25 to 60 Hz noise simulator condition Power LED indication light at the time of output of 5 V DC M3 5 x7 0 75 to 2 mm AWG 18 to 14 External dimension mm in 130 x 55 x 93 6 5 12 x 2 17 x 3 69 Weight kg Ib 0 53 1 17 0 55 1 21 0 5 1 1 1 Overcurrent protection Noise durability The overcurrent protection device shuts off the 5 V 24 V DC circuit and stops the system if the current flowing in the circuit exceeds the specified value When this device is activated the power supply module LED is switche
102. Vdrop power V DC power i lin supply Output TEESE EE OTARRE power lout AC AC o ER E AA ER ND DC DC De o 8 LOADING AND INSTALLATION 1 MELSEC A Power consumption of a power supply module Approximately 70 of the power supply module current is converted into power and 30 of that 70 is dissipated as heat i e 3 7 of the output power is actually used Wpw Isv x 5 l2av x 24 W Where I5v V DC logic circuit current consumption of each module l24v current consumption of the output modules with an average number of points switched ON Not for 24 V DC input power supply modules Total 5 V DC power consumption 5 V DC is supplied to each module via the base plate which powers the logic circuitry Wsv ls5v x 5 W Total 24 V DC output module power consumption with an average number of points switched ON 24 V DC is supplied to drive output devices Waav l24v x 24 W Power consumption of output circuits with an average number of points switched ON Wout lout x Vdrop x average number of outputs on at one time W Where lout output current actual operating current A Vdrop voltage dropped across each output load V Power consumption of input circuits with an average number of points switched ON Win lin x E x average number of inputs on at one time W Where In input current effective value for AC A E input voltage actual operating voltage
103. W3IVD GPPA MELSEC MEDOC MELSEC MEDOC plus vk nan Abbreviated as GPP function A7PU A7PUS and A8PUE Abbreviated as PU 1 OVERVIEW MELSEC A 1 1 Features 1 High speed operation processing speed Compared to the conventional A1SCPU the A1SHCPU is three times and A2SHCPU S1 is four times faster in the operation processing speed respectively Operation processing speed 1 0 33 us 0 25 us 4 I O processing Refresh and LD instruction 2 Addition of new dedicated instructions The CC Link dedicated instructions 11 instructions have been added making the operation even easier 3 Increased number of I O device points The actual number of I O points is the same as the AnS series but each CPU has 2048 points X Y0 to 7FF of I O devices The added I O device can be used as the MELSECNET B MELSECNET MINI or CC Link 4 Increased file register R capacity The capacity is now max 8192 points RO to 8191 which doubled the AnS series 4096 points RO to 4095 5 Increased memory capacity Increased number of comment points The A1SHCPU has 64 k bytes which doubled the A1SCPU s 32 k bytes This increased the number of comment points stored in the CPU 3648 in comparison to the 1600 points in A1SCPU 6 Increased memory capacity in the number of comment points Only for the A2ZSHCPU S1 the program capacity has been increased to 30 k steps in comparison to the 14 k steps for AZSCPU
104. WOGHP UTLPC FN1 e SWOGHP UTLPC FNO e SWOGHP UTLP FD1 e SWO AD57P e SW1GP AD57P c Select ASCPU when an SWOGHP UTLPC FN1 or SWOGHP UTLP FD1 is started up d If both an SW1GP AD57P and another utility package are used in combination specify AD57P COM as the file name 2 SYSTEM CONFIGURATION MELSEC A 2 3 System Equipment The following table shows the list of modules and devices which can be used for an AnS system 1 AnSCPU dedicated modules Number of Current Description inputs outputs consumption Approved O allocation pe R standard module type 5 See the Performance Specifications in A1SHCPU Chapter 4 Number of I O points 256 memory capacity 64 k bytes 0 RAM memory See the Performance Specifications in embedded A1SJHCPU Chapter 4 Number of I O points 256 CPU memory capacity 64 k bytes module See the Performance Specifications in A2SHCPU Chapter 4 Number of I O points 512 UL cUL memory capacity 64 k bytes 0 RAM memory See the Performance Specifications in embedded A2SHCPU S1 Chapter 4 Number of I O points 1024 memory capacity 192 k bytes A1S61P 5VDC 5A Input 0 0 A1S62P V DC 3 A 24 V DC 100 200 V A AC 8 Loaded to the A1S63P 5VDC 5A Input 24 V DC slot for main base or A1S61PEU 5VDC 5A Input extension base power 5 V DC 3 A 24 V DC 200 V A1S61PN 5VDC 5A Input supply UL cUL 5 V DC 3 A 24 V DC 100 200 V 30 40 A1SX10 16 point
105. aes anes er eee Ec ee sa iso imo Ec e cms er asa E A O RR EE A E APP 74 APPENDICES MELSEC A Processing time us Condition A1SHCPU A2SHCPU Do Do pa o 1572 1559 138 2 1388 a eee Ee ee i use frisa Em o fossa aes amo ema EC sos mea fes E o fosso fios emo moer mo 0 ss one mer fores E o ossos um fes Css o ess mer pm Cm o es fase uma o Ser ars ee ee a a RE The instruction processing time is measures while performing the subset processing Subset processing processes basic and applied instructions speedily with the following conditions when a bit device is specified e Conditions of subset processing Subset processing is possible when one of the following is satisfied without using the index modification 1 Bit device digit specification is K4 for 16 bit processing or K8 for 32 bit processing 2 The device No is a multiple of 8 APP 75 APPENDICES Appendix 6 Outside Dimensions Appendix 6 1 CPU Module Appendix 6 1 1 A1SHCPU A2SHCPU S1 module o A qa 130 5 12 93 6 3 69 Appendix 6 1 2 A1SJHCPU module 4 96 mounting screws M5 x 25 MITSUBISHI WELSEC aisuxeu TOP S RUN O LCLR RUN ERRO RESET RES
106. am or more than one number for pointer exists in the program No IRET instruction has been entered in the interrupt program There is an IRET instruction somewhere besides the interrupt program CHK FORMAT ERR 14 STOP 11 11 MELSEC A Corrective action 1 Read the error step by using a peripheral device and correct the program at that step Make corrections such as the insertion of a jump destination or the changing of jump destinations to one destination Check the program of the CHK instruction circuit block 1 to 7 in the left column Correct errors using a peripheral device and restart the operation This error code is only valid when the direct method is used for I O control Check for the presence of interrupt program which corresponds to the interrupt module and create an interrupt program or reduce the number of Is to one Check if there is an IRET instruction in the interrupt program and enter the IRET instruction Check if there is an IRET instruction somewhere besides the interrupt program and delete that IRET instruction 11 TROUBLESHOOTING Error message ROM ERR for AASHCPU RAM ERROR OPE CIRCUIT ERR WDT ERROR module VERIFY ERR Contents of Deaile special error register code D9008 D9092 BIN Error and cause 1 Parameters and or sequence programs are not correctly written to the installed memory cassette STOP STOP status 1
107. and special function module etc to and from the base module 1 Module mounting The module mounting procedure is as follows Insert the module mounting Base unit hook into the module mounting hole in the base unit Module Module connector Install the module on the base unit by pushing the top forward Make sure the hook is securely inserted in the module mounting hole in the base unit Then secure the module with the module mounting screw Module mounting hook When securing the module be sure to insert the module mounting hook into the module mounting hole If the gas module is forcibly secured without LA insertion the module s connector or the module itself may be damaged Always turn the power supply OFF before mounting or removing any module 8 LOADING AND INSTALLATION MELSEC A 2 Module removal The module removal procedure is as follows Base unit LL Remove the module mounting screw Then while pushing the hook latch pull the module toward you Bae Module r connector Lift upwards and remove the module hook from the module mounting hole i Module When removing the module be sure to remove the module mounting screw first and then remove the module mounting hook from the module mounting hole If the module is forcibly removed the screw or module mounting hook
108. and startup model a For AnSHCPU startup with the PC model A3 b Perform the PC type setting as shown below when using conventional peripheral devices Peripheral Software CPU type device package AISJH A1SH A2SH A2SH S1 AGPHP cee GPPAEE ss write not aies sest O SW4GP GPPAEE GPPAEE E GEFAEE EPROM write not EPROM wre not posse A6GPP eee ree GPPAEE ee GPPAEE See sere IVD GPPA 2 IBM PC AT MELSEC MEDOC MEDOC MELSEC MEDOC plus e A1SH is displayed when the system is started up with software version E or A6WU later Cannot be used if software version D or before e Add on mounting is not possible A1SH A2SH A2SH1 A1SH is displayed when the system is started up with software version E or earlier Cannot be used if the software version is F or later e Add on mounting is not possible A1SH is displayed when the system is A7PUS A8PUE started up When performing the A1SHCPU ROM cutoff with SW4GP GPP the startup model must be changed Set AOJ2H for version Q and earlier and A1S for version R and later 2 The software package that can select the CPU model to use is shown below Version 70H or later 2 SYSTEM CONFIGURATION MELSEC A 1 When an A6GPP or AGPHP is used use SW3 GPPAEE SW3 HGPAEE SW3GP GPPAEE or SW4GP GPPAEE as the system startup software Other old software packages cannot be used i Utility package The applicable utility packages are listed below e S
109. ast 2 mm for grounding Make the grounding point as close to the PC as possible so that the grounding wire is not too long 8 LOADING AND INSTALLATION 8 7 2 1 8 8 MELSEC A d If any malfunction occur due to grounding disconnect either or both of the LG and FG terminals of the base unit from the ground Wiring to module terminals This section explains the wiring of power lines and grounding lines to the main and extension bases Main base unit A1S38B 100 110 V AC A1S62PN CPU S 200 220 V AC AC 3 Select the transformer O O 24V by seeing cy HO Ra Section 8 7 1 C 1 2 Fuse o Bilge trey O Os INPUT i O O 4100 240 v ac 77724 VDC PA KXXX o X Vo E Extension base unit A1S58B S1 vYv y Connect to the 24 V DC terminals of an I O module that requires 24 V DC internally Use the thickest possible max 2 mm 14 AWG wires for the 100 V 200 V and 24 V DC power cables Be sure to twist these wires starting at the connection terminals To prevent a short circuit should any screws loosen use solderless terminals with insulation sleeves When the LG terminals and FG terminals are connected be sure to ground the wires Do not connect the LG terminals and FG terminals to anything other than ground If LG terminals and FG terminals are connected without grounding the wires the PC may be s
110. be increased because the system uses the internal RAM area area indicated by 1 in the following figure as in RAM operation 4 AnSHCPU a In RAM operation ROM memory capacity max 32 k bytes Not used Stored in ROM 3kbytes 1kbyte Memory write protect range 32 k bytes Internal RAM memory area 64 k bytes 1 to 8 k bytes 2 to 16 k bytes Parameter area T C set values area Sequence program are required min 1 k step Microcomputer program area Not used Extension file b register area Sampling trace area Status latch area File register area Comment area When the A2SHCPU S1 is used MELSEC A b In E PROM EPROM operation Parameter area T C set values area Sequence program are required min 1 k step Microcomputer program area Not used Not usable used by system Not used Extension file register area Usable with SWOGHP ULTP FN1 Sampling trace area Status latch area File register area Comment area Even if the main program is stored in an E PROM the area cannot be used for the extension file register because the system uses the internal RAM area area indicated by 2 in the following figure as in RAM operation a In RAM operation ROM memory capacity max 64 k bytes Not used Stored in ROM 3kbytes 1kbyte 1 to 14k steps Memory write pr
111. ce SS r scan oo pet J During processing of RDMON instruction Data can be read by RDMON instruction Operation Error The following condition will result in an operation error and the error flag M9011 switches on D9008 D9092 The number of read points specified at 3 is outside the range 0 to 480 Program Example The following program monitors 1 point from the remote device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F This program assumes that control data are stored in D1000 D1006 X0020 0 LEDA RDMON H H r Ssu 0000 H K H SUM 1 H gt RDMON instruction designation CLEDC D1000 H r gt gt gt gt gt gt gt gt gt gt gt LLEDC 1000 H L e LEDRA CIRCUIT END APP 49 APPENDICES MELSEC A Appendix 1 2 Caution when Performing a Write while Running Dedicated Instruction Description of write performed when running For LEDA For LEDB 7 After write the instruction is ME A After write the previous contact Normal configuration is written PE executed when the previous turns on and the instruction is when running Szecut d contact is turned from OFF to ON If the previous contact stays after write the instruction is not LEDA LEDB was added by Error 104 occurs executed so no process is mistake incorrect configuration performed When the previous contact is turned from OFF
112. cify in Max 3648 batches of 64 points Self diagnostic functions Watchdog error monitor Memory error detection CPU error detection I O error detection Battery error detection etc Operation mode at the time of error STOP CONTINUE STOP RUN output mode Output data at time of STOP restored data output after operation execution Year month day hour minute second Automatically recognizes leap years Clock function Accuracy 3 1 to 5 3 s TYP 1 7 s d at 0 C 1 6 to 5 3 s TYP 2 4 s d at 25 C 9 6 to 3 6 s TYP 2 1 s d at 55 C Allowable momentary power 20 msec interruption time Current consumption 5 V DO Weight kg Ib 1 00 2 20 0 33 0 73 0 33 0 73 UL cUL Pc 1 The I O device after the actual input points can be used as MELSECNET B MELSECNET MINI or C C Link 2 The maximum total memory that can be used for parameters T C set values program capacity file registers number of comments sampling trace and status latch is 32 k 64 k bytes The memory capacity is fixed No expansion memory is available Section 4 1 7 shows how to calculate the memory capacity 4 AnSHCPU MELSEC A 4 1 1 AnSHCPU operation processing This section explains the operation processing which takes place from the time the AnSHCPU power is switched ON until the sequence program is executed AnSHCPU processing is generally divided into the following four types 1 Initial processing This is the pr
113. circuit inside Special module Conventional models can be used for the special modules including analog module network module and positioning module because the rated voltage is 24 V DC or smaller Display device Use an A870GOT CE compatible model The insulation specification of the power module was designed assuming installation category Il Be sure to use the installation category Il power supply to the PC The installation category indicates the durability level against surge voltage generated by a thunderbolt Category has the lowest durability category IV has the highest durability SEO gt lt 4 gt gt e RE E E a Category Category III Category Category Figure 1 Installation Category Category Il indicates a power supply whose voltage has been reduced by two or more levels of isolating transformers from the public power distribution 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION 9 2 4 9 2 5 Control box MELSEC A Because the PC is an open device a device designed to be stored within another module be sure to use it after storing in the control box 1 Module installation 1 Electrical shock prevention In order to prevent persons who are not familiar with the electric facility such as the operators from electric shocks the control box must have the following functions a The control box must be equipped with a lock so that only the personnel who has
114. cks which could result in injury and fires Switch all phases of the external power supply off when cleaning the module or tightening the terminal screws Not doing so could result in electric shock If the screws are too tight it may cause falling short circuit or erroneous operation due to damage of the screws or modules Tightening the screws too far may cause damages to the screws and or the module resulting in fallout short circuits or malfunction e The online operations conducted for the CPU module being operated connecting the peripheral device especially when changing data or operation status shall be conducted after the manual has been carefully read and a sufficient check of safety has been conducted Operation mistakes could cause damage or trouble of the module Do not disassemble or modify the modules Doing so could cause trouble erroneous operation injury or fire Switch all phases of the external power supply off before mounting or removing the module If you do not switch off the external power supply it will cause failure or malfunction of the module DISPOSAL PRECAUTIONS A CAUTION e When disposing of this product treat it as industrial waste REVISIONS The manual number is given on the bottom left of the back cover May 1997 A 66779 A First edition Nov 1997 IB NA 66779 B Contents Related manuals Section 1 1 Section 2 1 1 2 1 2 Section 2 2 2 3 Chapter 3 Section 4 1 6
115. completion status No processing will be performed if the number of read points specified at 1 is 0 Execution Conditions When the LEDA instruction is used the RIRCV instruction is executed every scan while the read command is ON When the LEDB instruction is used the RIRCV instruction is executed only one scan on the leading edge OFF ON of the read command Note that several scans will be required until the completion of read processing by the RIRCV instruction Therefore execute the next RIRCV instruction after the completion device has switched on The RIRCV instruction executed before the completion of RIRCV instruction execution is ignored APP 33 APPENDICES MELSEC A END END END END processing processing processing processing Sequence program flow RIRCV instruction l l l l Executed execution complete i l RIRCV instruction l 1 1 i i ON i Completion device OFF i i EO Is Abnormal f ON completion On completion status OFF O ieee 4 1 I 1 Normal completion J display device oe sos 7 scan a a During processing of RIRCV instruction Data can be read by RIRCV instruction Operation Error The following condition will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of read points specified at 1 is outside the range 0 to 480 Program Example The following program reads data from 400H 405H of the buffer
116. ctive action on us To comeciveaciom e Sneak path due to the use of two power supplies e Use only one power supply e Connect a sneak path prevention diode Figure below Input signal Example 5 does not turn OFF Input module lt Example calculation for Example 4 gt The switch with an LED indicator is connected to A1SX40 and there isa 4m A leakage current A1SX40 l Leakage 1 current4m A Input module 3 6 kw l 4 1 Since the leakage current does not reach the 1 m A OFF current of the A1SX40 the input signal does not go OFF Connect a resistor as shown below A1SX40 IZ 1mA z Input i iz Input impedance t41 3 3w 2 Calculate the value of the connected resistor R as follows To reach the 1 m A OFF current of the A1SX40 connect a resistor R through which a current of 3 m A or greater flows MDSD R MDNM LMDSD Z MDNM Z input impedance R R lt a x input impedance i x3 3 1 1 k9 R lt 1 1kQ When R 1 k Q the power capacity must be W applied voltage R 26 4 1000 Q 0 7 W 3 The power capacity of the resistor should be three to five times as large as the actual power consumption The problem can therefore be solved by connecting a 1 k Q 2 to 3 W resistor to the terminal in question 11 16 11 TROUBLESHOOTING MELSEC A 11 4 2 Output circuit failures and corrective action Table 11 3 Output circuit fai
117. cuted for two or more remote stations at the same time However this instruction cannot be executed for the same remote station in two or more locations at the same time 01 3 Write to buffer memory Buffer memory APP 28 APPENDICES MELSEC A 3 Before executing the RIWT instruction set the network parameters using the RLPA instruction network parameter setting If the RIWT instruction is executed without the network parameters set abnormal completion will occur and 4B00H will be stored into the completion status 4 No processing will be performed if the number of written points specified at 1 is 0 Execution Conditions When the LEDA instruction is used the RIWT instruction is executed every scan Operation Error while the write command is ON When the LEDB instruction is used the RIWT instruction is executed only one scan on the leading edge OFF ON of the write command Note that several scans will be required until the completion of write processing by the RIWT instruction Therefore execute the next RIWT instruction after the completion device has switched on The RIWT instruction executed before the completion of RIWT instruction execution is ignored END END END END processing processing processing processing Sequence program flow Z RIWT instruction l l l l Executed execution complete i i l RIWT instruction 1 1 l l 1 ON l l
118. d AD51 S3 AD51H S3 AD51FD S3 AD57G S3 AJ71C24 S3 S6 S8 AJ71022 AJ71P41 AJ71UC24 AJ61BT11 1 AJ71E71 Up to2 A1SD51S A1SJ61BT11 1 A1SJ71C24 R2 PRF R4 A1SJ71UC24 R2 PREF R4 A1SJ71E71 B2 B5 AJ71AP21 S3 AJ71AR21 AJ71AT21B AJ71LP21 AJ71BR11 Only 1 A1SJ71AT21B A1SJ71AR21 A1SJ71AP21 S3 A1SJ71BR11 A1SJ71LP21 1 At intelligent mode When the dedicated instruction for the MITSUBISHI CC Link is used use the master MODEL module with 9707 B or later shown right inscribed in the DATE column of the rated plate Function version Date of manufacture 3 Peripheral device a Points to note when using an A6WU P ROM writer 2 SYSTEM CONFIGURATION MELSEC A 1 When using an A1SHCPU Use an AGWU P RPM writer module whose software version is E or later AGWU OONO E Date of Sof pee manufacture Eraser The A6WU P ROM writer module cannot be installed directly on the AnSHCPU add on installation impossible Only handheld connection using cables is possible Label When writing to an A1SHCPU A1SJHCPU using an AGWU series P ROM writer module SERIAL must be selected Among the programming modules A7PU A7PUS and A8PUE only the A7PUS can be added on The other models A7PU and A8PUE are available only as the handheld installation type which requires cables 4 EPROM memory cassette ROM partition Partitioning the EPROM memory cassette with an AGGPP SW4GP GPPA
119. d M9007 10 2 Visual check Retighten Visual check status by mounting 0 to 55 C 10 to 90 RH There should be no corrosive gases 85 to 132 V AC 170 to 264 V AC The module should be mounted securely and positively There should be no dust or foreign material in the vicinity of the PC Connectors should not be loose The proper clearance should be provided between Solderless terminals Connectors should not be loose Preventive maintenance When PC is used inside a panel the temperature in the panel is the ambient temperature Change supply power Retighten screws Remove and clean Retighten Correct Retighten connector mounting screws If battery capacity reduction is not indicated change the battery when specified service life is exceeded 10 MAINTENANCE AND INSPECTION MELSEC A 10 3 Replacement of Battery M9006 or M9007 turns ON when the voltage of the battery for program backup and power interruption compensation falls Even if this special relay turns ON the contents of the program and the power interruption compensation function are not lost immediately However if the ON state is overlooked the PC data contents may be lost Special auxiliary relays M9006 and M9007 are switched ON to indicate that the battery has reached the life time minimum indicated in Table 10 3 and it must be replaced if continued use of the power interruption RAM
120. d OFF or dimly lit If this happens eliminate the cause of the overcurrent and start up the system again 2 Overvoltage protection The overvoltage protection device shuts off the 5 V DC circuit and stops the system if a voltage of 5 5 to 6 5 V is applied to the circuit When this device is activated the power supply module LED is switched OFF If this happens switch the input power OFF then ON to restart the system The power supply module must be changed if the system is not booted and the LED remains OFF 5 POWER SUPPLY MODULE A1S61PEU A1S62PEU A1S61PN aseen 200 to 240 V AC 10 15 100 to 240 V AC 10 15 170 to 264 V AC 85 to 264 V AC 50 60 Hz 5 105 VA E E 7 osano 8 Ar higher AC across input LG and output FG 2830 V AC rms 3 cycle 20 ms or higher 1780 V AC 1780 V AC 1780 V AC 2000 m 6562 ft 5 M Q or higher at insulation resistance tester AC across input LG and output FG5 M Q or higher measures with a 500 V DC insulation resistance tester M 1 Noise voltage 1500 Vp p Noise width 1 us Noise frequency 25 to 60 Hz noise simulator condition 2 Noise voltage IEC801 4 2 kV 3 Allowable momentary power interruption time This value indicates the momentary power interruption time allowed for the PC CPU and varies according to the power supply module used with the PC CPU module The allowable momentary power interruption time for a system in which an A1S63P is us
121. d that by the A1S55B S1 is 1 A the power supply module installed at the main base unit must be A61P 5 V DC 5 A Since the power is supplied to the A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B through the extension cable some voltage drop occurs in the cable It is necessary to select a power supply module and length of cable which can provide 4 75 V DC or more at the receiving end For details of voltage drop and other information see Section 6 1 3 Application standards for extension base units 5 POWER SUPPLY MODULE MELSEC A 5 2 Names of Paris and Settings The following gives the names and description of the parts of the power supply modules MELSECA1S61P MELSECA1S62P POWER O POWER O MITSUBISHI MITSUBISHI EJA INPUT OUTPUT INPUT OUTPUT AC85 132V DC 5V 5A AC170 264V 50 60Hz Toll O O 424 O O 24G FG O FG O SHORT AC100V On SHORT AC100V _J OPEN AC200V Ou OPEN AC200V LG O LG INPUT O3 INPUT O _J AC100 200V O _1 AC100 200V 1 A1S61P 2 A1S62P MELSECA1S63P POWER O lt MITSUBISHI INPUT OUTPUT DC15 6 31 2V DC 5V 5A 3 A1S63P 5 POWER SUPPLY MODULE MELSEC A MELSECA1S61PEU MELSECA1S62PEU POWER O lt POWER O MITSUBISHI MITSUBISHI INPUT OUTPI INPUT OUTPUT 200 240VAC 200 240VAC 5VDC 3A 105VA 105VA 24VDC 0 6A 50 60Hz 50 60Hz
122. data from the device station buffer specified buffer memory of the intelligent device station memor RIRCV f Y y Handshake is performed using a handshake with handshake 3 signal Writes the specified points of data to the Write intelligent device specified buffer memory of the intelligent station buffer memory RISEND device station with handshake Handshake is performed using a handshake signal nega from tomote RDGET Reads data from a remote device station Y device station pie to remote device RDPUT Writes data to a remote device station station nemot device station RDMON Monitors a remote device station monitoring 1 M L ID and RD in Table 1 denote the following Y 1 1 10 wx Eae 28 ke ke ke o 5 o 5 oo EEE EEE Bae Ba ARR EEE x x x x x x x x x 1 1 11 Y ES 1 1 12 Y Y Y Y x x x x x e M Master station e L Local station e ID Intelligent device station e RD Remote device station 2 Inthe Instruction Execution Stations and Object Stations fields of Table 1 Y denotes that the corresponding station is available and x unavailable However since the availability of the dedicated instructions in Table 1 changes with the module of the station connected to CC Link refer to the manual of the module used to confirm the availability APP 5 APPENDICES MELSEC A 1 1 1 Instructions for use of the CC Link dedicated instructions 1
123. dix 6 4 8 A1S52B S1 extension base unit 4 mounting screws M5 x 25 A A O 4 JE f E oO oO EA ae oe EIR FG asen s f ei k 135 5 31 16 4 0 65 155 6 10 it gt 28 1 10 pod A _ 1 L 1 sd APP 83 Unit mm in APPENDICES MELSEC A Appendix 6 4 9 A1S55B S1 extension base unit 4 mounting screws M5 x 25 110 4 33 130 5 12 E 16 4 0 65 240 10 24 260 10 24 i n 28 1 10 Unit mm in Appendix 6 4 10 A1S58B S1 extension base unit 4 mounting screws M5 x 25 a o N OUT EA 10 9 an vO ro o x wo PE quo rea og A E ies A as ee elo l 345 13 58 i Es 16 4 0 65 a 365 14 37 J 7m 28 1 10 ob ck Unit mm in APP 84 APPENDICES MELSEC A Appendix 6 5 Memory Cassette Appendix 6 5 1 AnSMCA memory cassette 68 6 2 70 57 6 2 27 og 1 8 S94 SLY 63 6 2 50 dy L VOINSCY 6g 0 SL Unit mm in Appendix 6 5 2 AnSNMCA memory cassette 69 6 2 74 gt 57 6 2 27 ta gt wo S D2 la Sia O ils a Rs 4 ra E qe RE oO Lo Cr Do 64 6 2 54 D 2 S wo q A 2 ej Unit mm in APP 85 APPENDIC
124. dule 1 This is a special function module CPU module or base module hardware fault Therefore change the module and check the defective module Consult your nearest Mitsubishi representative about the defective module This is a hardware fault in a special function module to which access has CONTROL BUS ERR When FROM and TO instructions cannot SP module be executed DOWN 1 Control bus error in the special function module Although the interrupt module is not been made Therefore consult your nearest Mitsubishi representative about the defective module 1 This is a module hardware fault installed an interruption has occurred Therefore change the module and check the defective module Consult your nearest Mitsubishi representative about the defective module Reduce the number of computer link modules to two or less Use one data link module Use one interrupt module Reset the I O assignment in the O INT ERROR 1 Three or more computer link modules are installed in a single CPU module 2 Two or more data link modules are installed 3 Two or more interrupt modules are SP module LAY ERR SP module ERROR LINK PARA ERROR OPERATION ERROR installed In the parameter setting of the peripheral device while an I O module is actually installed a special function module has been set in the I O assignment or vice versa Access execution of FROM TO instruction has
125. dule S1 PID control ON OFF pulse or 2 position control Transistor output thermocouple input Special 32 point 4 channels module A1S64TCRTB PID control ON FOO pulse or 2 position control Heater wire breakage detection function Class 2 power supply recognized by the UL cUL Standard is required for 5 12 24 V DC modules 2 SYSTEM CONFIGURATION Number of Current Description inputs outputs consumption O allocation module type 5VPC 24v pc AD a altace 4 to 20 mA 0 to 10 V 32 aa converter Analog 4 channels Special 32 point module For connecting a Pt100 3 wire type 32 Ire ATSOZRDS Temperature input 2 channels Special 32 point 0 94 converter For connecting a Pt100 4 wire type 32 module A1S62RD4 Temperature input 2 channels Special 32 point oe D A 4 to 20 mA 0to 10 V 32 Ro A1562DA Analog output 2 channels Special 32 point es MELSEC A Approved standard UL cUL UL cUL UL cUL A1SJ71 U C24 Computer link functions 32 0 R2 RS 232C 1 channel Special 32 point A1SJ71 U C24 Computer link and printer functions 32 0 PRF RS 232C 1 channel Special 32 point A1SJ71 U C24 al a link and multidrop link 32 Eis RS 422 485 1 channel Special 32 point 4 4 4 Intelligent Interpreter BASIC Compile BASIC 3 cation ATSD51S RS 232C 2 channels eG carai 04 cation RS 422 485 1 channel Special 32 point module A1SJ71E71 B2 10 base 2 Cheapernet Spede ao A1SJ71E71 B
126. e special function 3 modules are loaded Fit the connector cover or blank cover A1SG60 to vacant connectors in order to protect the module from dust vi Screw to fix a module to the base unit 4 Module fixing screw 5 Rune Tor pase Slot for mounting this base unit to the panel of control box etc For M5 screw Hook to install on a DIN rail 6 DIN rail hook A1S32B A1S33B A1S35B A1S38B Module connectors 6 BASE UNIT AND EXTENSION CABLE MELSEC A 2 Main base modules A1S52B S1 A1S55B S1 A1S58B S1 A1S65B S1 A1S68B S1 A1S65B S1 A1S68B S1 5 ji E f 6 1 A1S52B S1 A1S55B S1 A1S58B S1 5 2 E wd l l E K E ro A A no nme o o oo oooi 1 Extension cable connector Used to connect an extension cable to a main base module Remove the connector cover attached to the module and connect the extension cable 2 Extension cable connector protective cover 3 Module connector Used to load a power supply module I O or special function module Put a supplied cover or blank cover A1SG60 on any unused connector to protect it from dust Aer Used to secure a module to the base module 4 Module fixing screw 5 Base mounting hole Used to mount the base module to a control panel for M5 screw Used to install on a DIN rail 6 DIN ra
127. e AnSHCPU gives priority to the STOP command the following points must be kept in mind 1 An AnSHCPU is turned to the STOP status when a STOP command is received from any of the following a remote RUN contact a computer link module or a programming device 2 In order to turn the AnSHCPU to the RUN status when the AnSHCPU is in the STOP status due to a remote STOP command all the STOP factors have to be changed to RUN 4 AnSHCPU MELSEC A 4 2 4 Stopping the sequence program operation while retaining output status PAUSE function The PAUSE function stops AnSHCPU operations while retaining the status of all outputs Y 1 Application The PAUSE function is useful for systems that do not allow output to be turned off even while the CPU is in the STOP status 2 Method Either remote PAUSE contacts or peripheral devices can be used a Using a remote PAUSE contact 1 The PAUSE status contact M9041 closes after execution of the END FEND instruction of the scan during which the remote PAUSE contact closes and the PAUSE enable flag M9040 is set When the END FEND instruction of the scan after M9041 setting is executed the AnS is set to PAUSE and its operation stops 2 When the remote PAUSE contact is opened or M9040 is switched OFF via an external device peripheral device computer etc the PAUSE status is canceled and sequence program operations resume from step 0 Remote PAUSE contact
128. e memory cassettes and pin connectors with care since their plastic bodies cannot resist strong impacts Do not remove the printed circuit board from its enclosure Take care not to let chips of wires and other foreign material enter the memory cassette When installing a memory cassette in an ANSHCPU module push it in so that the connectors engage securely Never place a memory cassette on metal which may allow current flow or on an object which is charged with static electricity such as wood plastic vinyl fiber cable or paper Do not touch or bend the leads of memory chips Do not touch the connectors of a memory cassette This could cause insecure contact Always turn OFF the power to an AnSHCPU module when installing or removing a memory cassette If a memory cassette is installed or removed with the power to the CPU ON the data contents of the memory may be destroyed while the AnSCPU power is live If the power is turned ON when the memory cassette is installed the program in the built in RAM memory of the ANSHCPU is overwritten by that of the memory cassette If the program in the RAM memory needs to be saved install the memory cassette after making a backup of the program by using a programming device 7 MEMORY ICs AND BATTERY 7 1 3 Installing and removing a memory cassette MELSEC A The installation removal method of the memory cassette is common in all AnSHCPU models but the installation position i
129. e number designated s Zanon access buffer LEDC SUB QD Constant designated Intelligent device station s sending receiving buffer LEDC SUB n3 address specified in master station LEDC D Specify the offset address Device which will store the LEDC SUB written data LEDR Number of points written 1 to 8192 Functions 1 Writes the points of data specified at from the devices beginning with the one specified at D fothe automatic updating buffer memory addresses beginning with the specified one at n3 for the station having the station number specified at nD in the master module specified at RITO instruction execution range de SE SO E eo Oy oe O E Intelligent device AnSHCPU Mater station QD flocal station GA HH RITO instruction I l Transferred when n3 Automatic 1 data is updated l l l l updating gt buffer memor Specified y device Loo Lages SEN di a a ra pd ao pa he de ae J APP 19 APPENDICES Execution Conditions Operation Errors MELSEC A 2 When executed the RITO instruction writes data 3 Up to 8192 points may be written by the RITO instruction 4 To set the number of automatic updating buffer memory points make the automatic updating buffer size setting using the network parameter instruction RLPA instruction As
130. e processing for executing sequence operations Initial processing is executed once at power up or after key reset a Resetting the I O module b Initialization of the data memory s unset latch area bit devices turned OFF word devices set to 0 c I O module addresses are automatically assigned in accordance with the I O module type and where the module is installed on a base unit d Automatic diagnostic check of parameter settings and operation circuits is executed see Section 4 1 6 e If the ANSHCPU is used in the master station of an MELSECNET II MELSECNET B data link operation begins after setting the link parameter data in the data link module I O module refresh processing If the refresh mode for both input and output is set with the I O control switch the I O module is refreshed see Section 4 1 5 Sequence program operation processing The sequence program written in the ANSHCPU is executed from step 0 to the END instruction END processing When sequence program processing reaches the END instruction the sequence program is returned to step 0 a Self diagnosis checks for blown fuses I O module verification low battery voltage etc are executed see Section 4 1 6 b T C present values are updated and contacts are turned ON OFF The ACPU Programming Manual Fundmentals gives details c Data read or write from to computer link modules A1SJ71 U C24 AJ71C24 S8 AD51 S3 etc d L
131. ead points specified at DD 3 is outside the range 0 to 480 Program Example The following program reads 1 point of data from the remote device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F This program assumes that control data are stored in D1000 D1003 X0020 VT TLEDA RDGET HQ L N SUB H C SUB AK OK H RDGET instruction designation LEDC D1000 H z LEDC 1000 H L Wee EDR CIRCUIT END APP 41 MEMO APP 42 APPENDICES 1 1 11 Write to remote device station Available device Bit device Word device Command K _LEDA LEDB_ RDPUT LEDA Executed while ON LEDB Executed at leading edge Device number designated Constant designated Control Data 1 Control data setting items RWw1 RWr2 Set value r Control data Number of Written data storage area points written J 2 Control data settings Set data Setting Setting end range Write request 0 to 127 User Digit designation MELSEC A PESE M9012 m9011 Number of steps Data to be set Head I O number of object master module Remote device station number 1 to 64 Device for storing control data and written data Bit device number which is switched on on completion of execution Stores data wr
132. ed is defined as starting when the primary power supply of the 24 V DC stabilized power supply of the A1S63P is turned OFF and lasting until the 24 V DC becomes less than the specified voltage 15 6 V DC 4 A1S61PEU and A1S62PEU comply with EN61010 1 and safety aspects of IEC 1131 2 to meet the Low Voltage Directive which will be mandatory from the 1st of January 1997 5 Do not apply over 400 Voltage between AC and LG as the Varistor is installed between the AC and LG 5 POWER SUPPLY MODULE MELSEC A 2 Performance specifications for the A1SJHCPU built in power supply Table 5 2 Performance specifications for the A1SJHCPU built in power supply Lae eee A1SJHCPU 100 120 V AC 12 85 to 132 V AC 500 240 V AG 19 170 to 264 V AC Within 5 See Section 8 8 65 or over Input power supply Overcurrent protection When a current larger than the specification value flows through the 5 V DC circuit the overcurrent protection device cuts off the circuit and stops the system The POWER LED turns off or lights dimly due to the voltage drop If this device operated remove causes of failures such current capacity shortage and short circuit and restart the system 5 POWER SUPPLY MODULE MELSEC A 5 1 1 Selection of the power supply module Select the power supply module according to the total current consumption of I O modules special function modules and peripheral devices supplied by the power supply mod
133. eeseeeeseeaeeeeaeeseeeeeesaaeens 5 5 BASE UNIT AND EXTENSION CABLE scccsseeeeeeeeeeeeeeeeeeeeseeeenseeesesaeseseeeenseeeneeeeneas 6 1to6 10 6 1 Specifications icine egies aa Nie eed Meee 6 1 6 1 1 Specifications Of base units 2 eee cececeeeeneeeeeeeeeaeeeeeeeceeaeeeeeaeseeeeeseeeseeeeseaeeneneeee 6 1 6 1 2 Specifications of extension cables eretas 6 2 6 1 3 Application standards for extension base units A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B A58B 6 2 6 2 Nomenclature and Settings p er ianen ananin aaah aade tania anaE ia SE pahia Sattai 6 7 6 3 Installing on a DIN Rail aa a aR e a a ar RN 6 9 MEMORY ICs AND BATTERY nie srrasoreacenaaeenasaenaaeannacannaa 7 1to7 7 halt vMemornyilGs stents teeta oi dos nas E A A tic teas hs hana DDR dos a dna ete 7 1 ZN SPeCiiCatlonsS4 02s crgethad Satine ete aed daanan aia iaaa Apo aE a radar aii kale 7 1 Teke Handing imstuctionS soea renr a AE AA A E EA 7 2 7 1 3 Installing and removing a memory cassette res 7 3 7 1 4 Writing a sequence program to a memory Cassette 7 5 7 1 5 Memory write protect setting for an AASNMCA 30KE 7 6 fd BaAMOIY assa siasasesasasesso dass tassasisdaa pd sencendda neces ines TE 7 7 PQA Specifications orsa eae Peta ck cars ga nadie nadando PUCRS O Re edda seach canviauadesiihta ca etiecdevustaaadeeeonedats 7 7 too Marialirig
134. ek Automatic leap year calculation Precision Precision Clock precision 3 1 to 5 3 s TYP 1 7 s d at 0 C 2 3 to 4 4 s TYP 1 8 s d at 0 C 1 6 to 5 3 s TYP 2 4 s d at 25 C 1 1 to 4 4 s TYP 2 2 s d at 25 C 9 6 to 3 6 s TYP 2 1 s d at 55 C 9 6 to 2 7 s TYP 2 4 s d at 55 C E e Ea e o 1 I O processing during refresh and LD instruction execution 2 Actual I O points are the same as the AnS series but this model has 2048 points of I O device for each CPU X Y0 to 7FF The added I O device can be used for MELSECNET B MELSECNET MINI or CC Link 3 The comment points for comments that can be stored in the CPU is 1600 points while up to 3648 points of comment can be created using the GPP function APP 60 APPENDICES MELSEC A Appendix 3 2 Dissimilarities between A2SHCPU S1 and AZSCPU The dissimilarities between the A2ZSHCPU S1 and A2SCPU are as follows CPU processing speed 1 0 25 us 4 1 3 Conventional memory cassette so A2SMCA 14KE 14KP Es 2 VO poins T2048 points 2 IZ points a 1 2 3 7 Y A2SNMCA 30KE Year month day hour minute day of week Automatic leap year calculation Precision Precision Clock precision 3 1 to 5 3 s TYP 1 7 s d at 0 C 2 3 to 4 4 s TYP 1 8 s d at 0 C 1 6 to 5 3 s TYP 2 4 s d at 25 C 1 1 to 4 4 s TYP 2 2 s d at 25 C 9 6 to 3 6 s TYP 2 1 s d at 55 C 9 6 to 2 7 s TYP 2
135. el mana into the program and turn on RST the clear execution command ZA contact to clear the contents of Enter the number to be cleared the register Method using peripheral equipment Set the register to 0 by changing the present value using the test function of a peripheral device or set it to 0 using forced reset For the operation procedure refer to the manual for each peripheral device 3 By moving the RESET key switch at the CPU front to the RESET position the special register is set to 0 Data is written to the special registers marked 2 by the sequence program APP 59 APPENDICES MELSEC A Appendix3 Precautions when Switching from AnSCPU to AnSHCPU Appendix 3 1 Dissimilarities between A1SHCPU and A1SCPU The dissimilarities between the A1SHCPU and A1SCPU are as follows CPU processing speed 0 33 us a Fe I O points 2048 points 2 File register capacity R Max 8192 points RO to 8191 A1SCPU 1 us 256 points Max 4096 points RO to 4095 32 k bytes Max 1600 points 3 None A1S First half 20 k bytes There is no restrictions Memory capacity 64 k bytes Comment points Max 3648 points CC Link dedicated instruction wo 7 Startup model Memory write protect range First half 32 k bytes Microcomputer program There are some restrictions Conventional memory cassette 10 A1SMCA 2KE 8KE 8KP New type memory cassette A1SMCA 2KE 8KE 8KP Year month day hour minute day of we
136. er D 100 msec timer TO to T199 200 points T200 to T255 56 points Forward timers are available in 100 msec 10 msec and 100 msec q 100 msec retentive Can be used by setting a parameter retentive types timer O points CO to C255 256 points Interrupt counter Can be used by setting a parameter Forward counters are available in normal and interrupt types 0 points D Dataregister DO to D1023 1024 points Memory for storing values D Special register D9000 to D9255 256 points Predefined data memory for special purposes A Data register for MELSECNET May be used as a data register if W Link register WO to W3FF 1024 points E File register aoe by setting a parameter Extends the data register utilizing the user memory area Accumulator AO A1 2 points Data register for storing the operation results of basic and Roi instructions lee Index register Z 1 Za poin SY Used to index device numbers NO to N7 levels Indicates the nesting of master controls 4 AnSHCPU MELSEC A Table 4 3 Devices Continued Device Application range Number of points Explanation P Poer PO to P255 256 points m the destination of branch instructions CJ SCJ CALL EE 10 to 131 32 points Indicates an interrupt program corresponding to the interrupt interruption source K 327 2767 E en Used to specify the timer counter set value pointer number K Decimal constant interrupt pointer number the numb
137. er insulation and connect to earth the exposed shield section using as wide a surface area as possible in the manner shown below AUI cable Shield Always use a triaxial cable for the coaxial cable connected to the A1SJ71E71 B2 The earthing precautions are the same as Section 9 1 2 5 For A1SJ71E71 B2 B5 always mount a ferrite core in addition to items 1 and 2 above Use of the TDK ZCAT3035 ferrite core is recommended 9 1 2 7 Positioning Modules 1 When wiring with a 2 m 6 6 ft or less cable Ground the shield section of the external wiring cable with the cable clamp Ground the shield at the closest location to the A1SD75 external wiring connector Wire the external wiring cable to the drive unit and external device with the shortest distance Install the drive unit in the same panel External wiring connector module Cable clamp Power supply CPU module External wiring cable within 2 m 6 56 ft Drive uni When wiring with cable that exceeds 2 m 6 6 ft but is 10 m 32 8 ft or less Ground the shield section of the external wiring cable with the cable clamp Ground the shield at the closest location to the AISD75 external wiring connector Install a ferrite core Wire the external wiring cable to the drive unit and external device with the shortest distance 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A External wiring connector Ferrite core module CPU
138. er is X Y120 the head I O number is 12H aoco s Ex X00 x40 x80 YCO Y100 120 1 0 number to to to to to to X3F X7F XBF YFF VHF 13F E sa O number 12H APP 6 APPENDICES MELSEC A ME M9012 m9011 1 1 2 Network parameter setting RLPA Available device C mee wonen eoan rone EEEE TE Digit designation Number of steps Command Executed while ON Data to be set Executed at leading edge Device number designated Constant designated n Head I O number of object master module Head number of devices which stores link parameters Host station s bit device number which is switched on on completion of execution Network Parameter 1 Network parameter setting items Data 1 0 Synchronous mode valid invalid 1 Number of stations connected for communication 01 2 Slave station setting information L Set values for the number of stations to ENE connected for communication Slave station setting information Sending buffer size Receiving buffer size q Set values for one local intelligent to device station Automatic buffer size Sending buffer size Receiving buffer size DD n Automatic buffer size 2 Number of points required for the network parameter area The following points are required for the network parameter setting e Synchron
139. er of bit device digits and K 2147483648 to 2147483647 basic and application instruction values 32 bit instruction Hexadecimal HO ORP EE I GBitinstruction Used to specify the basic and application instruction values constant HO to FFFFFFFF 32 bit instruction The step relay S may be used in the same manner as the internal relay M The step relay is useful when writing a program which has two functions or applications i e the step relay can be used specifically in accordance with the function or application independently of the internal relay 4 AnSHCPU 4 1 8 Main sequence program area Parameter setting ranges MELSEC A The parameters specify various PC functions device ranges and user memory assignments of the AnSHCPU As shown in Table 4 4 the parameters have default settings so the user does not have to set all the parameter items If any parameter item needs to be modified please refer to the table for the allowed setting range The operating manuals for each peripheral device give details on parameter settings Table 4 4 Parameter setting ranges Valid peripheral Default value Setting range RE A1SHCPU 6 k steps Peer 1 1 to 8 k steps in units of 1 k steps 1 to 14 k steps in units of 1 k stops Comment capacity Status latch Sampling trace Microcomputer program Setting of latch power interruption compensation range Setting of link range A1SHCPU None A2SH
140. erate abnormally due to unspecifiable reasons To prevent the abnormal operation of the whole system machine breakdown and accidents build a fail safe circuit outside the PC The following is an example of a fail safe circuit ON delay timer Internal program OFF delay timer 2 M9032 1 1007 7 4 1 sec External load MC to to ibe ut eo 05 0 5 sec sec oe ovo 24 V DC CPU module Output module 1 Y00 repeats turning ON and then OFF at 0 5 second intervals Use a no contact output module transistor in the example shown above If an OFF delay timer especially a miniature timer is not available use ON delay timers to make a fail safe circuit as shown on the next page 8 LOADING AND INSTALLATION MELSEC A A fail safe circuit built with ON delay timers ON delay timer Internal program Y00 O Ti jae a M9032 ur Yoo ON delay timer p ON delay timer EE we get Jd Ea External load 0 5 0 5 e re sec sec xo L to to YOF O L 24 V O 0 V O _r _ 24 V DC Ti E 1 Use a solid state relay for the M1 relay CPU module Output module 8 LOADING AND INSTALLATION MELSEC A 8 2 Installation Environment Never install the ANSHCPU system in the following environments Locations where the ambient temperature is outside the range of 0 to 55 C
141. es safely by using the communication state information Not doing so could result in erroneous output or erroneous operation 1 For the data link data the data prior to the communication error will be held 2 The MELSECNET 11 B 10 remote I O station will turn all output off 3 The MELSECNET MINI S3 remote I O station will hold the output or turn all output off depending on the E C remote setting Refer to the data link manuals regarding the method for setting the communication problem station and the operation status when there are communication problem N CAUTION e Do not bunch the control wires or communication cables with the main circuit or power wires or install them close to each other They should be installed 100 mm 3 94 inch or more from each other Not doing so could result in noise that would cause erroneous operation INSTALLATION PRECAUTIONS lt gt DANGER Use the PC in an environment that meets the general specifications contained in this manual Using this PC in an environment outside the range of the general specifications could result in electric shock fire erroneous operation and damage to or deterioration of the product Install so that the pegs on the bottom of the module fit securely into the base unit peg holes and use the specified torque to tighten the module s fixing screws Not installing the module correctly could result in erroneous operation damage or pieces of the product falling
142. eset by parameter after STRA instruction is completion executed Reset when STRAR instruction is executed M9046 Sampling trace E oe during trace e On during sampling trace During trace M9047 Sampling trace Sampling trace stop e Sampling trace is not executed until M9047 is turned on By preparation Sampling trace start turning off M9047 sampling trace is stopped OFF Characters up to NULL e When M9049 is off characters up to NULL 00H code are code output output 16 characters output e When M9049 is on ASCII codes for 16 characters are output 2 M9052 SEG instruction 7SEG display e Serves as an I O partial refresh instruction when M9052 is on switching I O partial refresh e Serves as a 7SEG display instruction when M9052 is off OFF Sequence interrupt control e Switch on to execute the link refresh enable disable EI DI instructions Sampling trace completion Number of characters output switching EI DI instruction 2 M9053 switching Link interrupt control M9054 STEP RUN flag Not during step run e Switched on when the RUN STOP switch is in the STEP RUN During step run position M9055 Status latch i Eei e Turned on when status latch is completed Turned off by completion flag H Completed reset instruction APP 52 APPENDICES MELSEC A Table 2 1 Special relay list Continued mer Nene noeng tals TT OFF Error checked e Used to set whether or not the following error checks are 2 M
143. esult in an operation error and the error flag M9011 switch on D9008 D9092 The device code specified is O or other than 1 to 9 The head number of a bit device is not a multiple of 16 50 503 The number of refresh points is not a multiple of 16 Program Example The following program sets the automatic refresh parameters to the master module of CC Link allocated to I O numbers 000 to 01F 1 Automatic refresh parameter settings and data storage devices Setting item Set data Data storage device RX s head number i D1000 AnSHCPU side refreshed device code D1001 AnSHCPU side refreshed device s head number D1002 Number of refresh points D1003 RY s head number D1004 AnSHCPU side refreshed device code D1005 AnSHCPU side refreshed device s head number D1006 Number of refresh points D1007 RW s head number D1008 AnSHCPU side refreshed device code D1009 AnSHCPU side refreshed device s head number 160 AOH D1010 Number of refresh points 272 D1011 SB s head number o D1012 AnSHCPU side refreshed device code M 3 D1013 AnSHCPU side refreshed device s head number 160 AOH D1014 Number of refresh points 256 D1015 SW s head number o D1016 AnSHCPU side refreshed device code W 8 D1017 AnSHCPU side refreshed device s head number D1018 Number of refresh points D1019 APP 15 APPENDICES 2 Program example CIRCUIT END APP 16 x0020 PH HI MOV 0000 D1000
144. extension base unit With the A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B and A58B extension base units 5 V DC is supplied from the power supply module of the main base unit via an extension cable Therefore some voltage drop occurs in the extension cable and the specified voltage may not be supplied to the receiving end resulting in incorrect operation If the voltage at the receiving end is less than 4 75 V use an extension base unit of one of the models A1S65B S1 A1S68B S1 A62B A65B or A68B equipped with a power supply module 1 Selection conditions The voltage received by the module installed in the last slot of an A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B extension base unit must be 4 75 V or higher Since the output voltage of the power supply module is set at 5 1 V or higher the voltage drop must be 0 35 V or less 6 BASE UNIT AND EXTENSION CABLE MELSEC A 2 Factors of voltage drop Voltage drop may involve the following factors a b and c depending on the connecting method and type of extension base units a Voltage drop of a main base unit b Voltage drop of an extension base unit c Voltage drop in an extension cable Extension cable connected to the left side Extension cable connected to the right side of main base of main base unit serial unit parallel A1S3 JB A1S3 JB A1S5 B S1 A1S52B S1 A1S55B S1 or A1S58B S1 extension base unit is used A1S5 B S1
145. f data to the remote device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F This program assumes that control data and written data are stored in D1000 D1004 X0020 0 4 gt LEDA RDPUT H H CSUB 0000 H 7 K SUB 1 RDPUT instruction designation CLEDC D1000 H E LEDC L1000 H CLEDRH J CIRCUIT END APP 45 MEMO APP 46 APPENDICES MELSEC A Available device device wordas aa rarer Fo HUCCOOCHCOCOMABUQOCAAI BEBER Digit designation Subset Command LEDA LEDB_ RDMON Executed while ON Executed at leading edge Head I O number of object SUB Device number designated master local module SUB Constant designated Remote device station number 1 to 64 E LEDC OD Device for storing control data LEDC and read data Bit device number which is LEDR switched on on completion of execution Control Data 1 Control data setting items Set value RWw2 RY2 Control data RWr2 RX2 Set value Number of points monitored Stores monitor data read from remote device station on completion of RDMON instruction execution Number of points specified at 6 2 Number of control data area points Monitor data read from a remote device station is stored into the area after the 7 points of contr
146. h handshake RIRCV arte APP 31 Appendix 1 1 9 Write to intelligent device station buffer memory with handshake RISEND APP 35 Appendix 1 1 10 Read from remote device station RDGET ee APP 39 Appendix 1 1 11 Write to remote device station RDPUT nl APP 43 Appendix 1 1 12 Monitoring of remote device station RDMON APP 47 Appendix 1 2 Caution when Performing a Write while Running Dedicated Instruction serasa a E E APP 50 Appendix2 Special Relay Special Register List rare APP 51 Appendix 2 1 Special Relay List raras aaeecara renan ranneaaa APP 51 Appendix 2 2 Special Registers D errar aaeaaeeaara na naarnananana APP 54 Appendix 3 Precautions when Switching from AnSCPU to ANSHCPU APP 60 Appendix 3 1 Dissimilarities between A1SHCPU and A1SCPU ccccccseseseeeeeteeseseeeesens APP 60 Appendix 3 2 Dissimilarities between AZSHCPU S1 and AZSCPU APP 61 Appendix 3 3 Precautions when Switching the Model APP 61 Appendix 3 3 1 PC type Setting keiita aana i aa a aeaea APP 61 Appendix 3 3 2 The precaution when performing the ROM cutoff APP 61 Appendix 3 3 3 The precaution when utilizing the sequence program APP 62 Appendix 3 3 4 System comfirmation by high
147. he each device is set as follows 1 Y M L S F B Turned OFF 2 Special relays M9000 to M9255 Data is retained 3 T C Contacts and coils are turned OFF the present value is set to 0 4 D Z V W A Data is set to 0 5 R Data is retained 6 Special registers D9000 to D9127 Data is retained b Latched data can be cleared using either of the following two methods 1 Using the RUN STOP switch i Turn the RUN STOP switch from the STOP position to the L CLR position until the RUN LED flashes at high speed goes ON and OFF at 0 2 sec intervals Flashing of the RUN LED at high speed indicates that the latched data is ready to be cleared ii Turn the RUN STOP switch from the STOP position to the L CLR position while the RUN LED is flashing The latched data is cleared To cancel the latch clear operation turn the RUN STOP switch to the RUN or RESET position while the RUN LED is flashing 1 RUN position The AnSHCPU starts program processing 2 RESET position The AnSHCPU is reset 2 Using the GPP function The A6GPP DEVICE MEMORY ALL CLEAR of the test functions in the PC mode can be used to execute a latch clear The GPP Operating Manual gives details 4 AnSHCPU MELSEC A 4 2 3 Running and stopping the AnSHCPU using external devices remote RUN STOP function The RUN switch is used for ANSHCPU RUN STOP control Remote RUN STOP operation means controlling the AnSHCPU RUN
148. hen an extension base unit of one of models A52B A55B A58B A62B A65B and A68B is used allow a clearance of 80 mm 3 15 in or more between the top face of the module and the surface of a structure or component Do not mount the base unit vertically or horizontally since this will obstruct ventilation Ensure that the base unit mounting surface is uniform to prevent strain If excessive force is applied to the printed circuit boards this will result in incorrect operation Therefore mount the base unit on a flat surface Avoid mounting the base unit close to vibration sources such as large magnetic contactors and no fuse breakers install the base unit in another panel or distance the base unit from the vibration source Provide a wiring duct as necessary However if the dimensions from the top and bottom of the PC are less than those shown in Fig 8 1 note the following points a When the duct is located above the PC the height of the duct should be 50 mm 1 97 in or less to allow for sufficient ventilation Between the duct and the top of the PC provide a sufficient distance to allow the cable to be removed by opening the cable connector fixing the lever If the lever at the top of the module cannot be opened it will not be possible to replace the module b Ifa duct is built under the PC provide a clearance between the bottom surface of the PC and the surface of the duct so that the input power cable 100 200 V
149. ifferent mounting locations are available Use either screws or DIN rail for panel installations The AnS base unit is provided both with screw holes and on its rear face the fixture for mounting it to a DIN rail Easy to see terminal block symbol sheet e A terminal block symbol sheet is attached to the front of AnS I O modules It is possible to write I O device numbers connector numbers etc on one side of the sheet e Terminal symbols for 16 I O signals can be written on the other side 1 OVERVIEW MELSEC A 14 A JN A JA series I O module and special function module compatible 15 By connecting an A JN A JA series extension base unit A IN A JA I O modules or special function modules can be used Same programming environment as other MELSEC A CPU modules A sequence program can be created using the peripheral device currently used for other MELSEC A CPU modules For details on the applicable peripheral devices see Section 2 2 Cautions on System Configuration 2 SYSTEM CONFIGURATION MELSEC A 2 SYSTEM CONFIGURATION This chapter describes the applicable system configurations cautions on configuring a system and component devices of the AnSHCPU 2 1 Overall Configuration 2 1 1 AnSHCPU The figure below shows a system configuration when the ANSHCPU is used independently To peripheral device A2SHCPU S1 ROM cassette A2SNMCA 30KE equipped with E2PRO
150. il hook A1S52B S1 A1S55B S1 One hook A1S65B S1 A1S68B S1 A1S58B S1 Two hooks 7 FG terminal Grounding terminal connected to the shield pattern on the PC board 6 BASE UNIT AND EXTENSION CABLE MELSEC A 6 3 Installing on a DIN Rail Both main base units and extension base units are equipped with hooks for mounting on a DIN rail The method for mounting them on a DIN rail is explained below 1 Applicable DIN rails JIS C2B12 TH35 7 5 Fe TH35 7 5 Al TH35 15 Fe 2 Mounting screw interval When a TH35 7 5 Fe or TH35 7 5 Al rail is mounted fix it with screws spaced no more than 200 mm 7 87 in apart DIN rail Mounting screw 35mm 1 38 in P 200 mm 7 87 in or less 6 BASE UNIT AND EXTENSION CABLE MELSEC A 3 Mounting removing on from a DIN rail a Mounting procedure Mount a base unit on a DIN rail as follows 1 Engage the hook of the base unit with the rail from above rail 2 Push the base unit onto the rail and fix it in position DIN rail hook Base unit b Removing procedure Remove a base unit from the DIN rail as follows 1 Pull down the bottom hook of the base unit using a flat blade screwdriver 2 Pull the base unit away from the rail while pulling down the bottom hook E AS ni 2 aa 2 A 4 Base unit 1 A Pull to remove Flat blade screwdriver 7 MEMORY ICs AND BATTERY MELSEC A 7 MEMO
151. ilad EMC standards carci shea Mat ihe aoe ato A ia Gas 9 1 9 1 2 Installation instructions for EMC eee eee renata 9 2 9 1 2 1 Control Cabinets emina ota eidehi eng ee o Ledo whe beled 9 2 9 1 2 2 Connection of power and earth wires 9 2 01213 CAabDIOS e an aa aaar arana tea Dia as a a aaa ent aai beet 9 3 9 1 2 4 Shield earthing ce ecceecececceneceeeeeeeeeeeeaeeceeaeeeeaaeseeaeeceeeeeeneeesaeeseaaeesenees 9 4 9 1 2 5 MELSECNET II module arara 9 4 9 1 2 6 Ethernet mod le sereni na a E A R 9 5 912r Positioning Module Secessione ar E e n E EERE AE E EES 9 5 9 1 2 8 I O and other communication cables cc ccceceeeseeeeeteeeeeeeeeeeeeneeeeeaees 9 6 9 1 2 9 Power supply module se e e Ean A a T E ASS aR OAN TEES 9 6 9 12 10 Fonie TOE anaa NAA N A EA de pad 9 7 9 1 2 11 Noise filter power supply line filter eee eect ee enteeeeeeteeeeeenaaeeeeee 9 7 9 2 Requirement to Conform to the Low Voltage Instruction 9 8 9 2 1 Standard applied for MELSEC ANS errar 9 8 9 2 2 Precautions when using the MELSEC AnS series PC 9 9 9 2 3 POWerSUPDIY si see sce AltA dan nd 9 9 O24 GONMUON DOK darnieiro a wiv ERC PEDE ce a aa Paoa aA darda haan cetradan ander 9 10 9 2 5 Module installation E EER EATE AE EAE ENAERE N 9 10 0 26 Grounding EEE A ch batt cactes San stdees datheasdel Ss cats tales Dna asas dba pisa ERA R
152. in circuit or power wires or install them close to each other They should be installed 100 mm 3 94 in or more from each other Failure to do so may result in nose that would cause malfunction 8 LOADING AND INSTALLATION MELSEC A Precautions when wiring power supply cable are described 1 Wiring power supply a Separate the PC s power supply line from the lines for I O devices and power devices as shown below When there is much noise connect an insulation transformer Main power PC power nsulation transformer suppl suppl suo 200 VAC S fer iT tT I O power supply 6 5 I O devices Main circuit device o o gt Main circuit device b 100 V AC 200 V AC and 24 V DC wires should be twisted as dense as possible Connect the modules with the shortest distance Also to reduce the voltage drop to the minimum use the thickest wires possible maximum 2 mm c As acountermeasure to power surge due to lightening connect a surge absorber for lightening as shown below PC IO devices Separate the ground of the surge absorber for lightening E1 from that of the PC E2 Select a surge absorber for lightening whose power supply voltage does no exceed the maximum allowable circuit voltage even at the time of maximum power supply voltage elevation 8 LOADING AND INSTALLATION 2 MELSEC A Wiring of I O equipment The applicable size of wire for connection to
153. in the RUN status If the AnSHCPU detects an error it displays an error message and stops to prevent faulty PC operation The operation of the AnSHCPU when an error is detected by the self diagnosis function can be selected as either stop mode or continuous mode by making a parameter setting In the stop mode PC operation is stopped when the error is detected in the continuous mode PC operation is continued When an error occurs the error occurrence and the error content are stored ina special relay M and special register D In the continuous mode in particular the program should read the details of the error and take appropriate action to prevent faulty PC and machine operations Operation stops and all outputs Y are immediately turned OFF after the self diagnosis function detects an error which stops PC operation If the self diagnosis function detects an error during which PC operation continues the part of the program where the error was detected is skipped and the rest of the program is executed If an I O module verify error is detected the operation is continued with the I O addresses at the time the error occurred Explanations of the errors detected by the self diagnosis function are given in Table 4 2 1 In Table 4 2 in the I O error I O module verify fuse blown special function module error and operation check error diagnoses the CPU status can be selected as either stop or run and the RUN LED status as ei
154. ing items were performed while the PC was installed to inside the control box 9 1 2 Installation instructions for EMC 9 1 2 1 Control cabinet When constructing a control cabinet where the PC system will be installed the following instructions must be followed 1 2 Use a conductive control cabinet When attaching the control cabinet s top plate or base plate mask painting and weld so that good surface contact can be made between the cabinet and plate To ensure good electrical contact with the control cabinet mask the paint on the installation bolts of the inner plate in the control cabinet so that contact between surfaces can be ensured over the widest possible area Earth the control cabinet with a thick wire so that a low impedance connection to ground can be ensured even at high frequencies 22 mm wire or thicker is recommended Holes made in the control cabinet must be 10 cm 3 94 in diameter or less If the holes are 10 cm 3 94 in or larger radio frequency noise may be emitted Connect the door of cabinet to the main body with flat braided wires at as many points as possible so that a low impedance can be ensured even at high frequencies 9 1 2 2 Connection of power and earth wires Earthing and power supply wires for the PC system must be connected as described below 1 Note Provide an earthing point near the power supply module Earth the power supply s LG and FG terminals LG Line Ground
155. ining an invalid instruction code has been loaded 2 The occurrence of an error destroyed the memory contents adding an instruction code that cannot be read to the memory Corrective action 1 Read the error step by using a 2 peripheral device and correct the program at that step In the case of the memory cassette rewrite the contents of the ROM or replace with a memory cassette whose contents have been correctly written Read out the steps where the error occurred using a peripheral device and correct the program Check if the used ROM contains instruction codes that cannot be interpreted and insert the correct ROM rrect Sor Reade err step by using a pheripheral device and correct the applied instruction is incorrect 1 Check the loading of the PC CPU memory cassette and load it correctly 2 Read the parameter data from the PC CPU by using a periperhal device Make any necessary corrections and write it to the PC CPU again 1 Write END at the end of the program The contents of the memory installed in the PC CPU have been destroyed because of noise or the failure of the memory cassette PARAMETER ERROR 1 There is no END FEND instruction in the program 11 10 11 TROUBLESHOOTING Contents of special register D9008 BIN value HH Deaile error code D9092 CPU Error message status Error and cause 1 There is no jump destination for plural
156. ink device LEDC RX RY number Bit device number which is LEDR switched on on completion of execution Device for storing control data and written data BO OO E Control Data 1 Control data setting items Completion status Number of points written Fixed to 0004H Control data Error check Buffer address Stores data written to intelligent device station Written data storage area by RISEND instruction Number of points specified at D1 1 2 Control data Set data Setting Setting end range Status on completion of instruction execution is stored Completion status 0 No err r System Other than O Error code Number of points Specify the number of data written 1 to 480 leer written word basis Object area Set 00044 when accessing the buffer memory 00041 Ea of an intelligent device station Specify the error check device Error check 0 Completion status is used for error check Other than O RX is used for error check Written data storage area APP 35 APPENDICES MELSEC A 1 1 For error codes at error occurrence refer to the following manual Control amp Communication Link System Master Local Module type AJ65BT11 A1SJ61BT11 User s Manual 2 2 Indicates the maximum number of data written Set a value within the intelligent device station buffer memory capacity and parameter set receiving buffer area setting ra
157. ink refresh processing is executed when the link refresh request is given from the MELSECNET data link Note that the ANSHCPU can enable and disable execution of link refresh by turning M9053 ON OFF and by issuing DIEI instructions 4 AnSHCPU MELSEC A Start up Initial screen I O module initialization Data memory initialization I O module I O address assignment Self diagnosis check Link parameter set I O module refresh 1 the refresh mode for I O control is selected Sequence program processing Step O to END FEND instruction execution END processing Self diagnosis check T C present values updated and contacts turned ON OFF Communication with conputer link modules Link refresh Fig 4 1 AnSHCPU operation processing 4 AnSHCPU MELSEC A 4 1 2 Operation processing in the RUN STOP PAUSE status The PC CPU can be operated in the RUN STOP and PAUSE status as described below 1 RUN operation RUN indicates repeated operations of the sequence program from step 0 to the END FEND instruction When a CPU changes its status to the RUN mode the CPU restores all output data which was saved when the CPU was stopped in accordance with the STOP gt RUN mode set in the parameters The PC CPU needs initialization time before starting a sequence program operation It requires two to three seconds after a power ON or reset and one to three seconds after the mode is changed from STOP to RUN
158. instruction after the completion device has switched on The RIRD instruction executed before the completion of RIRD instruction execution is ignored END END END END processing processing processing processing Sequence program flow 4 4 RIRD instruction i i l l Executed execution complete l l RIRD instruction l 1 i i i i ON i 1 l l Completion device OFF i i i ER a code Abnormal i ON completion Po ao ES SS l On completion status OFF 1 Normal completion 4 display device mr lormal completion 1 scan During processing of RIRD instruction Data can be read by RIRD instruction l l l 1 i 1 l l l l l l re oie The following condition will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of read points specified at 1 is outside the range 0 to 503 480 APP 25 APPENDICES MELSEC A Program Example The following program reads 1 point of data from 1A8H of the buffer memory of the intelligent device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F X0020 PK 0 MoV 1 P H MOV 0004 P H mov 01A8 L LEDB RIRD SUB 1 SUB CIRCUIT END APP 26 D241 D242 D243 H 0000 K 1 TLEDC D240 TLEDC M340 LLEDR Setting of the number of read points Setting of intelligent device station buffer
159. ion network and the machinery within premises Category II applies to equipment for which electrical power is supplied from fixed facilities The surge voltage withstand level for up to the rated voltage of 300 V is 2500 V 2 This index indicates the degree to which conductive material is generated in terms of the environment in which the equipment is used Pollution level 2 is when only non conductive pollution occurs A temporary conductivity caused by condensing must be expected occasionally IMPORTANT Restrictions for UL standard approved products In order to be recognized as UL listed products products must be used in compliance with the following restrictions 1 Operating ambient temperature is limited to O to 50 C 2 Aclass 2 power supply recognized by the UL standard must be used 4 AnSHCPU MELSEC A 4 AnSHCPU 4 1 Performance Specifications The memory capacities of AnSHCPU modules performances of devices etc are presented below Table 4 1 Performance specifications Suco a ME ESAGPUISO Control system Repeated operation using stored program I O control method Refresh mode Direct mode selectable Language dedicated to sequence control Relay symbol type and logic symbolic language Programming language MELSAP II SFC Sequence instructions 26 gt Basic i i 131 Number of instructions types at instructions 3 Application instructions 106 CC Link dedicated instructions 11 Pr
160. it Is the ERROR LED ON Is the ERROR LED See Section 11 2 6 flashing See the flowchart used when the ERROR LED flashes vo See Section 11 2 7 O module does not oper See the flowchart used when the output load of ate properly the output module does not come ON See Section 11 2 8 See the flowchart used when a program cannot be written to the PC CPU Program cannot be writ ten 11 2 11 TROUBLESHOOTING 11 2 2 Flowchart used when the POWER LED goes OFF POWER LED is OFF Is the power supply operating Correct the power supply YES Does the POWER LED come ON Is the line NO voltage 85 to 132 V AC Set the Supply voltage to or 170 to 264 within the rated voltage VAC YES NO Does the YES POWER LED come ON Is the NO power supply module Fix the power supply mod fixed to the ule correctly base Does the YES POWER LED come ON Overcurrent EE 1 Eliminate the excess current i activated 2 Switch the input power OFF then ON Does the YES POWER LED come ON Consult your nearest Mitsubishi representative y End 11 3 11 TROUBLESHOOTING MELSEC A 11 2 3 Flowchart used when the RUN LED goes OFF RUN LED goes OFF Is an error indicated on the peripheral Take corrective action by referring to the error code list 1 Due to defective PC parts or a connecti
161. it device at D3 1 switches on only one scan ae instruction execution range AnSHCPU Master module a1 Remote device station n2 Monitoring request RDMON instruction 7 Specified device Monitor data 2 The RDMON instruction may be executed for two or more remote device stations at the same time However this instruction cannot be executed for the same remote device station in two or more locations at the same time APP 48 APPENDICES MELSEC A Execution Conditions When the LEDA instruction is used the RDMON instruction is executed every scan while the read command is ON When the LEDB instruction is used the RDMON instruction is executed only one scan on the leading edge OFF ON of the read command Note that several scans will be required until the completion of read processing by the RDMON instruction Therefore execute the next RDMON instruction after the completion device has switched on The RDMON instruction executed before the completion of RDMON instruction execution is ignored END END END END processing processing processing processing Sequence program flow ___ _ _ RDMON instruction l l l l Executed execution complete i l RDMON instruction 1 1 i ON Completion device OFF l i ff s 8 Moscas i 1 Abnormal 1 f 1 a Complation On completion status OFF i j 1 Normal completion display devi
162. its of 128 times b Number of sampling times after the execution of the STRA instruction When the number of samplings reaches this number the CPU terminates sampling and retains the sampled data The allowed setting range is 0 to 1024 times in units of 128 times The number of sampling times after the execution of the STRA instruction Total number of sampling times 1024 times m STRA instruction executed t t Number of sampling times after the execution of STRA instruction Total number of sampling times Device data is latched after the designated number of sample times after the execution of the STRA instruction Fig 4 12 Number of sampling times 4 AnSHCPU MELSEC A 4 Sampling intervals The sampling interval can be selected as either of the following after the execution of END instruction or at defined intervals a After execution of an END instruction Data is sampled each time an END instruction is executed b At defined intervals Data is sampled at defined intervals 10 x n msec n O to 199 In this case data is sampled even during execution of the sequence program Sequence program execution D END Step 0 Sampling trace execution At defined intervals Sequence program execution 10 x n msec 10 x n msec 10 x n msec 10 x n msec END Step 0 eno Step o i i o T a L Sampling trace execution Fig 4 13 Sampling trace executions 4 AnS
163. itten to remote device station on completion of RDPUT instruction execution Number of points specified at 3 Write completion 0 to 127 User Write request Oto 15 User Rw wi Wr Write completion Oto 15 User Set value Specify the writing set value allocated to the 4 User remote device station a of points Specify the number of data written word basis 1to 16 User 1 1 Refer to the manual of the remote device station to which data is written 2 2 The RY RWw RX and RWr numbers used are set by the user Note that RY and RX ON OFF control and RWw and RWr data setting are performed by the system The user cannot perform RY and RX ON OFF control and RWw and RWr data setting APP 43 APPENDICES Functions 1 MELSEC A Writes the points of data specified at 3 stored from the devices beginning with the one specified at 4 using RX and RY specified at 0 1 to the link registers in the remote device station having the station number specified at n2 and connected to the master module specified at On completion of writing the bit device specified at D switches on only one scan On abnormal completion the bit device at 1 switches on only one scan L RDPUT instruction execution range AnSHCPU Master station ni Remote device station n2 H RDPUT instruction Specified device Write Remote registers Execution Conditions
164. ize Receiving buffer size Automatic buffer size Sending buffer size Receiving buffer size lt Automatic buffer size Sending buffer size receiving buffer size and automatic buffer size need not be set Set sizes for local and intelligent device stations successively For remote I O and remote device stations their buffer sizes are not set When setting for the other stations therefore start setting with the frontmost empty position 3 After setting of the network parameters if the RLPA instruction is executed again during RUN to change the network parameters new data is not used for communication with the slave stations When the AnSHCPU is switched to STOP PAUSE then to RUN the new network parameters are used for communication with the slave stations APP 9 APPENDICES MELSEC A Execution Conditions As shown below when the LEDA instruction is used the RLPA instruction is executed every scan while the write command is ON When the LEDB instruction is used the RLPA instruction is executed only one scan on the leading edge OFF ON of the write command Instruction Execution Instruction Execution Instruction Execution Instruction Execution Instruction Execution RLPA with LEDA l l i 1 1 i 1 1 1 1 RLPA with LEDB l l Program Example The following program sets the network parameters to the master module of CC Link allocated to I O nu
165. key switch is in the STOP position e When the remote STOP signal is input e When the remote PAUSE signal is input Flashing The RUN LED flashes in the following cases e When an error which causes sequence operation to stop is detected by the self diagnosis function e When the latch clear operation is executed Indicates that the self diagnosis function has detected an error When the detected error is set to not lit in the ERROR LED indication priority setting 3 ERROR LED OFF Indicates that no error has occurred or that a malfunction has been detected by the CHK instruction Flashing An annunciator F is turned ON by the sequence program 2 RUN LED 4 AnSHCPU MELSEC A e Used to connect a peripheral device to write read monitor or test a program using a peripheral device e Close with the cover when not connected to a peripheral device e Protects AnSHCPU printed circuit board memory cassette RS 422 connector battery etc e Execute the following operations with the cover open e Memory cassette connection disconnection e Setting a dip switch e Connection to battery connector e For mounting the module to the base unit battery replacement Module fixing screws e For mounting the module to the base unit 7 Battery e For retaining data such as programs device latch ranges file registers etc See Section 7 2 for battery replacement 8 DIP switch e Used for switching the I O con
166. le L inputs UL oUL Pulse input module with short ON time 16 eG A1SP60 Pulse min 0 5 msec 16 point inputs 16 outputs 0 055 o For changing timer set values 0 1 to 1 0 A1ST60 sec 1 to 10 sec 10 to 60 sec 60 to 600 0 055 sec by potensiometer 16 outputs i Analog timer 8 points For specifying execution of an interrupt Interrupt 32 A1Sl61 program Interrupt module ae 0 057 passe user Interrupt input points 16 Special 32 point 32 32 bit signed binary ATSD61 50 KBPS 1 channel Special 32 point A1S62TCTT Transistor output thermocouple input S2 2 channels module PID control ON OFF pulse Transistor output thermocouple input A1S62TCTTB 2 channels module Special 32 point W S2 PID control ON OFF pulse heater wire breakage detection function Transistor output platinum A1S62TCRT temperature measuring resistor input S2 2 channels module PID control ON OFF pulse Transistor output platinum Special 32 point temperature measuring resistor input o Doda 2 channels module PID control ON OFF pulse heater wire breakage detection function Transistor output thermocouple input A1S64TCTT 4 channels module S1 PID control ON OFF pulse or 2 position control Transistor output thermocouple input Special 32 point 4 channels module A1S64TCTTB PID control ON OFF pulse or 2 position control Heater wire breakage detection function Transistor output thermocouple input A1S64TCRT 4 channels mo
167. les with blown fuses are detected the lowest module number among the detected modules is stored in hexadecimal D9000 Fuse blown Number of module with blown Example When the fuses of Y50 to 6F output modules have fuse blown 50 is stored in hexadecimal The module number monitored by the peripheral is hexadecimal Cleared when all contents of D9100 are reset to 0 e If I O modules whose data is different from data entered are detected when the power is turned on the first 1 O number of the D9002 I O module verify I O module verify error module lowest module number among the detected modules is stored in error number hexadecimal Storing method is the same as that of D9000 The module number monitored by the peripheral is hexadecimal Cleared when all contents of D9116 of D9123 are reset to 0 AC DOWN e 1 is added each time the input voltage becomes 80 or less of 1 D9005 AC DOWN time count the rating while the CPU module is performing an operation and counter the value is stored in BIN code 1 D9008 Self diagnostic Self diagnostic error number When error is found as a result of self diagnosis the error number error is stored in BIN code detection failure has occurred e D9009 can be cleared by the RST F or LEDR instruction If another F number has been detected the clearing of D9009 causes the next number to be stored in D9009 e When an operation error has occurred during execution of an D9010 Error ste Ste
168. low 1 STOP instruction execution Remote RUN STOP by computer PAUSE 1 1 When the CPU is in RUN mode and M9040 is off the CPU remains in RUN mode if changed to PAUSE mode ROM RAM e Indicates the setting of memory select chip One value among 0 D9016 ROM RAM S tting E MDSU 2 MDNM P to 2 is stored in BIN code ROM Minimum scan time e Ifthe scan time is shorter than the contents of D9017 the value is D9017 Scan time per 10msec newly stored at each END Namely the minimum value for scan time is stored in D9017 in BIN code X The scan time is stored in BIN code at each END and always Re 2a ame por ea Maxi ti e Ifthe scan time is longer than the contents of D9019 the value is D9019 Scan time de seanume newly stored at each END This means that the maximum value per 10msec of the scan time is stored in D9019 in BIN code APP 55 APPENDICES MELSEC A Table 2 22 Special registers list Continued Number Name Stored data Explanation Constant scan time e Sets user program execution intervals in 10msec increments 2 D9020 Constant scan User specified in 10msec 0 Constant scan function not used increments 1 to 200 Constant scan function used program executed at intervals of set value 10msec e Stores the year least significant digits and month in BCD B15 B12 B11 B8 B7 B4 B3 BO 2 D9025 Clock data Clock data Year month 7 Yea
169. lures and corrective action Dos Gm comecem e Load is half wave rectified inside in some cases e Connect a resistor of 10 to 99 k Q this is true of a solenoid across the load A1SY22 If a resistor is used in this way it does not Output module pose a problem to the output element But When the f it may cause the diode which is built into output is OFF Ju i the load to deteriorate resulting in a fire etc E Example excessive 1 voltage is applied to the todo When the polarity of the power supply is as shown in 1 C is charged When the polarity is as shown in 2 the voltage charged in C plus the line voltage are applied across D1 Max voltage is approx 2 2E e Leakage current due to built in noise suppression Connect C and R across the load A1SY22 When the wiring distance from the output card to the load is long there may be a Example The load does leakage current due to the line capacity 2 not turn OFF triac output Leakage current gt Drive the relay using a contact and drive the CR type timer using the same contact A1SY22 Some timers have half wave rectified internal When the load Output module circuits Therefore take the precautions is a CR type E CR timer indicated in the Example1 Example timer time AV T Leakage current 3 constant I 4 fluctuates Ee ri Calculate the CR constant depending on the load 11 17 APPENDICES
170. m ROM meee e Connected to CPU A6PHP using an AC30R4 ACO3WU cable RS 422 cable AC30R4 AC300R4 Connects CPU and A6WU 3 m 30 m 9 84 ft 98 4 ft long ACOSWU Connects A6PHP and A6WU 0 3 m 0 98 ft long RS 422 cable AC30R4 PUS 2 SYSTEM CONFIGURATION MELSEC A 1 Programming devices compatible with A1 SHCPU A6WU P ROM writer module cannot be used All programming devices compatible with A1SHCPU can be used excluding AGWU When A7PU A7PUS A8PU or A8PUE is used the CPU type A3 is displayed when started up Software packages compatible with A1SHCPU All utility packages compatible with A1SHCPU can be used 2 SYSTEM CONFIGURATION MELSEC A 2 4 General Description of System Configuration 2 4 1 AnSHCPU The following gives the system configuration number of inputs outputs I O number allocation etc when the ANSHCPU is used as an independent system Main base unit A1S38B Extension cable Power supply module 1st extension stage UNIT Extension base unit A1S58B S1 faded 8 9 10 11 12 13 14 15 Heath to 8F Extension base unit A1S55B S1 16 17 18 19 20 21 22 23 110 140 150 1601170 to to 11F 14F tens unit A1S68B S1 24 27 28 29 30 31 180 to 18F 19F 1AF 1CF IDF 1EF 1FF a ee Three extension stages Mane UNDE ra A1SHCPU 256 points A2SHCPU 512 points AZSHCPU S1 1024 points input output points A1S32B A1S33B A1S35B A1S38B i A1
171. m configuration and its program Section 4 1 6 gives details about parameter settings Table 4 3 Devices Device Application range Number of points Explanation A1SHCPU X Y00 to X YFF Provides a command or data from an external device X Input X Y total 256 points e g pushbutton select switch limit switch digital switch to the A2SHCPU X Y000 to X Y1FF PC X Y total 512 points Provides the f program control result to an external device Y Output A2SHCPU S1 X YO LOSER e g solenoid magnetic switch signal light digital display X Y total 1024 points Special relay M9000 to M9255 256 points Predefined internal relay for special purposes M Internal relay MO to M999 Internal relay in the PC which cannot be directly output 1000 points L Latch relay L1000 to L2047 Number of M L Internal relay in the PC which cannot be directly output y 1048 points S 2048 Backed up during power failure Can be used by Used in the same manner as an internal relay M e g as a relay S Step relay setting a parameter indicating the stage number of a step by step process operation 0 program Link relay BO to B3FF 1024 points Internal relay for MELSECNET which cannot be output May be used as an internal relay if not assigned for data link use Used to detect a fault When switched ON during RUN by a fault F Annunciator FO to F255 256 points detection program it stores a corresponding number in a special regist
172. ma a Ee e a fa E ps rss ras ae sa E Pe ws os ms me o O RR E j f O e es an me o ma es es a De fe pp Ce fe us ma o De e in O D gt 5 O OO w la JJ Ce e efe e e O D Ne ale EEE 11 6 ola allallellelic OS O 3 ale alls 11 8 APP 71 APPENDICES MELSEC A Processing time us Condition S1 A1SHCPU A2SHCPU Direct Refresh Direct z 7 9 5 9 5 9 5 9 5 11 11 1 1 10 0 10 1 6 0 4 4 1 1 1 36 27 2 APP 72 APPENDICES n 5 MELSEC A Processing time us A1SHCPU A2SHCPU Refresh Direct Refresh Direct 0 2 3 2 4 37 37 3 APP 73 APPENDICES MELSEC A Processing time us Condition A1SHCPU A2SHCPU O o O e CO RE RT Sor ee TI e a O O TO E te memory only gt E O O Se ee EE o e e fe Ee o CC Sa a RO Seer SS ae a e o Do O e e eee e a EE TA See ee TI roms as ars sms asa Fron ween a ears E mo Co mo
173. manual Also pay careful attention to safety and handle the module properly These precautions apply only to Mitsubishi equipment Refer to the CPU module user s manual for a description of the PC system safety precautions These SAFETY PRECAUTIONS classify the safety precautions into two categories DANGER and CAUTION DANGER Procedures which may lead to a dangerous condition and cause death or serious injury if not carried out properly Procedures which may lead to a dangerous condition and cause CAUTION superficial to medium injury or physical damage only if not carried out properly 2220200005 Depending on circumstances procedures indicated by CAUTION may also be linked to serious results In any case it is important to follow the directions for usage Store this manual in a safe place so that you can take it out and read it whenever necessary Always forward it to the end user DESIGN PRECAUTIONS lt gt DANGER e Install a safety circuit external to the PC that keeps the entire system safe even when there are problems with the external power supply or the PC module Otherwise trouble could result from erroneous output or erroneous operation 1 Outside the PC construct mechanical damage preventing interlock circuits such as emergency stop protective circuits positioning upper and lower limits switches and interlocking forward reverse operations 2 When the PC detects the followi
174. mbers 000 to 01F 1 Network parameter settings O Setitem Set data Device for storing data Synchronous mode valid invalid Synchronous mode D1000 setting Communication station count 1 module 1 D1001 setting Slave station type Intelligent device station Slave station setting information Number of slave stations occupied 128 80 words 128 80 words 960 600 words 1 station 1 2 Program x0020 A P H ol LMOV 0001 D1000 H Synchronous mode valid setting PH Setting of number of EMOM 0001 D1001 communication stations P H Setting of slave station settin or g g MOV 2101 D1002 information PH MOV 0080 D1003 W Setting of sending buffer size PH LMOV 0080 D1004 Setting of receiving buffer size PH i i i Setting of automatic updating 1 gt MOV 0600 D1005 buffer size TLEDB RLPA K CSUB 0 CLEDC D1000 Designation of RLPA instruction LEDC L10000 C LEDR J APP 10 APPENDICES MELSEC A atom ek betel 1 1 3 Automatic refresh parameter setting RRPA Available device Bit devic x vjmjris e rjT cjD wjR aom z v k nJP 1 N Digit designation Number of steps HC a a EEE See O TET ET TT fofojofofo TT TT TT Command t _ _LEDA LEDB RRPA Executed while ON Executed at leading edge SUB m Device number designated Constant designated Head I O number of object LEDC master module LEDR
175. memory of the intelligent device station having station number 1 and connected to the master module of CC Link allocated to I O numbers 000 to 01F The completion status is used for error check Also RX2 RY2 and RWr2 are used as handshaking link devices X0020 PK i ott MOV 6 D221 H Setting of the number of read points P H Setting of intelligent device station MOV 0004 D222 H buffer memory P K m Mo 0 D223 H Setting of error check PH i Setting of buffer memory head LMOV 0400 D224 H address PH H MoV 0202 D320 H RY2 RX2 setting P K r MoV 2 D321 H RWr2 setting LEDB RIRCV H H CSUB 0000 H K H NSU 1 H TLEDC D220 H gt RIRCV instruction designation CLEDC D320 H H LEDC M320 CLEDR J CIRCUIT END APP 34 APPENDICES MELSEC A 1 1 9 Write to intelligent device station buffer memory with handshake RISEND Available device Bit device Word device Constant Pointer Leve xlvmluis elrjr c p w rjnomz v k H P 1 n EI RAagECEEEE Eee as s s cerco ESA Te MOVOTO VON ici fe Neath We E coe jo I a jojejojojo A ap ete Pee Piet es Digit designation Command Executed while ON LEDA LEDB RISEND EME Head I O number of object Executed at leading edge SUB Device number designated Master modulg SUB Constant designated Intelligent device station number 1 to 64 LEDC LEDC Handshaking l
176. microcomputer mode the following changes are made in the microcomputer instructions Change points by switching to AnSHCPU from AnSCPU Corrective action method When REP LODSW and REP LODSB instructions are used The following example for the program should be revered AnSCPUThe contents of a memory shown by the S1 register for the number of times specified in CX register are transfered to the register of AL 8 Program example bits operation or AX 16 bits operation Aafter the instructions have been executed the CX register value becomes 0 The contents of a memory shown only once by the S1 register regardless of the value of the CX STD register are transfered to the register of AL 8 MOV CX 3 bits operation or AX 16 bits operation REP LODSB After the instructions have been executed the CX register value does not change Appendix 4 CE Marking Compatible Module for Compact PC Specification A1SHCPU a the performance specification in Section 4 4 1 Number of I O points 256 memory capacity 64 k bytes A1SJHCPU See the performance specification in Section 4 4 1 CPU module Number of I O points 256 memory capacity 64 k bytes A2SHCPU See the performance specification in Section 4 4 1 Number of I O points 512 memory capacity 64 k bytes See the performance specification in Section 4 4 1 A2SHCP 1 HCP US Number of I O points 1024 memory capacity 192 k bytes A1S62PEU 200 to 240 V AC input 5 VD
177. minal Grounding for the power supply filter The potential of A1S61P or A1S62P terminal is 1 2 of the input voltage Power supply input Used to connect a 100 V AC or 200 V AC power supply terminals Fower supply input Used to connect a 24 V DC power supply terminals POWT supply input Used to connect a 200 V AC power supply terminals Power supply input Used to connect 100 V AC to 200 V AC power supply terminals M3 5 x7 11 The protective cover of the terminal block vi Used to fix the module to the base unit 12 Module f 12 M4 screw tightening torque 59 to 88 N cm 6 to 9 kg cm 4 5 6 7 9 1 1 Ifthe setting differs from the supply line voltage the following results will occur Do not make the wrong setting Supply line voltage 100 V AC 200 V AC Setting to 100 V AC The power supply module is Short the input voltage damaged The CPU is not select terminals damaged Setting to 100 V AC No error occurs in the Open the input voltage module However the CPU select terminals does not operate Do not cable to the unused terminals such as FG and LG on the terminal block terminals whose name is not printed on the terminal cover Be sure to ground the terminal LG to the protective ground conductor 6 BASE UNIT AND EXTENSION CABLE MELSEC A 6 BASE UNIT AND EXTENSION CABLE 6 1 Specifications This section describes the specifications for the base units main base units
178. nction 0 ccceeceeeeeeeeeeeeeeeeeeeeeeseaeeeseaeeseeeeesaeseaeeeenaeseenees 4 24 4 2 4 Stopping the sequence program operation while retaining output status PAUSE function neinean cd nite Dude h oie sae tant eee aed ead 4 26 425 StatusilalCh siso do aie aii Ade aha i elt 4 28 4 2 6 Sampling traCe v 24 Acaa ea Ata a E et a i i ahi 4 30 427 Offline Switch functions ranee aaaea taaan kite abit a aaa 4 33 4 2 8 Setting priorities for ERROR LED display 4 35 4 297 CIOCKAUNCHON cuia ceca vai accords aa aa aaa lh ine oad tines prea dn 4 37 4 3 Handing INStruCtOns s cite ra nero eerie en ea ante dada E ida b a Aus SE ua sted 4 40 4 4 Part Identification and Setting of AnSHCPU errantes 4 41 4 4 13 Parlid ntitl ation cora T nag avai ieee dA nig ai eae aes 4 41 4 4 2 I O control switch setting cesses eeeeeeeceaeeeeaaeeseaeesseeeceaeessaeeeeaeeeeaas 4 44 4 4 3 Memory write protect switch setting erre 4 44 4 4 4 Clearing latched data ira aeaneranaaaare near nanananaaa 4 46 POWER SUPPLY MODULE 5 2 52 000022220002200 aaaeeeaa aaa eataa aiaa euan niaaa oti iaie 5 1to5 7 bl Specificato Sa a e aa a ara fadado dead TR a DERA OL aaao Aa eas dda aara bs eaten sia ada dad 5 1 5 1 1 Selection of the power supply module isa 5 4 5 2 Names of Parts and Settings ccccccecsceceeeeeeeeeeeaeeeeeeeceeeeeeceaeeeeaeese
179. ne or more output modules whose 1 M3000 EUSEIDIOW ON Bites of fuse blow fuse has blown Remains on if normal status is restored FF 1 M9002 1 O module verify error me OFF 1 M9005 AC DOWN detection ON OFF 1 M9007 Battery low latch Ene 1 M9008 Self diagnostic error si M9009 Annunciator detection OFF ON OFF M9010 Operation error flag ON OFF 1 M9011 Operation error flag ON M9012 Carry flag ag Data memory clear OFF M9016 flag ON M9017 Data memory clear OFF 90 flag ON User timing clock No 0 User timing clock No 1 User timing clock No 2 User timing clock No 3 User timing clock No 4 OFF 2 M9025 Clock data set request ON n2 scan Normal Error ACis good AC is down Normal Battery low Normal Battery low Normal Error Normal Error Normal Error Normal Error Carry off Carry on No processing Output clear No processing Output clear No processing Data set request n2 scan e Turned on if the status of I O module is different from entered status when power is turned on Remains on if normal status is restored e Turned on if power interruption no longer than 20msec occurs Reset when POWER switch is moved from OFF to ON position e Turned on when battery voltage falls to less than specified voltage Turned off when battery voltage becomes normal e Turned on when battery voltage falls to less than specified vol
180. ng problems it will stop calculation and turn off all output e The power supply module has over current protection equipment and over voltage protection equipment The PC CPUs self diagnostic functions such as the watchdog timer error detect problems In addition all output will be turned on when there are problems that the PC CPU cannot detect such as in the I O controller Build a fail safe circuit exterior to the PC that will make sure the equipment operates safely at such times See Section 8 1 of this user s manual for example fail safe circuits See this user s manual for example fail safe circuits 3 Output could be left on or off when there is trouble in the outputs module relay or transistor So build an external monitoring circuit that will monitor any single outputs that could cause serious trouble When overcurrent which exceeds the rating or caused by short circuited load flows in the output module for a long time it may cause smoke or fire To prevent this configure an external safety circuit such as fuse Build a circuit that turns on the external power supply when the PC main module power is turned on If the external power supply is turned on first it could result in erroneous output or erroneous operation When there are communication problems with the data link the communication problem station will enter the following condition Build an interlock circuit into the PC program that will make sure the system operat
181. nge 3 3 Refer to the manual of the intelligent device station from which data is read Handshaking Link 1 Handshaking link device setting items Devices ro r 2 Setting of handshaking link devices Set data Setting Setting range end intelligent device station intelligent device station intelligent device station FE gt POINTS 1 1 When FFH is set no number is specified 2 2 The RX RY and RW numbers used are set by the user Note that RX and RY ON OFF control and RWr data setting are performed by the system and cannot be changed by the user If RX RY and RW are changed by the user the RISEND instruction will not be completed properly Functions 1 Writes the points of data specified at DD 1 from the devices beginning with the one specified at 5 to the buffer memory address specified at D 4 in the intelligent device station having the station number specified at n2 a d connected to the master module specified at n On completion of writing the bit device specified at D3 switches on only one scan On abnormal completion the bit device at 1 switches on only one scan APP 36 APPENDICES MELSEC A NE instruction execution range RE eS SS Ses PSC RES ECSESSS ESSES SESC see q AnSHCPU Master module nt Intelligent device station n2 H HRISEND instruction On Request gt Buffer memory ei signal 2 0 1 OS spaces ep i Po device 2 The RISEND instruction may be executed for two
182. nting of a ferrite core is not necessary except for some particular models described in Section 9 1 2 5 and 9 1 2 6 However if further attenution of noise is necessary mounting of a ferrite core on cables which radiate noise is recommended When a ferrite core is mounted mount the ferrite core just before the point where the cable goes outside of the cabinet The ferrite will not be effective if the mounting position is not adequate Ferrite core Ferrite core ie a When there is a distance from the b When mounted by the cable exit cable exit hole the noise will jump hole the noise will not jump over over the ferrite thus the effect will the ferrite be halved 9 1 2 11 Noise filter power supply line filter The noise filter power supply line filter is a device effective to reduce conducted noise Except some particular models described in Section 9 1 2 8 installation of a noise filter onto the power supply lines is not necessary However conducted noise can be reduced if it is installed The noise filter is generally effective for reducing conducted noise in the band of 10 M Hz or less Usage of the following filters is recommended 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A The precautions required when installing a noise filter are described below 1 Do not bundle the wires on the input side and output side of the noise filter When bundled the output side noi
183. o or more locations at the same time 3 As control data specify the values given in the manual of the remote device station If wrong setting is made the instruction will not be completed APP 40 APPENDICES MELSEC A Execution Conditions When the LEDA instruction is used the RDGET instruction is executed every scan Operation Error while the read command is ON When the LEDB instruction is used the RDGET instruction is executed only one scan on the leading edge OFF ON of the read command Note that several scans will be required until the completion of read processing by the RDGET instruction Therefore execute the next RDGET instruction after the completion device has switched on The RDGET instruction executed before the completion of RDGET instruction execution is ignored END END END END processing processing processing processing Sequence program flow L RDGET instruction l l l l Executed execution complete i l RDGET instruction 1 1 l l l l ON l l l Completion device OFF i i LE SD e if Abnormal l ON completion F On completion status OFF l i l display device 1 Normal completion 4 E SS es l l i l 1 scan l l J During processing of RDGET instruction Data can be read by RDGET instruction The following condition will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of r
184. ocessing speed sequence Direct 1 0 to 2 3 instruction u sec step Refresh 1 0 I O points 2048 1 Actual I O number of point 512 Watchdog timer WDT msec 10 to 2000 Memory capacity 2 built in RAM 64 k bytes A2SH 512 A2SH S1 1024 A2SH 64 k bytes A2SH S1 192 k bytes A A2SH Max 14 k steps MAGS cle A2SH S1 Max 30 k steps Unavailable Internal relay M points 100 MO to 999 A Up The number of M L S 2048 Latch relay L points 1048 L1000 to 2047 set in parameters Number of step relays S points 0 Defaults to no value 256 points 100 msec timer Setting time 0 1 to 3276 7 sec TO to 199 Setin Timer T 10 msec timer Setting timer 0 01 to 327 67 sec T200 to 255 parameters 100 msec Depending on setting Retentive timer Setting time 0 1 to 3276 7 sec 256 points Gauniee Normal counter Setting range 1 to 32767 CO to 255 Setin Interrupt program counter Setting range 1 to 32767 parameters Counter to be used in interrupt program Data register D points 1024 DO to D1023 L Link relay B points 1024 BO to 3FF C points 1024 WO to W3FF Link register W Annunciator F points 256 FO to F255 File register R points Max 8191 RO to R8191 Accumulator A points 2 AO A1 4 AnSHCPU MELSEC A Table 4 1 Performance specifications Continued 2 0 A1SJHCPU A2SHCPU S1 3 Comment points Spe
185. ol data DD 0 to 6 Reserve the control data area for 7 points number of points specified at 6 successively APP 47 APPENDICES Functions MELSEC A 3 Control data settings E range end RY1 Monitoringregistratonrequest Oto 127 User Rww1 Monitoring registration request 0to15 User RY GR RX2 RWr Monitoring registration completion O to 127 Monitoring execution request 0 to 127 Set value Specify the monitoring set value allocated to the 4 Weer remote device station Number of points Specify the number of data monitored word 1to 16 Weer monitored basis Refer to the manual of the remote device station from which data is monitored The RY1 2 RWw1 2 RX1 2 and RWr2 numbers used are set by the user Note that RY1 2 and RX1 2 ON OFF control and RWw1 2 and RWr2 data setting are performed by the system If the user performs RY1 2 and RX1 2 ON OFF control and RWw1 2 and RWr2 data setting the RDMON instruction will not be completed properly RWw2 Monitoring execution request Oto 15 1 Registers monitoring of the remote device station having the station number specified at n gt and connected to the master module specified at ni and stores the points of monitor data specified at OD 6 into the devices starting from the one specified at 7 On completion of monitor data reading the bit device specified at D2 switches on only one scan On abnormal completion the b
186. ompletion of reading the bit device specified at OD switches on only one scan On abnormal completion the bit device at DD 1 switches on only one scan ate instruction execution range Master local AnSHCPU station nt Remote station n2 Request RIRD instruction d 4 Specified device 2 The RIRD instruction may be executed for two or more remote stations at the same time However this instruction cannot be executed for the same remote station in two or more locations at the same time HA Buffer memory Reading of buffer memory data APP 24 APPENDICES MELSEC A 3 Before executing the RIRD instruction set the network parameters using the RLPA instruction network parameter setting If the RIRD instruction is executed without the network parameters set abnormal completion will occur and 4B00x will be stored into the completion status 4 No processing will be performed if the number of read points specified at 1 is 0 Execution Conditions When the LEDA instruction is used the RIRD instruction is executed every scan Operation Error while the read command is ON When the LEDB instruction is used the RIRD instruction is executed only one scan on the leading edge OFF ON of the read command Note that several scans will be required until the completion of read processing by the RIRD instruction Therefore execute the next RIRD
187. on base unit can be installed Combined use of S1 type extension base units and extension base units other than the S1 type is not possible When using one or more S1 type extension base units for A1S use in combination with one or more extension base units for A N or A JA use the final extension base unit must be one for A N or A JA use An S1 type extension base for A1S use can Notes not be connected from an extension base for A N or Af JA use Extension base units A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B A58B are supplied with a 5 V DC power supply from the power supply module on the main base unit see Section 7 1 3 to determine whether or not these extension base units can be used The total length of extension cable used must not exceed 6 m 19 68 ft I O numbers are allocated in the order of the numbers set in extension base number setting regardless of the order of connection of extension cables When allocating I O points all main bases and extension bases are regarded as having 8 slots of I O points Accordingly 16 points per slot are allocated to the part of the system configuration drawing indicated using dotted lines 16 points are allocated to vacant slots If extension base number setting has not been performed at one or more modules I O points are allocated by regarding each slot in the total number of slots involved obtained by multiplying the number of extension bases for which setting was skipped b
188. on failure 2 Due to excessive noise RUN LED goes ON Reset the AnSHCPU using the RUN STOP keyswitch RUN LED remains OFF In case of 1 In case of 2 Move the RUN STOP keyswitch on the ANSHCPU to STOP and write END to address 0 using a periph eral device Consult your nearest Mitsubishi representative Y Move the RUN STOP key switch to RUN RUN LED dose not go ON RUN LED goes ON y Software error Check program with the programmer and correct the program Connect a noise suppression circuit such as CR to the noise source 11 4 11 TROUBLESHOOTING MELSEC A 11 2 4 Flowchart used when the RUN LED flashes The following shows the corrective measures to take if the RUN LED flashes when the power is switched ON when operation is started or during operation C RUN LED flashes Check the error using pe ripheral equipment See Section 11 3 Hardware fault Consult your nearest Mitsubishi representative Reset the AnSCPU using the RUN STOP keyswitch Correct the error See Section 11 3 Setthe RUN STOP key switch to the RUN position NO Does the RUN LED come ON 11 5 11 TROUBLESHOOTING MELSEC A 11 2 5 Flowchart used when the ERROR LED is lit The following shows the corrective measures when the ERROR LED is lit in the
189. onsult your nearest Mitsubishi representative Use a peripheral device to read the error step and check and correct the program at that step Check device setting range BCD conversion value etc 11 TROUBLESHOOTING MELSEC A Contents of Deaile special error CPU Error message register code status Error and cause Corrective action D9008 D9092 BIN value The storage data or constant for the Read the error step by using a specified device is out of range pheripheral device and correct the BATTERY ERROR interruption compensation is used connect the battery 504 exceeds the usable range OPERATION 50 RUN The number of CC Link dedicated Decrease the number of CC Link ERROR STOP instructions for one scan exceeds 64 dedicated instructions executed for 509 one scan to 64 or less CC Link dedicated instruction was Set the parameters executed to the CC Link module in which parameters are not set Ee 1 The battery voltage is below 24 V DC 1 Change the battery RUN 2 The battery lead is disconnected 2 When RAM or power 11 14 11 TROUBLESHOOTING MELSEC A 11 4 WO Connection Troubleshooting This section explains possible problems with I O circuits 11 4 1 Input circuit troubleshooting This section describes possible problems with input circuits and corrective action Table 11 2 Input circuit problems and corrective action C T cmon OO oe Leakage current of input switch e g d
190. ory can be divided into several memory blocks in accordance with the parameter settings Table 4 5 Parameter settings and memory capacity E Storage ftom etn module Memory capacit a 4 k bytes fixed Main M Occupies 4 k bytes for Sequence program 1 k steps ain sequence program capacity x Possible parameters and T C set program 5 k bytes ali s Microcomputer 2 k bytes Main micro computer program program capacity x1 k byte Not available sampling vace ling trace kbytes O k bytes Not available The memory capacity es Data memory available 0 8 k bytes the file register status latch Status is determined by the latch number of file register Impossible Points set using parameters File registers number of points File registers 1 k points x 2k bytes 1 k byte is occupied by the N f Comments 64 points umper or comments 1 k byte system when setting 64 comment capacity Not available File registers memory capacity 1 File registers available byte 2 Storage priority in user memory The data set in the parameters is stored in the following sequence Make sure that the memory protect range does not cover the areas such as sampling trace and file register to which data will be written during sequence program execution a When the A1SHCPU is used Even if the main program is stored in an EPPROM EPROM the capacities of the sampling trace status latch file register and comment areas cannot
191. otect range 32 k bytes Internal RAM 2 to 28 k bytes memory area 64 k bytes Parameter area T C set values area Sequence program are required min 1 k step Microcomputer program area Not used Extension file register area Sampling trace area Status latch area File register area Comment area b In EZPROM operation Parameter area T C set values area Sequence program are required min 1 k step Microcomputer program area Not used 2 Not usable used by system Not used Extension file register area Usable with t SWOGHP ULTP FN1 Sampling trace area Status latch area File register area Comment area 4 AnSHCPU MELSEC A 4 2 Functions The following table describes the functions of the AnSHCPU Table 4 6 List of functions reference e Executes the sequence program at the predetermined intervals independently of the scan Constant scan time Setting allowed from 10 to 2000 msec Latch power Retains device data while the PC is switched OFF or reset or a momentary power interruption interruption of 20 msec or longer occurs compensation L B T C D and W can be latched Allows remote RUN STOP control from an external device e g peripheral external input R RUN STOP eG Mt emote computer with the RUN STOP switch in the RUN position Stops operation with the output Y status retained Pause function may
192. ous mode 1 point valid invalid setting e Communication station 1 point count setting e Slave station setting Number of points for the number of slave information stations connected for communication e Sending buffer size Number of points for the number of local and intelligent device stations e Receiving buffer size Number of points for the number of local and intelligent device stations e Automatic update Number of points for the number of local buffer size and intelligent device stations APP 7 APPENDICES MELSEC A 3 Network parameter settings tem Set data Setting range Setting end Set whether the synchronous mode is valid or Synchronous mode invalid valid invalid 0 1 User e When synchronous mode is valid 0 e When synchronous mode is invalid 1 Na as Set the number of slave stations connected to the CONC eG TOL master module of CC Link 1 to 64 User communication Set the slave station type number of slave stations occupied and station number as indicated below b15 to bi2b11 to b8 amp b7 to U i S E pa number Number of slave stations occupied Slave station type bO to b7 e Station number setting 1 to 64 1 to 64 Setting with BIN 1H to 40H e Set the number of slave stations occupied Number of slave stations occupied b8 tob11 PR e Slave station type setting Slave station type Setting Remote I O station o
193. ow RW area Points for RW 64 stations D 11 points RWw Instructions for setting refreshed device in SB and SW a In SB and SW set refreshed devices within the specified number of points starting from the head number SB0000 to SBOO3F are refreshed from the AnSHCPU to the master module and SB0040 to SBOOFF are refreshed from the master module to the AnSHCPU File registers R cannot be specified as refreshed devices in SB and SW If file registers are set in SB or SW and written to the ANSHCPU an instruction code error occurs and the AnSHCPU is inoperative The device range set for refreshed devices in SB or SW should not be specified as a latch range The SB and SW refresh ranges set with the RRPA instruction during power on cannot be changed APP 14 APPENDICES MELSEC A Execution Conditions As shown below when the LEDA instruction is used the RRPA instruction is executed every scan while the write command is ON When the LEDB instruction is used the RRPA instruction is executed only one scan on the leading edge OFF gt ON of the write command Instruction Execution Instruction Execution Instruction Execution Instruction Execution Instruction Execution Step 0 Sequence program flow L 4p HA Write command OFF i i Li I Li RRPA with LEDA RRPA with LEDB Operation Errors Any of the following conditions will r
194. p number at which application instruction the step number at which the error has p t operation error has occurred occurred is stored in BIN code Thereafter each time an operation error occurs the contents of D9010 are renewed e When an operation error has occurred during execution of an application instruction the step number at which the error has D9011 Error step Step number at which occurred is stored in BIN code Since storage into D9011 is operation error has occurred executed when M9011 changes from off to on the contents of D9010 cannot be renewed unless M9011 is cleared by the user program e The set mode is represented as follows D9014 I O control mode 1 O control mode number 0 I O in direct mode 3 I O in refresh mode e When one of FO to F255 is turned on by OUT F or SET F the F number detected earliest among the F numbers which have D9009 Annunciator F number at which external turned on is stored in BIN code APP 54 APPENDICES MELSEC A Table 2 22 Special registers list Number Name Stored data Explanation The operating states of CPU as shown below are stored in D9015 B15 B12 B11 B8 B7 B4 B3 BO CPU RUN STOP Remains unchanged switch in remote run stop mode 0 RUN 1 STOP Remote RUN STOP by parameter setting Operating states of CPU RUN CPU operating states STOP PAUSE 1 Status in program O Other than be
195. pling area as 2nd sample data l trace data the l gt i peripheral designated N 3rd sample data H I i Fie device number of i Sampling register 4th sample data times area i 5th sample data monitor 6th sample data i i i i i n 1 n 1 sample data t n n sample data After the data has been sampled n times the next data sample overwrites the first data sample After the execution of the STRA instruction device data sampling is carried out the designated number of times and the data in the sampling trace area is latched Fig 4 11 Sampling trace 1 Application By using the sampling trace function the debugging time can be shortened by verifying the data of the designated devices at defined intervals during debugging 2 Devices which can be sampled The devices and the number of points which can be sampled are indicated below a Bit devices X Y M L S F B T C coil T C contact Max 8 points b Word devices T C present value D W R A Z V Max 3 points 4 AnSHCPU MELSEC A 3 Number of sampling times The total number of sampling times and number of sampling times after the execution of the STRA instruction need to be specified a Total number of sampling times This number signifies the size of the area where the sampling data is stored The allowed setting range is 0 to 1024 times in un
196. ppressed further Use of a shielded cable is also effective for increasing the noise immunity level The PC system s input output and special function module provide a noise immunity level of equivalent to that stated in IEC801 4 2 k V when a shielded cable is used If a shielded cable is not used or if the shield earthing treatment is not suitable even when used See Section 9 1 2 4 the noise immunity level is less than 2 k V Note prEN50082 2 specifies the noise resistance level based on the signal wire application Signals involved in process control 2kV Signals not involved in process control 1 k V The meaning of involved in process control is not defined in prEN50082 2 However when the purposes of the EMC Directive are considered the signals that could cause personal injury or risks in the facility if a malfunction occurs should be defined as signals involved in process control Thus it is assumed that a high noise immunity level is required 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A 9 1 2 4 Shield earthing When a shield of the shielded cable is earthed to the cabinet body please ensure that the shield contact with the body is over a large surface area If the cabinet body is painted it will be necessary to remove paint from the contact area All fastenings must be metallic and the shield and earthing contact must be made over the largest available surface area If the contact surfaces are too uneven for o
197. prevent entry of wire offcuts into the module If any conductive debris enters the module make sure that it is removed 4 Tighten the module mounting screws and terminal screws as indicated below Tightening torque range N cm kg cm Ib in Module mounting screw M4 screw 78 to 118 8 to 12 45 to 67 I O module terminal block terminal screw M3 5 screw 59 to 88 6 to 9 34 to 50 4 AnSHCPU MELSEC A 4 4 Part Identification and Setting of AnSHCPU 4 4 1 Part identification A1SHCPU A1SH A2SHCPU S1 side face 0000000000000 000000000000 4 AnSHCPU MELSEC A MELSEC A1SJHCPU MITSUBISHI O mer too 120vAC he RUN STOP To start stop running a sequence program RESET To reset the hardware RUN STOP key To reset an error occurring during operation to initialize operation switen LATCH CLEAR To clear turn OFF or clear to 0 the data in the latch range and L CLR non latch range which are set by parameter For the latch clear operation procedure see Section 4 4 4 Indicates that a sequence program operation is being executed with the RUN key switch set to the RUN position The LED remains lit if an error Section 11 3 which permits sequence operation to continue occurs The RUN LED goes out in the following cases e When the RUN
198. pted or the reset switch is turned ON The latch function retains the device data if a the AnSHCPU is reset by turning ON the power b the AnSHCPU is reset using the RUN STOP switch or c a momentary power interruption lasting 20 msec or more occurs The sequence program operation is the same whether or not the data is latched 1 Latch application Even ifa momentary power interruption occurs the processing currently being carried out can continue because the latch function retains the data for production volume number of defective products and addresses 2 Latch devices and latch range setting a The devices whose data can be latched are listed below ak Latch relays LO to L2047 N Link relays BO to B3FF Aa O Counters CO to C255 5 Timers TO to T255 Data registers DO to D1023 6 Link registers WO to W3FF Device data within the latch range is backed up by the battery A6BAT installed in the AnSHCPU 1 The battery is required even when sequence program is stored in a ROM 2 Device data within the latch range is destroyed if the battery connector is disconnected from the AnSHCPU while the AnSHCPU power is turned OFF 4 AnSHCPU MELSEC A 3 Clearing the latched data a Toclear the latched data perform the latch clear operation The latch clear operation also clears unlatched device data as described below After the latch clear operation the data in t
199. ptimal contact to be made either use washers to correct for surface inconsistencies or use an abrasive to level the surfaces The following diagrams show examples of how to provide good surface contact of shield earthing by use of a cable clamp Screw Shield section Clamp fitting VSTO PSA Paint mask f Shielded cabl a Peal the cable insulation off b Sandwich the exposed shield section with the and expose the shield section and earth to the control cabinet over a wide area Note The method of earthing by soldering a wire onto the shield section of the shielded cable as shown below is not recommended The high frequency impedance will increase and the shield will be ineffective Crimp terminal 9 1 2 5 MELSECNET II module The following requirements apply to A1SJ71AR21 A1SJ71BR11 ANNCPUR21 AnACPUR21 1 Always use a triaxial cable for the module The radiated noise in the band of 30 M Hz or higher can be suppressed by using a triax cable Earth the outer shield by the method described in Section 9 1 2 4 Earth this section 2 Always mount a ferrite core onto the triaxial cable Mount the ferrite core near the control cabinet outlet of each cable Use of the TDK ZCAT3035 ferrite core is recommended 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION 9 1 2 6 Ethernet module 1 3 MELSEC A Always earth the AUI cable connected to the A1SJ71E71 B5 The AUl is a shielded cable so remove the out
200. r damage to the module When turning on the power or operating the module after installation or wiring work be sure the module s terminal covers are correctly attached Failure to attach the terminal covers may result in electric shock N CAUTION Be sure to ground the FG terminals and LG terminals to the protective ground conductor Not doing so could result in electric shock or erroneous operation When wiring the PC check the rated voltage and terminal layout of the wiring and make sure the wiring is done correctly Connecting a power supply that differs from the rated voltage or wiring it incorrectly may coups fire or breakdowns Tighten the terminal screws with the specified torque If the terminal screws are loose it may result in short circuits fire or malfunction If the terminal screws are tightened too much it may damage the screws and the module result in short circuits malfunction or cause the module to fall out Be careful not to let foreign matter such as filings or wire chips gear inside the module These can cause fire breakdowns and malfunction Perform correct pressure welding crimp contact or soldering for connectors for the outside using the specified tools See the User s Manual of the corresponding I O module for tools required to perform pressure welding and crimp contact Incorrect connection may cause short circuits fire or malfunction Do not bunch the control wires or communication cables with the ma
201. r month Example 1987 July H8707 e Stores the day and hour in BCD B15 B12 B11 B8 7 B4 B3 BO 2 D9026 Clock data Clock data Day hour Day hour Example 31st 10 O clock H3110 e Stores the minute and second in BCD B15 B12 B11 B8 7 B4 2 D9027 Clock data Clock data Minute second Minute second Example 35 minutes 48 seconds H3548 e Stores the day of the week in BCD B15 B12 B11 B8 t 0 must be set Clock data 0 day of the 2 D9028 Clock data week Day of the week Saturday APP 56 APPENDICES MELSEC A Table 2 22 Special registers list Continued Number Name Stored data Explanation e Set the error item numbers in the ERROR LED display flashing priority setting registers 1 to 4 at D9038 and 5 to 7 at D9039 B15 B12 B11 B8 B7 B4 B3 BO Priority 1 to 4 ab Priority LED display Even when 0 is set Error priority the ERROR LED item Content display is given for No those errors which stop 0 CPU operation parameter setting errors are also included No display is given 1 I O verify and fuse break errors Special function module link parameterk SFC Default parameter and SFC D9038 H4321 operation errors D9039 H0006 3 CHK instruction error Priority 5 to 7 Annunciator F Battery error The numbers of output modules whose f
202. rating or incorrectly wiring the product could result in fire or damage Do not connect multiple power supply modules in parallel Doing so could cause overheating fire or damage to the power supply module If the terminal screws are too tight it may cause falling short circuit or erroneous operation due to damage of the screws or module Tighten the terminal screws with the specified torque If the terminal screws are loose it could result in short circuits fire or erroneous operation Tightening the terminal screws too far may cause damages to the screws and or the module resulting in fallout short circuits or malfunction Be sure there are no foreign substances such as sawdust or wiring debris inside the module Such debris could cause fires damage or erroneous operation WIRING PRECAUTIONS N CAUTION e External connections shall be crimped or pressure welded with the specified tools or correctly soldered For information regarding the crimping and pressure welding tools see the I O module s user s manual Imperfect connections could result in short circuit fires or erroneous operation STARTUP AND MAINTENANCE PRECAUTIONS gt DANGER e Do not touch the terminals while power is on Doing so could cause shock or erroneous operation Correctly connect the battery Also do not charge disassemble heat place in fire short circuit or solder the battery Mishandling of battery can cause overheating or cra
203. rect and refresh modes are explained below Processing in the direct and refresh modes differs only for inputs X and outputs Y Processing for other devices and for special function modules FROM TO instruction is the same in both modes 1 Direct mode I O modules are accessed whenever a CPU executes an instruction with an input X or output Y One scan time at most is necessary from the input status change to the change in the output status which corresponds to the input 2 Refresh mode I O modules are batch accessed before executing step O of the sequence program This is called I O module refresh processing Input module status are read to the data memory input X Data memory output Y status are output to output modules When a CPU executes an instruction with an input X or output Y it only accesses the data memory of the input X or output Y Two scan times at most is necessary from the input status change to the output status change which corresponds to the input When the refresh mode has been selected use the SEG instruction when accessing one segment of an I O module in the same way as with the direct mode The ACPU Programming Manual Common Instructions gives details 4 AnSHCPU MELSEC A 4 1 6 Self diagnosis The self diagnosis function allows the AnSHCPU to detect its own errors Self diagnosis is carried out when the PC power supply is turned ON and if an error occurs while the PC is
204. red trademark of the International Buisiness Machines Corporation M RS 232C RS 422 converter 4 RS 422 cable AC20R4 A8PU A8PUE cable Programming module AC30R4 PUS A7PUS cable Programming module For applicable printers cables and ROM writers see the operating manual for each peripheral device used 2 SYSTEM CONFIGURATION 2 1 2 A1SJHCPU MELSEC A The figure below shows a system configuration and peripheral device configuration when the A1SJHCPU is used independently Battery A6BAT ROM cassette A1SMCA 8KP A1SNMCA 8KP equipped with A1SJHCPU EPROM equipped with E2PROM Extension cable A1SCO5NB Building block type 6 000000000 o 2000000000 Extension base a power supply module Equipped with a power supply module Eqdipp d with a power supply module To peripheral device Thin type I O module A1SJ 5 Input modu Special function module L Power supply module A1S67 N E Output module A Fuse C Special function module 2 SYSTEM CONFIGURATION MELSEC A To A1SJHCPU AC30R4 AC300R4 cable AGWU Rd handy q ACO
205. resentative 1 Calculate and check the scan time of the user program and reduce the scan time by the use of CJ instructions etc Monitor the contents of special register D9005 by using a peripheral device If the contents are other than 0 the line voltage is insufficient Therefore check the power and eliminate the voltage fluctuation 1 Perform reset and RUN If the same error is displayed again it is a PC CPU hardware fault Therefore consult your nearest Mitsubishi representative Among special registers D9116 to D9123 the bit corresponding to the module verify error is set to 1 Therefore monitor the registers by using a peripheral device and check for the module whose bit is 1 When the fault has been corrected reset the PC CPU Check the blown fuse indicator LED of the output module and change the fuse in the module whose LED is ON Checking modules for blown fuses can also be done with a peripheral device Among special registers D9100 to D9107 the bit corresponding to the module with a blown fuse is setto 1 Therefore check by monitoring the registers heck the ON OFF status of the external power supply for the output load 11 TROUBLESHOOTING MELSEC A Error message Error and cause Corrective action Contents of Deaile special error CPU register code status D9008 D9092 BIN The FROM and TO instructions cannot be executed 1 Control bus error in the special function mo
206. rive by non e Connect an appropriate resistor which will contact switch make the voltage across the terminals of the input module lower than the OFF voltage value AC input AC input Input signal Example does not turn Leakage current Input module 1 Input OFF module Power supply It is recommended to use 0 1 to 0 47 uF 47 to 120 Q 1 2 W for the CR constant Drive by a limit switch with neon lamp Same as Example 1 ACi Or make up another independent display input circuit Example oe not tum 2 l OFF nput module Lo Power supply l o Power supply j Power supply Drive by switch with LED indicator Connect a register which will make the voltage between the input module terminal and common higher than the OFF voltage as shown below DC input sink DC input sink Example Input signal RR 4 E not tum Leakage Resistor Input current Input module module An example calculation of a value for a connected resistor is given on the following page Leakage current due to line capacity of wiring cable Same as Example 1 Line capacity C of twisted pair wire is approx 100 However leakage current is not generated PF m when the power supply is located in the input equipment side as shown below AC input Input signal AC input ae does not turn OFF Input module i i Input an RE i AN module 11 15 11 TROUBLESHOOTING MELSEC A Table 11 2 Input circuit problems and corre
207. ror When an END instruction is executed I O module verify Not checked when M9084 is ON UNIT VERIFY ERR When an END instruction is executed Fuse blown FUSE BREAK OFF Not checked when M9084 is ON menor When power is switched ON or a reset is executed Link modul ER When switched from STOP PAUSE to RUN I O interruption error When an interruption occurs Special function module When power is switched ON or a reset is executed assignment When switched from STOP PAUSE to RUN Special function module Ara When a FROM TO instruction is executed Es When power is switched ON or a reset is executed Link t erect ES When switched from STOP PAUSE to RUN run Battery error At any time not checked When M9084 is ON Battery low LINK UNIT ERROR 1 0 INT ERROR SP UNIT LAY ERR SP UNIT ERROR LINK PARA ERROR BATTERY ERROR Operation check error When the corresponding instruction is executed OPERATION ERROR Special function module error When a FROM TO instruction is executed CONTROL BUS ERR Control bus check Special function module When a FROM TO instruction is executed SP UNIT DOWN error Stop Flashing Run Run 4 AnSHCPU MELSEC A 4 1 7 Devices A device is any contact coil or timer used in PC program operations AnSHCPU devices and their range of use are shown below The items marked can be used and set for range change by setting the parameters Set parameters which are appropriate for the syste
208. ry 32 O14 A1SD62E 100 k BPS 2 channels Special 32 point A1SD62D 24 bit binary 32 100kBPS 2chamels Special 32 point For master or local station of are MELSECNET Il optical data link For master or local station of apa MELSECNET Il data link module system GI type optical fiber cable For master or local station of ada MELSECNET Il coaxial data link For remote I O station of A1SJ72T25B MELSECNET B data link system For control station master station and local station of the MELSECNET 10 A1SJ71LP21 data link module system For Sl type optical fiber cable double loop For control station master station and A1SJ71BR11 local station of the MELSECNET 10 data link module system For coaxial cable single bus For the master station of the C C Link data link system A1SJ61BT11 Dedicatedly for shielded twisted pair cable Used to control up to 64 A1SJ71PT32 MELSECNET MINI S3 master stations MELSEC 3 ee remote I O points and NET MINI MELSECNET MINI S3 master station Remote I O and remote terminal controls are performed for a total of 512 I O points with maximum of 64 stations Dedicatedly for twisted pair cable MELSECNET I O LINK master station Performs I O LINK remote I O module A1SJ51T64 control for a total of 128 I O points with maximum of 16 stations I O simulation module used by connecting to the basic base Desktop E debugging is possible without installing Simulation ASSIM the I
209. s I l J l RY area I RY l i l 4 D 6 Refresh I t gt gt 0 7 points l l l RW area RW Refresh I D D 9 D 10 RWr lt t 8 RWr c gt 11 points RWw T gt RWw I J l SB area l SB m I gt 1 14 12 13 Oe Refresh i a S a gt D 15 points l b I P l SW area i SW PO 2 k 17 D 16 pair oia Refresh l Bm lt gt gt 0 19 points l I bil l x I L 2 When the RRPA instruction is executed the automatic refresh settings are registered to the ANSHCPU and automatic refresh is performed between the AnSHCPU and master local module 3 The following table indicates whether refreshed devices may be set or not DO Sm De wv ew se ow pr ee ee ee lt Y Y e a a EE o J e r T EE T Y A N i Bi i F J Y May be set x Cannot be set APP 13 APPENDICES MELSEC A 1 Set the range which is not being used by the main base extension base and data link 2 Set B and W in the range not used by data link 4 If the automatic refresh parameters are changed RRPA instruction is executed during RUN new data is not used for control When the AnSHCPU is switched to STOP PAUSE then to RUN the new automatic refresh parameters are used for refreshing Set RWr and RWw areas in the RW area Since the RWw area is set after the RWr area reserved for 64 stations set RWw as shown bel
210. s tude etcbesvseet entesteusededetrsveaeeteeesese 3 1 ATSHIGPU ii 20 cscs sec e cases POA RA RASA SINCERA PERA DR che PED PESA SR sca ce areas cna ee een cede 4 1to 4 46 4 1 Performance Specifications cccccccceesceceeeeeeeeeeeeaeeeenaeeeeeeeceeaeseeaaecaaeseeeeseaaeseeaaeseeneeseaee 4 1 4 1 1 AnSHCPU operation processing eee rama 4 3 4 1 2 Operation processing in the RUN STOP PAUSE status 4 5 41 3 Watchdog timer WDT ivi c 8iic tice cine ieee niche itd da a a Sa ees 4 6 4 1 4 Operation processing when a momentary power interruption oceurs 4 8 44 5 VO control Method ssa smsias sets cassia hee ete ave ees a aaa chard LS a aa ASS tab ence arado 4 9 4 16 SOlf CIAQGMOSIS 1 222295 sereia casa aaa rr siete va stecneshadaecsy ted danas ceasebacdes pa CURA ae aidaa haa aia tad a 4 10 dl DQVICOS ise seis A AEAEE E totes th ashe th tants AAE AOAR OEA PAEROA arcades 4 12 4 1 8 Parameter setting ranges eter eset eeneee eee eeaeeeeeeaeeeeetaeeeetaeeeeeeenaeeeeneaa 4 14 4 1 9 Memory capacity settings main programs file registers comments etc 4 16 AiO FUNCHONS E E O EEE D E PNE ETE E E I T ETT 4 18 420 Constant scan esitusi niea raaa ae aa anae ATAA Era ar aea aaa 4 19 4 2 2 Power interruption compensation for device data in the AnSHCPU EAT CH function a Survei diih i aasa ii i ia aa i e eae 4 22 4 2 3 Running and stopping the AnSHCPU using external devices remote RUN STOP fu
211. s unique to each model Memory cassette installation position A1 SHCPU A2SHCPU S1 Left side 1 Installing a memory cassette A1SJHCPU A1SJHCPU Front Hook catch A1SHCPU Memory cassette Hook catch a Hold the memory cassette vertically so that its model name is right side up and its connector faces the ANSHCPU module Insert the memory cassette all the way in the AnSHCPU module so that the hooks of the memory cassette are completely engaged they will click b Make sure the hooks are completely engaged 7 MEMORY ICs AND BATTERY MELSEC A 2 Removing a memory cassette Hook releasing lugs gt A1SHCPU A1SHCPU Hook releasing lugs A1SJHCPU gt A1SJHCPU a Pull out the memory cassette while pushing the hook releasing lugs that are provided at the top and the bottom of the memory cassette 7 MEMORY ICs AND BATTERY MELSEC A 7 1 4 Writing a sequence program to a memory cassette A sequence program can be written to or erased from an A1SMCA 8KP or A1SNMCA 8KP using a ROM writer eraser If a memory cassette is installed in the ROM socket of an AGGPP or A6WU use either of the following memory write adapters CPU model Memory cassette model Memory write adapter A1SHCPU A1SNMCA 8KP A6WA 28P A1SJH A1SHCPU A1SMCA 8KP A1SNMCA 8KP A6WA 28P When writing to an A1SHCPU A1SJHCPU using an AGWU series P ROM writer module
212. scan time 32768 to 0 1 to 200 10 to 2000 msec 201 to 32767 2000 msec 4 AnSHCPU MELSEC A b The watchdog timer setting must be greater than the constant scan time setting If the watchdog timer setting is smaller than the constant scan time setting a WDT error might occur The relationship between the constant scan time setting and the watchdog timer setting is indicated below Constant scan time setting lt WDT setting 1 c The set constant scan time must be greater than the maximum scan time of the sequence program If the sequence program scan time is longer than the constant scan time the constant scan function will not be executed correctly Constant scan setting Constant 9 10 20 30 40 10 20 30 40 10 20 30 40 10 2 t t t t t t t t t t t t scan END 0 END 0 0 Sequence E EH program 35 msec 35 msec 34 msec 6 msec 40 msec 40 msec gt 37 msec constant scan cannot be executed correctly in the succeeding scan kg Scan in which constant scan is not executed correctly Fig 4 5 Scan timer larger than constant scan setting 3 Setting for constant scan execution a Constant scan execution A constant scan time setting is written to D9020 using the sequence program or a peripheral device 1 200 b Constant scan not executed The value 0 is written to D9020 using the sequence program or a peripheral device 4 AnSHCPU MELSEC A
213. se will be induced into the input side wires from which the noise was filtered Input side Input side power supply side power supply side Introductio Filter Output side Output side device side device side a The noise will be included when the b Separate and lay the input input and output wires are bundled and output wires 2 Earth the noise filter earthing terminal to the control cabinet with the shortest wire possible approx 10 cm 3 94 in 9 2 Requirement to Conform to the Low Voltage Instruction The low voltage instruction one of the European Instructions is now regulated The low voltage instruction require each device which operates with power supply ranging from 50 V AC to 1000 V and 75 V DC to 1500 V to satisfy necessary safety items In the Sections from 9 2 1 to 9 2 8 cautions on installation and wiring of the MELSEC AnS series PC to conform to the low voltage instruction regulation are described We have put the maximum effort to develop this material based on the requirements and standards of the regulation that we have collected However compatibility of the devices which are fabricated according to the contents of this manual to the above regulation is not guaranteed Each manufacturer who fabricates such device should make the final judgement about the application method of the low voltage instruction and the product compatibility 9 2 1 Standard applied for
214. shown below when the LEDA instruction is used the RITO instruction is executed every scan while the write command is ON When the LEDB instruction is used the RITO instruction is executed only one scan on the leading edge OFF gt ON of the write command Instruction Instruction Instruction Instruction Instruction Execution Execution Execution Execution Execution Write command RITO with LEDA RITO wth LEDB Either of the following conditions will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of refresh points is greater than 8192 The buffer address specified is outside the range of automatic updating buffer memory designation range 50 503 APP 20 APPENDICES MELSEC A Program Examples The following program writes ABCDEFGHIJ to 200H and subsequent addresses of the automatic updating buffer memory for the station set to station number 1 in the master module of CC Link allocated to I O numbers 000 to 01F X0020 PK ot MOV 5 Dio rn aaa points written PH MOV 4142 D11 H Setting of written data AB rm rh PH MOV 4344 D12 Setting of written data CD PH z MOV 4546 D13 H Setting of written data EF PH MOV 4748 D14 H Setting of written data GH rm rh PH MOV 494A D15 Setting of written data IJ E gt _LLEDB RITO TSUB 0000 SUB 1 H H H H E SUB 0200 H p RITO instruction designa
215. si Struct ris soa ees iakass N soa DIA Da Dn AR O 7 7 POPA N E E eco rca salsa satis hs ceeds E S E Uia ERA sofa bh dn e oa ua a ES 7 7 LOADING AND INSTALLATION cccseeeeseseeesneeeeneeeneeeeseeeeeseeeenseeeeseaeseaeseseeeseeseeeneas 8 1to 8 16 Bal Safety Considerat ON a T a a a laveeegasee ie aceite aaa aa aE aaa ARO abunda asd 8 1 8 2 Installation Environment sci ic cccgecsccieuicscescneseceguescasaaeadbacntecksnausncesasedecssusaneeveneeaachsshdecavenaeeacs 8 5 8 3 Calculation of Heat Generated by the Programmable Controller System 8 5 8 4 Modul Mountihg serias ierre aenaran SAARE oda A nA AREAKO ERRANS KOAA RE KA AA REAN AE kara EARE EERE ATR 8 8 SAt Mouning mstructonS e n a AAE EAT E A 8 8 84 2 Installation EEEE TE A E E EE ale S EE de ees 8 9 8 5 Installation and Removal of Module aerea 8 10 8 6 Installing and Removing the Dustproof Cover seara 8 12 SE A ALLO 8 re da ra a creer cee pre scare tr cern a a a O creer creer eerceeeereee cere 8 13 Sr Wirioginstuctions seres krr R EAA EE A SAET Ea 8 13 8 7 2 Wiring to module terminals seau n RE RRES EAEE 8 16 8 8 Precaution when Connecting the Uninterruptive Power Supply UPS 8 16 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION sson nn 9 1to9 11 9 1 Requirements for Compliance to EMC Directive 89 336 EEC cccccccsseeeeeseeteeeeeeeeeeees 9 1 G
216. slots between any two modules If there is an open slot on the left side of a module with 100 200 V AC rating the printed board which contains the hazardous voltage circuit becomes bare When it is unavoidable to make an open slot be sure to install the blank module A1SG60 When using the A1S50B expansion base with no power supply attach the cover packaged with the expansion base to the side of the leftmost module 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A 9 2 6 Grounding There are two kinds of grounding terminals as shown below Either grounding terminal must be used grounded Be sure to ground the protective grounding for the safety reasons Protective grounding Maintains the safety of the PC and improves the noise resistance Functional grounding D Improves the noise resistance 9 2 7 External wiring 1 24 V DC external power supply For special modules that require a 24 V DC I O module or external power supply use a model whose 24 V DC circuit is intensively insulated from the hazardous voltage circuit 2 External devices When a device with a hazardous voltage circuit is externally connected to the PC use a model whose circuit section of the interface to the PC is intensively insulated from the hazardous voltage circuit 3 Intensive insulation Intensive insulation refers to the insulation with the dielectric withstand voltage shown in Table 2 Table 2 Intensive Insulation Withs
217. speed instruction processing APP 62 Appendix 3 3 5 Handling conventional memory cassettes i APP 62 Appendix 3 3 6 Switching from the A2SMCA 14KP when A2SCPU A2SMCA 14KP has been used APP 62 Appendix 3 3 7 Restrictions in microcomputer programs APP 63 Appendix 4 CE Marking Compatible Module for Compact PC APP 63 Appendix 5 Instruction Processing Time reeeeaaereeaarramanaanna APP 64 Appendix 6 Outside Dimensions srs nto sara elec adieu ee Sonda LDO oa rave ete Ae APP 76 Appendix6 1 GPU Mod le irane tegen eorna aaae anea aaa shied atue aaa naaa nia APP 76 Appendix 6 1 1 A1SHCPU A2SHCPU S1 module APP 76 Appendix 6 1 2 A1SJHCPU module serrana APP 76 Appendix 6 2 A1S61P A1S62P A1S63P A1S61PEU A1S62PEU A1S61 PN A1S62PN Power Supply Module seara APP 77 Appendix 6 3 Main Base Units erre era EEAS TER EA APP 78 Appendix 6 3 1 A1S32B main base unit rrenan APP 78 Appendix 6 3 2 A1S33B main base unit rrenan APP 78 Appendix 6 3 3 A1S35B main base unit rrenan APP 79 Appendix 6 3 4 A1S38B main base unit rrenan APP 79 v Appendix 6 4 Extension Base Units ee aarraaareaee aerea APP 80 Appendix 6 4 1 Appendix 6 4 2 Appendix 6 4 3 Appendix 6 4 4 Appendix 6 4 5 Appendix 6 4 6 Appendix 6 4 7 Appendix 6 4 8 Appendix 6 4
218. ssing e Reads clock data in BCD to D9025 D9028 when M9028 is request ON Read request switched on 0 1 second clock 0 2 second clock 0 1 second 0 2 second 1 second 2 second and 1 minute clocks are generated Not turned on and off in synchrony with the scan cycle but even during a scan if the corresponding time has elapsed Starts when power is turned on or reset is performed 1 second clock 2 second clock 1 minute clock Normally ON Do Used as dummy contacts for initialization and application instructions in sequence program Normally OFF M9036 and M9037 are switched on off independently of the CPU RUN STOP switch position M9038 and M9039 are switched on off in accordance with the RUN STOP switch position i e switched off when the switch is set to STOP When the switch is set to a position other than STOP M9038 is only switched on during 1 scan and M9039 is only switched off during 1 scan On only for 1 scan after run PAUSE disasied When RUN ki itch is at PAUSE iti t en ey switch is a position or remote pause RAUSE gnabled contact has turned on and if M9040 is on PAUSE mode is set During pause and M9041 is turned on PAUSE status contact Not during pause M9042 Stop status contact During stop e Switched on when the RUN STOP switch is set to STOP Not during stop Nana sampling trace e Turned on upon completion of sampling trace performed the ae Sampling trace number of times pr
219. studied about the electric facility and have enough knowledge can open it b The control box must have a structure which automatically stops the power supply when the box is opened Dustproof and waterproof features The control box also has the dustproof and waterproof functions Insufficient dustproof and waterproof features lower the insulation withstand voltage resulting in insulation destruction The insulation in our PC is designed to cope with the pollution level 2 so use in an environment with pollustion level 2 or below Pollution level 1 An environment where the air is dry and conductive dust does not exist Pollution level 2 An environment where conductive dust does not usually exist but occasional temporary conductivity occurs due to the accumulated dust Generally this is the level for inside the control box equivalent to IP54 in a control room or on the floor of a typical factory Pollution level 3 An environment where conductive dust exits and conductivity may be generated due to the accumulated dust An environment for a typical factory floor Pollution level 4 Continuous conductivity may occur due to rain snow etc An outdoor environment As shown above the PC can realize the pollution level 2 when stored in a control box equivalent to IP54 Installing modules contiguously In AnS series PCs the left side of each I O module is left open When installing an I O module to the base do not make any open
220. t before releasing or selling products within Europe after that date have either a CE mark attached to their goods Testing to comply with the directive is done by use of agreed European standards which define limits for radiated and mains conducted electromagnetic emissions from equipment levels of immunity to radiated emissions ability for equipment to cope with transient voltage surges and electro static discharges When installed in the specified manner this unit will be compliant with the relevant standards EN50081 2 and prEN50082 2 as applicable in the EMC directive Failure to comply with these instructions could lead to impaired EMC performance of the equipment and as such Mitsubishi Electric Corporation can accept no liability for such actions 9 1 1 EMC standards When the PC is installed following the directions given in this manual its EMC performance is compliant to the following standards and levels as required by the EMC directive Specifications Test Item Test Description Standard Values EN55011 Measure the electric wave 30 M 230 M Hz QP 30 dBu V m 30 m measurement 1 Radiated noise released by the product 230 M 1000 M Hz QP 37 dBu V EN50081 2 1995 30 000 z QP 37 dBu V m 30 m measurement EN55011 Measure the noise released 459 K 500k Hz QP 79 dB Mean 66 dB 1 Conduction noise RR product to the power 500 K 30M Hz QP 73 dB Mean 60 dB IEC801 2 Immunity test by applying 4k V contact discharge Static electricity
221. ta D9028 Day of the week Day of the Sun Mon Tue Wed Thu Fri Sat week data 4 AnSHCPU MELSEC A 4 Clock data setting to the clock devices a Store the clock data in D9025 to D9028 in BCD code b When M9025 is turned ON clock data stored in D9025 to D9028 is written to the clock device Clock data is not set at factory shipment clock data must be once set if the clock function is necessary All clock data must be rewritten to the clock device even when part of the clock data needs to be changed Normal clock operation cannot be performed if invalid data is written Month 13 Day 32 5 Clock data read Clock data can be read to D9025 to D9028 from the clock device by turning on M9028 6 Clock data write program example Request to write Se move H9202 59025 Year 92 Month 02 move Ho111 D9026 Day 1 Hour 11 MOVP H3524 D9027 Minute 35 Second 24 move H5 D9028 Tue 5 4 AnSHCPU MELSEC A 4 3 Handling Instructions This section gives handling instructions from unpacking to installation of the AnSHCPU I O module extension base unit etc 1 Since the case terminal block connector and pin connector of this PC are made of plastic do not drop them or subject them to mechanical shock 2 Do not remove the printed circuit board of any module from its case Removal may cause board damage 3 When wiring take care to
222. tage Remains on if battery voltage becomes normal e Turned on when error is found as a result of self diagnosis e Turned on when OUT F or SET F instruction is executed Switched off when D9124 value is set to 0 e Turned on when an operation error occurs during execution of an application instruction Turned off when the error is eliminated e Turned on when an operation error occurs during execution of an application instruction Remains on when normal status is restored e Carry flag used in application instruction e Clears all data memory except special relays and special registers in remote run mode from a computer for example when M9016 is 1 Clears all unlatched data memory except special relays and special registers in remote run mode from a computer for example when M9017 is 1 Relay which repeats on off at intervals of the predetermined scan When the power is turned on or reset is performed the clock starts with off Set the intervals of on off DUTY instruction Duty nt n2 m20 Writes clock data from D9025 D9028 to the clock devices after the END instruction is executed in the scan in which M9025 is switched on APP 51 APPENDICES MELSEC A Table 2 1 Special Relay List Continued Tambor Nene Gemini tals TT M9026 Clock data error OFF Normal e Switched on when a clock data D9025 to D9028 error ON Error occurs 2 M9028 Clock data read OFF No proce
223. tand Voltage Installation Category Il source IEC664 Rated voltage of hazardous voltage area Surge withstand voltage 1 2 50 us 150 V AC or below 2500 V 300 V AC or below 4000 V 10 MAINTENANCE AND INSPECTION MELSEC A 10 MAINTENANCE AND INSPECTION This chapter describes items to be checked in daily and periodic maintenance and inspection in order to maintain the programmable controller in the normal and optimum condition 10 1 Daily Inspection Table 10 1 shows the inspection and items which are to be checked daily Table 10 1 Daily inspection No Check item Check point Judgement Base unit Check for loose mounting mounting screws conditions and cover Mounting Check if the conditions of module S O module disengaged and if the hook is securely engaged Check for loose Screws should not be Retighten terminal screws loose terminal screws Check distance The proper clearance Connecting between should be provided conditions Solderless between Solderless terminals terminals The base unit should be securely mounted Retighten screws The hook should be securely engaged and Securely engage the module should be the hook etc positively mounted Correct Retighten connector mounting screws Check connectors Connections should no of extension cable be loose POWER Check that the ON See Section LED LED is ON OFF indicates an error 11 2 2 RUN Check that the ON See Sections
224. tant designated is the master station e Random access buffer FFH Intelligent device station s sending receiving buffer address specified in master station Specify the offset address Device which will store the LEDC SUB LEDR read data Number of points read 1 to 8192 Functions 1 Reads the points of data specified at from the automatic updating buffer memory address specified at n3 for the station having the station number specified at nD in the master module specified at nf and stores that data into the devices starting from the one specified at fo instruction execution range a Intelligent device AnSHCPU flocal station n2 H RIFR instruction Mater station 1 Transferred when data is updated Automatic updating lt buffer memory Specified device J APP 17 APPENDICES Execution Conditions Operation Errors Program Examples MELSEC A 2 When executed the RIFR instruction reads data from the automatic updating buffer of the master module 3 Up to 8192 points may be read by the RIFR instruction 4 To set the number of automatic updating buffer memory points make the automatic updating buffer size setting using the network parameter instruction RLPA instruction As shown below when the LEDA instruction is used the RIFR instruction is executed ever
225. the system and cannot be changed by the user If RX RY and RW are changed by the user the RIRVC instruction will not be completed properly APP 32 APPENDICES Functions 1 MELSEC A Reads the points of data specified at 1 from the buffer memory address specified at D1 3 n the intelligent device station having the station number specified at n2 ang connected to the master module specified at n1 and storesthab data into the devices starting from the one specified at D1 4 On completion of reading the bit device specified at 2 switches on only one scan On abnormal completion the bit device at OD 1 switches on only one scan r instruction execution range AnSHCPU Mater module GD Intelligent device station Q H RIRCV instruction 4 Specified device Request Read from buffer memory Interlock signal 0 1 3 Buffer memory 1 li 4 The RIRCV instruction may be executed for two or more intelligent device stations at the same time However this instruction cannot be executed for the same intelligent device station in two or more locations at the same time Before executing the RIRCV instruction set the network parameters using the RLPA instruction network parameter setting If the RIRCV instruction is executed without the network parameters set abnormal completion will occur and 4B00H will be stored into the
226. ther flashing or ON by using peripheral devices 2 The LED Display Message column in Table 4 2 lists messages displayed by the peripheral devices PC diagnosis 4 AnSHCPU MELSEC A Table 4 2 Self diagnosis CPU RUN LED Diagnosis Diagnosis timing status LED display message status Memory error When the corresponding instruction is executed INSTRUCT CODE When power is switched ON or a reset is executed Parameter setting check PARAMETER ERROR When switched from STOP PAUSE to RUN PARAMETER ERROR When M9056 or M9057 is switched ON No END instruction MISSING END INS When switched from STOP PAUSE to RUN Stop Flashing MISSINGEND INS Instruction execution When CJ SCJ JMP CALL P FOR and NEXT disable CAN T EXECUTE P instruction is executed When switched from STOP PAUSE to RUN Pormat i When switched from STOP PAUSE to RUN CHK FORMAT ERR CHK instruction check Instruction execution When an interrupt occurs CAN T EXECUTE I disable When switched from STOP PAUSE to RUN CPU error When power is switched ON or a reset is executed RAM ERROR RAM check When M9084 is switched ON during STOP Operation circuit check When power is switched ON or a reset is executed OPE CIRCUIT ERR Watchdog error check When an END instruction is executed Stop Flashing ion i WDT ERROR END instruction not When program processing reaches the end of the END NOT EXECUTE executed program Endless loop execution At any time WDT ERROR I O er
227. ting PH MOV 0001 D301 H RW setting TLEDB RISEND H SUB 0000 K TSUB 1 CLEDC D200 RISEND instruction designation TLEDC D300 TLEDC M300 PL LEDR J CIRCUIT END APP 38 APPENDICES MELSEC A ea 3 mooz moon eT Fel ee POE TL Ove ETE 26 Fes LEE eteolole EEE Available device Word device Digit designation Number of steps Command Data fo be s t LEDA LEDB RDGET Executed while ON Eae Se Executed at leading edge Head I O number of object SUB nt Device number designated master module SUB O Constant designated Remote device station number 1 to 64 LEDS Device for storing control data LEDC and read data Bit device number which is switched on on completion of execution Control Data 1 Control data setting items Set value Number of points read Stores data read from remote device station Read data storage area r on completion of RDGET instruction execution Number of points specified at 3 2 Number of control data area points Data read from a remote device station is stored into the area after the 4 points of control data DD 0 to 3 Reserve the control data area for 4 points number of points specified at 3 successively r Control data APP 39 APPENDICES Functions MELSEC A 3 Control data settings RE a 3 range end RY readreq
228. tion 0004H User area e Set 2004H when accessing the random 2004H access buffer memory of a local station Buffer memory address Specify the head address of the buffer memory Written data O ter i 1 1 For error codes at error occurrence refer to the following manual Control amp Communication Link System Master Local Module type AJ65BT11 A1SJ61BT11 User s Manual 2 2 Indicates the maximum number of data written Set a value within the remote station buffer memory capacity and parameter set receiving buffer area setting range 3 3 Refer to the manual of the remote station to which data is written When specifying the random access buffer memory set the address with the head of the random access buffer memory defined as 0 Functions 1 Writes the points of data specified at 1 from the devices beginning with the one specified at 4 to the buffer memory address specified at OD 3 in the remote station having the station number specified at aD and connected to the master local module specified at nt and stores that data into On completion of writing the bit device specified at OD switches on only one scan On abnormal completion the bit device at 1 switches on only one scan RIWT instruction execution range REG RA SER ER RR CREU O RE SN E A NO RA A PS RR DD RR TR E q Master local AnSHCPU module nt Remote station n2 RIWT instruction Specified device 2 The RIWT instruction may be exe
229. tion r LEDC D10 H H K SUB 6 L e LEDRH J CIRCUIT EN APP 21 MEMO APP 22 APPENDICES MELSEC A 1 1 6 Read from remote station buffer memory RIRD Available device Bit device Word device Subset_ i Digit designation Data to be set Command nt Head I O number of object LEDA LEDB RIRD Executed while ON master local module Executed at leading edge SUB QD Device number designated SUB O Constant designated LEDC Device for storing control data LEDC and read data Bit device number which is switched on on completion of execution Remote station number e When the host station is the master station 1 to 64 e Local station 0 to 64 Control Data 1 Control data setting items A Completion status Number of points read f Control data Remote station s object area Buffer address lt Stores data read from remote stationon Read data storage area r completion of RIRD instruction execution Number of points specified at D 1 Pd 2 Number of control data area points Data read from a remote station is stored into the area after the 4 points of control data DD 0 to 3 Reserve the control data area for 4 points number of points specified at 1 successively 1 A remote station is a generic term for an intelligent device station and a local station AP
230. to ON error 104 results The LEDC SUB LEDR is processed as a regular Same as stated on left instruction LEDA LEDB was deleted by mistake If the previous contact stays after write the instruction is not LEDC SUB was added by Error 104 occurs executed so no process is mistake incorrect configuration performed When the previous contact is turned from OFF to ON error 104 results If the previous contact stays after write the instruction is not LEDC SUB was deleted by Error 104 occurs executed so no process is mistake incorrect configuration performed When the previous contact is turned from OFF to ON error 104 results LEDR was added by mistake The latter LEDR is processed The latter LEDR is processed as a regular instruction as a regular instruction Error 104 occurs if LEDR does Error 104 occurs if LEDR does not exist directly after the LEDR was deleted by mistake not exist directly after the deleted LEDR deleted LEDR If LEDR exists all instructions in between are not executed APP 50 APPENDICES MELSEC A Appendix 2 Special Relay Special Register List Appendix 2 1 Special Relay List 1 Special relay list Special relays are internal relays whose uses are determined inside the PC Therefore they cannot be turned ON OFF as coils is a program Except for 1 and 2 in the table Table 2 1 Special relay list rumoer Name espia om GEE Normal ff e Turned on when there is o
231. trol method and for setting the memory protect function See Sections 4 4 2 and 4 4 3 Battery connector e For connection to the battery 10 Memory casseto e For installing the memory cassette installing connector 11 POWER LED e 5V DC power display LED 12 Base installation hole e Hole to install the base unit to a panel such as a control board M5 screw 13 a input e Connectthe 100 V AC or 200 V AC power for the power input terminal 14 LG terminals e Power filter grounding terminal Has half the voltage level of the input voltage 15 FG terminals e Grounding terminal connected to the shielding pattern on the print board 16 DIN rail e DIN rail installation hook 2 17 R 422 connector e RS 422 connector cover cover e Connector to install the I O module or special module Module connector For the connector not for module installation install supplied connector cover or blank cover A1SG60 to prevent dust entry o Ra cable e Connect the extension cable with the signal send receive connector with the extension base unit e Extension connector protective cover 20 Base cover To extend the area surrounded by the groove below the OUT sign on the base cover must be removed using tools such as a nipper 21 Module fixing screws e Screws to fix the module to the base M4 x 12 screws 4 AnSHCPU MELSEC A 4 4 2 I O control switch setting The I O control system uses either the direct mode or
232. ts 4 If the setting of an extension base unit has been omitted make the allocation on the assumption that each of the eight slots of the relevant base unit occupies 16 input output points 5 Items 2 to 4 can be changed by performing I O allocation For details see the ACPU Programming Manual Fundamentals 2nd extension System configuration stage 3rd extension stage Power supply module 2 SYSTEM CONFIGURATION MELSEC A 2 4 2 A1SJHCPU This section describes the system configuration numbers of I O points I O allocations etc for a stand alone A1SJHCPU system A1SJHCP Extension cable SJHGPU teann Extension base unit A1S58B S1 cae 9 10 11 12 13 14 15 System configuration To 2nd and 3rd extension base units Can be used by allocating I O points To 2nd and 3rd extension base units Can be used by allocating I O points In this example a 16 point module is installed at each slot mena me O o Three extension stages Maximum number of 256 input output points i i A1S52B S1 A1S55B S1 A1S58B S1 A1S65B S1 A1S68B S1 A52B A55B A58B A62B Extension base units A65B A68B Extension cabl A1SC03B A1SC07B A1SC12B A1SC30B A1SC60B A1SC01B AC06B AC12B AC30B TSON canes A1SCO5NB A1SC07NB 1 If using a type of extension base unit for A1S use other than the S1 type only one extensi
233. ubleshooting then turn the RESET switch to clear the error 4 AnSHCPU MELSEC A 4 1 4 Operation processing when a momentary power interruption occurs When voltage supplied to the power supply module is below the specified range the AnSHCPU detects a momentary power interruption When the AnSHCPU detects a momentary power interruption the following operations are executed 1 Momentary power interruption within 20 msec a Program processing is stopped and the output is retained b Program processing is resumed when the power is restored c The watchdog timer WDT continues counting even while the operation is stopped For example if a momentary power interrutption of 20 msec occurs when the scan time is 190 msec a watchdog timer error 200 msec occurs 2 Momentary power interruption over 20 msec The AnSHCPU is reset and returns to the initial start status The necessary operations are the same as when the CPU power is turned ON or when the CPU is reset Momentary power interruption occurrence Power supply END 0 END 0 END n A The AnSHCPU stops operating Fig 4 2 Operation processing when a momentary power interruption occurs 4 AnSHCPU MELSEC A 4 1 5 I O control method The I O control method for the AnSHCPU can be selected as either of the following two modes using the I O control switch 1 Direct mode for both input and output 2 Refresh mode for both input and output The di
234. uet owi User RWw Readrequest Oww User Rx Readcompeton 0t127 User Rwr Readcompletion 0tw15 User Set value Specify the reading set value allocated to the 4 eer remote device station Number of points read Specify the number of data read word basis Refer to the manual of the remote device station from which data is read The RY RWw RX and RWr numbers used are set by the user Note that RY and RX ON OFF control and RWw and RWr data setting are performed by the system The user cannot perform RY and RX ON OFF control and RWw and RWr data setting 1 Reads the points of data specified at 1 3 from the link registers in the remote device station having the station number specified at 2 and connected to the master module specified at and stores that data into the devices starting from the one specified at O1 4 On completion of reading the bit device specified at D2 switches on only one scan On abnormal completion the bit device at 2 1 switches on only one scan 2 RDGET instruction execution range AnSHCPU Mater module ni Remote device station n2 RDGET instruction DD 4 Specified device Request Read Remote registers 2 The RDGET instruction may be executed for two or more intelligent device stations at the same time However this instruction cannot be executed for the same intelligent device station in tw
235. ule When an A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B is used the power is supplied from the power supply module of the main base unit This point should also be taken into consideration See Section 2 3 for details of the 5 V DC current consumptions of I O modules special function modules and peripheral devices Power supply module HH CPU 1 __ I O modules A1SX10 A1SY10 etc __ Special funcntion modules Peripheral device A1SD61 A1SD71 S2 etc AD71TU _ Peripheral devices A Nice a pee of A8PUE A6WU etc e peripheral device to be con nected to the special function module into consideration When an AD71TU is connected to an A1SD71 S2 the current consumption of the AD71TU must be counted in Power supply module when an extension base A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B is used When an extension base A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B is used the 5 V DC is supplied from the power supply module of the main base unit through the extension cable Note the following points regarding the use of an extension base from among A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B and A58B a Select a power supply module for the main base unit whose 5 V DC capacity can cover the 5 V DC current consumption of the A1S52B S1 A1S55B S1 A1S58B S1 A52B A55B or A58B Example When the 5 V DC current consumption by the main base unit is 3 A an
236. usceptible to noise In addition since the LG terminals have potential the operator may receive an electric shock when touching metal parts A1S61PN and A1S62PN do not need to be switched as the are 100 240 V AC wide range 5 V DC line O O Extension base unit A1S68B S1 100 110 V AC 200 220 V AC 5 V DC line A1S61PN O oloo looo O Nc O Nc Os Drs Olgo O INPUT 4100 240 V AC Ground Precaution when Connecting the Uninterruptive Power Supply UPS Be sure of the following items when connecting the AnSHCPU system to the uninterruptive power supply abbreviated as UPS hereafter Use a UPS which employs the constant inverter power supply method with 5 or less voltage fluctuation Do not use a UPS with the constant commercial power supply method 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION MELSEC A 9 EMC DIRECTIVE AND LOW VOLTAGE INSTRUCTION 9 1 Requirements for Compliance to EMC Directive 89 336 EEC The EMC Directive 89 336 EEC will become mandatory within Europe from January 1st 1996 The EMC directive in essence defines the amount of electromagnetic output a product is allowed to produce and how susceptible that product is to electromagnetic interference Any manufacturer or importer of electrical electronic apparatus mus
237. uses have blown or whose external power supply is OFF are input as a bit pattern in modules of 16 points If the module numbers are set by parameter the output is in the form of the parameter set numbers 15 1413 12 1110 9 8 7 6 5 4 3 2 Bit pattern in units of 16 points indicating the modules whose fuses have blown 1 D9100 Fuse blown module t__ Indicates fuse blown The pattern is not cleared even if the module recovers Therefore it must be cleared using a program The module numbers of the I O modules whose information differs from the I O module information registered when the power was turned ON are set in modules of 16 points If the I O module numbers are set by parameter the output is in the form of the parameter set numbers 15 14 13 12 11 10 9 8 765 4 3 2 1 Input Output Bit pattern in units of 16 module points indicating the modules verification error with verification errors D9117 0 Indicates I O module verification error The pattern is not cleared even if the module recovers Therefore it must be cleared using a program APP 57 APPENDICES MELSEC A Table 2 22 Special registers list Continued Number Name Stored data Explanation e When one of FO to 255 is turned on by OUT F or SET F 1 is added to the contents of D9124 When the RST F or LED R Anunciator Annuneiator detection ananiil instruction is executed
238. will be damaged Always turn the power supply OFF before mounting or removal 8 LOADING AND INSTALLATION MELSEC A 8 6 Installing and Removing the Dustproof Cover When an A1S52B S1 A1S55B S1 or A1S58B S1 is used it is necessary to mount the dustproof cover which is supplied with the base to the I O module loaded at the left end to prevent foreign matter from entering the I O module If the dustproof cover is not mounted foreign matter will enter the I O module resulting in malfunction The following explains the installation and removal of the dustproof cover 1 Installation I O modul Dustproof cover To fit the dustproof cover to the I O module first insert it at the terminal side and then press it against the I O module as shown in the figure 2 Removal O modul Dustproof cover Fit the tip of a flat blade screwdriver into the notch on the left side of the dustproof cover While keeping the screwdriver tip in the notch gently move the screwdriver to the left as shown above until the cover snaps open 8 LOADING AND INSTALLATION MELSEC A 8 7 Wiring This section gives the wiring instructions for the system 8 7 1 Wiring instructions lt gt DANGER e Before biginning any installation or wiring work make sure all phases of the power supply have been obstructed from the outside Failure to completely shut off the power supply phases may cause electric shock and o
239. wn fuse error as soon as the external power supply is turned OFF In the example circuit illustrated on the next page since the start up of the AnSHCPU takes place earlier than the rise of the external power supply to the output module a blown fuse error is detected To solve this problem the system is designed to keep the M9084 ON until the external power supply rises so as not to check for blown fuses When M9084 is ON the I O module comparison and battery checks are not performed 8 LOADING AND INSTALLATION 1 System design circuit example Mixed AC and DC ALL AC POWER POWER 00 TRANSFORMER DOTTY TRANSFORMER rransrorue Se yi FUSE DC POWER SUPPLY PROGRAM START SW RA1 tels polo mc MC STOPSW N INPUT MPDULE e Lo O Gy E TOM OUTPUT MODULE ym N a A 3 i i S Yn MC 4 MC gt OUTPUT MODULE OUTPUT MOD Voltage relay is recommended The power ON procedure is as follows For AC Set the CPU to RUN a 2 Switch ON the power 3 Turn ON the start switch 4 When the magnetic contactor MC comes in the output equipment is powered and may be driven by the program DN NS q For AC DC
240. y 8 slots as occupying 16 points per slot The allocations in 2 to 4 above can be changed by performing I O allocation When using two or three extension base units perform I O allocation to allocate 0 points to vacant slots of the A1SJCPU and some slots of the first extension base unit and allocate I O points to the second and third extension base units The total number of I O points for the A1SJCPU and 1st 2nd and 3rd extension base units is 256 For details on I O allocation see the ACPU Programming Manual Fundamentals I O number allocation 3 SPECIFICATIONS MELSEC A 3 SPECIFICATIONS Table 3 1 General specification tem Specifications Ambient operating 0 to 50 C temperature Ambient storage 20 to 75 C temperature Ambient operating 10 to 90 RH No condensing humidity Ambient storage 10 to 90 RH No condensing humidity RR Frequency Acceleration Amplitude No of sweeps Under 10 to 57 Hz 0 075 mm Conforming to intermittent 0 003 in 10 times each Vibration resistance JIS B 6501 vibration 57t0150Hz 98ms iG in X Y Z IEC 1131 2 Under a 35 me directions vibration Conforming to JIS B 3501 IEC 1131 2 147 m s 156 3 times in each om 3 directions X Y Z No corrosive gases 2000 m 6562 ft max Control panel ll max 2 max 1 This indicates the section of the power supply to which the equipment is assumed to be connected between the public electrical power distribut
241. y scan while the read command is ON When the LEDB instruction is used the RIFR instruction is executed only one scan on the leading edge OFF gt ON of the read command Instruction Instruction Instruction Instruction Instruction execution execution execution execution execution Read command OFF RIFR with LEDA RIFR with LEDB Either of the following conditions will result in an operation error and the error flag M9011 switch on D9008 D9092 The number of refresh points is greater than 8192 The buffer address specified is outside the range of automatic updating buffer memory designation range 50 503 The following program reads 11 points of data to D100 and thereafter from 400H of the automatic updating buffer memory set to station number 1 in the master module of CC Link allocated to I O numbers 000 to 01F X0020 0 y LEDB RIFR HO H SUB 0000 H K SUB 1 H H gt SUB___ 0400 H RIFR instruction designation LLEDC D100 H K SUB 11 H CLEDR J CIRCUIT END APP 18 APPENDICES MELSEC A Available device Word device Subset_ i N Digit designation Data to be set nt Head I O number of object master module Write destination designation e Intelligent device station Command Station numbers 1 to 64 e Eae RITO Executed while ON n2 only when the host station Executed at leading edge is the master station SS SUB nt Devic
Download Pdf Manuals
Related Search
Related Contents
- DocuTools™ Writing System SMH10R - Sena Technologies, Inc. VAMPZ d`Adrien Barbier, Lam Le Thanh, Adrien ジェットプレス取扱説明書 21 年 5 月 15 日現在 TABELLA CONTENUTO Italiano Moen T2113 Series User's Manual Agah。 baS iS ご購入者様へ Sicurezza DeviceNet MANUALE DELL`OPERATORE Bionaire BCH3620CN08EFM1 Electric Heater User Manual Copyright © All rights reserved.
Failed to retrieve file