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

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

3. Swapping the values in Register 1 and Register 2 shows the correct Floating Point Result
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
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
3. Swapping the values in Register 1 and Register 2 shows the correct Floating Point Result
게시 대상: 슈나이더 일렉트릭 Korea


도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.