Welcome, Guest
  • Page:
  • 1
  • 2

TOPIC: CANopen

CANopen 3 years 1 month ago #2125

  • stangora
  • stangora's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
I am using my SmartMotor in a CANopen application and it appears as though I can't change the Inhibit Time object for PDO TX communications. The object is 0x1800 sub 3 (Inhibit Time) and when I attempt to update it, my CAN master comes back with an error saying the "Value Range Of Parameter Exceeded".

Can someone please shed light on this issue.? Thanks in advance.
The administrator has disabled public write access.

Re: CANopen 3 years 1 month ago #2126

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
My 1st thought is it's due to a wrong data type. Make sure it's the correct bit count and signed or unsigned.
The administrator has disabled public write access.

Re: CANopen 3 years 1 month ago #2127

  • stangora
  • stangora's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
I double checked all my data types and size. I can read from the object okay just can't write. The parameters for the Read and Write are set to the same.

Can you please verify the behavior of this object with a Master on your end.?
The administrator has disabled public write access.

Re: CANopen 3 years 1 month ago #2128

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
I don't have a master here... but I'll try to check with someone who does.
So it's Unsigned 16-bit... 0000h default. Is that what you read back?
The administrator has disabled public write access.

Re: CANopen 3 years 1 month ago #2130

  • stangora
  • stangora's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
I am using SDO reads and writes to access the object dictionary. I can read from object 0x1800h sub 3 and it returns 0000h. But if I attempt to write a non zero value, it complains. I can read AND write to all other sub indexes within object 0x1800h as well as all other entries in the object dictionary.

There appears to be something weird going on with this entry. If the message is correct, it appears as though the object is not able to be changed.

I was hoping somebody on your end could attempt to write to this object and see if they see the same error.
The administrator has disabled public write access.

Re: CANopen 3 years 1 month ago #2132

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • Karma: 23
Here is the response from one of our engineers with a test setup....


What I’m seeing is that by default that PDO (transmit PDO) is disabled.

It looks like that causes the firmware to respond with “ERROR 0x06090030 Access Error - value range exceeded” if you try to write to 0x1800:3.

So if you set bit 31 of 0x1800:1 first, then you can write the inhibit time. This is all done in the Pre-op state.





1537/0x601 : sD : 40 00 18 01 00 00 00 00 Read object 0x1800:1 of motor address 1
1409/0x581 : sD : 43 00 18 01 81 01 00 40 Responds with: 0x40000181
1537/0x601 : sD : 40 00 18 03 00 00 00 00 Read object 0x1800:3 of motor address 1
1409/0x581 : sD : 4b 00 18 03 00 00 00 00 Responds with: 0x00000000
1537/0x601 : sD : 2b 00 18 03 10 27 00 00 Write 10000 (decimal) to object 0x1800:3 of motor address 1
1409/0x581 : sD : 80 00 18 03 30 00 09 06 Responds with error 0x06090030
1537/0x601 : sD : 23 00 18 01 81 01 00 c0 Write 0xC0000181 to object 0x1800:1 of motor address 1. This enables the PDO.
1409/0x581 : sD : 60 00 18 01 00 00 00 00 Responds success
1537/0x601 : sD : 2b 00 18 03 10 27 00 00 Write 10000 (decimal) to object 0x1800:3 of motor address 1
1409/0x581 : sD : 60 00 18 03 00 00 00 00 Responds success
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.250 seconds
Powered by Kunena Forum