Function Block Libraries OverviewProgramming in the
drive.webenvironment is done by building your control scheme with function blocks that you connect together by dragging and dropping between parameter “terminals” in at completely intuitive way. For example, here is a basic PID controller: Terminal inputs for Setpoint & Feedback are connected to the PID inputs and the PID output is connected to an output terminal … very simple … no tortuous lines of code and everything is visible in a totally intuitive form. Simply click on a function block and it drills you down to the operational detail:
To help you manage your function blocks more easily they are accessed via specific application oriented libraries:
Basic Function Block Library (standard in every drive.web device)
This library is incorporated in every drive.web device (
It contains a suite of functions to enable you to build basic systems, including:
- Basic arithmetic
- PI controllers
- Logic and switch functions
- Numerous utility functions including, email notification, indicators, system watchdogs and more.
Here is an example of the Basic Function Block selector:
Advanced Math Function Block Library (dwOPTION -10)
Encoder Function Block Library (dwOPTION -11)
This library is dedicated to precision control functions that use incremental encoders for applications such as phase lock, registration, indexing, position control, etc. Counts use rising and falling edges of both phase and quadrature pulses up to 64 bits for exceptional accuracy and range.
Here is an example of the Encoder Function Block selector:
Sun Position Calculator Function Block Library (dwOPTION -29)
A powerful tool for optimizing the performance of solar energy systems. It includes compensation for Terrestrial Time ∂T. Provides accurate earth orientation calculation for applications such as telescope orientation, radar synchronization and if you are thinking of launching a space ship from your back yard it might help you point it roughly in the right direction!
Motion Control Function Block Library (dwOPTION -36)