LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating a bound variable that uses modbus function code 17

When creating a bound variable in LabVIEW DSC using the dialog box, I navigate to the desired modbus I/O server and select the appropriate address. I know that address range 000001-065535 corresponds to modbus function code 01, 100001-165535 to 02, 300001-365535 to 04, and 400001-465535 to 03. However, I do not know how to implement function code 17. Can anyone help me properly configure this bound variable to use modbus function code 17?

 

Josh

0 Kudos
Message 1 of 2
(2,923 Views)
Modbus function code 17 is Read Slave ID.  It has nothing to do with any of the registers.  It is also very unlikely you would ever need to query for this information in a normal programming situation.  If you are setting up a DSC implementation of Modbus, you really need to know what you've defined the slave address as so you can properly set up the registers for the other normal command functions.
0 Kudos
Message 2 of 2
(2,914 Views)