Главная » Просмотр файлов » CPM2A_PROGRAMMING MANUAL (W353-E1-2)

CPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750), страница 89

Файл №986750 CPM2A_PROGRAMMING MANUAL (W353-E1-2) (Техническая документация) 89 страницаCPM2A_PROGRAMMING MANUAL (W353-E1-2) (986750) страница 892015-07-23СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 89)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Host Link Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Troubleshooting Flowcharts . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .522522523524525525526526527529529521SectionProgramming Console Operation Errors9-19-2IntroductionPC errors can be divided broadly into the following four categories:1, 2, 3...1. Program Input ErrorsThese errors occur when inputting a program or attempting an operationused to prepare the PC for operation.2.

Programming ErrorsThese errors will occur when the program is checked using the ProgramCheck operation.3. User-defined ErrorsThere are three instructions that the user can use to define his own errors ormessages. The instructions will be executed when a particular condition(defined by the user) has occurred during operation.4. Operating ErrorsThese errors occur after program execution has been started.a) Non-fatal Operating ErrorsPC operation and program execution will continue after one or more ofthese errors have occurred.b) Fatal Operating ErrorsPC operation and program execution will stop and all outputs from thePC will be turned OFF when any of these errors have occurred.The PC’s indicators will indicate when a PC error has occurred and an error message or code will be displayed on the Programming Console or host computer ifone is connected.

The error code is also contained in SR 25300 to SR 25307.For the most recent errors, both the type of error and time of occurrence will berecorded in the PC’s error log area. Details are provided starting on page 527.There are flags and other information provided in the SR and AR areas that canbe used in troubleshooting.

Refer to Section 3 Memory Areas for lists of these.Note In addition to the errors described above, communications errors can occurwhen the PC is part of a Host Link System. Refer to page 529 for details.9-2Programming Console Operation ErrorsThe following error messages may appear when performing operations on theProgramming Console. Correct the error as indicated and continue with the operation. The asterisks in the displays shown below will be replaced with numericdata, normally an address, in the actual display.

Refer to the Ladder SupportSoftware Operation Manual, SYSMAC Support Software Operation Manual: Cseries PCs, or Data Access Console Operation Manual for errors that may appear when operating the SSS or a Data Access Console.MessageREPL ROMMeaning and appropriate responseAn attempt was made to write to write-protected memory. Set bits00 to 03 of DM 6602 to “0.”PROG OVER The instruction at the last address in memory is not NOP(00). Eraseall unnecessary instructions at the end of the program.ADDR OVER An address was set that is larger than the highest memory addressin Program Memory. Input a smaller address.SET DATAFALS 00 has been input, and “00” cannot be input. Re-input theERRdata.I/O NO. ERR A data area address has been designated that exceeds the limit ofthe data area, e.g., an address is too large. Confirm therequirements for the instruction and re-enter the address.522SectionProgramming Errors9-39-3Programming ErrorsThese errors in program syntax will be detected when the program is checkedusing the Program Check operation.Three levels of program checking are available.

The desired level must bedesignated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntaxerrors. 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.Level A ErrorsMessage?????CIRCUITERROPERANDERRNO ENDINSTRLOCN ERRJMEUNDEFDDUPLLevel B ErrorsMeaning 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(01) in the program. Write END(01) at the finaladdress in the program.An instruction is in the wrong place in the program. Checkinstruction requirements and correct the program.A JME(05) instruction is missing for a JMP(04) instruction.

Correctthe jump number or insert the proper JME(05) 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.SBNUNDEFDThe SBS(91) instruction has been programmed for a subroutinenumber that does not exist. Correct the subroutine number orprogram the required subroutine.STEP ERRSTEP(08) with a section number and STEP(08) without a sectionnumber have been used incorrectly. Check STEP(08) programmingrequirements and correct the program.MessageIL-ILC ERRJMP-JMEERRSBN-RETERRMeaning and appropriate responseIL(02) and ILC(03) are not used in pairs. Correct the program sothat each IL(02) has a unique ILC(03).

