12-10-2018 04:56 AM
Hello,
I'm trying to enable an epos2 motor driver with labview visa but I can't find the right command to send. I tried the "1103 6040 0000 000F E8F2" hexadecimal command but that doesn't work. I think something is wrong with my OpCode but I can't figure out what it is. Could you help me please
Thank you in advance,
12-10-2018 05:13 AM
Post some code.
Changes are you're sending ASCII data, while you should be sending binary data. But that's just a guess... Is the string set to hex display when you see that data? It should be.
12-10-2018 06:06 AM
Hi,
there is a wonderful set of LabVIEW VIs for the EPOS2 Positioning Controller on the Maxon Motor Website.
I used it some month ago. Very nice!
Regards
Kay
12-10-2018 06:50 AM
i send hexadecimal data and that works fine with the "1001 2003 0201 A888" code (it's an example given in the documentation), so I guess my code i good. I think I should translate the binary data into hexadecimal data.
12-10-2018 06:56 AM
I Know it, but it doesn't work with the cRIO and I can't buy a can open module.
12-10-2018 07:05 AM
@david.bsdr wrote:
i send hexadecimal data and that works fine with the "1001 2003 0201 A888" code (it's an example given in the documentation), so I guess my code i good. I think I should translate the binary data into hexadecimal data.
Most things look OK in this VI. I'd make it a lot smaller, more compact. I'd also show the string constant's display style, as you're mixing hex and normal string displays.
It doesn't show the actual Command you're sending.
I am no epos expert, first time I heard from it, but I'd say the protocol most likely sends 4 words for each command. Your command sends 5 words. Probably the data is a flattened U\I32? You'll need to change it to a U\I16.