Sub-Program; Programming Sub-Programs - ABB AC 31 Technical Manual

Advant controller 31 40 & 50 series
Hide thumbs Also See for AC 31:
Table of Contents

Advertisement

1. Sub-program

1.1. Programming sub-programs

ABB Control - AC 31
1SBC 260400 R1001-b
06.99
Program Optimization
This chapter is aimed at describing the supplementary characteristics of the CS 31 bus, which
improve the performances of your application. These, easy to set up, functions allow you to
easily reduce the cycle time, the program size and simplify motor control and event counting.
Using sub-programs, when programming enables the reduction of central unit time cycles. The
central unit only executes the necessary sub-programs depending on the operative conditions
or process.
Sub-programs also allow you to easily treat repetitive tasks. These tasks are only detailed
once and may be called numerous times within the program.
The total size of the program can be , therefore, considerably reduced.
Sub-programs are defined in the AC31GRAF software using the "Modularize" option in
the "New" menu , followed by "Create a new program" (see Figure 6-1).
The programming language used is either Quick Ladder, or FBD/LD or IL (Instruction List).
A sub-program is defined by name (see Figure 6-2).
All of the functions or instructions may be used in a sub-program.
Page 6-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents