Sleepy Wombat

[PLC Sample Code] - Scaling in CJ1 CS1 PLC's

3 posts in this topic

File Name: Scaling in CJ1 CS1 PLC's File Submitter: Sleepy Wombat File Submitted: 9 Aug 2004 File Category: PLC Sample Code The use of the old scaling functions SCL really suck when it comes to the new CJ1/CS1 PLC's mainly because it still relies on BCD etc....Today is so easy to use INT UINT values in the program i hardly ever use BCD any more..... Therefore I n Click here to download this file

Share this post


Link to post
Share on other sites

Hi, i would like to ask on how the min value in negative?

 

Share this post


Link to post
Share on other sites

https://forums.mrplc.com/index.php?/files/category/10-plc-sample-code/

Here is a link to the downloads section where you can find several examples and function blocks to perform scaling (including this one). I would encourage you to test them for your needs. You would want to find one that performs the scaling math in REAL data format to factor in negative values.

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