Download ADwin
Transcript
ADwin Introduction 1 Introduction The ADwin system is responsible for all time-critical tasks in fast dynamic test stands and industrial production facilities. For this task, the ADwin system is programmed with the ADbasic development tool. To hit the target of an immediate and efficient start of programming, we first of all would like to shortly explain the concept of the ADwin system. All ADwin systems have a central processing unit (CPU), which executes all time-critical tasks such as: measurement data acquisition, open-loop and closed-loop control or online processing of measurement data in real-time. Analog and digital inputs and outputs as well as add-ons like counters and bus systems are connected to the test stand. Ethernet or USB set up the communication with a computer. The processor of the ADwin system is programmed with the real-time development tool ADbasic, which enables easy construction of time-critical real-time processes. ADbasic is an integrated development environment under Windows with capabilities of online debugging. The familiar BASIC command syntax has been expanded with more functions which are used for accessing the inputs and outputs, controlling real-time processes, and preparing the data exchange with the computer. chapter 4 explains the design of ADbasic programs. An ADbasic with only a few lines can: – Acquire measurement parameters up to sampling rates of 800kHz – Develop fast digital controllers with sampling rates of up to 400kHz – Simultaneously generate and measure analog signals, e.g. for dynamic measurement of a test stand characteristic A user-defined hierarchy is responsible for the interaction and timing of the processes when several processes are needed for a complex algorithm. chapter 6 details the running of processes in the operating system. Source code generated using the extended BASIC syntax of the ADbasic environment programs the hardware of your ADwin system enabling the implementation of tasks into processes. chapter 4 describes how to build programs. Executable binary code, generated from the source code using the integrated ADbasic 5.00, Manual March 2010 3