Note-11 - Structural Programming (Ob, FC, Dan FBD)
Note-11 - Structural Programming (Ob, FC, Dan FBD)
STRUCTURAL PROGRAMMING (
OB, FC, DAN FBD)
Aulia El Hakim, S.ST.,M.T
PURPOSE
• Pembahasan Soal Counter !
• Memahami konsep STRUCTURAL PROGRAMMING ( OB, FC, DAN FBD)
OUTLINE
The first part of structural programming is not very different from linear programming.
In this method, the sections that make up the program and which we will accept as logical parts are
written as subprograms and in turn, another program block (OB1) or another subprogram called FC .., FB .
STRUCTURAL PROGRAMMING
The program and data blocks added to the project can be opened by double-
clicking in the ister Project view ” or “ Portal view ” windows.
Projeye eklenen program ve data blokları ister “Project view” ister “Portal view” pencerelerinde çift tıklanarak açılabilir.
At this stage, we will talk about the applications of “Function” (FC) s. We will
explain the use of Block Function Block ”(FB) and“ Data Block ”(DB) later.
Biz şu aşamada “Function” (FC) ların kullanıma ait uygulamalardan bahsedeceğiz. “Function Block” (FB) ve “Data Block” (DB) kullanımını daha sonra anlatacağız.
Because the use of data blocks is very different from the program blocks and is used in Function Blocks by associating
them with data blocks.
Çünkü “Data blok”larının kullanımı program bloklarından çok farklıdır ve “Function Block” larda data bloklarla ilişkilendirilerek kullanılır.
STRUCTURAL PROGRAMMING
If the subprograms are desired, the required
subprogram is executed when the program processing
sequence is on that line or if a desired condition is
fulfilled.
As in the case of FC, a data block association window opens when the parameterized FB is imported into the program area.
The name given to FB is automatically assigned to the data block to be associated, and can be changed if desired.
PARAMETERIZATION OF SUB-PROGRAMS Parameterization of function blocks (FB ..)
PARAMETERIZATION OF SUB-PROGRAMS Parameterization of function blocks (FB ..)