CPM2A_PROGRAMMING MANUAL (W353-E1-2) (Техническая документация), страница 5

PDF-файл CPM2A_PROGRAMMING MANUAL (W353-E1-2) (Техническая документация), страница 5 Инструментальные средства (5384): Другое - 9 семестр (1 семестр магистратуры)CPM2A_PROGRAMMING MANUAL (W353-E1-2) (Техническая документация) - PDF, страница 5 (5384) - СтудИзба2015-07-23СтудИзба

Описание файла

Файл "CPM2A_PROGRAMMING MANUAL (W353-E1-2)" внутри архива находится в следующих папках: Техническая документация, 1. Программируемый контроллер OMRON SYSMAC CPM2A. PDF-файл из архива "Техническая документация", который расположен в категории "". Всё это находится в предмете "инструментальные средства" из 9 семестр (1 семестр магистратуры), которые можно найти в файловом архиве МПУ. Не смотря на прямую связь этого архива с МПУ, его также можно найти и в других разделах. Архив можно найти в разделе "остальное", в предмете "инструментальные средства" в общих файлах.

Просмотр PDF-файла онлайн

Текст 5 страницы из PDF

This section willexplain the settings according to these classifications.The following table shows the settings for CPM1/CPM1A PCs in order. Refer tothe page number in the last column for more details on that setting.Word(s)Bit(s)FunctionPageStartup Processing (DM 6600 to DM 6614)The following settings are effective after transfer to the PC only after the PC is restarted.DM 6600Startup mode (effective when bits 08 to 15 are set to 02).00: PROGRAM; 01: MONITOR 02: RUNStartup mode designation00: Programming Console switch01: Continue operating mode last used before power was turned off. (See note 1.)02: Setting in 00 to 0716Not used.IOM Hold Bit (SR 25212) Status at Startup0: Reset; 1: Maintain (See note 3.)Forced Status Hold Bit (SR 25211) Status at Startup0: Reset; 1: Maintain (See note 3.)1700 to 03Program memory write-protection0: Program memory unprotected1: Program memory write-protected (except DM 6602 itself)1704 to 0708 to 15Programming Console display language0: English; 1: JapaneseNot used.DM 660300 to 15Not used.DM 660400 to 0700: If data could not be saved with the built-in capacitor (AR 1314 ON), a memory error will notbe generated.00 to 0708 to 15DM 660100 to 0708 to 1112 to 15DM 6602DM 6605 toDM 661408 to 1501: If data could not be saved with the built-in capacitor (AR 1314 ON), a memory error will begenerated.Not used.00 to 15Not used.Cycle Time Settings (DM 6615 to DM 6619)The following settings are effective after transfer to the PC the next time operation is started.DM 6615,DM 6616DM 661700 to 15Not used.00 to 07Servicing time for peripheral port (effective when bits 08 to 15 are set to 01)00 to 99 (BCD): Percentage of cycle time used to service peripheral.Peripheral port servicing setting enable00: 5% of the cycle time01: Use time in 00 to 07.18Cycle monitor time (effective when bits 08 to 15 are set to 01, 02, or 03)00 to 99 (BCD): Setting (see 08 to 15)Cycle monitor enable (Setting in 00 to 07 x unit; 99 s max.)00: 120 ms (setting in bits 00 to 07 disabled)01: Setting unit: 10 ms02: Setting unit: 100 ms03: Setting unit: 1 s18Cycle time0000: Variable (no minimum)0001 to 9999 (BCD): Minimum time in ms1908 to 15DM 661800 to 0708 to 15DM 661900 to 153SectionPC SetupWord(s)Bit(s)Function1-1PageInterrupt Processing (DM 6620 to DM 6639)The following settings are effective after transfer to the PC the next time operation is started.DM 662000 to 03 Input constant for IR 00000 to IR 000020: 8 ms; 1: 1 ms; 2: 2 ms; 3: 4 ms; 4: 8 ms; 5: 16 ms; 6: 32 ms; 7: 64 ms; 8: 128 ms04 to 07 Input constant for IR 00003 and IR 00004 (Setting same as bits 00 to 03)08 to 11 Input constant for IR 00005 and IR 00006 (Setting same as bits 00 to 03)12 to 15 Input constant for IR 00007 to IR 00011 (Setting same as bits 00 to 03)DM 662100 to 07 Input constant for IR 00100: 8 ms; 01: 1 ms; 02: 2 ms; 03: 4 ms; 04: 8 ms; 05: 16 ms; 06: 32 ms; 07: 64 ms; 08:128 msDM 6622DM 6623DM 6624DM 6625DM 6626 toDM 6627DM 662808 to 1500 to 0708 to 1500 to 0708 to 1500 to 0708 to 1500 to 0708 to 1500 to 15Input constant for IR 002 (Setting same as for IR 001.)Input constant for IR 003 (Setting same as for IR 001.)Input constant for IR 004 (Setting same as for IR 001.)Input constant for IR 005 (Setting same as for IR 001.)Input constant for IR 006 (Setting same as for IR 001.)Input constant for IR 007 (Setting same as for IR 001.)Input constant for IR 008 (Setting same as for IR 001.)Input constant for IR 009 (Setting same as for IR 001.)Not used.Not used.00 to 0304 to 0708 to 1112 to 1500 to 15Interrupt enable for IR 00003 (0: Normal input; 1: Interrupt input; 2: Quick-response)Interrupt enable for IR 00004 (0: Normal input; 1: Interrupt input; 2: Quick-response)Interrupt enable for IR 00005 (0: Normal input; 1: Interrupt input; 2: Quick-response)Interrupt enable for IR 00006 (0: Normal input; 1: Interrupt input; 2: Quick-response)Not used.1970DM 6629 toDM 6641High-speed Counter Settings (DM 6640 to DM 6644)The following settings are effective after transfer to the PC the next time operation is started.DM 6640 to 00 to 15 Not used.DM 6641DM 664200 to 03 High-speed counter mode0: Up/down counter mode; 4: Incrementing counter mode04 to 07 High-speed counter reset mode0: Z phase and software reset; 1: Software reset only08 to 15 High-speed counter enable00: Don’t use high-speed counter; 01: Use high-speed counter with settings in 00 to 07DM 6643,00 to 15 Not used.DM 6644478SectionPC SetupWord(s)Bit(s)Function1-1PagePeripheral Port SettingsThe following settings are effective after transfer to the PC.DM 6645 to 00 to 15 Not used.DM 6649DM 665000 to 07 Port settings00: Standard (1 start bit, 7-bit data, even parity, 2 stop bits, 9,600 bps)01: Settings in DM 665108 to 1112 to 15204(Other settings will cause a non-fatal error and AR 1302 will turn ON.)Link area for 1:1 PC Link via peripheral port:0: LR 00 to LR 15Communications mode0: Host Link; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: 1:1 NT Link(Other settings will cause a non-fatal error and AR 1302 will turn ON.)DM 665100 to 0708 to 15Baud rate00: 1.2K, 01: 2.4K, 02: 4.8K, 03: 9.6K, 04: 19.2K, 05 to 07: Cannot be used (see note2)(Other settings will cause a non-fatal error and AR 1302 will turn ON.)Frame formatStartLengthStopParity00:1 bit7 bits1 bitEven01:1 bit7 bits1 bitOdd02:1 bit7 bits1 bitNone03:1 bit7 bits2 bitsEven04:1 bit7 bits2 bitsOdd05:1 bit7 bits2 bitsNone06:1 bit8 bits1 bitEven07:1 bit8 bits1 bitOdd08:1 bit8 bits1 bitNone09:1 bit8 bits2 bitsEven10:1 bit8 bits2 bitsOdd11:1 bit8 bits2 bitsNone(Other settings will cause a non-fatal error and AR 1302 will turn ON.)DM 665200 to 15Transmission delay (Host Link) (See note 4.)0000 to 9999: In ms.(Other settings will cause a non-fatal error and AR 1302 will turn ON.)DM 665300 to 07Node number (Host Link)00 to 31 (BCD)(Other settings will cause a non-fatal error and AR 1302 will turn ON.)08 to 15 Not used.DM 665400 to 15 Not used.Error Log Settings (DM 6655)The following settings are effective after transfer to the PC.DM 665500 to 03 Style0: Shift after 7 records have been stored1: Store only first 7 records (no shifting)2 to F: Do not store records04 to 07 Not used.08 to 11 Cycle time monitor enable0: Detect long cycles as non-fatal errors1: Do not detect long cycles12 to 1521Not used.Note1.

