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 Sim tools network interface for SC-MBOX

Discussion in 'SimTools compatible interfaces' started by Blastertoad, Nov 21, 2023.

  1. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    The system seems to be MBOX. If it is intigrated with servo driver it is MDBOX, if it is seperate interface from drivers it is SC-MBOX V1-3. Doesnt help the manufacture name is also inconsistent.

    After some testing movement seems smoothed, like the interface using time to play even though we are feeding it 0 time. During initial testing with network interface plugin movement was very snappy. Testing with LFS this is most noticable going over curb rumble strips. Sending commands via network interface plugin rumble is very aggressive and quick. Using MBOX Plugin rumble stip is nearly completely smoothed out.

    MBOX plugin is sending
    55 aa 00 00 14 01 00 00 ff ff ff ff 00 00 00 01 00 00 00 00 00 02 46 85 00 02 46 85 00 02 46 85 00 00 00 00 00 00
    upload_2023-11-25_21-53-40.png
    Where Line value is "00 00 00 01" matching the Absoloute timing example value.

    When we where testing via network interface I was sending Line value of "00 00 00 9f" copied from relative timing example. I was also feading it a time value of "00 00 00 10".

    Can we try version of plugin sending static line of "00 00 00 9f"
  2. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    Line is just a line counter thou, I can't see it changing anything?
    But we can try for sure.
    May I have a pic of exactly what your using with the network plugin?
  3. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Posted on page 1

    Here is a link to origional post
    https://www.xsimulator.net/community/threads/sim-tools-network-interface-for-sc-mbox.18287/#post-243294

    In hex interface input is:
    55 aa 00 00 14 01 00 00 ff ff ff ff 00 00 00 9f 00 00 00 10 00 <axis 18 bit> 00 <axis 18 bit> 00 <axis 18 bit> 12 34 56 78 ab cd
  4. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    @yobuddy If line doesnt change anything then maybe we need to provide a time value. Could be if no value is provided it is using a default value and that is smoothing output.
  5. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    Just a bit behind, but will catch up soon and make the needed changes.
    • Like Like x 1
  6. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    I think we should implement the line output counter?
    But here is a test with the time set.
    (File Removed)
    Last edited: Dec 7, 2023
  7. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    Here is a test with the line counter.
    (File Removed)
    Last edited: Dec 7, 2023
  8. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    @yobuddy

    Plugin with time vallue bringss back the snappyness.

    Couldn't test line vaule plugin as output is deformed. Looks like 00 inserted in every second space

    5500aa00000000001400010000000000ff00ff00ff00ff00000000000100e4000000000000000a000000020046002620000002004600262000000200460026201200340056007800ab00cd00
  9. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    Does this fix the line output plugin?
    (File Removed)
    Last edited: Dec 7, 2023
  10. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Yeah line seems to do nothing. But adding the time made a major difference.
    • Informative Informative x 1
  11. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    @yobuddy Just in case you missed it. The interface version with speed set and line static works great. If there is nothing else you need to do house keeping wise with it I would say it's a valid release candidate.
  12. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    Hi @Blastertoad,
    I'm just trying to figure out if the length is always suppose to be 100000 steps.
    Being that that axis are configure on the mbox, and doing this wrong would affect the total number of steps, I'm just trying to verify if we are always suppose to have 100000 steps for full range on an axes or not.
  13. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Since this is a comercial integrated solution it can be paired with different motors and encoders. I think just leaving it as a variable it give the user either the option to program interface hardware to have it map movement in range, or set value in interface plugin like I have to get desired range for the specific motors.
  14. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    As far as I know, this is the only setting there is that could affect steps needed?
    Fn OC2=10 in mm, Lead Screw Calc (how much the rod advances for a full motor rotation)

    I'm not against it or anything, but I would hate to leave the door open to have people do things incorrectly, if there is a better way to do it. There may not be any 'same number used', but if they are not always the same number, I would think there would be a better way to find the number of steps needed is all?
  15. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,261
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,990Coins
    Ratings:
    +5,076 / 18 / -0
    • Like Like x 3