January 1, 2021

#42 - Rockwell PLC find instructions within a program

A practical way to find where a particular instruction is used in the program is to click on the Controller (to direct the search to all routines) and then click on Search> Find ...

Insert the instruction name, for example GSV, and check that the Instructions and Instructions Operands filters are selected in the Ladder Diagrams part: 

If the Wrap option is selected, the search will be done in a loop, following the chosen Up or Down direction. If Wrap is not selected, the search will be ended on the last element found.  

This method also works to find the first scan bits (S:FS) in the program, which are typically used to initialise values, outputs, arrays, timers, counters, etc (CLR, FLL, MOV, RES, -(U)). 

No comments:

Post a Comment