Jump to content

Recommended Posts

Posted

How would I retrieve the hardware serial number from the V230 throught the .net interface?

 

Currently I'm following the documented example of

 

          plc = PLCFactory.GetPLC(serial, 0)

            Dim version As PlcVersion = plc.Version
  
            System.Diagnostics.Debug.Print(version.OSVersion)
            System.Diagnostics.Debug.Print(version.HWVersion)
            System.Diagnostics.Debug.Print(version.OPLCModel)
            System.Diagnostics.Debug.Print(version.Boot)

            plc.RTC = DateTime.Now ' write current time and date to the PLC
 

 

Thanks

Aaron

  • External Moderators
Posted

Hi Aaron,

 

Are you wanting to retrieve the Unique PLC ID that is assigned to each Controller? I'm not 100% sure if the Unique PLC ID is related to the Hardware Serial Number..

 

To retrieve the Unique ID you need to perform a simple Operand Read Operation to read System Double-Word #9 (SDW9).

 

If you need a code example on how to do this please let me know.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.