EasyManua.ls Logo

Spectrum Controls 1756-CTR8 - Page 31

Spectrum Controls 1756-CTR8
70 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5: Configuration, Data, and Status Tags 4-5
Owner’s Guide 0300199-01 Rev. D
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 which was left over
from the newly created routine, either at the top or bottom of the routine.
5. Now add a JSR ladder instruction in your MainRoutine which calls this
routine.
NOTE
RSLogix 5000 will verify the ladder logic sample. You may receive errors
regarding invalid tags. You will also need to change the slot addressing in
the logic to coordinate with the location of the CTR8.