Matthew2019

Analog input Omron CPM2 with Syswin 3.4

9 posts in this topic

Hello gents,

I am learning PLC programming with Omron Syswin 3.4 software and i use for this project Omron CPM2 CPU.

Someone can explain  how to program in ladder diagram a analog input with range 4mA = 0 and 9999 = 20mA. I want to storage the value in a DM1010 for example.

Thanks in advance.

 

Share this post


Link to post
Share on other sites

Welcome to the forum.

Take a look at the SCL instruction in the programming manual.

CPM Programming Manual

gtsuport

Share this post


Link to post
Share on other sites

Thanks for your advice, but i would like to do it with math and use move and divide instructions. my range is -20 celcius to 100 celsius, 0 to 9999 , 4-20mA.

i have then 9999 / 120 cenlsius = 83 per 1 celsius. 

Thanks in advance

 

Share this post


Link to post
Share on other sites

So what exactly is holding you up?

Do you know the formula? The formula is in the SCL instruction Help section, the manual that gtsuport has provided, or a google search. Try performing it in a spreadsheet first.

Edited by IO_Rack

Share this post


Link to post
Share on other sites

Whats hold me is the following, how to i program the analog input to a move  in combination with other instruction? is that possible? 

I dont want to use SCL .

Thanks in advance

Share this post


Link to post
Share on other sites

You could use an Always On bit, or a pulse bit.

Addresses should be in the Programming Manual.

Share this post


Link to post
Share on other sites

So an always on bit with a DIFU and bellow the difu contact with move. and how to determine the range?

On move i can only have the source and one destination memory right? the source then it will be 4mA? >> 0 ?

Thanks 

Share this post


Link to post
Share on other sites

Slope formula:

y = mx + b

Quote

i have then 9999 / 120 cenlsius = 83 per 1 celsius.

 

You provided your answer.

9999 / 83 =120

b = -20

 

gtsuport

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now