Structure program
Dividing OB1 in separate subprogrammes
The OB1
, in which the program resides, can be divided into 3 FB's
:
FB1
01-GeneralFB2
02-General_Pick&PlacerFB3
03-Cycle_Pick&Placer
With this the programm can be divided into small subtasks, which makes the program clearer. Additionally recurring functions such as moving the axis can be programmed once and reused again and again - which corresponds to the DRY principle.
Blocktype | Short | Features |
---|---|---|
Organization block | OB |
|
Function block | FB |
|
Function | FC |
|
Data block | DB |
|