Analog prog for AI564
I'm doing Analog output programming with Pm564.
Voltage Decimal value
This table is given in PM564 manual. Using this data I could not creat any equation for scaling of voltage to decimal value conversion. pls help me out.
The AO channel is scalled 0 to 11.75 Volts = 0 to 32767 counts where 10 to 11.75 Volts is considered overrange
The channel is a simple linear scale where 0 Volt = 0 Counts and 10 Volts = 27648 counts.
It seems that the person who made the table made a mistake when calculating the voltage output for 32 counts.
let us make it simple .....
in case you want to send 10 V you shall move a value of 27648.
in case you want to send 0V you shall move a value of 0
so ... any value in between shall be created by using any math equation
as if you want to send 5V you will MUL to full scale by 0.5
notes that the MUL operation will be in real numbers ... to move it to the analog output address you shall first convert it to INT