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

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

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

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

IR and LR bits that are not used for their allocated functions can be used aswork bits.2. The contents of the HR area, AR area, Counter area, and read/write DMarea are backed up by a capacitor or a battery. Refer to 2-1-2 Characteristicsin the SRM1 Master Control Unit Operation Manual for a graph showing thebackup time vs. temperature.3. When accessing a PV, TC numbers are used as word data; when accessingCompletion Flags, they are used as bit data.4. Data in DM 6144 to DM 6655 cannot be overwritten from the program, butthey can be changed from a Programming Device.282SectionMemory Area Functions5-15-1-2 FunctionsIR AreaThe functions of the IR area are explained below.With CPM1, CPM1A, CPM2A, and CPM2C PCs, IR area bits from IR 00000 toIR 01915 are allocated to terminals on the CPU Unit and Expansion I/O Units.With the SRM1(-V2), IR area bits from IR 00000 to IR 00715 and IR 01000 to IR01715 are allocated to CompoBus/S Slaves.

They reflect the ON/OFF status ofinput and output signals. Input bits begin at IR 00000, and output bits begin atIR 01000.IR words that are not allocated to inputs or outputs can be used as work words. Inaddition, unused bits in IR words allocated to outputs can be used as work bits.Work BitsThe work bits can be used freely within the program.

They can only be used within the program, however, and not for direct external I/O.Note1. The input bits shown in the following tables can operate as normal inputs orthey can be assigned special functions in the PC Setup.Special functions for input bits IR 00000 through IR 00002 are set inDM 6642:BitaddressIR 00000IR 00001PC Setup setting (DM 6642 bits 08 to15)00Used as normalinputs.01Used as high-speedcounter inputs.IR 0000202, 03, or 04Used as inputs forsynchronized pulsecontrol.Used as a normal input.Special functions for input bits IR 00003 through IR 00006 are set inDM 6628:BitaddressIR 00003IR 00004IR 00005*IR 00006*Bits inDM 662800 to 0304 to 0708 to 1112 to 15PC Setup setting (in DM 6628)0Used as normalinputs.1Used asinterrupt inputs(includingcounter mode).2Used asquick-responseinputs.Note *Input 00006 does not exist and input 00005 must be used as a normal input in CPM2C CPU Units with 10 I/O points.2.

Output bits IR 01000 and IR 01001 can operate as normal inputs or they canbe used for pulse outputs with PULS(65), SYNC(––), or PWM(––). (Use aCPU Unit with transistor outputs for the pulse output functions.)InstructionPULS(65)FunctionWith SPED(64):Single-phase pulse output without acceleration or decelerationWith ACC(––):Single-phase pulse output with trapezoidal acceleration anddecelerationSYNC(––)Synchronized pulse control outputPWM(––)Variable duty-ratio pulse outputSR AreaThese bits mainly serve as flags to PC operation or contain present and set values for various functions. For details on the various bit functions, refer to relevantsections in this manual or to Appendix C Memory Areas.Some SR area words can be used as work words when they are not used fortheir assigned purpose.TR AreaWhen a complex ladder diagram cannot be programmed in mnemonic code justas it is, these bits are used to temporarily store ON/OFF execution conditions at283Memory Area FunctionsSection5-1program branches.

They are used only for mnemonic code. When programmingdirectly with ladder diagrams using the SYSMAC Support Software (SSS) or theSYSMAC-CPT Support Software, TR bits are automatically processed for you.The same TR bits cannot be used more than once within the same instructionblock, but can be used again in different instruction blocks. The ON/OFF statusof TR bits cannot be monitored from a Programming Device.Examples showing the use of TR bits in programming are provided on page 320.HR AreaThese bits retain their ON/OFF status even after the PC power supply has beenturned off or when operation begins or stops. They are used in the same way aswork bits.AR AreaThese bits mainly serve as flags related to PC operation. These bits retain theirstatus even after the PC power supply has been turned off or when operationbegins or stops.

For details on the various bit functions, refer to relevant sectionsin this manual or to Appendix C Memory Areas.LR AreaWhen the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) is linked 1:1 with another CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2), a CQM1, an C200HS orC200HX/HG/HE PC, these bits are used to share data. For details, refer to page207.LR bits can be used as work bits when not used for 1:1 PC Links.Timer/Counter AreaThis area is used to manage timers and counters created with TIM, TIMH(15),TMHH(––)*, TIML(––)*, CNT, and CNTR(12).

The same numbers are used forboth timers and counters and each number can be used only once in the userprogram. Do not use the same TC number twice even for different instructions.Use TC numbers 000 through 003 for TIMH(15) and TC numbers 004 to 007 forTMHH(––)*. When these timer numbers are used, timing is performed as an interrupt process and the cycle timer does not affect timer operation.TC numbers are used to create timers and counters, as well as to accessCompletion Flags and present values (PVs). If a TC number is designated forword data, it will access the present value (PV); if it is used for bit data, it will access the Completion Flag for the timer/counter.Refer to instructions beginning on page 358 for details on timers and counters.DM AreaDM area data is accessed in word units only.

The contents of the DM area areretained even after the PC power supply has been turned off or when operationbegins or stops.CPM1/CPM1ADM words DM 0000 through DM 0999, DM 1022, and DM 1023 can be usedfreely in the program; other DM words are allocated specific functions, described below.DM 1000 through DM 1021 contain the error log information. Refer to Section 9Troubleshooting for details on the error log.CPM2A/CPM2CDM words DM 0000 through DM 1999 and DM 2022 through DM 2047 can beused freely in the program; other DM words are allocated specific functions, described below.DM 2000 through DM 2021 contain the error log information. Refer to Section 9Troubleshooting for details on the error log.SRM1(-V2)DM words DM 0000 through DM 1999 can be used freely in the program; otherDM words are allocated specific functions, described below.DM 2000 through DM 2021 contain the error log information.

