Analog Input using PLC Omron CP1E+MAD11

budiman

Member
Join Date
May 2013
Location
Medan
Posts
43
Hi All,

I need some help in my simple program using analog input signal to PLC Omron.
The PLC i used is CP1E-N60DR-A and expansion unit CP1W-MAD11.
Would you mind please check the program i've made?
Analog Input 0 is using 4-20ma.
Thx.
 
As usual it is a pain to search for the Info I want to tell you. Help is not Helpful.

Basically Internal Flags are for specific functions - Unless you need them

your first rung using P_Step is an internal Flag - for BobB will have to post that one.
I haven't needed to use it.

The second rung you are using is the P_ON this is always on so the timer will time out and never reset.
the MOV command should work OK
I am not sure please confirm that the Channel 3 is correct for your analog card
Be wary of the Type of Data Type
But normally we use the SCL With analogues
Is your program working?
 
Last edited:
Dear Mr Iant,

I'm using CP1E-N60DRA, so input channel just until 2CH,
and I add expansion unit CP1W-MAD11,
so as the manual instruction is 3CH for analog input 0.
Would you mind please correct the program for me?
As i have stuck on the program, and i dont know where is the mistake.
Thx.

Best Regards,


Budiman Chandra
 
Ok
I will assist you to do the work,
Firstly look at the SCL instruction.
then delete the P_Step - ( I have spoken to BobB - he doesnt use it either)
Do you have a process meter or analogue generator.
Can you confirm that there is an Actual analogue input
Please state the measured current.
can you easily adjust that value

What is the 4 ~ 20 mA going to display in your program
 
Dear Iant,

i have analogue generator,
i'm using fluke instruments to generate 4-20ma as input to PLC.
The value is easily adjust to 4ma, 8ma,12ma,16ma and 20ma.
I think we can see the changes on the Cx-Programmer while in monitoring mode, then we try to inject 4-20ma.
So what di i change P_step to?
Thx before.
 
Great - it is amazing how many people try to play with Analogue and dont have it wired correctly.
when you adjust to 12mA that should read half way.
What is the value at 4mA 12mA and 20mA please

as far as P_step is concerned
I think you are trying to move #8082 into channel 103
If I assume you only need to do that once then use the P_First_cycle A200.11 flag

if there is a specific value you want to show at 20mA what is it.
maybe 100% or 100.00% ?
 
Dear Mr Iant,

Here i attached photo of my wiring and also the analogue meter inject 4-20ma.
I also attached the new program.
Would you mind please check it for me?

Actually i move the #8082 to channel 103 is the from the manual.
You can read from W479-E1-05 page 8-22 to 8-35.
Correct me if I'm wrong.

For scaling, just make an example from 20 (4ma) to 70 (20ma).
Thx before.

Best Regards,

Budiman Chandra
 
BLDY Omron
the manual number is now W479-E1-06
and it was a pain to find
 
Dear Mr. Iant,

So have you see the new program that i've attached on my previous post.
I hope you still want to help me.
Thx.

Best Regards,


Budiman
 
Hi Iant,

The program have worked so well.
Now i want to learn about SCL.
Would you mind to help me if i find any problem?
Thx in advance
 
Ha ha Ian - the DVD with all the manuals on it is great - just pop it in and up they come. Gets re-done about 4 times a year. Glad it is sorted.
If you want to learn about the scale function add a function SCL and go to the help for the function - the help is really good for the later PLCs - early ones not so good.
I rarely use scale - even to a BMS system - I just tell them the range (0-6000, 0-4000) and let the buggers sort it out themselves - they never help me.
If going to a touch screen scaling can take place in the touch screen.
I normally just break my 0-4000 or 0-6000 up into numbers and use them that way.
Sorry I have not been able to help much at the moment but too much on my plate - generally start about 4.30 AM and finish @ 11 PM trying to get my work done.
 
I just found mine Bobb
New I had it somewhere - but thanks for the ribbing 🍺
 
check out the SCL in instruction help
the FIRST PARAMETER WORD is the only part you need to study
The example set it to D100 then D100, D101, D102, D103 are automatically used. Be wary of this if any of those are used elsewhere.
Normally always good practice to keep these type of registers well out of your normal work area.
I have shown you the OFFSET version from the CX help file
remember to confirm the 0mA or 4mA because you may need this.
I am not certain with the CP1E's

SCL D.JPG
 
Dear Bob and Iant,

Would you mind to take a look at the program i've made?
I want to scale 20-70 from 4-20ma.
So if 4ma the result should be 20,
if 20ma the result should be 70.
 

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,082
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,025
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,854
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,564
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