27
SECTION 3
Sample Programs
This section provides some examples of programs used with the Counter Unit.
3-1 Examples of Counter Unit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3-1-1 Counter Unit Word Allocation for Functions. . . . . . . . . . . . . . . . . . 28
3-1-2 Present Count Value Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-1-3 Counter Setting and Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3-1-4 Count Restart Operation after Error Clearance . . . . . . . . . . . . . . . . 33