How can I scale an analog output in Omron CX-Programmer?

strantor

Member
Join Date
Sep 2010
Location
katy tx
Posts
401
Omron noob here. I'm trying to make a 12-bit DAC with an Omron CPM2C + MAD11. I have figured out the addressing and when I move the input word (0, 12 digital inputs) to the output word (10, analog output card) I get 6.83V out of the analog card. I need this full scale to be 10V, which means I need to scale the number up by a factor of 1.464. I cannot figure out how to do this. The software will not let me multiply by a decimal value, so I figured I could multiply by 1464 and then divide by 1000, but the software also will not accept the binary conversions of these numbers because they are too long. I have tried using the hex versions of these numbers and I get very odd outputs. I cannot figure out the instructions for the scaling function; it seems I need 4 data points, but it only allows entry of a single data point. How should I go about this?
 
The Scale instruction all use multiple channels (registers) for the middle node. This address is the first of four or five consecutive addresses depending on the instruction.

The MAD11 is looking for a hex value in the output word.
0 - 10vdc = 0 - 1770hex (0-6000 decimal).

The W353 manual has very good information on the expansion modules and should be helpful. This manual also will explain all the instructions in detail.

Hope this will help.
 
Last edited:
How accurate does it need to be???
If you multiply your switches by 16 and divide by 11 that will give you a 1.454 multiplier and won't overflow the registers in the CPM2C.
 

Similar Topics

I'm going to be using a Micrologix 1200 to scale an 4-20mA analog input from a weighing scale and want to output this to an 4-20mA analog signal...
Replies
12
Views
11,412
Hi, I'm using a Micrologix1500 and it doesnt have the SCP (Scale with parameters) block. I have a 1769-IF8 analog module and need read the inputs...
Replies
10
Views
3,751
Hi I'm trying to change the scale in a analog Input module in the module while online. I got a warning saying something like Module changes could...
Replies
4
Views
2,058
I have an automated batching system that im using an analog scale to trigger automated valves to open and close. I have the programming done and...
Replies
6
Views
2,349
Please help me... Is there any possible way to use AB IR4-1762 module for analog input scaling....?
Replies
1
Views
1,175
Back
Top Bottom