Chapter 4. Ladder Diagram (LD) Programming
GFK-2950C
February 2018
205
Example 2 for Call
Parameterized blocks are useful for building libraries of user-defined
functions. For example, if you have an equation such as:
E=(A+B+C+D)/4, a parameterized block named AVG_4 could be
called as shown in the example to the right.
In this example, the average of the values in R00001, R00002,
R00003, and R00004 would be placed in R00005.
The logic within the parameterized block would be defined as shown
below.
Logic for AVG_4 Parameterized Block
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...