brigadier

MrPLC Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About brigadier

  • Rank
    Newbie

Contact Methods

  • ICQ 0
  1. I use rslinx, and SLC500. My connection use DF1 RS-232. For define the DTL_C_DEFINE parameters, i don't know the port_id. Now i use this definition: "$F8:0,1,float,modify,1kt:0,1,slc500,0" but when i read (with DTL_READ_W), the application crash without error code. I think the error came from parameter port_id-> 1KT:0 this parameter is use for network DH+ but no for DF1 RS-232 Who tried with RS-232 network ??? what the paramater port_id for DF1 Thanks in advance.
  2. SLC500

    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
  3. SLC500

    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 :(
  4. SLC500

    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
  5. SLC 5/04 DLT_C_DEFINE

    for the port_id i see in my "configure client applications" from rslinx pro: ->interchange port mapping: 1KT:0 (AB_DF1-1) i supose now il replace in my code: definition="F8:0,1,FLOAT,MODIFY,1KT:0,1,SLC500,0" (after test error unknown) or definition="F8:0,1,FLOAT,MODIFY,AB_DF1-1,1,SLC500,0" (after test code error: dtl_e_defbad5 invalid module,pushwheel or channel) for the ni_id my slc5 is connected with serial cable.
  6. After DTL_CONNECT successfull i want use DTL_C_DEFINE with my SLC 5/04: # definition="F8:0,1,FLOAT,MODIFY,1,1,SLC500,0" status=DTL_C_DEFINE(name_id,definition) # status -> 118 (DTL_E_BAD_DTSA_TYPE : invalid DTSA_TYPE adress type How resolve this error ? Thanks in advance.