SimonK Posted September 15, 2022 Report Share Posted September 15, 2022 Hello, Is there some example that will help me control Step motor with the built in functions. Please see the screenshot of what I have in my PLC Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted September 16, 2022 MVP 2023 Report Share Posted September 16, 2022 I'd start simply. You don't need the immediate functions to make it work. Enter a frequency value in MI 19 and the number of steps in DW 4. Then turn on MB 0 to make it go. It should produce steps until DW 0 = DW 4. Of course you'll need to verify that your stepper is wired correctly. Remember that O0 and O1 are NPN outputs. There are other posts on the forum regarding this - Joe T. Link to comment Share on other sites More sharing options...
SimonK Posted September 18, 2022 Author Report Share Posted September 18, 2022 Thanks a lot for your response. I would like to have an example that use the step control functionality of the controller. For example, how do I move the linear actuator to a zero position after a power up. (In small steps and check if the linear actuator arrived to desired position or a big move and wait to input interrupt etc.) Thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now