RSlogix 5 question

Hi all,

I wondered if anyone can give an explanation of how the FRD command works in the application i have.
I have attached a picture and wondered if i had thought this through properly.
The command is CMP(((FRD D22:[N7:62]!100.0)+((FRD D22:[N7:63])*100))<83.5

Is this taking the value in D22, changing it from BCD and then putting the resulting integer into N7:62?

Any help would be much appreciated please.

Kev

FRD.JPG
 
Hi Kev,

CMP(((FRD D22:[N7:62])!100.0)+((FRD D22:[N7:63])*100))<83.5

Split it up:

Looks like it is converting D22[N7:62] - an indirect address, I think then D22:146 if I can read you pic correctly - to an integer, and dividing by 100.

Then converting D22:[N7:63] - D22:147? and multiplying by 100.

Then adding the 2 results together and checking to see if they are less than 83.5.....
 

Similar Topics

Oh, I hope someone can help! I have one little problem holding me up from studying this weekend. I'm using Rslogix micro starter light, it's a...
7
Replies
4,458
Views
So I have a PID loop on an 1756-L61 running V17 software just for background. Also the PID PV is a pressure transmitter and the CV is speed sent...
1
Replies
2,585
Views
Hello Please Help, I want to use a FSC instruction that will scan 20 DINT arrays. If the arrays are greater than 1000 display the value. How do I...
4
Replies
3,248
Views
Hey all, I just joined today. Not sure if this question is in the right place or if anyone has asked it before. I am monitoring a machine from...
2
Replies
2,099
Views
Note, I have NO experience with RSLogix products. Never done anything beyond installing the software for others. Please forgive me for my...
9
Replies
8,203
Views
Top