Simulating a Device with NI OPC Servers

Updated Dec 29, 2017

Reported In

Software

  • OPC Servers
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I have an NI OPC Server that is not connected to my PLC.  Can I simulate its devices while I'm disconnected?

Solution

You can simulate a PLC device in NI OPC Servers by doing the following:
  1. Right-click your device in the Group Area and select Properties...
  2. Left-click the checkbox labeled Simulate Device and select Apply. 
Figure 1:  Enabling Device Simulation in NI OPC Servers

You can then use LabVIEW DSC or the OPC Quick Client to connect the simulated device's tags.  In simulation mode, tags will not hold values written to them but will simply just verify communication with the client.

Additional Information

Simulation mode is not supported when using the Memory Based and Simulator OPC Drivers.

WAS THIS ARTICLE HELPFUL?

Not Helpful