When the startup mode is set to continue the operating mode last used before the power was turned off, that operating mode will be retained by thebuilt-in capacitor. If the power remains off for longer than the backup time ofthe capacitor, the data may be lost. (For details on the holding time, refer tothe CPM1A or CPM1 Operation Manual.)5SectionPC Setup1-12. Do not set to “05” to “07.” If set to this value, the CPM1/CPM1A will not operate properly and the RUN PC Setup Error Flag (AR 1302 ON) will not turnON.3. Retention of IOM Hold Bit (SR 25212) StatusIf the “IOM Hold Bit Status at Startup” (DM 6601, bits 08 to 11) is set to “Maintain” with the IOM Hold Bit (SR 25212) turned ON, operation can be startedwith the I/O memory (I/O, IR, LR) status just as it was before the power wasturned OFF.

(The input area is refreshed at startup, however, so it is overwritten by the most recently updated input status.)Retention of Forced Status Hold Bit (SR 25211) StatusIf the “Forced Status Hold Bit Status at Startup” (DM 6601, bits 12 to 15) isset to “Maintain” with the Forced Status Hold Bit (SR 25211) turned ON, operation can be started with the forced set/reset status just as it was beforethe power was turned OFF. (When starting up in RUN Mode, however, theforced set/reset status is cleared.)Even if the “IOM Hold Bit Status at Startup” or “Forced Status Hold Bit Statusat Startup” is set to “Maintain,” the IOM Hold Bit (SR 25212) or Forced StatusHold Bit (SR 25211) status may be cleared if the power remains OFF forlonger than the backup time of the built-in capacitor. (For details on the holding time, refer to the CPM1A or CPM1 Operation Manual.) At this time theI/O memory will also be cleared, so set up the system so that clearing the I/Omemory will not cause problems.4.

