private static void UploadNcFile(string ipAddress = "192.168.214.1")
        {
            using (var con = new PLCConnection("UploadNcFile"))
            {
                con.Configuration.CpuIP   = ipAddress;
                con.Configuration.CpuSlot = 4;
                con.Connect();

                try
                {
                    if (!con.Connected)
                    {
                        con.Connect();
                    }

                    bool   F_XFER    = true; // false for system ini files
                    string NcPath    = "/_N_CST_DIR/_N_PROG_EVENT_SPF";
                    string sEditFile = con.UploadNcFile(NcPath, F_XFER);
                }
                catch (Exception ex)
                {
                    System.Diagnostics.Debugger.Break();
                }
            }
        }