Главная » Просмотр файлов » CPM2A_OPERATION MANUAL (W352-E1-3)

CPM2A_OPERATION MANUAL (W352-E1-3) (986749), страница 23

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

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

The cursor willmove one bit to the right after one of these keys is pressed.B1c010CHG?1010010101010101c) Use the SHIFT+SET and SHIFT+RESET Keys to force-set or force-reset a bit’s status. The cursor will move one bit to the right after one ofthese keys is pressed. The NOT Key will clear force-set or force-resetstatus.Note Bits in the DM Area cannot be force-set or force-reset.4. Press the WRITE Key to write the changes in memory and return to thebinary monitor.WRITEc010MONTR10100101010101014-4-22 Signed Decimal Data ModificationThis operation is used to change the decimal value of a word being monitored as signed decimal data, within a range of –32,768 to 32,767. The contents of the specified word are converted automatically to signed hexadecimal (two’s complement format).119SectionProgramming Console Operations4-4Words SR 253 to SR 255 cannot be changed.RUNMONITORNoPROGRAMOKOK! CautionBefore changing the contents of I/O memory, be sure that the changes will notcause equipment to operate unexpectedly or dangerously.

In particular, takecare when changing the status of output bits. The PC continues to refresh I/Obits even if the PC is in PROGRAM mode, so devices connected to output pointson the CPU Unit, Expansion Units, or Expansion I/O Units may operate unexpectedly.1, 2, 3...1. Monitor (signed decimal) the status of the word for which the present valueis to be changed.D0200Ć00016(Signed decimal monitor)2. Press the CHG Key to begin decimal data modification.CHGPRES VAL?D0200Ć000163. Input the new PV and press the WRITE Key to change the PV. The operationwill end and the signed-decimal monitoring display will return when theWRITE Key is pressed.The PV can be set within a range of –32,768 and 32,767. Use the SET Key toinput a positive number, and use the RESET Key to input a negative number.DRESET3C276WRITE8D0200Ć32768If an erroneous input has been made, press the CLR Key to restore the status prior to the input. Then enter the correct input.The buzzer will sound if a value outside the specified range is input, allowingno writing.4-4-23 Unsigned Decimal Data ModificationThis operation is used to change the decimal value of a word being monitored as unsigned decimal data, within a range of 0 to 65,535.

A change intohexadecimal data is made automatically.Words SR 253 to SR 255 cannot be changed.RUNNoMONITOROKPROGRAMOK! CautionBefore changing the contents of I/O memory, be sure that the changes will notcause equipment to operate unexpectedly or dangerously. In particular, takecare when changing the status of output bits. The PC continues to refresh I/Obits even if the PC is in PROGRAM mode, so devices connected to output pointson the CPU Unit, Expansion Units, or Expansion I/O Units may operate unexpectedly.1, 2, 3...1.

Monitor (unsigned decimal) the status of the word for which the present value is to be changed.c20065520(Unsigned decimal monitor)2. Press the CHG Key to begin decimal data modification.120SectionProgramming Console OperationsCHG4-4PRES VAL?c200 655203. Input the new PV and press the WRITE Key to change the PV. The operationwill end and the decimal-without-sign monitoring display will return when theWRITE Key is pressed.The PV can be set within a range of 0 to 65,535.D3C2768WRITEc20032768If an erroneous input has been made, press the CLR Key to restore the status prior to the input.

Then enter the correct input.The buzzer will sound if a value outside the specified range is input, allowingno writing.4-4-24 Force Set, ResetThis operation is used to force bits ON (force set) or OFF (force reset) and isuseful when debugging the program or checking output wiring. It is possiblein MONITOR or PROGRAM mode only.RUNNoMONITOROKPROGRAMOK! CautionBefore changing the contents of I/O memory, be sure that the changes will notcause equipment to operate unexpectedly or dangerously. In particular, takecare when changing the status of output bits.

