scaling

cool

Member
Join Date
Feb 2011
Location
Perth
Posts
1
Hi all,

I have limmited programing ability and need help to setup a counter with scaling.
for example each input from X 1 needs to be multiplied by 2.55 and then placed into D 1.
I use mitsubishi FX PLC's
 
I don't know mitsubishi at all, but i would just let the counter count, and multiply its accumulator value by 2.55, depositing the result in D1

Count=0 D1=0
Count=1 D1=2.55
Count=2 D1=5.1

etc.

D1 would need to be a floating point register, or you will get

Count=0 D1=0
Count=1 D1=3
Count=2 D1=5
Count=3 D1=8
Count=4 D1=10
 

Similar Topics

Hi all. I'm working on a rehab and I'm trying to figure stuff out. See screenshot at the bottom. Local:5:I.Data[6] in BTD instruction is a...
Replies
6
Views
672
Hello all, First post here. Hitting a wall with finding info on this topic online, and none of my coworkers have a clue. I have a PanelView...
Replies
10
Views
1,291
Hello, We monitor the temperature of a pipe via a 4-20mA temperature transducer. This goes into DB135(Read Analog Inputs). The issue I have is the...
Replies
0
Views
615
5069 IF8 with a 4-20ma 0-100psi, sealed fixed, no calibration, transducer attached. IF8 is scaled 4ma= 0 psi, 20ma=100psi. If over time the...
Replies
12
Views
2,487
I have 1769-IF4 module and 1766 micrologix 1400 series B controller, when connecting Analogue input in module it's showing maximum values of...
Replies
4
Views
1,629
Back
Top Bottom