CPM2A_OPERATION MANUAL (W352-E1-3) (986749), страница 25
Текст из файла (страница 25)
Test Runa) Use a Programming Device to set the CPM2A to RUN or MONITORmode and check that the “RUN” indicator lights.b) Check the sequence of operation with the force set/reset operations, etc.4. DebuggingCorrect any programming errors that are detected.5. Saving the Programa) Use a Programming Device to write the program to a backup floppy disk.b) Print out a hard copy of the program with a printer.Note Refer to Section 4 Using Programming Devices for details on the Support Software and Programming Console operations.5-2Self-diagnostic FunctionsThe CPM2A is equipped with a variety of self-diagnostic functions to help identify and correct errors and reduce down time.5-2-1 Identifying ErrorsAn error can be identified by the error message displayed on a ProgrammingDevice, error flags in the AR and SR areas, and the error code output to SR 253.Fatal and Non-fatalErrorsPC errors are divided into 2 categories based on the severity of the errors.
Thestatus of the ERR/ALM indicator (lit or flashing) shows which type of error hasoccurred.ERR/ALM Lit (Fatal Error)Fatal errors are serious errors which stop CPM2A operation. There are two waysto restart operation:• Turn the PC off and then on again.• Use a Programming Device to switch the PC to PROGRAM mode, and read/clear the error.ERR/ALM Flashing (Non-fatal Error)Non-fatal errors are less serious errors which don’t stop CPM2A operation.Error MessagesWhen an error is detected, a corresponding error message will be displayed onthe Programming Console or other Programming Device connected to the PC.Error FlagsWhen a hardware error is detected, the corresponding error flag in the AR or SRarea will be turned ON.Error CodeWhen an error is detected, a specific 2-digit hexadecimal error code is output toSR 25300 to SR 25307.
The error code and time of occurrence are also output tothe Error Log Area (DM 2000 to DM 2021).! WARNING The PC will turn OFF all outputs when its self-diagnosis function detects anyerror or when a severe failure alarm (FALS) instruction is executed. Externalsafety measures must be provided to ensure safety in the system. Not providingproper safety measures may result in serious accidents.133SectionSelf-diagnostic Functions5-25-2-2 User-defined ErrorsThere are three instructions that can be used to define errors or messages.FAL(06) causes a non-fatal error, FAL(07) causes a fatal error, and MSG(46)sends a message to the Programming Console or host computer connected tothe PC.FAILURE ALARM – FAL(06)FAL(06) is an instruction that causes a non-fatal error.
The following will occurwhen an FAL(06) instruction is executed:1, 2, 3...1. The ERR/ALM indicator on the CPU Unit will flash. PC operation will continue.2. The instruction’s 2-digit BCD FAL number (01 to 99) will be written toSR 25300 to SR 25307.The FAL numbers can be set arbitrarily to indicate particular conditions, but thesame number should not be 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 oruse a Programming Device to clear the error.SEVERE FAILURE ALARM –FALS(07)FALS(07) is an instruction that causes a fatal error.
The following will occur whenan FALS(07) instruction is executed:1, 2, 3...1. Program execution will be stopped and all outputs will be turned OFF.2. The ERR/ALM indicator on the CPU Unit will be lit.3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written toSR 25300 to SR 25307.The FALS numbers can be set arbitrarily to indicate particular conditions, but thesame number should not be used as both an FAL number and an FALS number.To clear an FALS error, use a Programming Device to switch the PC to PROGRAM Mode, correct the cause of the error, and then clear the error.MESSAGE – MSG(46)MSG(46) is used to display a message on a Programming Device connected tothe CPM2A.
The message, which can be up to 16 characters long, is displayedwhen the instruction’s execution condition is ON.5-2-3 Non-fatal ErrorsPC operation and program execution will continue after one or more of theseerrors have occurred. Although PC operation will continue, the cause of the errorshould be corrected and the error cleared as soon as possible.When one of these errors occurs, the POWER and RUN indicators will remain litand the ERR/ALM indicator will flash.MessageSYS FAIL FAL**(** is 01 to 99 or 9B.)FAL No.Meaning and appropriate response01 to 99An FAL(06) instruction has been executed in the program.
Check the FAL number todetermine conditions that would cause execution, correct the cause, and clear theerror.9BAn error has been detected in the PC Setup. Check flags AR 1300 to AR 1302, andcorrect as directed.AR 1300 ON: An incorrect setting was detected in the PC Setup (DM 6600 toDM 6614) when power was turned on. Correct the settings in PROGRAM Mode andturn on the power again.AR 1301 ON: An incorrect setting was detected in the PC Setup (DM 6615 toDM 6644) when switching to RUN or MONITOR mode. Correct the settings inPROGRAM Mode and switch to RUN or MONITOR mode again.AR 1302 ON: An incorrect setting was detected in the PC Setup (DM 6645 toDM 6655) during operation. Correct the settings and clear the error.134SectionSelf-diagnostic FunctionsMessageSCAN TIME OVERBattery error(no message)FAL No.5-2Meaning and appropriate responseF8The cycle time has exceeded 100 ms.
(SR 25309 will be ON.)F7This indicates that the program cycle time is longer than recommended. Reduce cycletime if possible. (The CPM2A can be set so that this error won’t be detected.)If the voltage of the CPM2A-BAT01 backup battery is below the minimum level, theERR/ALM indicator will flash and SR 25308 will be turned ON.Replace the battery.
(See 5-7 Battery Replacement for details.)5-2-4 Fatal ErrorsPC operation and program execution will stop and all outputs from the PC will beturned OFF when any of these errors have occurred. CPM2A operation can’t berestarted until the PC is turned off and then on again or a Programming Device isused to switch the PC to PROGRAM mode and clear the fatal error.All CPU Unit indicators will be OFF for the power interruption error. For all otherfatal operating errors, the POWER and ERR/ALM indicators will be lit. The RUNindicator will be OFF.MessagePower interruption(no message)MEMORY ERRFALSNo.NoneF1NO END INSTF0I/O BUS ERRC0Meaning and appropriate responsePower has been interrupted for more than 10 ms (2 ms for DC power types.)Check power supply voltage and power lines.
Try to power-up again.AR 1308 ON: There is a non-existent bit or word address in the user program. Checkthe program and correct errors.AR 1309 ON: An error has occurred in flash memory. Replace the CPU Unit.AR 1310 ON: A checksum error has occurred in read-only DM (DM 6144 to DM 6599).Check and correct the settings in the read-only DM area.AR 1311 ON: A checksum error has occurred in the PC Setup. Initialize the PC Setupand input the settings again.AR 1312 ON: A checksum error has occurred in the program. Check the program andcorrect any errors detected.AR 1313 ON: A checksum error has occurred in the expansion instructions data and allfunction codes have been set the their default values.
Reset the expansioninstructions.AR 1314 ON: Data was not maintained in an area specified for holding. Clear the error,check the data in the areas specified for holding, and try again.END(01) is not written in the program. Write END(01) at the end of the program.An error has occurred during data transfer between the CPU Unit and an ExpansionUnit or an Expansion I/O Unit. Check the Unit’s connecting cable.I/O UNIT OVERE1Too many Expansion Units or Expansion I/O Units have been connected.
Check theUnit configuration.SYS FAIL FALS**01 to 99 A FALS(07) instruction has been executed in the program. Check the FALS number to(** is 01 to 99 or 9F.)determine the conditions that caused execution, correct the cause, and clear the error.9FThe cycle time has exceeded the Maximum (Watch) Cycle Time setting (DM 6618).Check the cycle time and adjust the Maximum Cycle Time setting if necessary.5-2-5 Communications ErrorsThe COMM indicator will be turned OFF and AR 0812 will be turned ON if anerror occurs in communications through the peripheral port or AR 0804 will beturned ON if an error occurs in communications through the RS-232C port.Check the connecting cables and restart.There are no error messages or error codes generated by this error and theERR/ALM indicator is not affected.135SectionProgramming Errors5-35-4Programming Console Operation ErrorsThe following error messages may appear when performing operations on theProgramming Console.