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

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

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

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

Be sure to keep the actual program capacity in mind while programming.84SectionSYSMAC-CPT Support Software4-1Program TransferWhen the program is transferred from the PC to the CPT with the default functioncode assignments, FUN18, FUN19, FUN87, and FUN88 will be displayed asTKY, MCMP, DSW, and 7SEG. The instructions, however, will be transferredcorrectly.An error will occur if any instructions not supported by the CPT are transferredfrom the CPM2A.When the program is transferred from the CPT to the PC, TKY, MCMP, DSW,and 7SEG will be displayed on the CPT, but will not be executed in the CPU Unit.They will be treated as NOP.If expansion instructions are transferred to the PC with DM 6602 is set to the “default settings” or if instructions not supported by the CPM2A are transferred tothe PC, a message saying that expansion instructions cannot be written because DIP switch pin 4 is OFF will be displayed.

Change the setting of DM 6602to enable user settings to use expansion instructions.Expansion InstructionsIt will not be possible to transfer the program if the function codes assigned toexpansion instructions (18 instructions) have been changed from their defaultsettings.

A message to turn ON the DIP switch of the PC and execute again willbe displayed. Change the function code assignments to the CQM1 defaultsshown in the following table before programming.Function codeDefault CPM2A Assignments17ASFTASFTDefault CQM1 Assignments18---TKY19---MCMP47RXDRXD48TXDTXD60CMPLCMPL61INIINI62PRVPRV63CTBLCTBL64SPEDSPED65PULSPULS66SCLSCL67BCNTBCNT68BCMPBCMP69STIMSTIM87---DSW88---7SEG89INTINTThere are four CPM2A instructions (STUP(––), SYNC(––), TIML(––), andTMHH(––)) that are not supported by the CQM1 and cannot be used. If one ofthese instructions is used in the program, an error will occur when the program istransferred from the PC to the computer.The input word for the frequency for PWM must be between IR 000 and IR 049,or between IR 200 and IR 252.If a CQM1 instruction that is not supported by the CPM2A is used in the program,an error will occur when the program is transferred from the computer to the PC.Error LogThe error log cannot be displayed.

If data has been written to DM 6569 toDM 6599, however, this data will be incorrectly displayed as the error log. Do notuse the information that is displayed.PC SetupSome of the CPM2A’s PC Setup settings are different from those in the CQM1,so not all settings can be made from the menus. These settings have to be madeby writing data directly to the word containing the setting.85SYSMAC-CPT Support SoftwareSection4-14-1-3 Using the SYSMAC-CPT Support SoftwareThis section shows how to perform basic SYSMAC-CPT Support Software operations with the CPM2A PC.

(The software is operating in a Windows 95 environment in these examples.)Starting the SoftwareThe SYSMAC-CPT Support Software is a Windows 3.1/Windows 95 application. Refer to the SYSMAC-CPT Support Software User Manual (W333) for details on computer requirements and the software installation procedure.1, 2, 3...1.

Select “Programs (P)” from the Start Menu, “SYSMAC-CPT,” and then“SYSMAC-CPT” to start the software.2. Read the notes provided in the startup messages and click “OK.”3. The SYSMAC-CPT Support Software will start.Note To exit from the SYSMAC-CPT Support Software, select “File (F)” from the menubar and “Exit (X)” from the File menu.86SectionSYSMAC-CPT Support SoftwareCreating a New Project1, 2, 3...4-1Follow this procedure when using SYSMAC-CPT Support Software for the firsttime or creating a new project. Specify the PC model and CPU version of the PCbeing used.1. Select “File (F)” from the menu bar and “New (N)” from the File menu.2. Input the name of the new project, set the PC model to “CQM1,” set the CPUversion to “CPU43,” and click “OK.”d) Click OK.a) Input theproject name.b) Set the PC model to CQM1.c) Set the PC model to CQM1.3. The new project’s ladder diagram will be displayed.87SectionSYSMAC-CPT Support SoftwareWriting and Editing theLadder ProgramThe SYSMAC-CPT Support Software can display programs in ladder-diagramformat or mnemonic format.

