Wanting to do math on analog inputs

scout76

Member
Join Date
Dec 2005
Location
Tennessee
Posts
5
I've got an AB PLC5/40E and I will be using 14 Keyence lasers for continuous level measurement (wood products), thickness, side-to-side thickness variation, etc. Basically I want to do a lot of math on these analog inputs, and then make decisions based on the results and send out discrete outputs and info via HMI (Wonderware).

First, is it normal to do this type of math with the PLC5, or should I be doing it with an external PC, and then send the results to the PLC? If I need to use a PC, is there any freeware (or cheapware) out there that can take these analog inputs, allow me to program the math, and then send the results to the PLC, or HMI?

Sorry if this is basic stuff. I've programmed PLCs in the past, but I'm weak on networking.

Thanks!
 
The 5/40 is a fast enough processor to handle a LOT of math... Unless you are doing an exceptional number of strange calculations, I'd go ahead and do all the math you can inside the PLC. Couple of reasons:

1) It will always be tied to the I/O scan, so all values will be concurrent
2) The PLC is probably the end point of control
3) Things will continue to run through a reboot of the HMI.
 

Similar Topics

Hello, I have a PID block in my program controlling pump speed in order to get a correct Differential pressure. The way I have it set up is the...
Replies
3
Views
1,255
I am running 2 Beckhoff Industrial PC's that are identical, just different computer names and IP addresses. I connect remotely using “Choose...
Replies
4
Views
3,450
Here is a little background before I ask my question. I am an aircraft machinist by trade and have been for close to ten years. The job pays in...
Replies
25
Views
6,304
I have an expression in a structured text routine of a Logix controller that looks more or less like the following: ResultInteger := Integer1 *...
Replies
13
Views
389
This application has a motor with encoder feedback that drives a linear actuator that moves in/out, and is at roughly 45 degs from horiz. As the...
Replies
19
Views
1,362
Back
Top Bottom