Jump to content
OMRON Forums

Recommended Posts

Posted

Hi,

We have a mature project developed on UMAC 465 fw 2.1.1.3 and IDE 2.1.0.107.  The ecattypedsdo command worked as advertised on that project.

We are now porting the project to CK3E fw 2.6.1.1 and IDE 4.6.0.14.  Anytime I issue ecattypedsdo in this environment I get an error message:

L0=ecattypedsdo(0,22,1,$361a,0,0,4)
requested data size: 4 and received data size: 20 do not match

This happens regardless of the slave and object size requested.  When I change the requested size to 20 bytes the command succeeds, but the results appear to be the command parameters with no useful data.  The following should return DC bus voltage for a Kollmorgen AKD:

L0=ecattypedsdo(0,22,1,$361a,0,5000,20)
sys.cdata[5000]
Sys.Cdata[5000]=0
sys.cdata[5001]
Sys.Cdata[5001]=0
sys.cdata[5002]
Sys.Cdata[5002]=0
sys.cdata[5003]
Sys.Cdata[5003]=0
sys.cdata[5004]
Sys.Cdata[5004]=22
sys.cdata[5005]
Sys.Cdata[5005]=0
sys.cdata[5006]
Sys.Cdata[5006]=1
sys.cdata[5007]
Sys.Cdata[5007]=0
sys.cdata[5008]
Sys.Cdata[5008]=26
sys.cdata[5009]
Sys.Cdata[5009]=54
sys.cdata[5010]
Sys.Cdata[5010]=0
sys.cdata[5011]
Sys.Cdata[5011]=0
sys.cdata[5012]
Sys.Cdata[5012]=20
sys.cdata[5013]
Sys.Cdata[5013]=0
sys.cdata[5014]
Sys.Cdata[5014]=0
sys.cdata[5015]
Sys.Cdata[5015]=0
sys.cdata[5016]
Sys.Cdata[5016]=0
sys.cdata[5017]
Sys.Cdata[5017]=0
sys.cdata[5018]
Sys.Cdata[5018]=0
sys.cdata[5019]
Sys.Cdata[5019]=100
    // not valid

Any suggestions?

Thanks,

John

 

 

 

Posted

L0=nan.  If I request 20 bytes, then LO=22 (slave number).

Index 361A:0 is 4 bytes in size, per AKD documentation.  This command worked before in the the old project, returning a 32-bit integer representing bus voltage.

Is fw 2.7.0.0 available for CK3E?  If so, how do I get it?  (Haven't gotten any new fw in a long time.)

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...