The PC continues to refresh I/Obits even if the PC is in PROGRAM mode, so devices connected to output pointson the CPU Unit, Expansion Units, or Expansion I/O Units may operate unexpectedly.1, 2, 3...1. Monitor the status of the desired bit according to the procedure described in4-4-12 Bit, Digit, Word Monitor. If two or more words are being monitored,the desired bit should be leftmost on the display.0000020000^ OFF^ON(Multiple address monitor)2. Press the SET Key to force the bit ON or press the RESET Key to force thebit OFF.SET0000020000ON^ONThe cursor in the lower left corner of the display indicates that the force set/reset is in progress.

Bit status will remain ON or OFF only as long as the keyis held down; the original status will return one cycle after the key is released.3. Press the SHIFT and SET Keys or SHIFT and RESET Keys to maintain thestatus of the bit after the key is released. In this case, the force-set status isindicated by an “S” and the force-reset status is indicated by an “R.”To return the bit to its original status, press the NOT Key or perform the ClearForce Set/Reset operation. Refer to 4-4-25 Clear Force Set/Reset for details.Forced status will also be cleared in the following cases:a) When the PC’s operating mode is changed (although the forced statuswill not be cleared when the mode is changed from PROGRAM to MONITOR if SR 25211 is ON)b) When the PC stops because a fatal error occurred121SectionProgramming Console Operations4-4c) When the PC stops because of a power interruptiond) When the Clear Force Set/Reset Operation is performed4-4-25 Clear Force Set/ResetThis operation is used to restore the status of all bits which have been forceset or reset.

It is possible in MONITOR or PROGRAM mode only.RUNNoMONITOROKPROGRAMOK! CautionBefore changing the contents of I/O memory, be sure that the changes will notcause equipment to operate unexpectedly or dangerously. In particular, takecare when changing the status of output bits. The PC continues to refresh I/Obits even if the PC is in PROGRAM mode, so devices connected to output pointson the CPU Unit, Expansion Units, or Expansion I/O Units may operate unexpectedly.1, 2, 3...1. Press the CLR Key to bring up the initial display.2.

Press the SET and then the RESET Key. A confirmation message will appear.SETRESET00000FORCE RELE?Note If you mistakenly press the wrong key, press CLR and start againfrom the beginning.3. Press the NOT Key to clear the force-set/reset status of bits in all data areas.NOT00000FORCE RELEEND4-4-26 Hex-ASCII Display ChangeThis operation is used to convert word data displays back and forth between4-digit hexadecimal data and ASCII. It is possible in any mode.The displayed PV of the timer or counter cannot be changed.RUNOK1, 2, 3...MONITOROKPROGRAMOK1. Monitor the status of the desired word(s) according to the procedure described in 4-4-12 Bit, Digit, Word Monitor. While the multiple addresses arebeing monitored, the leftmost word is subject to change.D0000D00014142 3031(Multiple address monitor)2.

Press the TR Key to switch to ASCII display. The display will toggle betweenhexadecimal and ASCII displays each time the TR Key is pressed.Note122TRD0000 D0001"AB"3031TRD0000D00014142 30311. A message contained in three words can be displayed by using ASCII display in combination with the Three-word monitor operation.2. The Hexadecimal, BCD Data Modification Operation can be used while displaying ASCII data. Input values in 4-digit hexadecimal.SectionProgramming Console Operations4-44-4-27 Displaying the Cycle TimeThis operation is used to display the current average cycle time (scan time).It is possible only in RUN or MONITOR mode while the program is beingexecuted.RUNMONITOROK1, 2, 3...OKPROGRAMNo1.

Press the CLR Key to bring up the initial display.2. Press the MONTR Key to display the cycle time.MONTR00000SCAN TIME012.1MS“MS” in the display indicatesthe unit “ms” for the cycle time.There might be differences in displayed values when the MONTR Key ispressed repeatedly. These differences are caused by changing executionconditions.4-4-28 Reading and Setting the ClockThis operation is used to read or set the CPU’s clock.

