bool data1 = ( bool )_S71200.Read( "DB1.DBX0.0" ) Īnd a good rule, before performing any operation, checks if your plc and connected with our interface, as a malfunction resulting in application crashes, because at any time or for any reason can drop the Ethernet connection. private void btnRESetBit_Click( object sender, RoutedEventArgs e)./*Visualizzo lo stato attuale sull'interfaccia*/./*Vado a leggere il valore del bit DBX0.0 sul blocco dati DB1*/.private void btnSetBit_Click( object sender, RoutedEventArgs e).Nuestro objetivo es aportarte las herramientas que te permitan adentrarte en el mundo de la automatización industrial. Plc _S71200 = new Plc(CpuType.S71200, "192.168.0.25" , 0, 1) Ponemos a tu disposición nuestras ofertas de automatización basadas en nuestros Controladores SIMATIC S7-1200 y S7-1500, la herramienta de ingeniería TIA Portal, así como las últimas programadoras FIELD PG M6 y Mini PLCs LOGO 8.public partial class MainWindow : Window./// Logica di interazione per MainWindow.xaml SIMATIC,TECHNICAL PRODUCT DATA FOR CAX APPLICATIONS, (INDUSTRIAL AUTOMATION SYSTEMS), DATA MEDIUM DVD, (EDITION 2007) Technical product data for S7-300.After entering the code, we should have the interface, as shown below.
0 Comments
Leave a Reply. |