Jump to content
A_Mia

Retrieve Unit serial number

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...