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

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

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

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

When a correct number hasbeen entered (of the correct number of digits for the PLC type), the instructionname is automatically substituted. To insert an instruction with Immediate Refreshproperties, apply an exclamation mark (‘!’) to the beginning of the instruction. Toinsert a differentiated instruction, apply a ‘@’ symbol to differentiate up or a ‘%’symbol to differentiate down at the beginning of the instruction.Alternatively, click the Find Instruction pushbutton.

The Find Instructiondialogue is displayed providing a list of possible instructions. Those instructionsnot available for the selected PLC are displayed in brackets. Select an Instructionby using the Groups and Instruction fields and select the OK pushbutton to returnto the Edit Instruction dialogue.The Availability pushbutton on the Find Instruction dialogue displays the PLCInstruction Support dialogue that lists all PLCs for which the selected instructionin the Find Instruction dialogue is available. Select the Close pushbutton to removethe PLC Instruction Support dialogue.The Expansion Table pushbutton on the Edit Instruction dialogue displays theExpansion Instruction Mapping dialogue and is only available to certain PLCs.This dialogue allows certain instructions to be assigned to an expansion slot.Select an Expansion Slot, select an Instruction and select the Set pushbutton.

Toremove an instruction, select the Expansion Slot and select the Remove pushbutton.Alternatively, select the Set Defaults pushbutton to apply default instructionassignments. Select the OK pushbutton to return to the Edit Instruction dialogue.3.If required, use the Instruction Help button, which shows a help topic for thechosen instruction.4.Enter the instruction operands (see below).5.Select the OK pushbutton from the Edit Instruction dialogue to complete theoperation.

Select the Cancel pushbutton to abort the operation.Modifiers can be set for contact instructions (LD, AND, OR and NOT) – either differentiate up ordifferentiate down. Contact and coil instructions OUT and OUT NOT can be set to immediate update.The availability of modifiers depends upon the type of PLC being used.Non-differentiated instructions execute each time they are scanned, but differentiated instructions executeonly once after their execution condition switches from OFF to ON or from ON to OFF.Entering OperandsAn instruction operand can either be entered as a symbol, address or literal value. When entering anoperand, the dialogue shows the valid address ranges and types of operands that are allowed.Revision 2.0Page 75CHAPTER 4 – ReferenceOMRONWhen entering an operand, a prefix character may be used to add a meaning:*An indirect address (the contents of the given address are used as the address tofind the data).

Can be used in front of a symbol name.#A hexadecimal value. Also used for operands which must take a BCD number.&A decimal or BCD-format number.+ or -A signed, decimal, floating point value.Note that a symbol can hold a value – the NUMBER data type is used.It is possible to search for a symbol from the operand box by pressing the ‘…’ button to its right (or bypressing F2).

This presents a dialogue which allows a symbol to be selected or created.Symbol InformationWhenever CX-Programmer finds a symbol associated with the typed operand, symbol information isdisplayed in this box. The name, address/value and comment are shown, together with the data type ofthe symbol and its scope, global or local.Adding Comments to a ProgramIt is recommended that commenting be used as part of good programming practice.Comments should be added to rungs as they are written, so that it is easier to understandtheir functions when reviewing the program later. Select the Properties of the rung toapply a comment to a ladder rung. Select the Properties of a program element(contact/coil/instruction) to set a text comment to the element of the Ladder program.Text can be added as comments to the Ladder program either as notes that are not compiled or as rungcomments that are compiled with the code (setting the Use Comment Instructions property of a PLC).Rung comments are typically used for introducing and explaining chapters of code.Once the required comment box has been placed on the Ladder program, text can be entered directly.Comments can also be entered against symbol names and addresses via the elements associated edit orproperties dialogs.

Symbol comments are downloaded to the Memory Card, if one is present.Note:Unlike the Ladder programs for most PLCs, the Ladder programs for CV-series PLCsshow a step offset number for the rung comment (this is because this series has a rungcomment instruction).Automatic Allocation of PLC MemoryThe PLC Automatic Memory Allocation dialogue allows symbols to be automatically assigned anaddress from a defined address range instead of having to define them individually. This allocation isperformed on a per PLC basis.It is appropriate for symbols to be automatically allocated if their address is not important. For instance,they cannot be read for input/output.Page 76Revision 2.0OMRONCHAPTER 4 – ReferenceUse the following procedure to allocate PLC addresses for symbols automatically.1, 2, 3…1.Select the PLC object in the project workspace.2.From the PLC drop down menu select the Automatic Allocation option to open theAutomatic Memory dialogue.3.Set the Enable automatic allocation for this PLC.

The Add button is enabled.4.Click the Add button to display the Edit Allocation Range dialogue.5.Enter the known Start address in the Start Address field.6.Enter the Size in the Size (channels) field; this must be set to at least 1.7.Select the Data Type. If the data type is to be restricted select the appropriateoption from the menu.8.Click the OK pushbutton to accept the settings. The new memory range will bedisplayed in the list of Ranges.

Click the Cancel pushbutton to abort the operation.9.Use the Move Up / Move Down buttons to reposition a selected entry in the rangelist.10. Click the OK pushbutton to accept the settings. Click the Cancel pushbutton toabort the operation.Block ProgramsCX-Programmer supports the ability to enter a rung in statement list format – useful for block programs.Revision 2.0Page 77CHAPTER 4 – ReferenceOMRONThe statement list view of a rung can be used instead of the Mnemonics editor but does not supportprogram monitoring.Use the following procedure to edit a rung in statement list format.1, 2, 3…1.Select a rung.

Choose the Show as Statement List option from the context menuof the rung.The rung is shown in statement list format.Move the cursor to a line on the list, and press ‘Enter’. It is then possible to edit theinstructions. Move up and down with the cursor keys, and amend the text.There is no restriction on the length of a statement list program apart from thatwhich windows may apply.2.Entries in the statement list block are compiled continuously and the rung may beshown in error (the error bar on the rung margin).3.To complete the editing, press ‘Escape’ which will exit from editing mode.4.It may be possible to show the rung back in ladder format. Choose the Show asStatement List option to toggle back to ladder format.

It may not be possible toshow the instructions in a ladder form.CompileWhen a program is completed, a full program check is performed and object code is produced.In addition to allowing the inclusion of multiple programs in a project, CX-Programmer also allows allprograms to be compiled at the same time. Individual programs can also be selected and compiledseparately. Use the following procedure to compile programs.1, 2, 3…1.Select the PLC object in the project workspace.2.Select the Compile PLC Programs button from the toolbar.

Alternatively, selectthe Compile Program button from the toolbar to compile one program.A dialogue is displayed showing the compilation status. The results are shown in the Compile tab of theOutput window.Note:For a CS1-series PLC, a check is made for duplicates of SBN, MCRO and BPRGnumbers.The checks that are performed during compilation can be set by selecting Program Check Options optionfrom the PLC menu. The Program Check Options dialogue is displayed.It is possible to choose between three levels of checking (‘A’ is the most strict, ‘C’ is the least strict), orto define a custom set of checks.

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

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

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

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