Beginner guide (986746), страница 18
Текст из файла (страница 18)
Fatal errors are moreserious errors which stop PLC operation. Non-fatal errors are less serious and don’t stop PLCoperation.qNon-fatal ErrorsPLC operation and program execution will continue after one or more of these errors have occurred.Although PLC operation will continue, the cause of the error should be corrected and the errorcleared as soon as possible.When one of these errors occurs, the POWER and RUN indicators will remain lit and theERR/ALM indicator will flash.The following messages may appear on the programming console display.••SYS FAIL FAL**SCAN TIME OVERYou need to refer to the appropriate PLC manuals to check the flags to determine the cause of theproblem and correct the error.qFatal ErrorsPLC operation and program execution will stop and all outputs from the PLC will be turned OFFwhen any of these errors have occurred.
CPM1A operation can’t be restarted until the PLC is turnedoff and then on again or a Peripheral Device is used to switch the PLC to PROGRAM mode andclear the fatal error.All CPU indicators will be OFF for the power interruption error. For all other fatal operating errors,the POWER and ERR/ALM indicators will be lit. The RUN indicator will be OFF.The following messages may appear on the programming console display•••••MEMORY ERRNO END INSTI/O BUS ERRI/O UNIT OVERSYS FAIL FALS**You need to check the error flag of the appropriate PLC manual to determine the cause of theproblem and correct the error.9-29.qMAINTENANCE AND TROUBLESHOOTINGUser-defined ErrorsThere are three instructions that the user can use to define his own errors or messages.
FAL(06)causes a non-fatal error, FAL(07) causes a fatal error, and MSG(46) sends a message to theProgramming Console or host computer connected to the PC.FAILURE ALARM-FAL(06)FAL(06) is an instruction that causes a non-fatal error. The following will occur when an FAL(06)instruction is executed:1,2,3… 1. The ERR/ALM indicator on the CPU will flash. PC operation will continue.2. The instruction’s 2-digit BCD FAL number (01 to 99) will be written to SR 25300 toSR 25307.The FAL numbers can be set arbitrarily to indicate particular conditions.
The same number cannotbe used as both an FAL number and an FALS number.To clear an FAL error, correct the cause of the error and then execute FAL 00 or clear the errorusing the Programming Console.SEVERE FAILURE ALARM-FALS(07)FALS(07) is an instruction that causes a fatal error. The following will occur when an FALS(07)instruction is executed:1,2,3… 1. Program execution will be stopped and outputs will be turned OFF.2. The ERR/ALM indicator on the CPU will be lit.3.
The instruction’s 2-digit BCD FALS number (01 to 99) will be written to SR 25300 toSR 25307.4. The FALS number and time of occurrence will be recorded in the PC’s error log areaif a Memory Cassette with a clock (RTC) is used.The FALS numbers can be set arbitrarily to indicate particular conditions. The samenumber cannot be used as both an FAL number and an FALS number.To clear a FALS error, switch the PC to PROGRAM Mode, correct the cause of the error,and then clear the error using the Programming Console.MESSAGE-MSG(46)MSG(46) is used to display a message on the Programming Console. The message, which can be upto 16 characters long, is displayed when the instruction’s execution condition is ON.9-39.qMAINTENANCE AND TROUBLESHOOTINGProgramming ErrorsThese errors in program syntax will be detected when the program is checked using the ProgramCheck operation.Three levels of program checking are available.
The desired level must be designated to indicate thetype of errors that are to be detected. The following table provides the error types, displays, andexplanations of all syntax errors. Check level 0 checks for type A, B, and C errors; check level 1, fortype A and B errors; and check level 2, for type A errors only.TypeAMessage?????CIRCUIT ERROPERAND ERRNO END INSTRLOCN ERRJME UNDEFDDUPLSBN UNDEFDSTEP ERRMeaning and appropriate responseThe program has been damaged, creating a non-existent functioncode.
Re-enter the program.The number of logic blocks and logic block instructions does notagree, i.e., either LD or LD NOT has been used to start a logicblock whose execution condition has not been used by anotherinstruction, or a logic block instruction has been used that does nothave the required number of logic blocks. Check your program.A constant entered for the instruction is not within defined values.Change the constant so that it lies within the proper range.There is no END(001) in the program.
Write END(001) at the finaladdress in the program.An instruction is in the wrong place in the program. Checkinstruction requirements and correct the program.A JME(004) instruction is missing for a JMP(005) instruction.Correct the jump number or insert the proper JME(004) instruction.The same jump number or subroutine number has been used twice.Correct the program so that the same number is only used once foreach.The SBS(091) instruction has been programmed for a subroutinenumber that does not exist. Correct the subroutine number orprogram the required subroutine.STEP(008) with a section number and STEP(008) without a sectionnumber have been used incorrectly.
Check STEP(008)programming requirements and correct the program.9-49.MAINTENANCE AND TROUBLESHOOTINGTypeBMessageIL-ILC-ERRJMP=JME ERRSEN-RET ERRCCOIL DUPLJMP UNDEFDSBS UNDEFDMeaning and appropriate responseIL(002) and ILC(003) are not used in pairs. Correct the program sothat each IL(002) has a unique ILC(003).Although this error message will appear if more than one IL(002) isused with the same ILC(003), the program will be executed aswritten.
Make sure your program is written as desired beforeproceeding.JMP(004) and JME(005) are not used in pairs. Make sure yourprogram is written as desired before proceeding.If the displayed address is that of SBN(092), two differentsubroutines have been defined with the same subroutine number.Change one of the subroutine numbers or delete one of thesubroutines. If the displayed address is that of RET(093), RET(093)has not been used properly. Check requirements for RET (093) andcorrect the program.The same bit is being controlled (i.e., turned ON and/or OFF) bymore than one instruction (e.g., OUT, OUT NOT, DIFU(13),DIFD(14), KEEP(11), SFT(10)). Although this is allowed forcertain instructions, check instruction requirements to confirm thatthe program is correct or rewrite the program so that each bit iscontrolled by only one instruction.JME(005) has been use with no JMP(004) with the same jumpnumber.
Add a JMP(004) with the same number or delete theJME(005) that is not being used.A subroutine exists that is not called by SBS(091).Program a subroutine call in the proper place, or delete thesubroutine if it is not required.9-59.qMAINTENANCE AND TROUBLESHOOTINGTroubleshooting FlowchartsUse the following flowcharts to troubleshoot errors that occur during operation.Main CheckErrorPower indicator lit?NoCheck power supplyYesRUN indicator lit?ERR/ALM indicatorflashing?NoNoCheck for fatal errorsCheck for non-fatal errorsYesIs I/O sequencenormal?NoCheck I/OYesOperatingenvironmentnormal?NoCheck operating environmentYesReplace the CPU9-69.qMAINTENANCE AND TROUBLESHOOTINGPreventive MaintenanceAlthough PLC is designed for reliability.
It can fail eventually. Probably the biggest deterrent tosystem breakdown is a proper preventive maintenance program for the PLC and the control system.Periodically, inspect the tightness of the I/O terminals screws. They can become loose over a periodof time.Ensure that components are free of dust. Proper cooling of the PLC is impossible if layer of dust aredeposited.Corrosion may take place in some environment. Check periodically for corrosion of connectingterminals. Printed circuit board and connector may become corroded internally.Maintain a certain amount of commonly used spare parts such as the input and output modules.
Itcan be very costly if prolonged downtime occurs without parts.Keep proper documentation of operating program and wiring circuit of the control system. You mayneed them in case of emergency.9-710.Appendix A- Standard ModelsStandard ModelsCPM1A CPUsDescription10 I/O points20 I/O points30 I/O points40 I/O pointsInput points6 pointsOutput points4 point RelayOutput12 pointsTransistor NPNTransistor PNP8 points18 pointsTransistor NPNTransistor PNP12 points24 pointsTransistor NPNTransistor PNP16 pointsTransistor NPNTransistor PNPPower Supply100 to240 VAC,50/60 Hz24 VDC24 VDC24 VDC100 to 240 VAC,50/60 Hz24 VDC24 VDC24 VDC100 to 240 VAC,50/60 Hz24 VDC24 VDC24 VDC100 to 240 VAC,50/60 Hz24 VDC24 VDC24 VDCModel NumberCPM1A-10CDR-APower Supply100 to 240 VAC,50/60 Hz24 VDC24 VDC24 VDC100 to 240 VAC,50/60 Hz24 VDC24 VDC24 VDC100 to 240 VAC,50/60 Hz24 VDC24 VDC24 VDCModel NumberCPM2A-30CDR-ACPM1A-10CDR-DCPM1A-l0CDT-DCPM1A-10CDT1-DCPMlA-20CDR-ACPM1A-20CDR-DCPM1A-20CDT-DCPMlA-20CDT1-DCPM1A-30CDR-ACPM1A-30CDR-DCPM1A-30CDT-DCPM1A-30CDT1-DCPM1A-40CDR-ACPM1A-40CDR-DCPM1A-40CDT-DCPM1A-40CDT1-DCPM2A CPUsDescription30 I/O points40 I/O points60 I/O pointsInput points18 pointsOutput points12 points24 pointsTransistor NPNTransistor PNP16 points36 pointsTransistor NPNTransistor PNP24 pointsTransistor NPNTransistor PNPCPM2A-30CDR-DCPM2A-30CDT-DCPM2A-30CDT1-DCPM2A-40CDR-ACPM2A-40CDR-DCPM2A-40CDT-DCPM2A-40CDT1-DCPM2A-60CDR-ACPM2A-60CDR-DCPM2A-60CDT-DCPM2A-60CDT1-DA-110.Appendix A- Standard ModelsExpansion I/O UnitDescription20 I/O pointsInput points12 pointsOutput points8 points Relay ContactModel NumberCPMlA-20EDRTransistor NPNCPM1A-20EDTTransistor PNPCPM1A-20EDT18 Input points8 points0 pointsCPM 1 A-8ED8 Output points0 points8 points Relay ContactCPM1A-8ERTransistor NPNCPM1A-8ETTransistor PNPCPM1A-8ET1Analog2 Analog1 AnalogCPM1A-MAD0116 points8 points8 pointsCPM1A-SRT2lCommunications AdaptersDescriptionRS-232C AdapterRS-422 AdapterOutput pointsConverts data communications between theperipheral port and RS-232C devices.Model NumberCPM1-CIF01Converts data communications between theperipheral port and RSA22 devices.CPM1-CIF1 1A-210.Appendix A- Standard ModelsPeripheral DevicesNameProgramming ConsoleModel NumberCQM1-PR001-EC200H-PR027-ESpecifications2-rn Connecting Cable attachedHand-held, w/backlight; requires the C200H-CN222 orC200H-CN422 Connecting cable, see below.SYSWINSYSWIN-E-V3.33.5” HD for IBM PC/AT compatible running WindowsConnecting CableCQM1-CIF02Connects IBM PC/AT or compatible computers toPeripheral PortConnects C200H Programming Console to Peripheral Port(2m)Connects C200H Programming Console to Peripheral Port(4m)C200H-CN222C200H-CN422A-310.Appendix B - SpecificationsBackup Time vs.
TemperatureBackup time (days)A capacitor in the CPU is used to backup the program, counter values and the contents of the DMarea, HR area, and AR area. The capacitor backup time depends on the ambient temperature, asshown in the following graph.201071254080Ambient temperature (°C)If the contents of the CPU's program area are lost, the program stored in flash memory will be readto the CPU's program area when the CPM1A is started.