Refer to Section 9Troubleshooting for details on the error log.Note DM 6600 through DM 6655 contain the PC Setup. Refer to 1-1 PC Setup for details.284SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-25-1-3 CPM1/CPM1A/SRM1(-V2) Flash MemoryThe following settings must be made to use the flash memory area forCPM1/CPM1A/SRM1(-V2) PCs.Writing DataIn order to write the contents of the UM area, the DM read-only area (DM 6144 toDM 6599, and the PC Setup area (DM 6600 to DM 6655) to the flash memory,either one of the following operations must be performed.• Switch the PC to either the MONITOR or PROGRAM mode.• Turn the power to the PC OFF and ON again.Note SRM1-CO01/02 Capacitor BackupIf changes are made to the above memory areas, they are not written to the flashmemory, and the power is switched off for 20 days or more (at 25°C), thechanges (in RAM) will be lost.

If this occurs, the unchanged contents will be readfrom the flash memory when the PC is started again.Changing Memory AreasWhen operating the SRM1 for the first time after changes have been made to theUM area, the DM read only area (DM 6144 to DM 6599, and the PC Setup area(DM 6600 to DM 6655), beware of the effect resulting from the SRM1’s delay inthe operation on other devices.The first operation for the SRM1 after the above memory areas have beenchanged will be a maximum of 850 ms later than the normal first operation without changes.SRM1 Cycle TimesA cycle time overflow warning will not be issued when any of the following operations are performed in either MONITOR or OPERATION modes.

Be careful ofthe effect of using online editing on SRM1 I/O response time.• Changes to the program using online editing.• Changes to the read-only DM area (DM 6144 to DM 6599.)• Changes to the PC Setup area (DM 6600 to DM 6655.)When any of the above operations are performed, the SRM1 cycle time will beincreased by a maximum of 850 ms. During this tiny interrupts will be disabledwhile the program or memory contents is written.5-2I/O Allocation for CPM1/CPM1A/CPM2A PCs5-2-1 CPU UnitsCPM1No. of I/O(on CPU Unit)Model number10CPM1-10CDR-20CPM1-20CDR-30CPM1-30CDR-30CPM1-30CDR--V1I/OAllocated bitsInputOutputInputOutputInput6 inputs: 00000 to 000054 outputs: 01000 to 0100312 inputs: 00000 to 000118 outputs: 01000 to 0100718 inputs:00000 to 0001100100 to 00105Output12 outputs:01000 to 0100701100 to 01103Input18 inputs:00000 to 0001100100 to 00105Output12 outputs:01000 to 0100701100 to 01103Max.

No. ofExpansion I/OUnits1 (see note 1)Max. No. of I/O(see note 1)301 (see note 1)401 (see note 1)503 (see note 2)90285SectionI/O Allocation for CPM1/CPM1A/CPM2A PCsNote5-21. The values for the maximum number of I/O in the above table include I/O onExpansion I/O Units.2. When using a CPM1 CPU Unit other than the CPM1-30CDR--V1, one ofthe following 20-point Expansion I/O Units can be connected to the PC:• CPM1-20EDR (relay outputs)• CPM1A-20EDRT (sinking transistor outputs)• CPM1A-20EDT1 (sourcing transistor outputs)3. When using the CPM1-30CDR--V1, up to 3 CPM1/CPM1A Expansion I/OUnits or CPM1A-MAD01 Analog I/O Units can be connected to the PC.CPM1ANo. of I/O(on CPU Unit)10203040Model numberAllocated bitsCPM1A-10CDR-CPM1A-10CDT-DCPM1A-10CDT1-DInput6 inputs: 00000 to 00005Output4 outputs: 01000 to 01003CPM1A-20CDR-CPM1A-20CDT-DCPM1A-20CDT1-DInput12 inputs: 0000 to 00011Output8 outputs: 01000 to 01007CPM1A-30CDR-CPM1A-30CDT-DCPM1A-30CDT1-DInputs18 inputs:00000 to 0001100100 to 00105Output12 outputs:01000 to 0100701100 to 01103Inputs24 inputs:00000 to 0001100100 to 00111Output16 outputs:01000 to 0100701100 to 01107CPM1A-40CDR-CPM1A-40CDT-DCPM1A-40CDT1-DNote286I/OMax.

No. ofExpansion I/OUnitsNoneMax. No. of I/O(see note 1)10None203 (see note)903 (see note)1001. The values for the maximum number of I/O in the above table include I/O onExpansion I/O Units.2. When using a CPM1A CPU Unit with 30 or 40 I/O points, up to 3 ExpansionUnits or Expansion I/O Units can be connected to the PC.SectionI/O Allocation for CPM1/CPM1A/CPM2A PCs5-2CPM2ANo. of I/O(on CPU Unit)203040Model numberI/OCPM2A-20CDR-CPM2A-20CDT-DCPM2A-20CDT1-DInput12 inputs: 0000 to 00011Output8 outputs: 01000 to 01007CPM2A-30CDR-CPM2A-30CDT-DCPM2A-30CDT1-DInput18 inputs:00000 to 0001100100 to 00105Output12 outputs:01000 to 0100701100 to 01103Input24 inputs:00000 to 0001100100 to 00111Output16 outputs:01000 to 0100701100 to 01107Input36 inputs:00000 to 0001100100 to 0011100200 to 0021124 outputs:01000 to 0100701100 to 0110701200 to 01207CPM2A-40CDR-CPM2A-40CDT-DCPM2A-40CDT1-D60Allocated bitsCPM2A-60CDR-CPM2A-60CDT-DCPM2A-60CDT1-DOutputNoteMax. No.

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

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

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

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