You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old February 12th, 2018, 11:42 AM   #1
khaledgenidy
Member
United States

khaledgenidy is offline
 
khaledgenidy's Avatar
 
Join Date: Dec 2017
Location: usa
Posts: 15
I need help with simple stepper motor code.

Question 1:
I am still new to this - I also might be asking for too much. - but i need help using Ladder Logic to run (rod style actuator motor) upward and downward with three push buttons [Upward - Backward & Stop]?
------------------------------------------------------------------
Question 2:
This will be moving a thermocouple to measure temperature in an oven.
The PLC card type is 1769.

Does that mean i have to buy the (1769-IT6) 6 channels to run this Thermocouple or can i just use it with an analog card?
  Reply With Quote
Old February 12th, 2018, 12:14 PM   #2
A_G
Member
United States

A_G is offline
 
Join Date: Jul 2014
Location: MA
Posts: 132
Not sure about your first question.

For your second question: yes you will need to buy the 1769-IT6 (or another Thermocouple module)
  Reply With Quote
Old February 12th, 2018, 12:27 PM   #3
khaledgenidy
Member
United States

khaledgenidy is offline
 
khaledgenidy's Avatar
 
Join Date: Dec 2017
Location: usa
Posts: 15
A_G: Not sure about your first question.

basically i just needed help in some coding (Ladder Logic) for a stepper motor using 3 push buttons.

Button 1: to move forward
Button 2: to move backward
Stop button : to stop operation in both forward or backward
  Reply With Quote
Old February 12th, 2018, 05:51 PM   #4
Geoff White
Member
Australia

Geoff White is offline
 
Join Date: Oct 2005
Location: Brisbane
Posts: 282
You need a couple of basic latching rungs for the two outputs. This is fundamental ladder.

Start Stop
+--| |--+---|/|---( Out )
| |
| Out |
+--| |--+

  Reply With Quote
Old February 12th, 2018, 06:15 PM   #5
James Mcquade
Member
United States

James Mcquade is offline
 
Join Date: Oct 2007
Location: Tennessee
Posts: 2,252
what is the processor model number?
what is the brand of stepper motor and model number?
method of communication?

james
  Reply With Quote
Old February 13th, 2018, 12:53 PM   #6
khaledgenidy
Member
United States

khaledgenidy is offline
 
khaledgenidy's Avatar
 
Join Date: Dec 2017
Location: usa
Posts: 15
what is the processor model number? what is the brand of stepper motor and model numb

I have 1796 Digital output not sure if i should be using digital or analog

For the driver i am using 2 phase stepper motor driver st-m5045

For the motor i am using 400mm Travel Length Linear Stage Actuator DIY CNC Router Parts X Y Z Linear Rail Guide Sfu1605 Nema23 Stepper Motor By Beauty Star.

What i dont know also how to supply the driver with 5V pulse through the plc?
driver link as below.
I am not sure how to connect the Pulse/ Direction and ENA to it

https://www.selloutsoon.com/albums/d...n%20manual.pdf

thanks for your consideration
  Reply With Quote
Old February 13th, 2018, 01:13 PM   #7
khaledgenidy
Member
United States

khaledgenidy is offline
 
khaledgenidy's Avatar
 
Join Date: Dec 2017
Location: usa
Posts: 15
How about this?

I put something like this on Emulate as attached

Any suggestions?
Attached Images
File Type: jpg 1.jpg (61.3 KB, 32 views)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
math/geometry for stepper timing khewes LIVE PLC Questions And Answers 5 June 8th, 2017 08:09 PM
Simple data selection and reports StewartGenesis LIVE PLC Questions And Answers 0 July 7th, 2016 04:34 PM
PLC control of single axis stepper updowndwell LIVE PLC Questions And Answers 17 May 27th, 2015 02:23 PM
Automation Direct CTRIO driving Stepper Indexer jpn LIVE PLC Questions And Answers 0 April 17th, 2014 02:15 PM
Simple motion control NewBoy LIVE PLC Questions And Answers 9 September 28th, 2006 08:11 PM


All times are GMT -5. The time now is 08:12 AM.


.