Exercise 1: Ladder Logic ProgrammingThe finished result of this exercise will be this ladder running in the ELC:• Click the icon that represents a normallyopen contact in the Ladder DiagramToolbar (far left). The window to theright will appear with the type of contactyou selected at the top.• Select “M” from the Device Name pulldown list. Note that the description ofthis type of reference changes to“Internal Relay.”• Leave the second window set for 0 andclick “OK”. A N.O. contact with thereference “M0” will appear in thewindow.• Create a normally closed contact thatreferences “M1” in the next available“cell”.• While the next cell is highlighted, press the F7 key on your keyboard. The device input window will appearwith “Output coil” as the type of contact. Make this object reference “Y0”. Y0 is the first digital output on theprocessor.• With the first cell of line 2 highlighted, type LD Y0 on your keyboard. Case is not sensitive. The Inputinstruction window will appear. “LD” is the command code for a normally open contact. (To see a list of thosecodes, select HELP>ELC INSTRUCTION AND SPECIAL REGISTERS REFERENCE.) “Y0” is the bit thatwe want to reference. Either click “OK” on that window or just press the enter key. The window will close andthe contact will appear in the cell that was highlighted.• When drawing vertical lines to connect rungs, the line draws from the lower left corner of the selected celldown to the rung below, so you will need to highlight the cell with the normally closed contact that referencesM1 and then either press F9 on your keyboard or click the vertical line tool on the toolbar.• Highlight the first cell in the third line of the diagram and type the word end and press enter. ChooseCOMPILER>LADDER => INSTRUCTION to compile the project. This will complete your first simple latchingcircuit program.• To download the program to the ELC, choose COMMUNICATION>TRANSFER SETUP. Be sure that theSelected Operation is “Write to ELC” and that Whole Range is selected in the range setup section. Click“Execute” and the program will be sent to the processor.Pub. No. TR05003001E For more information visit: www.EatonElectrical.com 17