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.
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.