Omron CX-Programing SCL not working!

blackbird307

Member
Join Date
Jun 2015
Location
Winnipeg
Posts
59
I am trying to scale my analog input from 1-5V to 0 to 1000. My parameters are
D290
D290 + 1 = 0000
D290 + 2 = 0064 (1V)
D290 + 3 = 1000
D290 + 4 = 01F4 (5V)
All entered through Memory

I can see my input is 0 - 1000 from 0 - 10V however, my final variable D150 returns 0 BCD, no matter what my input is.

What am I doing wrong??
 
From what I understand the parameters for SCL take up 3 additional addresses including D290. So D290 + 1 + 1 + 1 ie D290 , D291, D292, D293.

In the memory I wrote out as the following
290 : 0000 (BCD, according to manual for instruction)
291 : 0064 (Hex for 1V, according to manual for instructions)
292 : 1000 (BCD again)
293 : 01F4 (Hexadecimal for 5V)

D150 is my output for which I am expecting a BCD value, but it seems all I see is 0.

My analog input, A642, reads 0 - 1000 in decimal. 1000 being 10V, which is the maximum intended value for the analog input.

I have it written out as SCL(194) A642 D290 D150 .

Thanks again!
 
Last edited:
Use the scaling function in my post above - I hate function blocks but love this one and use it all the time. Also you do not mention which scaling function you are using - there are 3 in the later Omron PLCs and then there is APR for non linear functions. Which PLC? Which analogue card? Give us the important information as well please - some of the older analogue cards could be scaled in the card - was really easy.
 
Use the scaling function in my post above - I hate function blocks but love this one and use it all the time. Also you do not mention which scaling function you are using - there are 3 in the later Omron PLCs and then there is APR for non linear functions. Which PLC? Which analogue card? Give us the important information as well please - some of the older analogue cards could be scaled in the card - was really easy.

I am using a CP1L-EM30DR, it has 2 built in analog ports which seem to work fine. I am using SCL (194). I will try that function block out.

Thanks
 

Similar Topics

Please suggest me programing cable for omron plc sysmac model no. Cpm2a
Replies
1
Views
1,124
Hi All, Can anyone tell me if its possible to program an Omron CS1G-CPU43H via an inserted CS1W-SCB41-V1 2 port communication module, on port 2...
Replies
5
Views
2,394
Hi, I did a search forthis on the site and found a link to page 1728 but not post about this??? any answers? Thanks, Steve
Replies
3
Views
7,377
I need some help getting the TC102 module working. I want to ON/OFF regulate, and the transmitter is a PT100. When W0.00 (se picture below) is...
Replies
5
Views
3,414
hi all, Is there some one there to help me out for this interesting omron logic?? the thing is that let us assume that i have D0 to D5000 memory...
Replies
4
Views
4,468
Back
Top Bottom