Integrated Motion
0
Items : 0
Subtotal : 0,00 
View CartCheck Out

Configure, Start and Access the two ADC interfaces

Home Forums SOMANET Software Motor control software Configure, Start and Access the two ADC interfaces

This topic contains 1 reply, has 0 voices, and was last updated by  peterpoon 3 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1527

    peterpoon

    Dear,

    Do you have some example of code for configuration, starting and reading of the two external ADC sensors ? Is there any limitation of using these ADC for external signal measurement with the measure of the motor current sensors ?

    Based on this I will then use the approach of replacing one of the motor feedback value with the ADC reading to have access to the value (waiting for the use of the EtherCAT PDOs)

    Thank you,

    Br,

    Pierre

    #1528

    Slava

    For DC100/300 boards there is an example here:

     

    {AI0 , AI1} = i_adc[0].get_external_inputs();

    int normalized_value = AI1*PWM_MAX_VALUE/MAX_ADC_VALUE

     

    The ADC is configured as differential. So if you have a single-ended source, please ground the negative AI. The voltage input range is 0 – 4.095 V.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.