Owner's manual

24 ControlLogix
Counter Module
Step 4-
Create a new ladder logic routine in your project.
1. In your project, right mouse click on the MainRoutine item and select
“New Routine...” CTR8 was entered in the example above.
2. Double click on the MainRoutine item in the sample project and then
double click on the added new routine in your project to display their
corresponding ladder logic.
3. Left mouse inside the MainProgram ladder logic in the sample project
and press crtl-A to select all the rungs.
4. Drag and drop these rungs over and add them to the new routine’s ladder
logic. Note: You will need to delete the one blank “solid bar” rung either at
the top or bottom of the routine which was left over from the newly created
routine.
5. Now add a JSR ladder instruction in your MainRountine which calls this
routine.
Note: RSLogix 5000 will verify the ladder logic sample. You may receive
errors regarding invalid tags. You will need to change the slot addressing in
the logic to coordinate with the location of the CTR8.
This completes the installation of module in the system