Beginner guide (986746), страница 10

Файл №986746 Beginner guide (Техническая документация) 10 страницаBeginner guide (986746) страница 102015-07-23СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

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

To enter the password, press the CLR, MONTR, CLR keys.<PROGRAM>PASSWORD!CLRMONTRCLR<PROGRAM>4-144.qUNIT SPECIFICATIONS AND COMPONENTSClearing All ProgramErasing a previous program in the memory of the CPU is referred to as an ALL CLEAR operation.The memory areas of the Holding Relay, Counter and Data Memory can be retained by pressing theappropriate key before pressing the MONTR key.The ALL CLEAR operation can only be performed with the Mode Selection switch set toPROGRAM mode.RUNMONITORPROGRAM<PROGRAM>Pressed the CLR key until you see 0000 displayed on the programming console.CLR0000The PLC memory will be cleared after the following keystrokes:CLRMONTRPLAYSETNOTRECRESET0000 MEMORY CLREND HR CNT DMThe display should now look like this.! PARTIAL CLEARPress the HR, CNT or DM keys before pressing MONTR key if you want to preserve any of thesedata areas.4-155.qWINDOW BASED PROGRAMMING SOFTWARE-SYSWINProgramming of CPM1A and CPM2ASYSWIN is a ladder programming software written to give users the flexibility and ease of aWindow software.

It is a tool that caters to Omron’s C-series PLCs, CV-series PLCs and allconnectivity options.Note:Programming Using SYSWINCommandConnection to the PLCThe CPM1A or CPM2A can be connected to the PC via an RS−232C cable. One end of the RS232C is connected to the PC serial port (either 9 pin or 25 pin adapter), while the other end of thecable which is to be connected to the RS−232C adapter attached to the CPM1Aor CPM2A. The DIPswitch of the adapter must be set to Host in order to link to the PC.

The cable can also be connectedto CPM2A through the built-in RS-232C port provided.Response•SYSWIN is provided without token or dongle only to program CPM1 and CPM1A. For C-series,and CV series PLCs, token or dongle is necessary.Dip SwitchSet to HostRS−232CAdapterCPM1A CPURS232C Connector ConfigurationIBM PC/AT or CompatibleSignalPinFG1RD2SD3DIR4SG5DSR6RS7CS8--9RS−232CPin123456789SignalFGSDRDRSCS------SGThe wiring connection of CPM2A and CPM1A is the same.5-15.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINInstalling SYSWIN ProgramThe CPM1A training kit comes with three SYSWIN installation disks.

The SYSWIN program canbe setup in Windows 3.1 or 3.11, Window 95,98 or Window NT 4.0. To install, select RUN fromthe START menu. The following dialog box will appear, enter a:\setup.exe in the command line,click OK to execute and follow the directions as they appear on the screen.Once installation is completed, two Program Group icons will appear in the Program Manager.

TheSYSWIN samples contains sample programs whereas SYSWIN contains the necessary program torun SYSWIN. To execute SYSWIN, double click on the SYSWIN icon.5-25.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINSYSWIN WindowProgram Window TitleMenu BarSYSWIN toolbar & KeysBlock Header BarDrawing ToolsDrawing Tools Keys(or F Keys)Ladder ProgrammingWorkspaceScroll BarAddress BarInstant Help & Status BarStart Up With SYSWINSelect New Project from File menu. The New Project Setup dialog box will appear as shown below.Make all the selections as shown below. (The default values should be correct).5-35.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINProgramming with SYSWINEnter a sample program into the SYSWIN as shown.DK1DK2Relay 1Instruction CodesConnectionDiagramRelay 1000.00010.00ON000.01010.00LadderProgramAddress0000000001000020000300004000050000600007InstructionLDORAND NOTOUTENDData000.00010.00000.01010.00000.00OFFONTime000.01OFFONTime010.00OFFTimeSelect the symbol of ladder program ([F2], normally open contact) from the drawing Toolbox onside of the SYSWIN window.

Click on the symbol and move the symbol to anywhere in the windowand click to release. The address of the contact must be specified and key into the address dialogbox. In this example, 000.00 is entered.The address of the specific contact will be labeled on top of each component as shown.5-45.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINEach particular model of PLC has its own address for input and output, check the catalogue for eachtype of PLC. The address 000.00 represent address of the contact, the first three zero represent thechannel number and the other 2 zero after the decimal represent the particular bit of the channel.Continue with the rest of the sample program by clicking on the respective symbols from theDrawing Toolbox.DrawingTool Box5-55.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINAddNetworkNote that each line of the ladder program is classified as a network.

So in order to create anotherline, click the icon Add Network (Shift+F6) from the Toolbox to insert another network. Thedialog box shown below appear when icon is clicked. Select below current network and click OK.The same program will end with an end instruction line. In order to insert the end command, clickon the FUN icon on side of the window, move it to the location to end the program, click to execute.A function dialog box appear, requiring you to enter the function number to execute.5-65.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINTo browse for the types of functions available, lick on the select button. The select function box willbe shown.Saving the ProjectAfter completing the ladder diagram, the project must be saved.

Select Save Project in the file menu,a save project dialog box appear as shown below. Enter the file name e.g. test.swp in the file namebox with a .swp extension. Click OK to start saving.5-75.WINDOW BASED PROGRAMMING SOFTWARE-SYSWINTransfer Program to PLCBefore down loading program to PLC, first check the connection of the PLC to your PC. Next,select Communication under the Project menu to setup the serial communication setting of the PLCto PC.

