A_Mia Posted July 22, 2013 Report 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
Saragani Posted July 22, 2013 Report 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.
External Moderators Ash Neilson Posted July 29, 2013 External Moderators Report 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now