Having problems with FC105

Einstein_86

Member
Join Date
Oct 2011
Location
Egypt
Posts
19
I used FC105 for scaling analog inputs and I (renamed it) as I read advices here in order to not override the original function.

Anyway I attached a shot for my function and the results it gives which are totally unlogical and seems like garbage. I do not know what is wrong with it, can anybody here tell me ?

And I would like to note that I wanted to use PIW but it does not accept it !!!!!
It gives the message :Data type of IN does not fit the symbol table entry of the actual side , so I used IW (with the same address) it was accepted but gives the same garbage output as the attached one.

Please advice me

my scaling function.jpg
 
Hi
PIW must be set as INT within your symbol table to be used as direct input.

Do you need it to be bipolar? This means your result maybe negative..... but your min value is positive, set your bipolar to be 1

Why do you have an enable bit? I would usually process analog inputs continuously
 
MW1 overlaps MD2
Ohh my God it worked ! Thank you so much, I just changed it to another address (MD100) and it worked ,
but would you please explain more the nature of this problem ? [actually i always thought MW and MD are different places :$]
 
Hi
PIW must be set as INT within your symbol table to be used as direct input.

Do you need it to be bipolar? This means your result maybe negative..... but your min value is positive, set your bipolar to be 1

Why do you have an enable bit? I would usually process analog inputs continuously
Thank you so much, I changed it in the symbol table to INT and the function accepted the PIW,
but I wonder why is the default data type of analog inputs WORD, as long as the function which scales analog inputs accepts only integer !!

I am not using bipolar, i was just putting trial values & the enable in my program enables the whole station to operate
 

Similar Topics

11 months ago I ordered a 10" Redlion HMI. I was given an April delivery date. April came and went. I waited, and in June I asked our vendor...
Replies
7
Views
2,370
and apparently my r and 0 keys. altivar 320. Calculated stop works near perfect for the ATV 312. ATV 320 not so much...
Replies
0
Views
1,045
Good Morning , I'm trying to move a total for a dose into a dose history. I'm able to get my totals to move just fine. I would also like to...
Replies
6
Views
2,407
Hi everyone, could really use some help if you get the chance!! Trying to create discrete I/O tag with an micrologix program. Green light on...
Replies
2
Views
1,529
We had to replace a bad Panelview plus 6. It was running factorytalk v5 and kepware v4. This unit is talking to two AB PLC 5s over DH+ and 3 TI...
Replies
0
Views
1,827
Back
Top Bottom