NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
ElectricWraith
Posts: 42
0 Kudos

Re: Write Control word, read status word Unidrive SP

At the moment I have the transmission type of the PDOs I've mapped set to 253d, which is RTR Only. The default transmission type is 255d, which will initiate transmission on a change of value.

 

What's odd is that I can read each register to which I've mapped a value and it returns the correct register address. If I mapped three objects to TxPDO 3, I can read the register address, sub-index, and size (16 or 32-bit), for each one, but the number of mapped objects register will still read zero.

 

I'm expecting a 9881 module today, I'm told that it's a CANopen module and thus I can make use of the NI CANopen library. I was also told that the cRIOCANopenBasics project code isn't strictly CANopen compliant. I don't know why or what problems this might cause, but I'm going to try the other module in place of the 9853 and see if that works any better.

Member
M Technical
Posts: 9
0 Kudos

Re: Write Control word, read status word Unidrive SP

 Try changing to only two mappings, I'll need to check but the default size on SP is 32 bits with compression off.

 

Either way try just two mappings and let me know if this works.

 

Remeber the PDO is 64 bits in size.

 

M

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page