PLC with 64bit floating point and integer arithmetic?

I'm curious where anyone has found a statement that S7-1500 supports 64 bit floating point arithmetic.
In TIA, I can create LREAL and LINT tags easily.
And any math instuction can handle all kinds of data types, including LREAL and LINT.

Danw: from what I can find, they have a type LREAL and LINT, and a separate library of "long functions", eg LREAL_ABS. Most regular instructions don't accept them.
Where do you find this library with "LREAL_ABS" ? It sounds as it returns the absolute value of an LREAL. There is an "ABS" instruction that works with any data type. No need for a special library.
 
Where do you find this library with "LREAL_ABS" ?

When I open Portal it is the 4th built in global library I see:

  • Buttons and Switches
  • Drive Lib 1200 1500
  • Drive Lib 300 400
  • Long Functions
I agree, the standard math instructions all seem to take Longs, at least in V14. My assumption is that there was a time where the extra library was needed (V11 for the 1200? V12?), and they eventually expanded the standard functions without deleting the library.
 
Didn't they put man on the moon within a few hundred yards of target with 8-bit microprocessors ?

Surely there's another way to make these "precision" errors less demonstrative....

There's a couple of people on here who I am sure have the skills to suggest something, but I don't like to name names...
 
Be careful with your anecdotes. Here in the US "they" used to travel from Missouri to California by horse and wagon. And every once in a while "they" had to eat each other along the way.

Just because something was done a certain way in the past, often successfully, doesn't mean there isn't a better way to do it today. If you aren't tied to a platform and long datatypes are that important to you, use a platform that supports long datatype arithmetic. There are enough of them available.

Keith
 
Be careful with your anecdotes. Here in the US "they" used to travel from Missouri to California by horse and wagon. And every once in a while "they" had to eat each other along the way.

Keith

But.. "Mission accomplished" :ROFLMAO:

If you aren't tied to a platform and long datatypes are that important to you, use a platform that supports long datatype arithmetic. There are enough of them available.

Keith

Assuming that "long datatypes" will be good enough.... I was just saying that there are more ways of killing a cat....
 

Similar Topics

Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
3
Views
65
I have a project to automate four generator sets. The system will monitor and store the load demand of the factory. Once there's Power outage, the...
Replies
0
Views
37
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
73
Hello..I am new to Plc.I have Mitsubishi Melsec Fx3Ga-40MR PLC controlling a machine for packing powder.Currently the Plc has issue which power...
Replies
3
Views
128
Back
Top Bottom