Analog Input using PLC Omron CP1E+MAD11

looks good try to add a new section call it analogue
then put the analogue control rungs there.
the Idea here is to get used to the plc program
 
Wuah, Really thx for really fast response.
And also thx for the idea making new rung for the scaling.
But sir, seems like when i try to inject 20ma, the value is 95
Seems like it got something wrong.
Would you mind check the program for me?
Thx.

Best Regards,


Budiman Chandra
 
you will need me to take a screen shot with the monitor values.
I need to know the values of all registers
even if you just write them
3
D0
D1
D2
D3
D4
D5
 
Dear Mr. Iant,

Here I've attached the word file for you.
Would you mind to take a look at the program i've made?
I plan to set min value is 20, and the max value is 70.

And so i need to ask for channel analog output,
in the first time we have set value #8082 to channel 103.
If we use 103 channel for analog output, should it give problem?
Thx.

Best Regards,


Budiman Chandra
 
I have not programmed the CP1E but could be OK
I still need the actual values from above'
 
Dear Mr. Iant,

Here I've attached the word file for you.
Would you mind to take a look at the program i've made?
I plan to set min value is 20, and the max value is 70.

Sir, i've got the problems, the mistake only for the maximum value of unscaled value for point B.

I think i will try to learn and do some programming first.
I will inform you if i get any problem.
But i would like to say a big big thanks for your help sir.
Thx.

Best Regards,


Budiman Chandra
 
Dear Mr Iant,

Hello sir,
Would you mind to take a look at my program once again?
When i tried to inject 4-20ma on input channel 3 and then move to channel 103 by doing scale function first for min value 20 and max value 70.
I want to display on one indicator using 4-20ma.
The indicator that i used is EMKO type ESM-4430
In my opinion, the indicator should be set input as 4-20ma.
then the dual calibration value, min value set is 20 and max value set is 70.
I think the result value is still in word, how to change the value to decimal?
I plan to display the value on one controller.
Is it correct?
Please comment me if i'm wrong.
Thx a lot
 
Last edited:
the 0FA0 is for 4000 accuracy
the Analogue input card is 6000
so the hex value should be the (#1770) hex
Always use the computer calculator function to convert HEX numbers (Advanced mode)

max val.JPG
 
by the way my name is Ian
call me anything except late for dinner or lunch
 
Hi Mr Iant,

Would you mind to guide me below question?
Thx

Dear Mr Iant,

Hello sir,
Would you mind to take a look at my program once again?
When i tried to inject 4-20ma on input channel 3 and then move to channel 103 by doing scale function first for min value 20 and max value 70.
I want to display on one indicator using 4-20ma.
The indicator that i used is EMKO type ESM-4430
In my opinion, the indicator should be set input as 4-20ma.
then the dual calibration value, min value set is 20 and max value set is 70.
I think the result value is still in word, how to change the value to decimal?
I plan to display the value on one controller.
Is it correct?
Please comment me if i'm wrong.
Thx a lot
 
as I had said look at your first rung you have moved a value to the output
I would delete that rung
 
Thx for still replying in this time,
What time in Australia now? Indonesia is GMT+7

I dont really understand. I have two questions:

1. First of all, we need to set value 4-20ma = #8082 to analog input 0, analog input 1, and analog output. The address to be set is channel 103.
But Channel 103 is also used for analog output.
If we delete that rung, so how we determine the analog I/O to be 1-5v, 4-20ma,1-10v and etc?
Actually i have tried simulate it,
and it doesnt give any problem, does it?

2. When i tried to do scaling function as you can see on the program,
the value on D5 is the result for scaling function,
I think its still in BCD,
I plan to display it on one controller as input 4-20ma.
Just for my training.

Here i attached my program as you suggest me to create per section.
Hope you still want to help me.
Thx.

Best Regards,
Budiman Chandra
 
Last edited:
it is 2:45 AM GMT + 10 and add 1hr for Daylight savings time

Good night from me I am going to bed
 

Similar Topics

Hello, I have a small programming task that I need help solving. I have to: * Create an analog input (4-20v)and a digital output * The analog...
Replies
45
Views
25,167
Hi, I have a potentiometer connected to a siemens micromaster 440 to control a servo motor speed and they are not connected to any PLC. Now, I am...
Replies
9
Views
4,052
Hello, I need some help adding a project to an existing PLC and HMI. We have a SLC 5/03 controlling a filtration systems. I will like to add a...
Replies
2
Views
1,860
Hi all I am trying write a program that has analog input from a pressure sensor in a tank that read the pressure sensor for level when the pump...
Replies
12
Views
6,590
Please help me... Is there any possible way to use AB IR4-1762 module for analog input scaling....?
Replies
1
Views
1,182
Back
Top Bottom