Select the port of the PC where RS232C is connected, the baud rate for the communication,and the type of protocol to be used. Default setting of CPM1A is COM1, 9600 Baud, Unit 00,Protocol ASCII 7 bit Even Parity 2 stop. Click Test PLC to establish connection. Monitor the statusbar to check whether connection is successful.Once connection established, click download under on−line menu to download the complete ladderdiagram to PLC.

Select whether to include the expansion function or memory allocation. It isusually prefer to clear program memory of PLC before downloading the program. Click OK uponconfirmation.Uploading of program from PLC to PC is also possible. Select detect NOPs (no operation) for theoptions as shown.Finally when uploading or downloading completed, a download or upload successful dialog boxwill appear.Note:All application examples in this manual can either be programmed using window based SYSWINSoftware or the Programming Console.5-86.qAPPLICATION EXAMPLES OF BASIC COMMANDSOverview of InstructionsThe CPM1A has a large selection of programming instructions that allows for easyprogramming of complicated control processes.

The instructions explained in this sectionincludes ladder diagram symbols and the mnemonic codes for the instructions. Applicationexamples are also provided.The Command Keys.FUNLDANDOROUTTIMCNTNumerous specialApplication command calledFUNctions may be inputusing this key.NOTUsing with LD, AND, andOR command keys todesignate NC (normallyclosed) points.LoaDs points into theprogram, and providesa means ofbranching points.HRDesignates HoldingRelays.AND allows points tobe connected together,to form a series circuitHRDesignates TemporaryRelays.OR allows points to beConnected together, toForm parallel circuitSFTDisplays the operationsof the SHIFT register.The OUTputcommands.The TIMers arecontrol using thiscommand.The COUNTers arecontroled using thiscommand.SHIFTASHIFT is used to obtain theAlternate function of theFour keys with more thanOne used, labelled, Channel,And CONTact.00Used to input decimal orhexadecimal numbers whenprogramming96-16.qAPPLICATION EXAMPLES OF BASIC COMMANDSApplication #1: Self Holding CircuitInput0000000001DevicesStart Pb.Stop Pb.Output01000DevicesMotorCircuit DiagramSTARTSTOPINPUTOUTPUTMCLoad PowerSupply6-26.APPLICATION EXAMPLES OF BASIC COMMANDSLadder Diagram00000000010100001000Mnemonic CodesAddressInstruction0000LR0001OR0002AND NOT0003OUT0004END(01)Data00000010000000101000ENDNote: This program enables the output 01000 to stay “ON” despite the status of the input 00000 whichtriggered it.

This is often desirable in continuous output operations which begin with only aninstantaneous ON input.qProgramming With Program Console•PROGRAM ENTRY PROCEDURE1.Set the MODE SELECTOR switch to PROGRAM mode. Press CLR, if necessary, until 0000appears on the display.2.CLR3.ORLD2.B1AWRITE0AA0A004.ANDWRITE000BNOTWRITE115.OUTB1AA00A0WRITE06.Note:FUNA0B1WRITEAll instructions will only be stored in the PLC memory after the WRITE key is pressed andevery program must have an END (FUN 01) instruction.

All examples given in this manual willfollow the same procedure of entry and henceforth the program entry procedure will not bemention again.6-36.APPLICATION EXAMPLES OF BASIC COMMANDSTo view the program steps, use either the UP ARROW pr DOWN ARROW keys.0002ANDREADNOT00010004READEND(01)(0.01KW)•RUNNING THE PROGRAMTo execute the program that has stored in the PLC, set the Mode Selector switch to RUN orMONITOR mode.•RECALLING A PROGRAMTo search for and confirm a particular command in program, perform the following keystrokeson the console.B1OUTCLRCLRA0A0A0SRCH0003 SRCHOUT01000This confirms the OUT 01000 instruction has been written into the PLC memory address 00003.Note:If the above operations are performed during MONITOR or RUN mode, the state of eachaddress can be monitored.6-46.qAPPLICATION EXAMPLES OF BASIC COMMANDSAND LD and OR LD instructionsAND LD connects two blocks in seriesLadder diagramMnemonic codesAddress0000200004010000000300005InstructionData00000LD0000200001OR0000300002LD0000400003OR-NOT0000500004AND-LD-----00005OUT01000OR LD connects two blocks in parallelLadder diagram00002Mnemonic codesAddressInstruction00003010010000400005Data00000LD0000200001AND-NOT0000300002LD0000400003AND0000500004OR-LD-----00005OUT010016-56.qAPPLICATION EXAMPLES OF BASIC COMMANDSProgram Organisation0000000001010000100100002000030000400005100000000600200To organize the code for the circuit shown above(1) Divide the circuit into smaller blocks [a] to [f][a]0000000001[e]00004[b]0100001001[d]00002 00003[f]5000061[c]0000500200432(2) Program each block from top to bottom, then from left to right[a]00000[b]0000101000010011LD 00000AND 00001LD 01000AND 010012ORLD[c]300200[e]0004OR 0020000055LD 0004AND 00054[d]00020003[f]AND 0002AND NOT 00030006OR 0006ANDLD00200OUT 100006-66.APPLICATION EXAMPLES OF BASIC COMMANDSReview QuestionsConvert the ladder diagram given below to its equivalent mnemonic codes.Ladder diagram00000Mnemonic codesAddressInstruction00001Data0100000002 00003000040000500006000076-76.qAPPLICATION EXAMPLES OF BASIC COMMANDSTo Check For Proper Connection Of External Device To PLCa) INPUT devices to PLCSimply TURN-ON input manually.

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

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

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

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