ML 1400 error code 0020

I got my fault finally using an overflow trap. It is the s;5/0 bit. Going to write a few more traps after each math instruction to find out if it is in the scaling or in my add subtracts. Kicking myself for not making all the traps initially like OkiePC suggested.
my scp is set up as followed. Input f8:0
input Min 0.0
Input Max 100.0
Scaled Min 0.0
Scaled Max 4020.0
Output o;0.5
Also from my Hmi . Scale to Integer
Data From 0.000
Data To 100.000
Display From 0
Display To 155
Again thanks for all the help. This is my first program using analog. Having a lot of fun. I'm going to get this.
 
Originally Posted by sharkyh2o
...I had =< 0 for the float and was subtracting .175. it would have been possible to take the value into a negative. Could that have caused the fault.
Geospark, I used Two comparisons If O;0.5 was=<0 Then allow a subtraction of .175 to f8;0 and If O;0.5 was =>4000 Then allow an addition of .175 to f8;0
F8:0 being my scp input and O;0.5 scp output. I changed the zero value 1000 becuse i only need this function in run mode. Didn't want to change too much, i want to pinpoint my fault condition.
 
Last edited:

Similar Topics

Hello, I need help with PLC error code. Major error S:6 = 487h. Which is known for The expansion I/O configuration in the user program did...
Replies
2
Views
2,027
Hello everyone I was called into a situation at a food plant where a "spiral" freezer MCC is encountering problems. The panel consists of a...
Replies
2
Views
10,090
hello ALL as per my previous post i am trying to communicate ML-1400 SERIES-A arduino(ATMEGA328) serially so i have made arduino as a modbus...
Replies
3
Views
3,848
I have a MicroLogix 1400 1766-L32AWAA controller. I got everything out of the box today and connected the power, it powers on, set to DHCP and...
Replies
8
Views
10,232
I have a micrologix 1400 that will fault out on error code 71h every once in a while, I am talking months in between fault. Now, sometimes I can...
Replies
6
Views
12,320
Back
Top Bottom