Magelis HMI putting numbers in boxes it shouldn't!

bully

Member
Join Date
Mar 2014
Location
the shire
Posts
2
Hi,

This is my first post. Hoping someone can help. I am writing to a m221 from a mageis hmi using vijeo and soMachine. I need to input numbers to MW ie. 235.75, seems easy but i am writing to 7 different MW from 7 different number input on the hmi. The boxes are configured as DINTs. My problem is that when I write to the plc the numbers intefere with each other, If I write to MW1 it messes with MW2 and so on.

Its doing my head in! Ive tried writing to MF and ticking the float box and stuff but Ive had no joy.

Any help much appreciated.

Thanks

Rob
 
You cant put 235.75 to integer variable.

If you are using real numbers, then you have to use every second address. %MF0 and %MF1 interfere each other.
 
Hi,

This is my first post. Hoping someone can help. I am writing to a m221 from a mageis hmi using vijeo and soMachine. I need to input numbers to MW ie. 235.75, seems easy but i am writing to 7 different MW from 7 different number input on the hmi. The boxes are configured as DINTs. My problem is that when I write to the plc the numbers intefere with each other, If I write to MW1 it messes with MW2 and so on.

Its doing my head in! Ive tried writing to MF and ticking the float box and stuff but Ive had no joy.

Any help much appreciated.

Thanks

Rob

If they are DINT then they are double words so MW1 and MW2 contain the first double int then MW3 and MW4 the second and so on, you would be better using REAL and FLOAT type for those numbers but they still use 2 words.
 

Similar Topics

Good morning friends. . We are having a problem with one of our machines that have two HMI consoles connected to the same network. They have...
Replies
0
Views
1,116
I am looking at a bakery oven that has been dismantled and in storage for unknown time, it was manufactured in 2012 so not that old. my gig is to...
Replies
8
Views
3,618
The above HMI does not power up and is located on a Caribbean island. This started after a 24 hour power outage. It has power now but the screen...
Replies
2
Views
1,207
I have an M241 connected in Ethernet to a HMIS5T panel and I can't get them to communicate I'm using Machine Expert 1.2 On the controller the...
Replies
0
Views
1,797
We're an industrial machinery merchant and it behooves us to try to get uploads from all the various control systems that pass through our doors...
Replies
5
Views
4,783
Back
Top Bottom