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
    Yeah need a lift to start otherwise movement is very violent when cockpit jumps to center position. And for shutdown a lower to zero, not so much for timeouts, but when you end a session to lower cockpit for user to exit.
  2. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Ahh that would do it As I set my password to 00 00 for testing.

    @yobuddy can we get a password variable in new interface plugin
  3. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Please try this...
    upload_2023-11-23_14-35-57.png

    This should do exactly what you are looking for I believe?

    Where are we using the password var for buddy?
    Chat soon!
    • Like Like x 1
    Last edited: Nov 24, 2023
  4. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    The issue with parking is it doesn't help when testing interface. If test interface had an initial position enum or initial axis value field so you could set initil test axis values -100 - 100 that then lerp 0. Just like if axis is not zero and you stop testing they lerp to 0 currently

    Passcode is second set of bytes. 55 aa 00 00 where 00 00 is pass code. I reprogramed my passcode to 00 00 for testing but that is preventing me from setting other variables. Would be nice to have passcode var instead of requiring programming hardware to match 00 00
  5. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Shouldn't we just set it to 3721 then?
    Configurable is ok with me also, if it's better?

    Have you found your max value yet, just wondering if its a fixed number, or xxx per inch etc...
    Last edited: Nov 24, 2023
  6. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Just using packet sniffer I figure "Max Value" var will rest somewhere between 260000 and 300000. However It is very violont and hard on the rig when it jumps to center when datar starts from test interface so I havent tested on hardware yet. Was hoping to talk you into lerp to center or start up command.

    Now that I can change vars a again I will try to find center ish for when servos power on and I can test from there. Will be trying some things in an hour or 2.
  7. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    But interface testing is just to prove your setup is working, you would not ride interface testing or anything.
    To be honest, I thought both axis and interface testing have soft parking implemented, it's just soft startup that still needs added.

    If I hard code something in the interface plugin, then we can't use the soft start/stop in feature v3, as the sim is always centered.
    Please try running a game and see what happens, it should slowly center before and after a game.
    Last edited: Nov 24, 2023
  8. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Added a few things, you will probably need to install the new plugin, then open SimTools and click save, then restart SimTools (this will update the settings structure)
    upload_2023-11-23_20-46-0.png


    Let me know how it goes...
    (File Removed)
    • Useful Useful x 2
    Last edited: Dec 7, 2023
  9. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Thanks looks great. Installed fine after I manualy removed old again and restarted simToolss pre and post install.

    Got an output issue somewhere between axis value 25 to 35 and same -25 to -35.

    I am moving just axis1a and watching its value. Sweeping 25 -35 I am seeing axis hex

    00 02 f5 47
    00 02 fb 1a
    00 00 03 ed
    00 03 06 c1

    So the piston is hovering above mid point, then drops out and jumps back when sweeping 25 - 35 range. Again this behavior is also mirrored on -25 to -35

    Edit: Data ouput update. Max Axis Value Var = 298250 output:
    Axis value 31 = 00 02 fb 1a
    Axis value 32 = 00 00 03 ed
    Axis value 33 = 00 03 06 c1

    Found my happy max with variable Max Axis Value being 298250 corresponding to 00 04 8d 0b at axis 100. At 29900 I can hear it bottom out when I max output. At 298500 I can just get it to hit when driving hard from 50 to 100 axis value.

    Passcode variable send incorrect info but turns out to be unnecisary. Value of 3721 sends hex 0e 89 instead of 37 21. However interface hardware is happy to play axis position with no password and just supplying 00 00. So the complication of sending a passcode can be ignored.
    Last edited: Nov 24, 2023
  10. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    After sweeping the full axis range one value at a time multiple times here are the issue vaules I found. Each time the problem value drops significanlty from its neighbour values.

    Interface Max Axis Value = 298250

    Axis -11 = 00 02 06 71
    Axis -12 = 00 00 02 9e
    Axis -13 = 00 01 fa cb

    Axis -55 = 00 01 06 22
    Axis -56 = 00 00 01 4f
    Axis -57 = 00 00 fa 7c

    Axis 31 = 00 02 fb 1a
    Axis 32 = 00 00 03 ed
    Axis 33 = 00 03 06 c1
  11. velik0ff

    velik0ff New Member

    Joined:
    Aug 26, 2023
    Messages:
    8
    Balance:
    44Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    3DOF
    Do not confuse config password with access password, sending 00 00 in the request is the access password and FN 008 is the config password which should be 3721 unless you want it to be something else.
  12. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Yeah non of the documenttation I have dug up states anything about passwords. The only reason I know of Fn 008 function is your and @pmneo 's posts
  13. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Ok, I edited the passcode out.
    Let see if that changes anything...
    upload_2023-11-24_11-35-40.png
    (File Removed)
    Last edited: Dec 7, 2023
  14. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Let also make sure there is not an extended ascii problem.
    Do you still get the wrong output if you set your pc to?
    system local.jpg

    Getting closer! :thumbs
  15. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Already set as Eng US on win 10
    upload_2023-11-24_13-18-39.png

    Latest plugin update works great, at least for 3 axis, i cant test 6. Still has drop out on specific values listed in previous post.
  16. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Here is another test.
    Let me know buddy...
    (Never mind, I found the error :thumbs, will post the fix after some testing)
    Last edited: Nov 25, 2023
  17. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    I think this should do it!
    (File Removed)
    Last edited: Dec 7, 2023
  18. Blastertoad

    Blastertoad Member

    Joined:
    Nov 21, 2023
    Messages:
    59
    Balance:
    367Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Seems to be working as intended. Swept the full range on each axis and it was smooth. Ran a lfs circut and didnt hear any issues (rig is in living room, I am in office running game). Just picked up some salvage pcs and hoping to get a laptop running tonight so I can test rig in same room.

    Oh FYI settings do not save for interface until simTools has been restarted post install. Also post plugin install auto detect games does not work until restart.
  19. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    Excellent! :thumbs

    Yes, that's because I changed the settings structure, it won't be a problem once I upload the plugin to the repo thou. I think we are done, unless you can think of anything else we need to do to the plugin?
  20. yobuddy

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

    Joined:
    Feb 9, 2007
    Messages:
    5,247
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    48,790Coins
    Ratings:
    +5,068 / 17 / -0
    So whats the proper name of this system anyway, the manual calls it Mbox, MDBox and SC-MBOX? :D
    It says MDBox the most I think...