ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
To download NI software, including the products shown below, visit ni.com/downloads.
Functional Description
This VI´s shows, how to read the absolute Encoder Position from the BaumerIVO-Encoder (GBAMH) with the National Instruments CANopen Library.
Caveats and Additional Notes
What you need to get started:
At least
for further Communication Possibilities here, to have a look at the Baumer Manuals for CANopen Devices:
http://www.baumerivo.com/pdf/handbuch/Manual_CANopen_EN.pdf
#1: Set the Baudrate of the CAN Device in MAX, same as set at the Encoder (DIP-Switches) (for example 125kBaud)
#2: Open the attached Project
#3: Choose SDO or PDO Example
SDO: Easy example, done for a single value.
PDO: More advanced, but possibilities for higher transfer.
#4: Set the appropriate Interface, Baudrate nad Node ID
#5: Run the Example
Description-Separate-2
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Thanks for posting! Could you please add a screenshot of your code? Also, please rename your attachment to include the LabVIEW version. "_lvXX.zip" would be fine.