To switch the display/editing format, select“View (V)” from the menu bar, “Program editor (P),” and then “Ladder (L)” or“Mnemonic (M).”Ladder-diagram formatTransferring the Program884-1Mnemonic formatThere are three steps involved in transferring the program.• Connect the CPM2A with the computer in which the SYSMAC-CPT SupportSoftware has been installed.• Switch the SYSMAC-CPT Support Software to online operation.• Transfer the program.SectionSYSMAC-CPT Support Software4-1Connecting the CPM2A with the ComputerSecurely insert the computer Connecting Cable to the CPM2A’s peripheral portand then turn on the CPM2A’s power supply.IBM PC/AT or compatiblepersonal computerCPM2A CPU UnitConnecting CableS CQM1-CIF01(25-pin D-Sub Connector)S CQM1-CIF02(9-pin D-Sub Connector)Operating ModesIf power is turned ON to the CPM2A without anything connected to the peripheral port, the CPM2A will start operation in RUN mode.

If operation starts in RUNmode when power is turned ON even though a Connecting Cable is correctlyconnected to the peripheral port, check the settings in the PC Setup in theCPM2A.The CMP2A has three operating modes: PROGRAM, MONITOR, and RUN.When the CPT is offline, the CPM2A will operate in PROGRAM mode. When theCPT is online, the CPM2A operating mode can be controlled from the CPT.PROGRAM ModeThe CPM2A program isn’t executed in PROGRAM mode. Use PROGRAMmode to create and edit the program, clear memory, or check the program forerrors.MONITOR ModeThe CPM2A program is executed in MONITOR mode and I/O is processed justas it is in RUN mode. Use MONITOR mode to test system operations, such asmonitoring CPM2A operating status, force-setting and resetting I/O bits, changing the SV/PV of timers and counters, changing word data, and online editing.RUN ModeThis is the CPM2A’s normal operating mode.

The CPM2A’s operating status canbe monitored from a Programming Device, but bits can’t be force-set/force-resetand the SV/PV of timers and counters can’t be changed.89SectionSYSMAC-CPT Support Software4-1Switching to Online OperationThe SYSMAC-CPT Support Software must make an online connection in orderto communicate with the CPM2A, transfer the program, or change the CPM2A’soperating mode.1, 2, 3...1. Select “Online (O)” from the menu bar and “Go online (G)” from the Onlinemenu.2.

A confirmation message will be displayed. Click “OK” to go online.Cancel3. The ladder-diagram display will change to indicate the online connection.Changes to “Program,” showingthe PC’s operating mode.90SectionSYSMAC-CPT Support Software4-1Transferring the ProgramUse the following procedure to transfer a program to the PC.Before attempting to transfer the program, make sure that the SYSMAC-CPTSupport Software is online and that the CPM2A is in PROGRAM mode. The program cannot be transferred unless the PC is in PROGRAM mode.1, 2, 3...1.

Check that the PC is in PROGRAM mode, select “Online (O)” from the menubar, and “Transfer (Computer → PC (T))” from the Online menu.Make sure that the CPM2A is in PROGRAM modebefore attempting to transfer the program.2. Select “Program” and click “Transfer (Computer → PC)” to begin transferthe program.b) Click to beginthe programtransfer.a) Select “Program.”Checking Operation in MONITOR ModeUse the following procedure to switch the CPM2A to MONITOR mode.1, 2, 3...1. Make sure that the SYSMAC-CPT Support Software is online.

