Number of address accesses

Title short form

IOs

Categories

Reusability, maintainability

Definition

Number of address accesses in the implementation of the object

Sample:

PROGRAM MAIN
VAR
    bVar        : BOOL;
    bIn   AT%I* : BOOL;
    bOut  AT%Q* : BOOL;
END_VAR
bVar := TRUE;
bOut := bIn;
bOut := NOT bOut AND bIn;

The number of address accesses for the program MAIN is 5 and is made up of 2 write and 3 read accesses.