Nos marques

Bienvenue sur le site Web de Schneider Electric

Bienvenue sur notre site Web.
		
En quoi pouvons-nous vous aider aujourd'hui ?
How to read swapped floating point values in Modbus
Issue
The user has a Modbus device containing swapped floating point registers and wants to confirm the values being read by software such as Power Monitoring Expert (PME), with SwappedFloat registers configured.

Product Line
Modbus Tester

Environment
Verifying values

Resolution
Swapped floating point registers are read the same as regular floating point registers except the MSW and LSW are switched. Download the attached 32-bit floating point calculator and refer to the example below of the value being read:

1. The following registers are read from a Modbus device, where the known value is 230.1 and the format is swapped floating point

Tester screenshot

2. Using the floating point calculator, the values are entered into Register 1 and Register 2 in the order they appeared, but the result is not correct since the registers are swapped floating point format instead of the standard format

Sample calculator

3. Swapping the values in Register 1 and Register 2 shows the correct Floating Point Result

Sample calculator

Schneider Electric Belgium

Pièce(s) jointe(s)
IEEE751-floatingPoint calculator.xlsx [19.73 KB]
En savoir plus
Gamme :
En savoir plus
Gamme :
  • Documentation produits
  • Téléchargement de logiciels
  • Sélecteur de produits
  • Substitution et remplacement de produits
  • Centre d'aide et de contact
  • Trouver nos sites
  • Obtenir un devis
  • Où acheter
  • Communauté Schneider Electric
  • Carrières
  • Qui sommes-nous ?
  • Signaler une mauvaise conduite
  • Accessibilité
  • Salle de presse
  • Partenaires
  • EcoStruxure
  • Nos emplois
  • Blog
  • Soyez informé des nouveautés en premier ?
  • Protection des données
  • Mention sur les cookies
  • Conditions d utilisation
  • Conditions générales de vente et d'achat
  • Change your cookie settings