Главная » Просмотр файлов » CX-Programmer User Manual

CX-Programmer User Manual (986752), страница 17

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

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

Select the appropriate Check Level setting.For the Custom setting, the Checks field is enabled, allowing each individual check to be set or cleared.The scroll bar reveals further checks. Select the OK pushbutton to complete the operation. Select theCancel pushbutton to abort the operation.Page 78Revision 2.0OMRONCHAPTER 4 – ReferenceMnemonic Program EditingThe mnemonic view of a program allows mnemonic instructions to be typed directly. This feature is foradvanced users who wish to bypass the more structured programming available in the Ladder program.Select the View Mnemonics button from the toolbar.

The Mnemonics view isdisplayed in the Diagram Workspace.Whenever mnemonic instructions are entered, the Ladder program of the program is updated. When acomplete rung has been formed by the entered mnemonics, CX-Programmer normalises the newmnemonics and redraws the rung.It is possible that during the entry of the mnemonics, the rung can not be drawn in ladder form. In thiscase, it is shown as a statement list box on the Ladder program.In order to enter a comment for a rung into the Mnemonics view, enter the character ‘`’ followed by thetext. This type of comment must go at the start of a rung’s mnemonics.Revision 2.0Page 79CHAPTER 4 – ReferenceOMRONIn order to enter a comment against a ladder element, enter a comment statement following it - enter thecharacters ‘//’ followed by the text.In order to enter a rung annotation (unattached comment), enter the instruction type ‘A’ followed by thetext.

This type of comment must be at the end of a rung’s mnemonics.Working On-lineCX-Programmer permits the connection of the PLC to the computer through theproject, and subsequent additional features once the PLC is ‘on-line. Select the WorkOn-line button from the toolbar to connect to the PLC.PLC Operating ModeThe PLC can be set to one of four operating modes: Program, Debug (for CV-series PLCs only), Monitorand Run.♦Program Mode. In this mode, the PLC does not execute its program/s.

It is used to downloadprograms/data.♦Debug Mode. This mode is available on CV-series PLCs and enables basic debugging of userprograms.♦Monitor Mode. This mode allows a running program to be edited and monitored while connectedduring development. On-line editing must be performed in this mode.♦Run Mode. This mode sets the PLC to execute the current program as a live operation. This modeis generally used for final testing, after a program has been thoroughly tested and debugged. CXProgrammer cannot write to the PLC while it is in this mode.Some software operations are possible only in certain modes.Use the following procedure to change the PLC operating mode.1, 2, 3…1.Select the PLC object from the project workspace.2.Select the Work On-line button from the toolbar.

A confirmation message isdisplayed: select the Yes pushbutton to connect to the PLC.3.Select the Program Mode button, the Debug Mode button, the Monitor Modebutton or the Run Mode button from the toolbar.Programming On-lineOnce a program has been created and the project and PLC settings are satisfactory, the PLC can beconnected to allow on-line operations to be performed.It is usual to have the PLC running in Monitor mode while using on-line editing functions. On-lineediting is not possible in Run mode.Page 80Revision 2.0OMRONCHAPTER 4 – ReferenceUse the following procedure to program whilst on-line.1, 2, 3…1.Select the PLC object in the project workplace.2.Select the Work On-line button from the toolbar.

A confirmation message isdisplayed: select the Yes pushbutton to connect to the PLC. The icon in the projectworkspace changes. The background colour of the Ladder program changes toshow that it is now an editable area.3.Select the On-line Edit Rungs button from the toolbar. The selected area iscompared against the same area on the PLC to ensure that they are the same. Online edit cannot continue until the versions are identical. More than one rung canbe selected by keeping the left-mouse button depressed and dragging the mouseover the required rungs.4.The background colour of the selected rungs changes to show that it is now aneditable area.

Whilst surrounding rungs cannot be edited, they or individual itemswithin these rungs, can be copied into the editable area.On-line editing can now take place, as it would be accomplished offline. The final END instructioncannot be edited on-line.Revision 2.0Page 81CHAPTER 4 – ReferenceOMRONOnce normal editing is completed, select the Send On-line Edit Changes button fromthe toolbar. The changes are committed to the PLC. If the changes are successful, theedited area of the Ladder program returns to read-only mode.The on-line edit can be cancelled at any point prior to committing the changes byselecting the Cancel On-line Edit Changes button from the toolbar.

The program isrestored to prior to starting on-line editing.CautionBecause of the serious effect which changing programs on-line can have onthe operation of the equipment controlled by the PLC, the user is warnedbefore the change; it does not prevent the change being made.Working on rungs while the PLC is connected, and being able to easily change the program is one of thequickest ways to complete and check a project. With the PLC running in Monitor mode it is possible tomake changes as if the PLC were not connected.

The difference is that once a rung has been completed,it can be downloaded to the PLC while the program is running.When performing on-line editing, all rungs must be complete and valid before they can be transferred,whereas in offline editing, an invalid rung and program can be saved at any time.Uploading Program/s from the PLCA program can be uploaded from the currently connected PLC into the open project. All associatedprogram data, for example symbol details and IO table are uploaded.Use the following procedure to transfer a program from the PLC.1, 2, 3…1.Select the PLC object in the project workspace.2.Select the Work On-line button from the toolbar. A confirmation message isdisplayed; select the Yes pushbutton to connect to the PLC.3.Select the Transfer from PLC button from the toolbar.

A warning dialogue isdisplayed indicating that the current program in the project is overwritten.The Upload Options dialogue is displayed allowing individual components to beselected for transfer from the PLC, for example, programs, expansion functions (ifavailable), memory allocation, settings, IO table and memory.Note: It is possible to upload a single section for online-editing, if section markershave been included in the program.

When a single section has been uploaded, itcan only be online-edited, or copied to another, complete program.Note: It is possible to load symbol definitions from the PLC, if it has a file-card(CS/CV PLCs), file memory or comment memory. Loading symbols fromcomment memory is for backward compatibility with the OMRON SSS package:the symbols contained in the memory will be unnamed, global symbols.4.Page 82Set the settings as required and select the OK pushbutton.Revision 2.0OMRONCHAPTER 4 – Reference5.Note:The Uploading dialogue indicates the success (or not) of the transfer operation.Any errors are written to the Error Log.

Select the OK pushbutton to complete theoperation.For CS1-series PLCs, all programs and associated project data are transferred at onceand not individually.Downloading Program/s to the PLCPrograms can be downloaded to the PLC from the project when the PLC is in Program mode. If the PLCis not already in this mode, CX-Programmer changes the mode automatically.Use the following procedure to transfer a program to the PLC.1, 2, 3…1.Select the PLC object in the project workspace.2.Select the Work On-line button from the toolbar. A confirmation message isdisplayed; select the Yes pushbutton to connect to the PLC.Select the Transfer To PLC button from the toolbar.

The Download Optionsdialogue is displayed allowing the download of programs, settings and IO tableindividually or together.Note: It is possible to save symbol definitions to the PLC, if it has a file-card(CS/CV PLCs), file memory or comment memory. Saving symbols to commentmemory is for backward compatibility with the OMRON SSS package: only globalsymbols without names are downloaded.3.Set the settings as required and select the OK pushbutton. The items that can bedownloaded vary according to PLC series.The program is compiled and then a confirmation dialogue is displayed.

The Ladder program is greyedout, preventing any further editing. The operating mode and the cycle time of the task is displayed in thestatus bar.It is not possible to download a single program or selection of programs to the PLC – all programs aredownloaded together. However, any programs which have ‘unassigned’ tasks (set in the programproperties) will not be included.Comparing ProgramsThe project PLC program data can be compared with the data inside the PLC.The following comparisons may be performed, depending on PLC type:♦Program step number and instructions;♦IO Tables;♦PLC Settings;♦PLC data;♦Expansion Instruction Table (CQM1, C200HE, C200HG, C200HS and C200HX only);♦UM allocation data (CQM1, C200HE, C200HG, C200HS and C200HX only).Revision 2.0Page 83CHAPTER 4 – ReferenceOMRONUse the following procedure to compare programs on the computer and on the PLC.1, 2, 3…1.Select the PLC object in the project workspace.2.Select the Work On-line button from the toolbar.

A confirmation message isdisplayed; select the Yes pushbutton to connect to the PLC.3.Select the Compare with PLC button from the toolbar. The Compare Optionsdialogue is displayed allowing comparisons of programs, settings and IO tableindividually or together.4.Set the settings as required and select the OK pushbutton. The items that can bedownloaded vary according to PLC series.Details regarding comparisons between computer and PLC programs are displayed in the Compile tabof the Output Window.Transferring Programs, Symbols and Comments to and from File / File-cardIt is possible to write a combination of program code, program comments and symbol definitions to aset of files.

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

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

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

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