1. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  2. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  3. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Question Need help for C# progarm

Discussion in 'Miscellaneous' started by jakkrich, Feb 3, 2020.

  1. jakkrich

    jakkrich New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Location:
    Bangkok Thailand
    Balance:
    44Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    I have project to program 6 DOF from China in C# program. I have experienced with Arduino and serial connection for Simtools's link but this new project I have to develop in C# program because I have to send Axis's data to Vegafu Controller and I have Vegafu Controller's protocol and example in C#. So I want to use Memory Map File in C#

    https://www.xsimulator.net/community/attachments/mmf_starter-zip.38136/

    My requirement is exactly like this.(this example from yobuddy )Axis 1-6 positioning data. But I need to convert to C# programming . Could anyone help me to convert it or explain this program work. I very newbie for C# programming.

    Attached Files:

  2. Ads Master

    Ads Master

    Balance:
    Coins
    Ratings:
    +0 / 0 / -0
  3. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,037
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    5,211Coins
    Ratings:
    +851 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    Ahh, good luck with that... no-one was able to use that code they give for the vegafu is garbage.

    I'd suggest looking into bypassing the vegafu and interfacing the Dorna servos directly on a real motion controller for servos like the AMC-AASD15A.

    It supports the Dorna servos with custom wiring and a few parameters in the Dorna servos panel:

    Wiring AMC-AASD-15A to Dorna.jpg

    Thanks
    Thanos
  4. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    1,412
    Location:
    Portugal
    Balance:
    10,990Coins
    Ratings:
    +1,477 / 13 / -0
    My Motion Simulator:
    6DOF
    Can you share the Vegafu Controller's protocol?
  5. jakkrich

    jakkrich New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Location:
    Bangkok Thailand
    Balance:
    44Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    Thxs Thanos, I study your project in YouTube. Your controller might be my last option if I can't do it. I will replace Vegafu controller but I need to try first.


    Please see attached text file

    If you can explain me I really appreciate that.

    Btw. anyone can explain me about MMF please

    Attached Files:

  6. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,037
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    5,211Coins
    Ratings:
    +851 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    Like I said, that is not the actual code but instruction to use the actual code in your application... is that all they sent?

    Thanks
    Thanos
  7. jakkrich

    jakkrich New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Location:
    Bangkok Thailand
    Balance:
    44Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    Other file about UDP Protocol

    Could explain me about simtool's MMF?

    Attached Files:

  8. gzresident

    gzresident New Member

    Joined:
    Feb 4, 2018
    Messages:
    8
    Location:
    China
    Balance:
    - 22Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF
    I am in China,and got some vegafu or mbox controller before,this kind controller mostly for VR sim platform.
    if you have motion position map file,just convert the data to G-code, but firstly flash GRBL code to stm32 or Uno r3,then just send g-code to serial port and control your 6axis platform.