Scaling into Magelis HMI from PLC

Join Date
Jun 2007
Location
uk
Posts
1,538
Does anybody know of a quick an eay way of scaling a 16 bit integer from a Modicon Micro PLC into a Magelis HMI ?

There is a scaling tab on the variable in the MAgelis software but this is not much use as it will rounds the nearest decimal !!
 
It rounds because an Integer data type has no decimal.

If you want decimals the data type has to be a Floating Point.

Magelis will display Floats as long as:

(a) The Variable in the Magelis is built as a Type: Float
(b) The data display is configured to display Float.

Unfortunately the Vijeo software is a bit clunky and its not smart enough to self-check. It is possible to point a Maglis Integer variable at a PLC float and vice-versa, they just wont display correctly.
 
Hi, thanks, i solved the problem by using an expression on the variable.

I am reading from a meter which gives frequency and other values as a 4 digit integer i.e. 4998 so i used an integer field on the screen with xx.xx format and used an expression to divide by 100, it displays this in the field as 49.98, works perfectly.
 

Similar Topics

I have everything set up for vibration monitoring with the code in Controllogix 5000. The thing is that I am not able to read values SCADA in mm/s...
Replies
0
Views
28
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
195
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
664
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
403
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
229
Back
Top Bottom