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

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

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

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

Word values are retained whenthe power is turned off.Used to store the error code of errors thatoccur. These words can be used as ordinary read/write DM when the error log function isn’t being used.Cannot be overwritten from program.Used to store various parameters that control PC operation.Note 1. IR and LR bits that are not used for their allocated functions can be used as work bits.2. The contents of the HR area, AR area, Counter area, and read/write DM area are backed up by a capacitor. The backup time varies with the ambient temperature, but at 25C, the capacitor will back upmemory for 20 days.

If the power supply is off longer than the backup time, memory contents will becleared and AR1314 will turn ON. (This flag turns ON when data can no longer be retained by the built-incapacitor.) Refer to 2-1-2 Characteristics in the CPM1 Operation Manual for a graph showing the backup time vs. temperature.3. When accessing a PV, TC numbers are used as word data; when accessing Completion Flags, they areused as bit data.4. Data in DM 6144 to DM 6655 cannot be overwritten from the program, but they can be changed from aProgramming Device.SR AreaThese bits mainly serve as flags related to CPM1/CPM1A operation or contain present and set values for variousfunctions.

The functions of the SR area are explained in the following table.Note “Read-only” words and bits can be read as status in controller PC operation, but they cannot be written fromthe ladder program. Bits and words that are “Not used” are also read-only.541Appendix CMemory AreasWord(s)Bit(s)FunctionSR 232toSR 23500 to 15Macro Function Input AreaContains the input operands for MCRO(99).(Can be used as work bits when MCRO(99) is not used.)SR 236toSR 23900 to 15Macro Function Output AreaContains the output operands for MCRO(99).(Can be used as work bits when MCRO(99) is not used.)SR 24000 to 15SR 24100 to 15SR 24200 to 15SR 24300 to 15SR 24400 to 15Input Interrupt 0 Counter Mode SVSV when input interrupt 0 is used in counter mode (4 digits hexadecimal).(Can be used as work bits when input interrupt 0 is not used in countermode.)Input Interrupt 1 Counter Mode SVSV when input interrupt 1 is used in counter mode (4 digits hexadecimal).(Can be used as work bits when input interrupt 1 is not used in countermode.)Input Interrupt 2 Counter Mode SVSV when input interrupt 2 is used in counter mode (4 digits hexadecimal).(Can be used as work bits when input interrupt 2 is not used in countermode.)Input Interrupt 3 Counter Mode SVSV when input interrupt 3 is used in counter mode (4 digits hexadecimal).(Can be used as work bits when input interrupt 3 is not used in countermode.)Input Interrupt 0 Counter Mode PV Minus OneCounter PV–1 when input interrupt 0 is used in counter mode (4 digits hexadecimal).SR 24500 to 15Input Interrupt 1 Counter Mode PV Minus OneCounter PV–1 when input interrupt 1 is used in counter mode (4 digits hexadecimal).SR 24600 to 15Input Interrupt 2 Counter Mode PV Minus OneCounter PV–1 when input interrupt 2 is used in counter mode (4 digits hexadecimal).SR 24700 to 15Input Interrupt 3 Counter Mode PV Minus OneCounter PV–1 when input interrupt 3 is used in counter mode (4 digits hexadecimal).SR 248,SR 249SR 25000 to 15SR 25100 to 15High-speed Counter PV Area(Can be used as work bits when the high-speed counter is not used.)Analog Setting 0Used to store the 4-digit BCD set value (0000 to 0200) from analog control 0.Analog Setting 1Used to store the 4-digit BCD set value (0000 to 0200) from analog control 1.54200 to 15Read/writeRead/writePage14573Readonly7479138Appendix CMemory AreasWord(s)SR 252Bit(s)SR 254Read/writeRead/write00High-speed Counter Reset Bit01 to 0708Not used.Peripheral Port Reset BitTurn ON to reset peripheral port.

(Not valid when Programming Device isconnected.) Automatically turns OFF when reset is complete.0910Not used.Read/PC Setup Reset BitwriteTurn ON to initialize PC Setup (DM 6600 through DM 6655). Automaticallyturns OFF again when reset is complete. Only effective if the PC is in PROGRAM mode.Forced Status Hold Bit (See note.)OFF: The forced status of bits that are forced set/reset is cleared whenswitching between PROGRAM mode and MONITOR mode.ON: The status of bits that are forced set/reset are maintained when switching between PROGRAM mode and MONITOR mode.The status of this bit can be maintained when PC power turns off by using thePC Setup.11SR 253Function12I/O Hold Bit (See note.)OFF: IR and LR bits are reset when starting or stopping operation.ON: IR and LR bit status is maintained when starting or stopping operation.The status of this bit can be maintained when PC power turns off by using thePC Setup.1314Not used.Error Log Reset BitTurn ON to clear error log.

