Professional Documents
Culture Documents
2
INFORMATIVNI UVOD
Arhitektura PCS7 sistema
Function (FCs)
A function (FC) contains a partial functionality of the program.
It is possible to program functions so that they can be assigned
parameters. As a result, functions are also suited for
programming recurring, complex partial functionalities such as
calculations.
Structured Program
A structured program is divided into blocks. The code in OB1 is kept to a minimum with calls to other blocks containing code. The blocks are parameter
assignable. These blocks can be written to pass parameters so they can be used universally. When a parameter assignable block is called, the programming editor
lists the local variable names of the blocks. Parameter values are assigned in the calling block and passed to the function or function bloc
Organizacioni blokovi
https://youtu.be/jbKH2l_aHbo
Start-up
Start Up OBs.
The startup program is executed once during the transition from "STOP" mode to "RUN" mode. Current values from the process
image of the inputs are not available for startup program, nor can these values be set.After the complete execution of the startup
OBs, the process image of the inputs is read in and the cyclic program is started.There is no time limit for executing the startup
routine. Therefore the scan cycle monitoring time is not active. Time-driven or interrupt-driven organization blocks cannot be
used.
S7 konekcije na PLC
Pravilno inicijalizovane
Da bi SERVER komunicirao
Sa PLC-ovima MORA sve da
Bude kao na slici pravilno
inicijalizovano
Podešavanje Serverske komunikacije