Linespeed: Map % to PPM

LeDude

Member
Join Date
Nov 2008
Location
Wisconsin
Posts
19
Hello there,
steadily learning here with a bunch of SLC 5/04's. AB is new country for me, and I thought I'd ask for some help. :D

I am currently working on a project, where operators type in a percentage, which is a MAGIC UNIT (according to the programmer).

This percentage is scaled to an analog output, which controls a hydraulic pump, which then propels a conveyor and applies glue on paper ( I guess a 100hp e-motor was too big ;) ). The speed is measured in PPM ( parts per minute).

Minimum PPM and Target PPM are already on the SLC.

So what I am trying to do here is:

Map this % to the PPM. I have a minimum line speed and a target speed.

Idea here is, that the conveyor ramps up to minimum speed (let's say 50% = 500PPM)
But target speed is 700PPM. They type in 700 and the machine ramps up.

So How can I map the speed, that when they type in Target Speed 700PPM, it speeds up to that PPM?

I don't want to use that % as line speed unit, I want actual PPM as unit.

And at 700PPM, but only once reached that number, I want the OP to be able to run faster than that if he wants to.

HMI is an AB Panelview 1000.


THis is rather simple, but my lack of experience makes this more complicated than it probably is. :D

Thanks for your help, guys.
 
So How can I map the speed, that when they type in Target Speed 700PPM, it speeds up to that PPM? ...which is a MAGIC UNIT (according to the programmer).
The programmer is trying to pull a joke on you - there are no magic PLC solutions. The PLC program has to take your "700" PPM and convert it to a number that your controlling device (Hydraulic Pump Variable Speed Drive, or Hydraulic Pump pressure controller) will understand, such as Speed in Hertz, or Pressure in PSI. That is done for the Allen Bradley SLC 5/04 PLC with a scaling computation, usually the SCP instruction, as described in the Help file:

SCP [Scale with Parameters]
Rockwell Software
Description
This output instruction consists of six parameters. Parameters may be integer, floating point, or immediate data values or addresses containing values. The Input value is scaled to a range determined by creating a linear relationship between input min and max values and scaled min and max values. The scaled result is returned to the address indicated by the output parameter.

Entering Parameters
Input - Enter a value to be scaled. This can be a word address or an address of floating point data elements.

Input Min - Enter a minimum value for the input (low end of range). This value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.

Input Max - Enter a maximum value for the input (high end of range). This value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.

Scaled Min - Enter a minimum scaling value representing the low end of the range to which you want to scale the input. The scaling relationship is linear. The value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.

Scaled Max - Enter a maximum scaling value representing the high end of the range to which you want to scale the input. The scaling relationship is linear. The value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.

Output - Enter an address for the scaled value that is returned after the instruction is executed. This value can be a word address, a long (double-word) address or an address of floating point data elements. If any floating-point file types or floating-point constants are encountered in the above parameters, then the entire instruction is treated as floating point, and all immediate integer data values are converted to immediate floating-point data values.
 
Yea,
those Magic Units made me laugh.
I will look into your suggestion.
I know I can write 20 rungs or just find the right instruction to make it short. And that's where I rely on guys like you!

Thanks
 

Similar Topics

I Am looking to get ahold of the modbus map for an air compressor. I HAve emailed the vendor as well, just wondering if any of my friends here...
Replies
1
Views
130
I was looking for this because I did not have the EDS file for the camera. I also just like to know what all the bits do sometimes. If you want to...
Replies
0
Views
954
Hey guys, I am using the logging function of the Productivity PLC (P-550) to log 64 tags into a CSV file. I can access these files using the...
Replies
10
Views
4,401
Hi, I use a 1768-L43S CompactLogix5343S Controller to connect with Rexroth with Air Weld Gun. the problem is when I use this controller to program...
Replies
14
Views
2,201
In my mind there is a clear rationale to favour the use of input map routines with compactlogix controllers. The inputs are updated...
Replies
5
Views
2,050
Back
Top Bottom