PLC Asset Oriented Programming and Libraries

1.
PLC Asset Oriented Programming - AOP
PLC asset-oriented programming (AOP) is a programming paradigm that emphasizes the creation and management of reusable assets, which are self-contained units of functionality that can be easily integrated into different PLC programs.
In AOP, assets are designed to encapsulate specific functionality or behavior, such as PID controllers, motor control, or data acquisition. These assets are then used to build larger, more complex programs, simplifying development and improving code quality and consistency.
When developing asset in AOP, you typically design a block of code that implements a specific function and packages it into a format that can be easily imported into other programs. This may include creating a PLC logic block, or HMI user interface object, that allows other programmers to configure inputs and outputs. It is always good to create documentation that explains how the asset should be used.
One of the key benefits of using assets in AOP is improved modularity. By breaking down the codebase into smaller, self-contained components, the program becomes easier to maintain and modify. Changes made to an asset can be propagated throughout the entire codebase, simplifying the process of making modifications and reducing the risk of errors.
Asset also facilitate code reuse, enabling you to develop a library of commonly used functions that can be easily integrated into new projects. This helps to standardize programming practices and improve the overall quality of the codebase.
In addition to facilitating code reuse, AOP can also help to improve program scalability and maintainability. By separating program functionality into assets, you can more easily manage the complexity of large programs and make modifications without disrupting the entire codebase.
Using AOP in PLC programming can help to improve productivity, consistency, reliability, and modularity.
By developing a library of reusable components, you can streamline development and focus on customer requirements and unique aspects of each project while building on a foundation of proven and reliable assets.
2.
Asset Library
An Asset Library is a collection of pre-built, reusable asset or components in the form of blocks, AOI (Add-On Instructions), routines, functions etc., that can be easily integrated into different PLC programs to simplify development and improve code quality and consistency. These assets are designed to encapsulate specific functionality, such as PID controllers, motor control, valve control, sequence control etc. and can be used across multiple projects.
By creating/using a library of reusable assets, you can focus on the unique aspects of each project and the customer requirements, while developing on a foundation of proven and reliable components.
The benefits of using a PLC Asset Library include:
- Improved productivity-Asset can help streamline development by providing pre-built functionality that can be easily integrated into new programs, reducing the need for programmers to create new code from scratch.
- Consistency and reliability-Asset can help standardize programming practices and ensure consistency and reliability across multiple projects.
- Modularity-By breaking down the codebase into smaller, self-contained components, asset can improve modularity and make the codebase easier to maintain and modify.
- Code reuse-Asset can facilitate code reuse, enabling programmers to develop a library of commonly used functions that can be easily integrated into new projects.
PLC Asset Libraries are powerful tools that can help you and your team to work more efficiently, reduce errors, and improve the quality of your programs.
3.
Library Block
An Library Block is a pre-built, reusable component or asset that is part of a larger Asset Library. It is an essential part of an Asset Library. It is designed to encapsulate specific functionality, such as PID controllers, motor control, even machine control sequences, state machines and steps, and can be easily imported into different programs to simplify development and improve code quality and consistency.
Library Blocks are typically designed to be modular and self-contained, with inputs and outputs that can be configured by other programmers to suit the specific needs of a given project. They may also include a user interface that allows other programmers to configure inputs and outputs or create documentation that explains how the asset should be used.
Library Blocks are typically created by experienced PLC programmers who have identified common functions or behaviors that are used across multiple projects. By creating pre-built blocks that encapsulate this functionality, you can save time and effort and improve the overall quality of your programs.
One key benefit of using Library Blocks is that they facilitate code reuse, enabling you to easily integrate proven and reliable functionality into new projects. This can help standardize programming practices and reduce the risk of errors.
4.
Public Asset Libraries
In order to make your PLC development even faster and easier we are providing public automation libraries that can be used by all users.
Currently we are offering the"Siemens Open Library"provided and hosted byDMC Inc., inheriting theirLicense.