Posted 17 May 2023 Hi Guys, I may need some help on how to program the stepper motors by using FX5UJ PLC. This is my first time using it, not too familiar with Mitsubishi PLC. Anyone can share me sample program for reference? I have no clue what command needs to use. I only have experience in Omron Sysmac Studio programming servo using Ethercat. Other than that I can say I'm a new guy in PLC. Thank you very much for helping me. Share this post Link to post Share on other sites
Posted 17 May 2023 never did it myself, but I found this quite useful. https://plc247.com/fx5u-step-motor-control-tutorial/ hope that helps. Share this post Link to post Share on other sites
Posted 17 May 2023 31 minutes ago, FRANK RUIZ said: never did it myself, but I found this quite useful. https://plc247.com/fx5u-step-motor-control-tutorial/ hope that helps. Thanks Share this post Link to post Share on other sites
Posted 17 May 2023 Does anyone know why the output is ON without triggering ? Or do I have some parameters that haven't key in? Thank you Share this post Link to post Share on other sites
Posted 17 May 2023 It is generally called AlwaysOn. Documentation for FX5 is excellent and quite big, I suggest you to read it. 1 person likes this Share this post Link to post Share on other sites
Posted 17 May 2023 21 minutes ago, Goran Vuckovic said: It is generally called AlwaysOn. Documentation for FX5 is excellent and quite big, I suggest you to read it. Hi Mr Goran, ya i know the SM400 is always on. Sorry that i forgot to highlight it, I'm Asking the Output section. Why I haven't trigger the Servo.iPosLimit, the Output is ON ? Thank you Share this post Link to post Share on other sites
Posted 18 May 2023 ServoiPosLimit, ServoiRevLimit... Did you make these labels? Local or Global? What are their settings? Share this post Link to post Share on other sites
Posted 18 May 2023 17 minutes ago, glavanov said: ServoiPosLimit, ServoiRevLimit... Did you make these labels? Local or Global? What are their settings? Is Local. This Im try to create inside FB Share this post Link to post Share on other sites
Posted 18 May 2023 This Setting ?? 24 minutes ago, glavanov said: ServoiPosLimit, ServoiRevLimit... Did you make these labels? Local or Global? What are their settings? Share this post Link to post Share on other sites
Posted 18 May 2023 (edited) Somthing is wrong. Тry to replace the labels with the actual Xn inputs where the limit wsitches are connected. Depending on whether the limit switches are NO or NC type, you will put a normally open or normally closed contact in the ladder. Edited 18 May 2023 by glavanov Share this post Link to post Share on other sites