User guide

WintDrive
B.2
lnfroducfion
Win+Drive is a graphic programming tool for the WindowsTM operating system. Programs can be built by the
graphic assembly of blocks which represent pieces of program code. Win+Drive is especially useful for
designing the software of control systems. It generates C code that can be compiled and run on different target
platfurms including the PC itself.
Complex projects get soon so complex that it is not possible or useful to have all blocks in one schematic. For
splitting a project into several schematics compound blocks are provided. Compound blocks contain basic
blocks and other compound blocks. Compound blocks are inserted into schematics similar to basic blocks.
The inputs and outputs of compound blocks represent their connection to the upper level of hierarchy and
build the ports of inserted compound blocks.
Brief Librarv descrintion
How to use the Comnound Librarv
Brief Library description
Here all compound blocks are shown in alphabetic order, with their name, file name, and a short description.
hdOP
h.lDUt
AntiWindUD
PID
DC MOTOR
Cvcle
Time
Deadband
Diaital
Input
First Run
FULL RAMP
1
File name
1
Description
analog-i.cb
pid.cb
Reads the input, scales it, adds an offset and
filters it
Performs PID controller with anti
wind-up
1
dc_motor.cb
1
Simulates a DC motor
1
cvcle-ti.cb I Calculates the sample time of the control
F;
deadband
function
p
Reads the input, scales it, adds au offset and
Calculates FirstRun variable to initialize state
variables (This compund block is obsolete)
I
full-ram.cb
I
Ramp with the possibility to set acceleration and
deceleration times separately
Intewator
integrat.cb
Lim
integrator
limjnte.cb
Limit
limit.cb
Low Pass Filter
low-pass.cb
RamD
ramp.cb
mz
sign.cb
Time Derivative
time-der.cb
Time Inteerator
timejnt.cb
Time Lim Int
time-limxb
Ts
ts.cb
Units Converter
units-co.cb
Calculates the integral of the input
Calculates the limited integral of the input
Limits the input between two boundaries
Performs a first order low pass filter
Performs a ramp with desired cycle
The output is the sign of the input
The output is the time derivative of the input
Integrates the input in the time domain
Liited
integrator in the time domain
Calculates the sample time Ts of the control
(This comound block is obsolete1
Multiplies by EuroFct if UnitsSystem is equal
to
0,
by USAFct if equal to 1, by SlFct otherwise
161