Omega Engineering CIO-DAC08, CIO-DAC16 user manual Output Transfer Functions

Page 15

4.2 Output Transfer Functions

To program a DAC, you must select the output you desire in volts, then apply a transfer function to that value. The transfer function for code = output is:

The UNIPOLAR transfer function of the DAC is:

FSV / 4096 * CODE = OutV or CODE = OutV / FSV * 4096

For Example:

If the range is 0 to 5V, and you desire a 2V output CODE = 2/5 * 4096 CODE = 1638

The BIPOLAR transfer function for the DAC is:

FSV/4096 * CODE - 0.5 * FSV or CODE = (OutV + 0.5 * FSV) / FSV * 4096

For example:

If the range is set to ±10 and you desire a −7V output

CODE = (−7V + 0.5 * 20) / 20 * 4096

CODE = 614

11

Image 15
Contents CIO-DAC16 CIO-DAC08 HM CIO-DAC##.lwp Table of Contents This page is blank Introduction Software InstallationHardware Installation Initial Board SetupSelecting the Base Address HEX Function Range OFF Wait State JumperSimultaneous Update Jumper Analog Output Range SwitchesInstalling the CIO-DAC## in the Computer Testing the InstallationCabling to the CIO-DAC## Signal Connection Connector CIO-DAC16 Connector DiagramControl & Data Registers Register ArchitectureMSB Output Transfer Functions Analog Output SpecificationsEnvironmental For your notes EC Declaration of Conformity Omega Engineering Inc One Omega Drive Stamford, Ct 800