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

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

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

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

Open the Address Reference Tool by selecting the Show AddressReference Tool button from the toolbar.3.Examine each symbol’s usage in the program by selecting a symbol whilstdisplaying the Address Reference Tool, or moving around the diagram with thecursor.The Ladder Program can also be viewed and edited in Mnemonics view.

Block Programs can be enteredin either Mnemonics view or by showing a rung in statement list within the ladder editor..Select the View Mnemonics button from the toolbar to display the Mnemonics view.To enter mnemonics directly into the ladder editor, select View as Statement List forthe relevant rung.Compiling the ProgramThe program undergoes continual verification during its creation and any subsequent editing; this appliesto both on-line and offline programming.

Errors appear in red in the ladder diagram. If a rung containsan error, a red line appears down the left-hand side of the Ladder rung. This can happen, for example,when has element has been placed on the diagram window but has not been assigned a symbol or address.Use the following procedure to compile the program.1, 2, 3…1.To list any errors in the program, click the right-mouse button and select theCompile Program button from the toolbar.

The output (for example, compilationprogress or error details) is displayed in the Compile tab of the Output Window.Downloading the Program to a PLCThe project contains details of the type and model of the PLC for which the program is intended. Beforea program can be downloaded, this information should be reviewed to ensure that it is correct and thatit matches the PLC actually being used.

The appropriate communications interface type should also beselected for the connected PLC. Other parameters, for example PLC Setup may need to be specifiedbefore connecting to the PLC and running a program. Refer to Chapter 4 - Reference and to the CXServer User Manual concerning the definition of the project’s IO Table, PLC Settings, Memory Card andError Log.Use the following procedure to transfer the program to the PLC.1, 2, 3…Page 281.Save the current project by selecting the Save Project button from the toolbar. Ifthe project has not been saved before, the Save CX-Programmer File dialogue isdisplayed. Enter a file name in the File name field and select the Save pushbuttonto complete the save operation.Revision 2.0OMRONCHAPTER 2 – Quick Start Guide2.Connect to the PLC by selecting the Work On-line button from the toolbar.

Aconfirmation dialogue is displayed: select the Yes pushbutton to connect. Sinceordinary editing is not allowed when on-line, the program becomes greyed.3.Select the program object in the project workspace.4.Set the PLC operating mode to Program by selecting the Program Mode buttonfrom the toolbar. If this step is ignored, CX-Programmer automatically places thePLC in this mode.5.Select the Download button from the toolbar. The Download Options dialogue isdisplayed.6.Set the Programs field and select the OK pushbutton.Uploading the Program from a PLCUse the following procedure to transfer the program from the PLC.1, 2, 3…1.Select the PLC object in the project workspace.2.Select the Upload button from the toolbar. The first program in the project tree iscompiled. If the PLC is offline, a confirmation dialogue is displayed: Select theYes pushbutton to connect to the PLC.

The Upload Options dialogue is displayed.3.Set the Programs field and select the OK pushbutton.Comparing the Project Program/s with the PLC Program/sA project program can be compared with the program in the PLC. Use the following procedure tocompare the project program and the program on the PLC.1, 2, 3…1.Select the PLC object in the project workspace.2.Select the Compare with PLC button from the toolbar. The Compare Optionsdialogue is displayed.3.Set the Programs field and select the OK pushbutton.

The Compare dialogue isdisplayed.Details regarding comparisons between computer and PLC programs are displayed in the Compile tabof the Output Window.Revision 2.0Page 29CHAPTER 2 – Quick Start GuideOMRONMonitoring a Program During ExecutionOnce the program has been downloaded, it can be monitored in the Diagram Workspace (which acts amimic display) during execution. Use the following procedure to monitor the program.1, 2, 3…1.Select the PLC object the project workspace.2.Select the Toggle PLC Monitoring button from the toolbar.3.As the program executes, data and power-flow can be followed in the Ladderprogram; for example, connections are selected and values are incremented.Note:Individual PLC data elements can be monitored via the Watch Window. This windowallows monitoring of addresses from multiple PLCs at the same time.Note:The values are monitored in a format according to the data-type of the symbol whichis being used for the operand, or the data-type of the instruction operand itself.

Toalways monitor in a single, hexadecimal format, turn on the Monitor In Hex optionfrom the toolbar.On-line EditAlthough the downloaded program has been greyed to prevent direct editing, the Ladder program canbe amended by explicitly selecting the On-line Edit feature.It is usual to have the PLC operating in Monitor mode while using on-line editing functions. On-lineediting is not possible in Run mode.Page 30Revision 2.0OMRONCHAPTER 2 – Quick Start GuideUse the following procedure to edit the program on-line.1, 2, 3…Note:1.Select the rungs to be edited by dragging the mouse and selecting the requiredrungs.2.Select the Compare with PLC button from the toolbar to ensure that the editedarea is the same as in the PLC.3.Select the On-line Edit Rungs button from the toolbar.

