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 November 10th, 2018, 05:25 PM   #1
emjr93
Member
United States

emjr93 is offline
 
Join Date: Feb 2015
Location: Modesto
Posts: 5
Conveyor PE and Motor Settings

Hello all,

I am currently working on a small project for a conveyor system.
We have two different pack sizes (6 pack and 3 pack).
The program is set up for only one setting for motor speeds and photo eye delay timers.
Due to weight, some of the conveyor start delays and motor speeds need to be edited for the different pack size.
I'd like to save the settings operators enter for each within the program and have it change based on pack size selection, the code is as follows...

---------MOV
Source; Photo_EyeDelay[1]
Dest; Photo_EyeDelay1.PRE

The HMI writes directly to the source tag in the MOV function.
The PLC being used a CompactLogix.
  Reply With Quote
Old November 11th, 2018, 10:35 AM   #2
Chris Bryant
Member
United Kingdom

Chris Bryant is offline
 
Chris Bryant's Avatar
 
Join Date: Nov 2018
Location: Chester
Posts: 1
Hi emjr93, my name is Chris, I worked for 20 years at Cadbury's here in the UK. What is the machine / equipment your looking at and is there any snippit of ladder logic I may assist with ?
  Reply With Quote
Old November 11th, 2018, 11:05 AM   #3
emjr93
Member
United States

emjr93 is offline
 
Join Date: Feb 2015
Location: Modesto
Posts: 5
Quote:
Originally Posted by Chris Bryant View Post
Hi emjr93, my name is Chris, I worked for 20 years at Cadbury's here in the UK. What is the machine / equipment your looking at and is there any snippit of ladder logic I may assist with ?
The code is just a rung with a move function that takes the value entered on the HMI and moves it to the timers preset. I want to be able to save the values entered under 3 pack or 6 pack and have them automatically appear depending on the pack size selected on the HMI.
The boxes are being transported on this conveyor from a packaging machine to a palletizer.
  Reply With Quote
Old November 11th, 2018, 11:13 AM   #4
kalabdel
Member
Canada

kalabdel is offline
 
Join Date: Feb 2015
Location: Ontario
Posts: 358
I am not sure what your question is.
I usually use a "Recipe" to achieve what you described id the HMI is capable otherwise scripts (again if supported by HMI) and plc code to do the same.
  Reply With Quote
Old November 11th, 2018, 12:36 PM   #5
Rpgunnoe
Member
United States

Rpgunnoe is offline
 
Join Date: Jun 2015
Location: west virginia
Posts: 12
Maybe something like this:
Attached Images
File Type: jpg PackSizeMoves.JPG (43.2 KB, 59 views)
  Reply With Quote
Old November 11th, 2018, 09:55 PM   #6
emjr93
Member
United States

emjr93 is offline
 
Join Date: Feb 2015
Location: Modesto
Posts: 5
Quote:
Originally Posted by Rpgunnoe View Post
Maybe something like this:
I tried something similar, the only issue is that when I transition between the two it would overwrite the last value and lose it. Therefore, the next time I select the opposite pack size, the value is essentially lost. I was thinking of using a COP function within the code.
  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


All times are GMT -5. The time now is 10:20 PM.


.