1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. 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!
  3. 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
  4. 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:
    53Coins
    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. Thanos

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

    Joined:
    Jul 6, 2017
    Messages:
    1,346
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,692Coins
    Ratings:
    +1,043 / 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
  3. pmvcda

    pmvcda aka FlyPT

    Joined:
    Nov 3, 2010
    Messages:
    1,846
    Location:
    Portugal
    Balance:
    14,096Coins
    Ratings:
    +2,169 / 16 / -0
    My Motion Simulator:
    6DOF
    Can you share the Vegafu Controller's protocol?
  4. jakkrich

    jakkrich New Member

    Joined:
    Jul 3, 2017
    Messages:
    4
    Location:
    Bangkok Thailand
    Balance:
    53Coins
    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:

  5. Thanos

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

    Joined:
    Jul 6, 2017
    Messages:
    1,346
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,692Coins
    Ratings:
    +1,043 / 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
  6. jakkrich

    jakkrich New Member

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

    Could explain me about simtool's MMF?

    Attached Files:

  7. gzresident

    gzresident New Member

    Joined:
    Feb 4, 2018
    Messages:
    10
    Location:
    China
    Balance:
    - 38Coins
    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.