background image

6

DAC internal device v. 2.6

FUNCTION

Device configuration

The device DAC generates an analog output which is proportional to the value of in  variable. The
value must be introduced in bit with complement to 2 binary format.
The values of the minimal and maximum analog output can be limit to you with the parameters
lowlim  and  uplim.
The offset  parameter is a variable which to be added to the in  variable in order to adjust the
analog output.
In =

+32767

= + 10 V (maximum analog output value).

In =

 0

= 0V (central value of analog output)

In =

-32768

= - 10 V (minimum analog output value).

Exemple

OUTDIR OutAn

;Set the sign of the analog output

WAIT NOT OutAn:st_outrev

;Check the status of the device

OutAn:in = 3276

;Set +1 V analog output

OUTREV OutAn

;Reverse the sign of analog output

WAIT OutAn:st_outrev

;Check the status of the device

In = input variable of  the
device

Vout = signed analog output

Содержание q-move

Страница 1: ...DAC internal device v 2 6 DAC motion controller micro Internal Device...

Страница 2: ...his manual is published by QEM srl without any kind of guarantee and we reserve the right to make modifications of typographical errors inaccuracies in content and improvements also of the products to...

Страница 3: ...declaration in the configuration file CNF 5 Example 5 FUNCTION 6 Device configuration 6 Exemple 6 COMMAND E PARAMETER 7 Adopter symbols 7 Command 7 R 7 D 7 Conditions 7 A 7 Parameters 8 Status 9 LIMI...

Страница 4: ...CPU that allows to manage an analog output with 15 bit of resolution The wirings and connections of the equipment described in the manual present must respect the European Norm En60204 1 in outrev A A...

Страница 5: ...evice_name DAC IOutA where device_name Is the name of the device DAC Is the key word that identifies the device analog output IOutA Hardware address of the DAC component of the Slave analog output Exa...

Страница 6: ...offset parameter is a variable which to be added to the in variable in order to adjust the analog output In 32767 10 V maximum analog output value In 0 0V central value of analog output In 32768 10 V...

Страница 7: ...to be considered correct or for the control to be accepted In some cases limit values are specified for the parameter to be accepted however if values external to set limits are introduced the datum i...

Страница 8: ...will be setted to the Low limit and the st_lowlim status will be activated The value can be positive or negative Range 32768 32767 Bit DAC out W R R Output DAC Simgned analog OOUTPUT of the DAC The v...

Страница 9: ...9 DAC internal device v 2 6 LIMITATIONS Not limitations...

Страница 10: ...empio gestione DAC Release 0 Note 1 Exemple of application for use device DAC Costant definition CONST SYSTEM variables SYSTEM slOutAna L Variable for analog output GLOBAL variables GLOBAL gfCambio F...

Страница 11: ...11 DAC internal device v 2 6 INPUT variables INPUT ifChangeOut F 2 INP01 Change the analog output OUTPUT variables OUTPUT Internal device declaration INTDEVICE Nome Tipe OutAnal Asse DAC 2 AN01 END...

Страница 12: ...na 0 Set analog output input variable to 0 Volt Setting of the analog output Used variables slOutAna percentage value of analog output of uplim ifChangeOut input used to reverse the sign of analog out...

Отзывы: