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

PLC based servo motor controller

Discussion in 'SimTools compatible interfaces' started by SoftKitty, Feb 11, 2021.

  1. SoftKitty

    SoftKitty Member

    Joined:
    Feb 8, 2019
    Messages:
    69
    Occupation:
    Engine engineer
    Location:
    Nantong, Jiangsu, China
    Balance:
    - 140Coins
    Ratings:
    +61 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Hello, everyone, last year I finished my first 2dof project by the help of Xsimulator community, and after that I shared all the details in a domesitc social media of my country, lots of people showed interest and helped me to improve with their knowledge.

    Servo motors are definitely a best power source for motion simulator, but there are not many affordable and easy to use interfaces available.
    Luckily in my follower group, a guy from a PLC manufacture figured how to use his industrial Programmable Logic Controller that is compatible with simtools to run servo motors.

    In this thread, I will share the most basic version that can run 4 motors(there are models that can run up to 10), and hopfully you can give some advises to let us make it better.

    My SFX100 looklike rig and actuator build will be introduce in project thread later.

    To see the functionality of the PLC please do watch the video below, sorry for my bad English.
    I will explain if you wish to know more about this.
    Thanks. BKai (aka SoftKitty)


    IMG_20210211_165842.jpg
    IMG_20210211_170907.jpg
    210212014758.jpg
    • Like Like x 3
  2. katy77

    katy77 New Member

    Joined:
    Jun 28, 2021
    Messages:
    9
    Balance:
    73Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    AC motor, SimAxe, Arduino, Motion platform
    Hi there,
    I am also trying to use PLC to build my simulator, would you please tell me how did you communicate flypt to PLC?
    I appreciate you if you can help me with that!

    Best regards,
  3. katy77

    katy77 New Member

    Joined:
    Jun 28, 2021
    Messages:
    9
    Balance:
    73Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    AC motor, SimAxe, Arduino, Motion platform
    @SoftKitty can you please help me with this case?
  4. Fraza44

    Fraza44 Member

    Joined:
    Jul 28, 2014
    Messages:
    38
    Location:
    Pensacola, FL
    Balance:
    652Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    3DOF
    Did anyone ever get an answer on how to communicate flypt to PLC from @SoftKitty? Did he share the code with anyone?

    Thanks
  5. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,945
    Location:
    London
    Balance:
    11,898Coins
    Ratings:
    +479 / 10 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    are you controlling the servo drivers using voltages and direction pin ?
  6. SoftKitty

    SoftKitty Member

    Joined:
    Feb 8, 2019
    Messages:
    69
    Occupation:
    Engine engineer
    Location:
    Nantong, Jiangsu, China
    Balance:
    - 140Coins
    Ratings:
    +61 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    The code was developed with a friend of mine, at the moment we won't share it, it's on sale with the PLC controller in our country.
    The purpose of this thread is letting people know this kind of solution exists.

    I can answer the basic principle of communication: it uses serial port, almost the same with the SMC3 setup. The key is letting the PLC read the serial data and send into actions.
  7. SoftKitty

    SoftKitty Member

    Joined:
    Feb 8, 2019
    Messages:
    69
    Occupation:
    Engine engineer
    Location:
    Nantong, Jiangsu, China
    Balance:
    - 140Coins
    Ratings:
    +61 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    I'm using the pulse+dir mode. similar with thanos AMC controller.
    the only difference is I'm using open collector wiring instead of differential wiring.
  8. Fraza44

    Fraza44 Member

    Joined:
    Jul 28, 2014
    Messages:
    38
    Location:
    Pensacola, FL
    Balance:
    652Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    3DOF
    I'm new to allot of this stuff but I'm working on a plan for my own personal simulation platform.

    So if I understand what you are stating here, your "Programmable Logic Controller that is compatible with simtools to run servo motors" is capable of working with the smaller 6 Axis Industrial Robot such as Kuka, Fanuc, and ABB?

    Can you provide the website which sells your product so I can do more research?

    Also can you provide pricing for your package? (I hope this isn't against the rule to ask)

    Thanks
    Last edited: Jan 26, 2022
  9. SoftKitty

    SoftKitty Member

    Joined:
    Feb 8, 2019
    Messages:
    69
    Occupation:
    Engine engineer
    Location:
    Nantong, Jiangsu, China
    Balance:
    - 140Coins
    Ratings:
    +61 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yes, it's by which most of the servo motors are driven in industrial applications, PLC is like a drive signal generator for them.
    The PLC I use is made by Samkoon, its coding lanuage is very similar to Siemens PLC.
    I'm not sure about the rule either, I will PM you the price information.
    Last edited: Jan 26, 2022
  10. MarkRSmith

    MarkRSmith New Member

    Joined:
    Feb 3, 2023
    Messages:
    1
    Balance:
    17Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    AC motor, Arduino, 6DOF

    I have a few of these Schneider LMC 20s. I'm willing to share some with anyone who can help with getting them up and running/communicating with Simtools.
    thanks
    Mark

    Attached Files:

  11. spikedbat

    spikedbat New Member

    Joined:
    Mar 20, 2024
    Messages:
    17
    Occupation:
    Automotive Test Engineer
    Location:
    Ontario, Canada
    Balance:
    58Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN6, 4DOF
    Hey,

    I bought a 4 actuator rig of a local sim cafe operator. It's new and from China. It's not branded.
    Long story short the guy doesn't know anything technical and his employees who do are away on an extended vacation back to China.

    MY problem is I have a Samkoon FGRS-C8X8T-4/4 PLC controller which is running the drives.
    I cannot get the rig to run in testing. I believe my problem is with the Interface Output string in Interface Setting.
    I've tried the combinations that were told to me which they are running at the cafe such as
    <Axis1a>A<Axis2a>B<Axis3a>C<Axis4a>D etc, and various combination of this. Looked in the manual for the Samkoon PLC which is pretty generic and can't figure out what string I need in there to get the PC to communicate with the controller.

    I'm hoping you guys maybe have some input on what I can try. I found your post from search Samkoon and this really is the only time that type of PLC controller is mentioned on this forum.
    I'm trying to set this up in V3.

    Any help would be greatly appreciated.,
  12. SoftKitty

    SoftKitty Member

    Joined:
    Feb 8, 2019
    Messages:
    69
    Occupation:
    Engine engineer
    Location:
    Nantong, Jiangsu, China
    Balance:
    - 140Coins
    Ratings:
    +61 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    any pictures of your rig? I would like to check what its motors and touch screen look like.
  13. spikedbat

    spikedbat New Member

    Joined:
    Mar 20, 2024
    Messages:
    17
    Occupation:
    Automotive Test Engineer
    Location:
    Ontario, Canada
    Balance:
    58Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN6, 4DOF
    Here are some pictures of the setup.

    Attached Files:

    • Like Like x 1
  14. spikedbat

    spikedbat New Member

    Joined:
    Mar 20, 2024
    Messages:
    17
    Occupation:
    Automotive Test Engineer
    Location:
    Ontario, Canada
    Balance:
    58Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN6, 4DOF
    No touch screen on this PLC controller. I have not plugged into it yet as of now but i'm thinking I should?? I think I need to download some software off Samkoon's site.
  15. spikedbat

    spikedbat New Member

    Joined:
    Mar 20, 2024
    Messages:
    17
    Occupation:
    Automotive Test Engineer
    Location:
    Ontario, Canada
    Balance:
    58Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN6, 4DOF
    Oh one last thing to mention, when I go into test mode, all 4 actuators do stand up and start, but nothing works in the test other than that.
  16. spikedbat

    spikedbat New Member

    Joined:
    Mar 20, 2024
    Messages:
    17
    Occupation:
    Automotive Test Engineer
    Location:
    Ontario, Canada
    Balance:
    58Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN6, 4DOF
    • Useful Useful x 1
  17. SoftKitty

    SoftKitty Member

    Joined:
    Feb 8, 2019
    Messages:
    69
    Occupation:
    Engine engineer
    Location:
    Nantong, Jiangsu, China
    Balance:
    - 140Coins
    Ratings:
    +61 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yours looks similar to what I used, but I'm not sure what is coded inside, so I can only give you my settings and let you have a try.
    The touch screen can set some parameters like the speed of the actuators and how much the rig reacts to inputs from PC.
    If the person who sold you this has used the rig before, the parameters are less likely to remain zeros so I guess you can use without the touch screen.
    The Samkoon soft and manuals wouldn't help you, because that's all about how to code it, your problem is to set the interface and match the code inside the PLC.

    If so most of your setup is correct, the controller has got some input(not correctly) from the you PC simtools.

    Here is my interface settings:
    20250202124039.jpg
    ComPort No. should be set as what you saw on your "device manager"
  18. spikedbat

    spikedbat New Member

    Joined:
    Mar 20, 2024
    Messages:
    17
    Occupation:
    Automotive Test Engineer
    Location:
    Ontario, Canada
    Balance:
    58Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    SCN6, 4DOF
    Okay yeah I've tried that but not upto 6 axis.
    I will try entering the info as you have and give it a try.
  19. long16652

    long16652 New Member

    Joined:
    Dec 25, 2024
    Messages:
    15
    Balance:
    85Coins
    Ratings:
    +2 / 0 / -0
    Hello , I am also a player from China, my current equipment is using nanotec C5E series, the specific electric axis should be pd4 or something, and then the USB interface, directly plugged into the computer host, will generate a USB flash drive in my computer. Then I now use the v2 version to have a special interface plugin, and then I now upgrade v3, there is no interface plugin of this nanotec, v3 inside I tried all the parameters, the electric cylinder does not move, are you interested in studying this?
  20. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,395
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,025Coins
    Ratings:
    +10,993 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    What are the specifics of the v2 interface, that need porting to v3 Beta?