Automatically turns OFF again when operation iscomplete.1500 to 07Not used.FAL Error CodeThe error code (a 2-digit number) is stored here when an error occurs. TheFAL number is stored here when FAL(06) or FALS(07) is executed. This wordis reset (to 00) by executing a FAL 00 instruction or by clearing the error froma Programming Device.0809Not used.Cycle Time Overrun FlagTurns ON when a cycle time overrun occurs (i.e., when the cycle time exceeds 100 ms).10 to 12131415Not used.Always ON FlagAlways OFF FlagFirst Cycle FlagTurns ON for 1 cycle at the start of operation.1-minute clock pulse (30 seconds ON; 30 seconds OFF)0.02-second clock pulse (0.01 second ON; 0.01 second OFF)Negative (N) FlagNot used.Differential Monitor Complete FlagTurns ON when differential monitoring is complete.STEP(08) Execution FlagTurns ON for 1 cycle only at the start of process based on STEP(08).Not used.00010203 to 05060708 to 15Read/writePage8024521717Read/write527Readonly355Readonly---Readonly-------------Readonly147356543Appendix CMemory AreasWord(s)SR 255Bit(s)000102030405060708 to 15Function0.1-second clock pulse (0.05 second ON; 0.05 second OFF)0.2-second clock pulse (0.1 second ON; 0.1 second OFF)1.0-second clock pulse (0.5 second ON; 0.5 second OFF)Instruction Execution Error (ER) FlagTurns ON when an error occurs during execution of an instruction.Carry (CY) FlagTurns ON when there is a carry in the results of an instruction execution.Greater Than (GR) FlagTurns ON when the result of a comparison operation is “greater.”Equals (EQ) FlagTurns ON when the result of a comparison operation is “equal,” or when theresult of an instruction execution is 0.Read/writeReadonlyLess Than (LE) FlagTurns ON when the result of a comparison operation is “less.”Not used.Page------------------Note DM 6601 in the PC Setup can be set to maintain the previous status of the I/O Hold Bit (SR 25212) and theI/O Hold Bit (SR 25212) when power is turned OFF.

If power is left OFF for longer than the backup time,however, status may be cleared. For details regarding the backup time, refer to the CPM1A or CPM1Operation Manual. Refer to 1-1-2 CPM1/CPM1A PC Setup Settings for details on the PC Setup.AR AreaThese bits mainly serve as flags related to CPM1/CPM1A operation. These bits retain their status even after theCPM1/CPM1A power supply has been turned off or when operation begins or stops.Word(s)Bit(s)FunctionPageAR 00,AR 0100 to 15Not used.AR 02000103 to 0708 to 1112 to 15Expansion Unit Error Flag for 1st UnitExpansion Unit Error Flag for 2nd Unit(Not used by CPM1 CPU Units without “-V1” suffix.)Expansion Unit Error Flag for 3rd Unit(Not used by CPM1 CPU Units without “-V1” suffix.)Not used.Number of I/O Units ConnectedNot used.AR 03 toAR 0700 to 15Not used.AR 0800 to 0708 to 11Not used.Programming Device Error Code0: Normal completion1: Parity error2: Frame error3: Overrun error1213 to 15Programming Device Error FlagNot used.AR 0900 to 15Not used.AR 1000 to 15Power-off Counter (4 digits BCD)This is the count of the number of times that the power has been turned off.To clear the count, write “0000” from a Programming Device.02544These flags turn ONwhen there is an error inthe corresponding Unit.------246---Appendix CMemory AreasWord(s)AR 11Bit(s)00 to 0708 to 1415FunctionHigh-speed Counter Range Comparison Flags00 ON: Counter PV is within comparison range 101 ON: Counter PV is within comparison range 202 ON: Counter PV is within comparison range 303 ON: Counter PV is within comparison range 404 ON: Counter PV is within comparison range 505 ON: Counter PV is within comparison range 606 ON: Counter PV is within comparison range 707 ON: Counter PV is within comparison range 8Not used.Pulse Output StatusON:Stopped.OFF:Pulses being output.Page82---AR 1200 to 15Not used.AR 1300525Power-up PC Setup Error FlagTurns ON when there is an error in DM 6600 to DM 6614 (the part of the PC Setup areathat is read at power-up).01Start-up PC Setup Error FlagTurns ON when there is an error in DM 6615 to DM 6644 (the part of the PC Setup areathat is read at the beginning of operation).02RUN PC Setup Error FlagTurns ON when there is an error in DM 6645 to DM 6655 (the part of the PC Setup areathat is always read).03, 0405Not used.Long Cycle Time FlagTurns ON if the actual cycle time is longer than the cycle time set in DM 6619.Not used.Memory Area Specification Error FlagTurns ON when a non-existent data area address is specified in the program.Flash Memory Error FlagTurns ON when there is an error in flash memory.Read-only DM Error Flag (See note 3.)Turns ON when a checksum error occurs in the read-only DM (DM 6144 to DM 6599)and that area is initialized.06, 0708091011121314PC Setup Error FlagTurns ON when a checksum error occurs in the PC Setup area.Program Error FlagTurns ON when a checksum error occurs in the program memory (UM) area, or whenan improper instruction is executed.Not used.Data Save Error FlagTurns ON when power is turned on if data could not be saved with the built-in capacitor.Data is saved in the following areas with the built-in capacitor:DM area (Read/write-capable: DM 0000 to 0999 and DM 1022 to 1023)HR area (HR 00 to 19)Counter area (CNT 000 to 127)SR area, word 252, bits 11, 12 (when PC Setup in DM 6601 is set to maintain status)AR area, word 10 (power-off counter)Operation mode (when PC Setup in DM 6600 is set to continue mode last used beforepower failure)-------526------If data could not be saved in the above areas:The DM, error log, HR, counter, SR (word 252, bits 11 and 12), and AR (word 10) areaswill be cleared.The operation mode will go into PROGRAM Mode.15(For details regarding the holding time, refer to the CPM1A Operation Manual.)Not used.545Appendix CMemory AreasWord(s)AR 14AR 15Bit(s)00 to 1500 to 15FunctionMaximum Cycle Time (4 digits BCD) (See note 1.)The longest cycle time since the beginning of operation is stored.

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

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

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

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