Using the DAC

Return to Introduction  Previous page  Next page

 

The on-board DAC (Digital to Analog Converter) of LadderDIP is accessible, in the Ladder diagram, using the DAC function block.

This block has un unique input pin that receive the value to be converted in an analog signal (0...3V). The supplied value can span from 0 to 1023 (10 bits)

 

In order, to use the DAC block, follow the listed instructions

 

Use the DAC block configuring the CHANNEL parameter to zero
Using the Pin Configuration Dialog (Options Menu_Navigate_ArrowConfiguration Menu_Navigate_Arrow"Pin Configuration Tab") set the IO13 (P1-14) pin to the function "DA"