Jump to content
OMRON Forums

ACC36E setup


bradp

Recommended Posts

How do I setup an ACC36E?[hr] Here is the setup for ACC36E at the default address. ADCDemux.enable = 8; // convert 4 pairs or 8 ADCs ADCDemux.Address[0] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[1] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[2] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[3] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[4] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[5] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[6] = $A00000 // ACC36E base address set by address select switch ADCDemux.Address[7] = $A00000 // ACC36E base address set by address select switch // Unipolar decode ADCDemux.ConvertCode[0] = $000000; // convert ADC's 1 & 8 from ADCDemux.Address[0] ADCDemux.ConvertCode[1] = $100100; // convert ADC's 2 & 9 from ADCDemux.Address[1] ADCDemux.ConvertCode[2] = $200200; // convert ADC's 3 & 10 from ADCDemux.Address[2] ADCDemux.ConvertCode[3] = $300300; // convert ADC's 4 & 11 from ADCDemux.Address[3] ADCDemux.ConvertCode[4] = $400400; // convert ADC's 5 & 12 from ADCDemux.Address[4] ADCDemux.ConvertCode[5] = $500500; // convert ADC's 6 & 13 from ADCDemux.Address[5] ADCDemux.ConvertCode[6] = $600600; // convert ADC's 7 & 14 from ADCDemux.Address[6] ADCDemux.ConvertCode[7] = $700700; // convert ADC's 8 & 15 from ADCDemux.Address[7] // Bipolar decode /* ADCDemux.ConvertCode[0] = $800800; // convert ADC's 1 & 8 from ADCDemux.Address[0] ADCDemux.ConvertCode[1] = $900900; // convert ADC's 2 & 9 from ADCDemux.Address[1] ADCDemux.ConvertCode[2] = $a00a00; // convert ADC's 3 & 10 from ADCDemux.Address[2] ADCDemux.ConvertCode[3] = $b00b00; // convert ADC's 4 & 11 from ADCDemux.Address[3] ADCDemux.ConvertCode[4] = $c00c00; // convert ADC's 5 & 12 from ADCDemux.Address[4] ADCDemux.ConvertCode[5] = $d00d00; // convert ADC's 6 & 13 from ADCDemux.Address[5] ADCDemux.ConvertCode[6] = $e00e00; // convert ADC's 7 & 14 from ADCDemux.Address[6] ADCDemux.ConvertCode[7] = $f00f00; // convert ADC's 8 & 15 from ADCDemux.Address[7] */ [attachment=1324:name]
Link to comment
Share on other sites

  • 5 years later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Please update the software reference manual, the acc36e manual (and any other affected accessories), and the IDE help file with respect to the format of ConvertCode. All these say it takes value $n00. All the examples show this. I spent a lot of time investigating why my ResultHigh values were always unsigned before I looked for this post. I assume this is the correct way and will not change in a firmware update?
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...