RSLogix Emulate 5000 and RSlogix SDK

RSLinx, RSLogix, RSView, LogixPro ...
minDark
Posts: 1
Joined: Tue Sep 14, 2010 8:15 am

RSLogix Emulate 5000 and RSlogix SDK

Post by minDark »

Hi! I want to use RSLogix SDK from a C# program to R/W tags in Emulator 5000 (v21). I'm stuck at defining the string used in DTL_C_Define to access internal memory of PLC (at list that i think it is the problem), because when i call DTL_Read_W() my program hangs, (wait forever) even if i use a small timeout for reading. For now my definition string is this: N7:0,10,WORD,READ,AB:LOCAL,0,PLC5,<DriverHandle>, and i use DTL_Driver_Open() to connect to driver. Can anyone tell my what's wrong? DTL_C_Define() return 0 (no error)