The black on yellow comment color combination is a little hard to distinguish from the “Address Comments”, which use the same color combination.
To change the appearance of the rung comment, as well as other items in “RSLogix”, we select “Properties” from the “View” menu and then select the “Colors” tab.
Another way to document a program and to share it with others is to print the program.
“RSLogix” has a very extensive and configurable utility for printing a program.
Using a color printer is suggested when printing a program so that comments and symbols stand out.
We will add some logic to “Program File 3”.
This file will be used to execute logic for scaling analog inputs.
To scale an analog input, we will call on “Program File 3” to execute. We can say that “Program File 3” acts as a subroutine.
We will “call” or “jump to” the subroutine logic from ot...
In “RSLogix”, program files other than the “Main Program” do not execute on their own. They must be “called” from the main program using a “Jump to Subroutine”, or “JSR”, instruction.
We want to call JSR instruction every time the main program executes, so we do not add any input logic which wou...