Can PLC5 N file hold decimal number?

wilsonzhu

Member
Join Date
Jan 2008
Location
vancouver
Posts
278
I have a vibration transmitters, its scale is 0-1 inches/second for 4-20mA, it's Hi Hi SD is 0.6"/s. In the plc5 1771-IFE, it use BTR to read all the channel to N file. Does I need to expand RawMax in IO channel to 10(maybe) in order to hold 0.6( it become 6)in N files. Thanks.
 
wilsonzhu said:
I have a vibration transmitters, its scale is 0-1 inches/second for 4-20mA, it's Hi Hi SD is 0.6"/s. In the plc5 1771-IFE, it use BTR to read all the channel to N file. Does I need to expand RawMax in IO channel to 10(maybe) in order to hold 0.6( it become 6)in N files. Thanks.

Yep
 
Greetings wilsonzhu ...

I'm not 100% sure that we're understanding your question ...

first of all, let's nail down one BIG idea ...

you can NOT store a decimal/fraction in an N-type location ...

going further ... in MOST applications, the IFE card gives a signal of 4095 when the input is 20 milliamps ... that is USUALLY the best way to bring the raw signal in from the field transmitter ...

THEN ...

once the signal has been brought into the processor (at an INTEGER location) we normally do the scaling with ladder logic instructions ... in your application, the scaled value probably needs to be stored in a FLOATING POINT (F8:X) location ... you CAN store a decimal/fraction in one of those ...

specific idea: even though the IFE CAN do onboard scaling, that's NOT the way we normally do things ... if I understand your question correctly, you're limiting the resolution of the module's signal ...
 
Last edited:
I this case, if I enlarge the RawMax to 100, does it affect the field transimmiter, because its scale is 0-1 inches/second. so in the program, I can use 60 instead of 0.6 inch/second(Hi HI Alarm setpoint).
 
wilsonzhu,
You can do as you subjest ( it does not effect the field transmitter), but thats not the standard way to do it ( you will lose resolution).
Reread Ron's post again. Then see example below.

RawMinMax.jpg


AlarmOutput.jpg
 
Last edited:

Similar Topics

Hello all, I am seeing this behaviour where an integer file (N46:33), has an integer in binary (11110) which is 30 in decimal. I did a...
Replies
7
Views
516
Hi, all: we have PLC5/40E, offline file has comments, but online file has no comments. for sure online file and offline file are different, any...
Replies
10
Views
1,684
Hello everyone, Does anybody know if it is possible to read the Free Memory words of a PLC5 from a status register? I have a feeling it may not...
Replies
1
Views
1,014
Hello Could you advise, how to convert AB program(.rsp PLC5) to pdf? Thanks
Replies
13
Views
4,907
Hi, I have a PCE instruccion error (PCE 103), due to the status file S[8] in plc5 when tralslating it to rslogix5000 . So my question is, how do I...
Replies
6
Views
2,260
Back
Top Bottom