A_Mia Posted July 22, 2013 Report Share Posted July 22, 2013 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 Quote Link to comment Share on other sites More sharing options...
Saragani Posted July 22, 2013 Report Share Posted July 22, 2013 The serial port number is the serial number on your computer. Use the Serial constructer in order to create a Serial port channel. Quote Link to comment Share on other sites More sharing options...
External Moderators Ash Neilson Posted July 29, 2013 External Moderators Report Share Posted July 29, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.