The clock can be read inany mode, but can be set in MONITOR or PROGRAM mode only.Operation1, 2, 3...RUNMONITORPROGRAMRead clockOKOKOKSet clockNoOKOK1. Press the CLR Key to bring up the initial display.2. Press the FUN Key, SHIFT Key, and then the MONTR Key to display thedate and time.FUNSHIFT MONTRTIM99Ć02Ć2211:04:32MON(1)3. Press the CHG Key to change the date and/or time.CHGTIM CHG?99Ć02Ć2211:04:32MON(1)The digit that can be changed will flash. If necessary, input a new value withthe Up and Down Arrow Keys or Numeric Keys.

Press the CHG Key to movethe cursor to the next digit. The following table shows the setting ranges foreach value.YearMonthDayHourMinuteSecondDay-of-week00 to 9901 to 1201 to 3100 to 2300 to 5900 to 590 to 6(SUN to SAT)4. Press the WRITE Key to write the new value.WRITEINST TBLREADFUN018:HEXPress the CLR Key to return to the initial display.123SectionProgramming Example4-54-5Programming ExampleThis section demonstrates all of the steps needed to write a program with theProgramming Console.4-5-1 Preparatory OperationsUse the following procedure when writing a program to the CPM2A for the firsttime.1, 2, 3...1.

Set the Programming Console’s mode switch to PROGRAM mode and turnon the CPM2A’s power supply. The password input display will appear onthe Programming Console.MONITORRUNPROGRAM<PROGRAM>PASSWORD!2. Enter the password by pressing the CLR and then the MONTR Key.CLRMONTR<PROGRAM>BZ3. Clear the CPM2A’s memory by pressing the CLR, SET, NOT, RESET, andthen the MONTR Key. Press the CLR Key several times if memory errors aredisplayed.CLRSETNOTRESETMONTR0000000000MEMORY CLR?HRCNT DM00000MEMORY CLREND HRCNT DM4.

Display and clear error messages by pressing the CLR, FUN, and then theMONTR Key. Continue pressing the MONTR Key until all error messageshave been cleared.CLRFUNMONTR0000000000FUN (0??)ERR/MSG CHK OK5. Press the CLR Key to bring up the initial programming display (program address 00000). The new program can be written at this point.CLR! Caution12400000Check the system thoroughly before starting or stopping the CPM2A to preventany accidents that might occur when the program is first started.SectionProgramming Example4-54-5-2 Example ProgramThe following ladder program will be used to demonstrate how to write a program with the Programming Console.

This program makes output IR 01000flicker ON/OFF (one second ON, one second OFF) ten times after inputIR 00000 is turned ON.Start input00000C0002000000000Self-holding bit2000020000T00200004TIM 001#0010200001-second timerT00200007TIM 002#002020000T001Count input2-second timerCP00010CNT 00010-count counter20000#0010RReset input20000T001Flicker output (10 counts)0100000014ONOFFEND(01)000171SThe mnemonic list for the example program is shown in the following table. Thesteps required to enter this program from a Programming Console are describedin 4-5-3 Programming Procedures.AddressInstructionData00000LD0000000001OR2000000002AND NOT00003OUT00004LD00005AND NOT00006TIM00007LD00008AND NOT00009TIMC00011AND00012LD NOT00013CNT00020000T(2) 1-second timer002001001020000T(3) 2-second timer002002#LD(1) Self-holding bit20000#00010Programming exampleprocedures in 4-5-3Programming Procedures002020000T(4) 10-count counter00120000000#001000014LD00015AND NOT2000000016OUT0100000017END (01)---T(5) Flicker output (10 counts)001(6) END(01) instruction125SectionProgramming Example4-54-5-3 Programming ProceduresThe example program will be written to the CPM2A according to the mnemoniclist in 4-5-2 Example Program.

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

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

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

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