The background to therung changes to show that it is now an editable area. The rungs outside this areacannot be altered but elements can be copied from these rungs into the editablerungs.4.Edit the rungs as appropriate.5.When satisfied with the results, select the Send On-line edit Changes button fromthe toolbar. The editing is checked and transferred to the PLC.6.Once these changes have been ‘sent’ to the PLC, the editable area becomes readonly once more. The on-line edit can be cancelled at any point prior to committingthe changes by selecting the Cancel On-line Edit button from the toolbar.A symbol address or type cannot be edited on-line.Attaching CommentsAn attached comment is a comment associated with an element of a program (i.e.

contact, coil orinstruction). The comment is entered through the Properties dialogue box of the element by selectingthe Properties option from the context menu of the item.When a comment has been entered against an element, a circle will appear at the top-right corner of theelement. This circle contains a number that uniquely identifies the comment within the rung. Thecomment itself will appear to the right of the circle for output instructions (subject to the chosen ladderinformation options), or it will appear in the Rung’s Annotation List.SummaryIn this chapter, the programmer has been introduced to the following concepts:Revision 2.0•Starting the CX-Programmer application.•CX-Programmer and projects.

The CX-Programmer environment, including theproject workspace, Diagram Workspace, Mnemonics view and symbol tables.•Getting started with CX-Programmer.•Setting up a Ladder program.•Writing a Ladder program.Page 31CHAPTER 2 – Quick Start GuidePage 32OMRONRevision 2.0OMRONCHAPTER 3 – Project ReferenceCHAPTER 3Project ReferenceThis chapter describes the different views available; the features common to the objects displayed in theProject Window and standard Microsoft Windows procedures that are also common to these components.Project WorkspaceThe project workspace displays the project as a hierarchical tree structure showingrelated PLC and program details. Select the Toggle Project Workspace button fromthe toolbar to display the project workspace and remove the project workspace from thedisplay.\A description of each object in the Project Tree Workspace and their associated context sensitive menusis provided in Chapter 4 - Reference.Double clicking on an object opens it either in the Diagram Workspace or in a new window.

Selectingan object and clicking the right-mouse button displays the associated context sensitive menu.The hierarchy can be collapsed or expanded to show either a partial view or full viewof the project tree.More than one Ladder Diagram symbol table or Mnemonics View can be displayed. Select theappropriate window from the list of open windows from the Window menu.Revision 2.0Page 33CHAPTER 3 – Project ReferenceOMRONProgram SectionsFor the easier management of large programs, a program can be divided into a number of definable,named sections. A section is like a chapter in a book – the PLC scans the sections in order.A list of the sections in a program is displayed in the project workspace under the program name. Thereis also a section list view showing the Start and End steps, which can be opened in the workspacewindow by clicking on a program name.It is possible to reorder and/or rename the sections from this list or from the project workspace.

It isimportant to remember however that when reordering or deleting sections the last section in the programmust always contain the 'END' instruction.Program sections can be reordered using the mouse to drag and drop sections up or down in the sectionlist. When using the keyboard, the 'Move Up' or 'Move Down' commands from the context menu of asection on the project workspace are used.Sections in a specific program can also be used to store frequently used algorithms which can then becopied to other programs, using a section as a kind of library.Page 34Revision 2.0OMRONCHAPTER 3 – Project ReferenceUse the following procedures to insert, rename, move or delete a section in a program.1, 2, 3…1.Inserting a new program section(a) Select the program name in the Project tree.(b) Click the Insert pushbutton in the toolbar or from the Insert menu selectSection.

The new section will be added to the bottom of the section listNote that if previous sections have been renamed the new section will benamed Section1, if not, it will be given the next section number. If the newsection is to be the last in the program it must include the ‘END’ instruction.2.Renaming a program section(a) Select the section to be renamed and click the right mouse button. From thecontext menu select Properties.(b) In the Properties dialogue enter the new name for the section and then closethe dialogue. The new section name will be displayed in the section list.Note that spaces used in the new name will be translated into underscoreswhen displayed in the section list.3.Moving a program section(a) Select the program section to be moved, and from the Edit menu select Cut.Move to the location of the program (the program item on the projectworkspace) for the section to be placed, and select Paste from the Edit menu.then using the mouse drag and drop the section in the appropriate position inthe section list.(b) Instead of using the Edit commands, it is possible to drag and drop the section.Drag the section to the program item where it is required.Note that when the section is dropped, it will reposition its self immediately belowthe cursor.

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

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

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

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