Error -1967353901 (Hex 0x8ABC8FD3) Occurred at Shared Variable When I Try to Connect To I/O Server Modbus Master

Updated May 14, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I am implementing an application with LabVIEW DSC (Datalogging and Supervisory Control Module),  connected to a PLC, through a Modbus Ethernet network. 



If I try to read 2 Shared Variable from I/O Server Modbus Master library I will recive this Error: 


 

  • Why am I receiving Error -1967353901  (Hex 0x8ABC8FD3) Occurred at Shared Variable?

  • What does it means: "The Modbus I/O server failed to connect to the Modbus Ethernet slave device. Ensure that the Modbus Ethernet slave device works properly and that the connection between the Modbus master and slave devices is configured correctly." ?

Solution

This error occured because the Server can not communicate with no Client
  • Be sure that the Modbus Ethernet Slave is correctly configured: 
Righ click on I/O Server Modbus >> Properties 
  • Deploy the Library
  • Check the success of the Libary deployment from NI Distributed System Manager
 

Additional Information

  • MODBUS© Protocol is a messaging structure, widely used to establish master-slave communication between intelligent devices. A MODBUS message sent from a master to a slave (or multi-Slave) contains the address of the slave/s
  • You can access to Shared variables using the Open Variable Connection APIs:
    On Block Diagram Palette >> Data Communication >> Shared Variable --> Related example:
    LabVIEW Example Finder: >> Toolkits and Modules >> Datalogging and Supervisory Control >> Distributed Sustem Connectivity >> Modbus Fundamentals.lvproj