Problem with Float type rounding to Integers

freddyrm

Member
Join Date
Jul 2014
Location
Rome
Posts
11
Hello, I have a (hope) simple problem with Logix500 (PLC is emulated with Emulate500) interacting with a VB6 program.
When I write in a Float data file a number with any decimal, it is rounded to an integer. Even if I edit the data file manually it rounds it every time.

It's me forgetting something or what? :confused:

Thanks in advance.
 
Hello, I have a (hope) simple problem with Logix500 (PLC is emulated with Emulate500) interacting with a VB6 program.
When I write in a Float data file a number with any decimal, it is rounded to an integer. Even if I edit the data file manually it rounds it every time.

It's me forgetting something or what? :confused:

Thanks in advance.

What are you using for communication between VB6 and the Emulate500?
RSLinx?
 
F8:0 ,F8:1,F8:2 I'm trying to write a number like xx.x which is supposed to be a temperature in C° when used in VB6
 
The PDF is referring to the possible differences between the PLC's CPU and the computer's CPU running the RSEmulate software.

I'm not saying this is your problem, but it may be.

CPUs.png
 
The PDF is referring to the possible differences between the PLC's CPU and the computer's CPU running the RSEmulate software.

I'm not saying this is your problem, but it may be.

Oh ok, i read that wrong.

That means we will never know => workaround :D

Thanks!
 

Similar Topics

Hi, I am having a challenge installing a new drive ACS355-03E-44A0-4 as it keeps on displaying Fault code F00018 even when the load is not...
Replies
3
Views
105
I have an issue on my vessel, we have water tight door system created in China, company is no longer operating. We have 7 doors each with their...
Replies
3
Views
108
Hi all. Simple as simple can be, I don't understand what's happening. I'm toggling he OSR on, GX_LUB_PUMP1_LEAD should switch. It doesn't. The...
Replies
27
Views
638
Hi; In a cabinet of a machine, a Fatek PLC with an Ethernet communication card is working. In the same cabinet, there is a 1 kW inverter. When...
Replies
16
Views
487
Hello Dear users, I am writing about a problem that has been bothering me for a few days, i.e. I am trying to establish remote access to the Allen...
Replies
0
Views
75
Back
Top Bottom