background image

DAC internal device v. 2.6

DAC

 motion    controller

 micro

Internal

Device

Summary of Contents for micro q-move

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

Page 2: ...This 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 which this manual makes reference Any modifications will in any case be inserted in the following editions of this manual No part of this manual can be reproduced in any format or by any means witho...

Page 3: ...e 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 LIMITATIONS 10 ESEMPIO APPLICATIVO 11 Configuration file 11 DAC management 13 ...

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 if B A B C if B C B if A B C C uplim lowlim DAC Output Address Ex 2 AN01 out offset outdir ...

Page 5: ...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 nece...

Page 6: ...e 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 th...

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 is accepted therefore appropriate internal controls must be provided so as to assure correct operation For the execution of a control all the relevant conditions must necessarily be satisfied otherwis...

Page 8: ...e 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 value is the sum of the in and offset parameters If the sum is greater then the uplim or lower then the lowlim parameters the analog output will be limited Range 32768 32767 Bit DAC Status Name D R A ...

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

Page 10: ...Esempio 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 Rising front derector of input if change out TIMER variables TIMER DATAGROUP definiction DATAGROUP Bus configuration BUS 1 1CPUB 02 2 1MIXA 00 3 4 Configuration file ...

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: ...Ana 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 output gfCambio flag for rising front detection of input ifChangeOu MAIN IF ifChangeOut IF NOT gfCambio Wait for input activation gfCambio 1 Write the new analog output value Asse in slOutAna Asse uplim...

Reviews: