DL340-Random Numbers

atatari

Member
Join Date
Sep 2002
Posts
92
Hello Everybody,

We have an DL340 cpu whcih inputs 4-20 ma signal from scales to show the weights.
Now this value needs to be subtracted from a preset value to get the third value.
If scale shows zero ...I will have some random numbers shown for the third value (say B value)

Scale-A=B

jumps from 0-6000..
But soon hopper starts to fill up I will have the actual value shown for B..
how can I overcome this problem ?
I appreciate the feedbacks
 
I'm not sure I understand the problem. From what I gather, if the scale output is less than the "A" value, then the result is negative, and you don't want this?

If that's the case, then just add more code immediately after you subtraction. "If B < 0, Then B = 0" will kill negative numbers.


VAL_B < K0 +-----------+
-----------] [--------------+-----| LD K0 |
| +-----------+
| +-----------+
+-----| OUT VAL_B |
+-----------+

beerchug

-Eric
 

Similar Topics

This is purely a personal project. I am building a my second homemade cnc router. This time going for a 5 axis. I want to use a plc for external...
Replies
5
Views
2,454
I am trying to help a guy out who has a 10 slot base with this CPU and cannot manage to connect to program this PLC with DirectSoft32. There has...
Replies
3
Views
3,352
Hi i wanted to know any guys have done Directlogic networking using DL 450 Series with DL350 series using the Fa-ISONET?? Currently i using...
Replies
0
Views
3,413
I bought Dsdata (OPC server for koyo PLCs) to bring the data (registers-I/O statues) from DL340 and to Excel. Now my problem is how to share this...
Replies
5
Views
2,840
Hello everybody, Has anybody imported data (I/O status-Register values)from DL340 to excel spread sheet? what software do I use? and how to do...
Replies
6
Views
2,365
Back
Top Bottom