Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

EPOS2 USB to can gateway

  Dear,

 

In my application, I used the maxon motor VIs to control 3 cards:  EPOS2 with an usb to canOpen gateway protocol.

  • The first card is connected in USB.
  • The 2 others cards are connected in canOpen. 
    First card =node 1,
    Second card = node 2,
    Third card = node 3.

The VI 'InitializeDlg VI' proposed only this type of configuration to establish the connection of my cards. (see the attached picture).

The VI don't  propose a USB to can protocol.

usb to CanOpen gateway.JPG

 

I can connected the first time all the card when I run the soft.

If the soft is interrupted (like an emergency stop) and I run this soft again, only the first card is detected. (the canOpen connection is lost).

 

How can I closed the previous the first canOpen connection and created a new one)?

Is there a mistake in my configuration?

 

  Regards

 

  Massif

0 Kudos
Message 1 of 17
(8,865 Views)

Massif,

 

Thank you for posting on National Instruments' Forum.

 

Maxon Motors's VIs include a function close. Did you try to use this VI to stop the connection, and create a new one afterward?

Romain P.
National Instruments France

0 Kudos
Message 2 of 17
(8,849 Views)

   Dear Romain,

 

I try to close the connection before, but it's doesn't works.

 

The document 'EPOS Windows 32-Bit DLL.pdf' (August 2010) explain how to configure the cards.

See the picture.

open device.JPG

 

 

The support of maxon explained that I should used:

DeviceName 'EPOS2'

ProtocolStackName 'MAXON SERIAL V2'

Interface Name 'USB'

 

But the VI 'Initialize.vi' doesn't recongnise the ProtocolStackName 'MAXON SERIAL V2'.

The VI 'InitializeDlg VI' doesn't propose the 'MAXON SERIAL V2'.

 

Is there an update of the EPOS' Library?

 

  Regards

 

  Massif

 

 

 

 

 

 

 

 

 


 

 

0 Kudos
Message 3 of 17
(8,773 Views)

   Dear Romain,

 

I try to close the connection before, but it's doesn't works.

 

The document 'EPOS Windows 32-Bit DLL.pdf' (August 2010) explain how to configure the cards.

See the picture.

open device.JPG

 

 

The support of maxon explained that I should used:

DeviceName 'EPOS2'

ProtocolStackName 'MAXON SERIAL V2'

Interface Name 'USB'

 

But the VI 'Initialize.vi' doesn't recongnise the ProtocolStackName 'MAXON SERIAL V2'.

The VI 'InitializeDlg VI' doesn't propose the 'MAXON SERIAL V2'.

 

Is there an update of the EPOS' Library?

 

  Regards

 

  Massif

 

 

 

 

 

 

 

 

 


 

 

0 Kudos
Message 4 of 17
(8,772 Views)

To update instrument's driver EPOS, I advise you to follow this link : here .

 

Did you try to use the USB only? This problem appears just with USB connection?

I give you an other link : here .

 

I wait for your reply.

 

Regards,

Romain P.
National Instruments France

Message 5 of 17
(8,767 Views)

 It's working with new dll 'EPOS2.dll'

 

Thanks

 

  Massif

0 Kudos
Message 6 of 17
(8,747 Views)

Hi,

 

i've developed a application in rs-232 protocol with only one card but i want to connect another card via can  and i don't know how to use can gateway protocol exactly.

 

i don´t know if i can use the same blocks of Epos' library. Once the second card recognition is started, should i use the CAN blocks?¿ or to continue using the RS232 protocol ??

i don't know anything about Can programming.. sorry

 

i would like to know a simple example with the basic steps or how i could do it....

 

Regards

 

0 Kudos
Message 7 of 17
(8,187 Views)

  Hello,

 

You can use the same VI.

You have just to configure you cards with the Rs232 protocol (let's see protocolStackName).

 

  Massif

0 Kudos
Message 8 of 17
(8,177 Views)

Hi, 

 

i'm trying to comunicate the two cards but i can´t. I don't know if i can connect the next way:

 

Card 1 : USB

Card2 : CanOpen

blocks.JPG  

 

A error appears: Bad Interface Name..

 

 

Massif, how did you connect it fisically?

 

Regards 

0 Kudos
Message 9 of 17
(8,161 Views)

Someone have any idea about this?

 

Regards

0 Kudos
Message 10 of 17
(8,106 Views)