IDEC OIT Allen Bradley PLC 5 floating point

ghriver

Member
Join Date
Aug 2002
Location
Earth>North America>US>CA>Hanford
Posts
65
Well I am trying to get floating point data from a plc5 into an idec OIT. Ethernet communications. Interger (16bit) works fine but floating point gives communication error. The problem is my lack of understanding where I configure the device address in the idec software. when I enter float32 for the datatype the software wants to know upper and lower? Does this mean I have to retrieve the value before the decimal and after the decimal seperately?
Thx.
ss.jpg
 
I am not familiar with the Idec OIT, however serioudly doubt that it is refering to the value before and after the decimal because in an IEEE float that is not differentiated. The float always stores the number in binary using scientific notation, always with an implied 1 before the binary decimal. The first bit is the sign bit, the next 8 are the exponent, and the remaining 23 are the mantissa. There is a technote in the AB knowledge base explaining the float binary format or you can find it on wikipedia under IEEE 754 float, or search the forum for IEEE 754 float.

If I were to venture a guess it refers to the endianness of number, that is which word contians the high order bits and which word contains the low order bits. The PLC/5 uses big endian.

Upper/Lower might refer only to PLCs that require you to store your float in two consecutive integer words. Does the help file give you any clues?
 
Last edited:

Similar Topics

Apologies for not being the best IDEC programmer. I recently was doing some inspections on a site that had 3 FC6A IDEC processors. The issue is...
Replies
0
Views
75
I'm trying to establish communication between an HMI DELTA (DOP-B07E515) and a PLC IDEC (FC6A-D16R1CEE) via the RS-232C/485 module (FC6A-SIF-52)...
Replies
2
Views
564
Has anyone interfaced a PLC with a Control Techniques drive Nidec 750 using Modbus TCP? I am attempting to do so using an Automation Direct...
Replies
2
Views
897
I'm involved in upgrading an IDEC FC5A-D12S1E PLC to a FC6A-D32P3CEE. I've attached the original layout of the system. Since then, another HG3G...
Replies
0
Views
441
Hallo all, We are servicing machine automation using PLC Idec FA 2J. I'm trying looking for the PLC user manual, but till now didn't get at all...
Replies
1
Views
789
Back
Top Bottom