The transmission delay is the delay between the previous transmission andthe next transmission.Host computerCommandProgrammable ControllerCommandResponseResponseTransmission delay time5. If an out-of-range value is set, the following communications conditions willresult. In that case, reset the value so that it is within the permissible range.Communications mode:Host LinkCommunications format: Standard settings(1 start bit, 7-bit data; even parity, 2 stop bits,9,600 bps)Transmission delay:NoNode number:006SectionPC Setup1-11-1-3 CPM2A/CPM2C PC Setup SettingsThe PC Setup is broadly divided into four categories: 1) Settings related to basicPC operation and I/O processes, 2) Settings related to pulse output functions, 3)Settings related to interrupts, and 4) Settings related to communications.

Thissection will explain the settings according to these classifications.The following table shows the setting in order in the DM area. For details, refer tothe page numbers shown.Word(s)Bit(s)FunctionPageStartup Processing (DM 6600 to DM 6614)The following settings are effective after transfer to the PC only after the PC is restarted.DM 660000 to 07 Startup mode (effective when bits 08 to 15 are set to 02).00: PROGRAM; 01: MONITOR; 02: RUN08 to 15 Startup mode designation00: According to communications port setting switch and peripheral port connection(See table at the bottom of this page.)01: Continue operating mode last used before power was turned OFF.02: Setting in 00 to 07DM 660100 to 07 Not used.08 to 1112 to 15DM 660200 to 0304 to 07DM 6603DM 6604DM 6605 toDM 6614IOM Hold Bit (SR 25212) Status at Startup0: Reset to 0; 1: Maintain previous statusForced Status Hold Bit (SR 25211) Status at Startup0: Reset to 0; 1: Maintain previous statusProgram memory write-protection0: Program memory unprotected1: Program memory write-protected (except DM 6602 itself)16171708 to 11Programming Console display language0: English; 1: JapaneseExpansion instruction function code assignments0: Default settings1: User assignments12 to 1500 to 15Not used.Not used.00 to 0700: A memory error will not be generated if data could not be retained by the battery.08 to 1500 to 1501: A memory error will be generated if data could not be retained by the battery.Not used.Not used.149Note The startup operating mode will be as shown in the following table is bits 08 to 15of DM 6600 are set to 00.Peripheral portconnected toWord(s)Communications port setting switchNothingPin 2 OFFPROGRAMProgrammingConsoleMode set on ProgrammingConsole mode switchPROGRAM (The CPM2C willnot be able to communicatewith Programming Console.)Other ProgrammingDevicePROGRAM (The CPM2C willnot be able to communicatewith Programming Device.)PROGRAMBit(s)Pin 2 ONRUNFunctionPageCycle Time Settings (DM 6615 to DM 6619)The following settings are effective after transfer to the PC the next time operation is started.DM 661500 to 15 Not used.7SectionPC SetupWord(s)DM 6616Bit(s)00 to 0708 to 15DM 661700 to 0708 to 15DM 661800 to 0708 to 15DM 661900 to 15FunctionServicing time for RS-232C port (Effective when bits 08 to 15 are set to 01.)00 to 99 (BCD): Percentage of cycle time used to service RS-232C port.RS-232C port servicing setting enable00: 5% of the cycle time01: Use time in bits 00 to 07.1-1Page18Servicing time for peripheral port (Effective when bits 08 to 15 are set to 01.)00 to 99 (BCD): Percentage of cycle time used to service peripheral.Peripheral port servicing setting enable00: 5% of the cycle time01: Use time in bits 00 to 07.18Cycle monitor time (Effective when bits 08 to 15 are set to 01, 02, or 03.)00 to 99 (BCD): Setting (See bits 08 to 15, below.)18A fatal error will be generated and PC operation will stop if the cycle time exceeds thecycle monitor time set here.Cycle monitor enable (Setting in 00 to 07 × units; 99 s max.)00: 120 ms (setting in bits 00 to 07 disabled)01: Setting units: 10 ms02: Setting units: 100 ms03: Setting units: 1 sMinimum cycle time0000: Variable (no minimum)0001 to 9999 (BCD): Minimum time in ms19Interrupt Processing (DM 6620 to DM 6639)The following settings are effective after transfer to the PC the next time operation is started.DM 662000 to 03DM 662104 to 0708 to 1112 to 1500 to 07Input time constant for IR 00000 to IR 000020: 10 ms; 1: 1 ms; 2: 2 ms; 3: 3 ms; 4: 5 ms; 5: 10 ms; 6: 20 ms; 7: 40 ms; 8: 80 msInput time constant for IR 00003 and IR 00004 (Setting same as bits 00 to 03)Input time constant for IR 00005 and IR 00006 (Setting same as bits 00 to 03)Input time constant for IR 00007 to IR 00011 (Setting same as bits 00 to 03)Input time constant for IR 00100: 10 ms01: 1 ms02: 2 ms03: 3 ms04: 5 ms05: 10 ms06: 20 ms07: 40 ms08: 80 ms08 to 1500 to 0708 to 1500 to 0708 to 1500 to 0708 to 1500 to 0708 to 15Input constant for IR 002 (Setting same as for IR 001.)Input constant for IR 003 (Setting same as for IR 001.)Input constant for IR 004 (Setting same as for IR 001.)Input constant for IR 005 (Setting same as for IR 001.)Input constant for IR 006 (Setting same as for IR 001.)Input constant for IR 007 (Setting same as for IR 001.)Input constant for IR 008 (Setting same as for IR 001.)Input constant for IR 009 (Setting same as for IR 001.)Not used.DM 6626 toDM 662700 to 15Not used.DM662800 to 0304 to 0708 to 11Interrupt enable for IR 00003 (0: Normal input; 1: Interrupt input; 2: Quick-response)Interrupt enable for IR 00004 (0: Normal input; 1: Interrupt input; 2: Quick-response)Interrupt enable for IR 00005 (0: Normal input; 1: Interrupt input; 2: Quick-response)12 to 15(Set to 0 in CPM2C CPU Units with 10 I/O points.)Interrupt enable for IR 00006 (0: Normal input; 1: Interrupt input; 2: Quick-response)DM 6622DM 6623DM 6624DM 66251925(This input does not exist in CPM2C CPU Units with 10 I/O points.)DM 662900 to 0304 to 0708 to 158PV coordinate system for pulse output 00: Relative coordinates; 1: Absolute coordinatesPV coordinate system for pulse output 10: Relative coordinates; 1: Absolute coordinatesNot used.93SectionPC SetupWord(s)Bit(s)Function1-1PageDM 6630 to 00 to 15 Not used.DM 6641High-speed Counter Settings (DM 6640 to DM 6644)The following settings are effective after transfer to the PC the next time operation is started.DM 6640 to 00 to 15 Not used.DM 6641DM 664200 to 03 High-speed counter mode40, 480: Differential phase mode (5 kHz)1: Pulse + direction input mode (20 kHz)2: Up/down input mode (20 kHz)4: Increment mode (20 kHz)04 to 0708 to 15High-speed counter reset mode0: Z phase and software reset; 1: Software reset onlyHigh-speed counter/Synchronized pulse control for IR 00000 to IR 0000200: Don’t use either function.01: Use as high-speed counters.02: Use for synchronized pulse control (10 to 500 Hz).03: Use for synchronized pulse control (20 Hz to 1 kHz).04: Use for synchronized pulse control (300 Hz to 20 kHz).DM 6643,00 to 15 Not used.DM 6644RS-232C Port Communications SettingsThe following settings are effective after transfer to the PC.If the CPM2A CPU Unit’s Communications Switch is ON, communications through the CPM2A’s RS-232C port are governed by the default settings (all 0) regardless of the settings in DM 6645 through DM 6649.If pin 2 of the CPM2C CPU Unit’s DIP switch is ON, communications through the CPM2C’s RS-232C port are governedby the default settings (all 0) regardless of the settings in DM 6645 through DM 6649.DM 664500 to 03Port settings2040: Standard (1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps), Host Link unitnumber: 01: Settings in DM 6646(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)04 to 07CTS control setting0: Disable CTS control; 1: Enable CTS control(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)08 to 1112 to 15Link words for 1:1 data link0: LR 00 to LR 15 (Any other settings are ineffective.)Communications mode0: Host Link; 1: No-protocol; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: NT Link(Any other setting causes a non-fatal error and turns ON AR 1302.)DM 664600 to 0708 to 15Baud rate00: 1,200 bps; 01: 2,400 bps; 02: 4,800 bps; 03: 9,600 bps; 04: 19,200 bpsFrame formatStart bitsData bitsStop bitsParity00:1 bit7 bits1 bitEven01:1 bit7 bits1 bitOdd02:1 bit7 bits1 bitNone03:1 bit7 bits2 bitsEven04:1 bit7 bits2 bitsOdd05:1 bit7 bits2 bitsNone06:1 bit8 bits1 bitEven07:1 bit8 bits1 bitOdd08:1 bit8 bits1 bitNone09:1 bit8 bits2 bitsEven10:1 bit8 bits2 bitsOdd11:1 bit8 bits2 bitsNone204(Any other setting specifies standard settings (1 start bit, 7 data bits; even parity, 2 stopbits, 9,600 bps), causes a non-fatal error, and turns ON AR 1302.)9SectionPC SetupWord(s)DM 6647Bit(s)00 to 15FunctionTransmission delay (0000 to 9999 BCD sets a delay of 0 to 99,990 ms.)1-1Page204(Any other setting specifies a delay of 0 ms, causes a non-fatal error, and turns ONAR 1302.)DM 664800 to 0708 to 1112 to 15DM 664900 to 0708 to 15Node number (Host Link)00 to 31 (BCD)(Any other setting specifies a node number of 00, causes a non-fatal error, and turnsON AR 1302.)Start code selection for no-protocol communications0: Disables start code; 1: Enables start code in DM 6649(Any other setting disables the start code, causes a non-fatal error, and turns ONAR 1302.)End code selection for no-protocol communications0: Disables end code; 1: Enables end code in DM 6649; 2: Sets end code of CR, LF.(Any other setting disables the end code, causes a non-fatal error, and turns ONAR 1302.)Start code (00 to FF)(This setting is valid only when bits 8 to 11 of DM 6648 are set to 1.)When bits 12 to 15 of DM 6648 set to 0:Sets the number of bytes to receive.

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