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, having some issues with scalings (SCP commands) with some Vegapuls 65 guided wave radar level transmitters. I've set the min/max in the...
Replies
5
Views
145
I want to measure the tank level and get the sensor output to the PLC. Below are the details : Tank Height =0 - 3m, the sensor is stalled 0,2m...
Replies
15
Views
615
Hi, I have a ControlLogix system with 1756-IF16 analogue inputs. I can't scale the inputs at the card as there is a requirement to facilitate...
Replies
14
Views
361
I know nothing about simaticnet OPC server. I do know Kepware. I would only ever scale raw to engineering in the PLC, but it is possible to scale...
Replies
5
Views
219
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
712
Back
Top Bottom