Select “Online (O)” from the menu bar, select “Mode (M),” and then “MONITOR (M).”2. A confirmation message will be displayed. Click “OK” to switch to MONITORmode.Cancel91SectionSYSMAC Support Software (SSS)4-2Starting Operation in RUN ModeUse the following procedure to switch the CPM2A to RUN mode.1, 2, 3...1. Make sure that the SYSMAC-CPT Support Software is online. Select “Online (O)” from the menu bar, select “Mode (M),” and then “RUN (R).”2. A confirmation message will be displayed. Click “OK” to switch to RUNmode.Cancel4-2SYSMAC Support Software (SSS)4-2-1 IntroductionThe SSS is a complete programming and control package designed for C-seriesand CVM1 PCs. It provides not only programming capabilities, but alsoadvanced debugging, monitoring, and program/data management. For furtherinformation and actual operating procedures, please refer to the SYSMAC Support Software Operation Manuals: Basics and C-series.CPM2A programming can be performed with any version of the SSS.Refer to 3-4-7 Programming Device Connections for details on connecting apersonal computer to the CPM2A.4-2-2 Limitations and PrecautionsWhen programming a CPM2A PC with the SSS, set the PC model to “CQM1.”There are some software limitations because of differences between theCPM2A and CQM1 CPUs.CQM1A:K:Program Input andProgram Check92CVM1-CPU21CQM1CQM1 data areas are larger than the corresponding CPM2A data areas, so thedata area addresses that don’t actually exist in the CPM2A or instructions notsupported by the CPM2A can be input and won’t be detected in the programcheck.

Be sure that the word and bit addresses are within the specified rangesand that all instructions are supported.SectionSYSMAC Support Software (SSS)4-2If a program contains a data area address that exceeds the range of a CPM2Adata area, a memory error will be generated when the program is executed andthe Memory Area Specification Error Flag (AR 1308) will be turned ON.Data areaCQM1 rangeCPM2A rangeInput wordsIR 000 to IR 011IR 000 to IR 009Output wordsIR 100 to IR 111IR 010 to IR 019Work wordsIR 012 to IR 099SR areaSR 244 to SR 255IR 020 to IR 049/IR 200 to IR 227(IR 050 to IR 199 cannot be used.)SR 228 to SR 255HR areaHR 00 to HR 99HR 00 to HR 19(HR 20 to HR 99 cannot be used.)AR areaAR 00 to AR 27AR 00 to AR 23(AR 24 to AR 27 cannot be used.)LR areaLR 00 to LR 63LR 00 to LR 15(LR 16 to LR 63 cannot be used.)Timer/CounterTIM/CNT 000 to 511 TIM/CNT 000 to 255area(TIM/CNT 256 to 511 cannot be used.)DMRead/write DM 0000 to DM 6143 DM 0000 to DM 1999,areaDM 2022 to DM 2047(DM 2048 to DM 6143 cannot be used.)Read-onlyError LogPC SetupDM 6144 to DM 6568 DM 6144 to DM 6599DM 6569 to DM 6599 DM 2000 to DM 2021DM 6600 to DM 6655 DM 6600 to DM 6655Monitoring, OnlineEditing, and Set ValuesAn error message will be displayed and the values will not be accepted if a dataarea address that exceeds the range of a CPM2A data area is entered for monitoring, time charts, an instruction operand, or a timer/counter SV.Transferring andVerifying DM Area DataDM Area addresses not supported by the CPM2A cannot be transferred or monitored.

DM 1024 to DM 6143 are not checked for DM Area verification.Available ProgramMemorySince the program capacity of the CQM1 (7,200 words) is greater than that of theCPM2A (4,096 words), the display will show more free space than is actuallyavailable. Be sure to keep the actual program capacity in mind while programming.Program TransferWhen the program is transferred from the PC to the SSS with the default functioncode assignments, FUN18, FUN19, FUN87, and FUN88 will be displayed asTKY, MCMP, DSW, and 7SEG. The instructions, however, will be transferredcorrectly.“???” will be displayed if any instructions not supported by the SSS are transferred from the CPM2A.

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

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

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

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