private static void DownloadNcFile(string ipAddress = "192.168.214.1") { using (var con = new PLCConnection("DownloadNcFile")) { con.Configuration.CpuIP = ipAddress; con.Configuration.CpuSlot = 4; con.Connect(); try { if (!con.Connected) { con.Connect(); } string s = "Hallo NC"; string NcPath = "/_N_MPF_DIR/_N_MY_TEST_MPF"; con.DownloadToNC(NcPath, null, s); } catch (Exception ex) { System.Diagnostics.Debugger.Break(); } } }