Posted 16 Feb 2005 I want to read on a SLC 5/40. (i use RSLINX, i use the DLL DLT32.DLL in my programming Windev) Here the order of programming: DTL_INIT(1) (return DTL_SUCCESS) DTL_CONNECT(0,"",0) (return DTL_SUCCESS) definition="$F8:0,1,FLOAT,MODIFY,1KT:0,0,SLC500,1" DTL_C_DEFINE(&id,&definition) (return DTL_SUCCESS) DTL_READ_W(id,&internvalue,&iostat,1000) (return DTL_E_NOTCONNECT) !!! code error DTL_E_NOTCONNECT:no connection to network interface Share this post Link to post Share on other sites
Posted 16 Feb 2005 excuse it's not definition="$F8:0,1,FLOAT,MODIFY,1KT:0,0,SLC500,1" but definition="$F8:0,1,FLOAT,MODIFY,1KT:0,0,SLC500,0" because it's not ethernet, it's rs232 with this definition my application crash, and i don't see the error send :( Share this post Link to post Share on other sites
Posted 16 Feb 2005 I don't know if my definition is correct: definition="$N7:0,1,RAW,MODIFY,1KT:0,1,SLC500,0" if i use the rs232 for link, the port_id is 1KT:0 ??? in attachment there is the description Share this post Link to post Share on other sites