background image

5

DAC internal device v. 2.6

INSTALLATION

Device declaration in the configuration file (.CNF)

In the configuration file (.CNF), the BUS section must be declared so that the hardware resources
to implement the DAC device are available. At least one 16 bit resolution analog output must be
available.
In the INTDEVICE section of the .CNF file, the following definition must be added:

;---------------------------------

;  Internal device declaration

;---------------------------------

INTDEVICE

..

<device_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.

Example

;---------------------------------

;  

 

Internal device declaration

;---------------------------------

INTDEVICE

OutAn DAC  2.AN01

The device DAC doesn’t
required any sampling time
declaration because its
output value is update only
writing on its in  variable.

It is necessary than all the
shouting of definition are
restored on the same line
and in the same sequence.
The resources of the devi-
ce that are not used should
be marked from a X to the
place of their physical
address.

Summary of Contents for q-move

Page 1: ...DAC internal device v 2 6 DAC motion controller micro Internal Device...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 9: ...9 DAC internal device v 2 6 LIMITATIONS Not limitations...

Page 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...

Page 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...

Page 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...

Reviews: