Momentum Concept 984LL Analogue Scaling

Yes, it is outdated. 984 Ladder Logic has not be "improved" since it was created in the early 1990's.

Why are you using 984LL in Concept? Why not function blocks instead?
 
I ask, because the newer versions of ProWORX do have different methods of scaling analog signals in new versions of 984 processors. Actually these scaling methods are determined during the module setup in Traffic Cop. But I am not aware of any of these in the 984LL language of Concept, which is similar to the old Modsoft.
 
We dont have ProWorx only concept s 2.6. I've spoken to Schneider and we can't use any of the ANAL_IN or PCFL functions as they aren't available when you select this modle of PLC 171CCC96020 so I'm going to have to create my own scaling routine. I'm attempting to do this now but aren't getting anywhere fast. I want to do the following equation.

OUT = (IN - in_min)*(Out_max-Out_min)/(in_max-in_min)+out_min

OUT i want as a REAL at 400129 to display on the HMI
IN is my raw analogue input which I've mapped to 400065 and is a INT
in_min will be # 0
in_max will be # 32767
Out_max is a REAL at 400417 which will be configurable from a HMI (0 to 99999.99)
Out_min is a REAL at 400289 which will be configurable from a HMI (0 to 99999.99)

I can't even get the subtraction of Out_max-Out_min using SUB to come up with the correct answer into Out_max_sub_Out_min a REAL at 400611
 
Last edited:
----- Forwarded by Gregory Lemieux/Aut/Schneider on 08/28/2006 05:53 PM -----



(Embedded image moved to file: FAQ (Embedded image

moved to file:

pic21940.jpg)

pic00461.jpg)













Title: How do I scale data from

0-32,000 to 0-4095 using

984 Ladder Logic?



Resolution Number: 163828 Distribution: For Fee

Revision: 1.0















-------------------------------------------------------------------------

Question How do I scale data from 0-32,000 to 0-4095

using 984 Ladder

Logic?



-------------------------------------------------------------------------







Answer



The following network scales data from 0-32,000 to 0-4095 for use with

analog signals.



(Embedded image moved to file: pic14248.jpg)



(Embedded image moved to file: pic32403.jpg)







Register 300001 contains the analog input data (0-32,000).



This data gets BLKM (Block Moved) to register 400002.



Registers 400001 and 400002 are the top integer nodes of an EMTH (Divide I

nteger by Floating point) which is divided by registers 400003 and 400004

(display 400003 as data type float), the middle node registers that contain

the floating point constant (7.814408).



The floating point result is found in registers 400005 and 400006 that is

then converted by the FTOI

(Floating point TO Integer) Block to register 400007.













-------------------------------------------------------------------------















 
Whats happed to the images from your post Ank. I also tried uploading a .jpg with my last post but it didn't display it. my e-mail is [email protected] could you e-mail the pics please. Thanks


I've also tried SUB16 as well and this doesn't work. I think my REAl floating point numbers are in two registers so are 32 bits not 16. I'm now trying to use the extended math instuctions EMTH-SUBFP.
 
I've got it working now using floating point maths if any body is intrested how msg me.



ISL_MAN said:
Whats happed to the images from your post Ank. I also tried uploading a .jpg with my last post but it didn't display it. my e-mail is [email protected] could you e-mail the pics please. Thanks


I've also tried SUB16 as well and this doesn't work. I think my REAl floating point numbers are in two registers so are 32 bits not 16. I'm now trying to use the extended math instuctions EMTH-SUBFP.
 

Similar Topics

Trying to identify the Modbus RTU registers that are in use in the Function block programming in the PLC program. I have a Kohler DEC 550...
Replies
0
Views
140
Hi..I am working on a project involving Momentum PLC 171CCC98030. I am doing its programming in Concept 2.6 SR7 (Demo Version) . I have following...
Replies
2
Views
1,807
Hello - I have a client with TSX Momentum Processor Adapters, 171-CCC-980-30. Per schneider they are IEC, and I need CONCEPT to program them. I...
Replies
1
Views
3,869
Our company uses Schneider Momentum 171CCC96020 PLC's with our production system to capture press counts. I am using Concept 2.6XL SR6. When we...
Replies
5
Views
4,075
Pretty new at Concept (AB guy). I have an XXMIT that handles communications with a dozen remote RTUs. I want to monitor the Error and Done bits...
Replies
0
Views
1,716
Back
Top Bottom