Although this error messagewill appear if more than one IL(02) is used with the same ILC(03),the program will be executed as written. Make sure your program iswritten as desired before proceeding.JMP(04) and JME(05) are not used in pairs. Make sure yourprogram is written as desired before proceeding.If the displayed address is that of SBN(92), 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(93), RET(93)has not been used properly. Check requirements for RET(93) andcorrect the program.523SectionUser-defined ErrorsLevel C ErrorsMessage! Caution9-49-4Meaning and appropriate responseCOIL DUPLThe 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 for certaininstructions, check instruction requirements to confirm that theprogram is correct or rewrite the program so that each bit iscontrolled by only one instruction.JMPUNDEFDJME(05) has been used with no JMP(04) with the same jumpnumber. Add a JMP(04) with the same number or delete theJME(05) that is not being used.SBSUNDEFDA subroutine exists that is not called by SBS(91).

Program asubroutine call in the proper place, or delete the subroutine if it isnot required.Expansion instructions (those assigned to function codes 17, 18, 19, 47, 48, 60to 69, 87, 88, and 89) are not subject to program checks. Program checks alsodo not cover DM 1024 to DM 6143 for PCs that do not support this part of the DMarea. Data will not be written even if these areas are specified and data read fromthese areas will always be “0000.”User-defined ErrorsThere are four instructions that the user can use to define his own errors or messages.

These instructions are used to send messages to the Programming Console connected to the PC, cause a non-fatal or a fatal error.MESSAGE – MSG(46)MSG(46) is used to display a message on the Programming Console. The message, which can be up to 16 characters long, is displayed when the instruction’sexecution condition is ON.

Refer to page 468 for details.FAILURE ALARM – FAL(06)FAL(06) is an instruction that causes a non-fatal error. Refer to page 355 for details. The following will occur when 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.3. The FAL number will be recorded in the PC’s error log area.

The time of occurrence will also be recorded in CPM2A PCs and CPM2C PCs that areequipped with an internal clock.The FAL numbers can be set arbitrarily to indicate particular conditions. Thesame number cannot be used as both an FAL number and an FALS number.To clear an FAL error, correct the cause of the error, execute FAL 00, and thenclear the error using the Programming Console.SEVERE FAILURE ALARM –FALS(07)FALS(07) is an instruction that causes a fatal error. Refer to page 355 for details.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 Unit will be lit.3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written toSR 25300 to SR 25307.4. The FALS number will be recorded in the PC’s error log area. The time ofoccurrence will also be recorded in CPM2A PCs and CPM2C PCs that areequipped with an internal clock.The FALS numbers can be set arbitrarily to indicate particular conditions. Thesame number cannot be used as both an FAL number and an FALS number.To clear an FALS error, switch the PC to PROGRAM Mode, correct the cause ofthe error, and then clear the error using the Programming Console.524SectionOperating Errors9-59-5Operating ErrorsThere are two kinds of operating errors, non-fatal and fatal.

PC operation willcontinue after a non-fatal error occurs, but operation will be stopped if a fatalerror occurs.! CautionInvestigate all errors, whether fatal or not. Remove the cause of the error assoon as possible and restart the PC. Refer to the CPM1 Operation Manual,CPM2A Operation Manual, or CPM2C Operation Manual for hardware information and Programming Console operations related to errors. Refer to the SSSOperation Manual for SSS operations related to errors.9-5-1 Non-fatal ErrorsPC operation and program execution will continue after one or more of these errors 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**(See note.)FAL No.Meaning and appropriate response01 to 99An FAL(06) instruction has been executed in the program.

Характеристики

Тип файла
PDF-файл
Размер
2,99 Mb
Тип материала
Высшее учебное заведение

Список файлов учебной работы

Свежие статьи
Популярно сейчас
Почему делать на заказ в разы дороже, чем купить готовую учебную работу на СтудИзбе? Наши учебные работы продаются каждый год, тогда как большинство заказов выполняются с нуля. Найдите подходящий учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
6417
Авторов
на СтудИзбе
307
Средний доход
с одного платного файла
Обучение Подробнее