LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW DSC modbus I/O server 32-bit floating point data

Hello,

I'm using LabVIEW 2021 SP1 and the DSC (datalogging and supervisory control) module. 

 

I've created an I/O server using the DSC's Modbus Library and I'm using Shared Variables to communicate with a PLC via modbus TCP.

 

No issues for boolean and integer data types. But the floating point data type is confusing.

 

There are two address ranges which have the 32-bit floating point data type ("single" "SGL" in LV). But they are 1D Arrays of SGL.

 

abvenk_0-1749502939231.png

 

AF300001L1 - AF365534L1 is Read only, and AF400001L1 - AF465534L1 is Read and Write.

 

It's not clear how these addresses correspond to addresses of modbus variables on the PLC side. I have created bound shared variables for these ranges, but the addresses don't match anything on the PLC side.

 

How do I make this work for floating point variables?

0 Kudos
Message 1 of 1
(116 Views)