Funktsiooniblokid
Funktsiooniblokid, often translated as function blocks, are a fundamental concept in IEC 61131-3, the international standard for programming languages used in programmable logic controllers (PLCs). They represent reusable software components that encapsulate a specific set of operations and data. Unlike simple functions, function blocks maintain internal state, meaning they can remember values between calls. This state is typically stored in internal variables.
Function blocks are defined with an interface that specifies the inputs and outputs. Inputs are used to
They are used to implement a wide range of functionalities, from basic logic operations like timers and