Register  |  Login
 
PLC Training Forum
Forum
 
  Forum  PLC Programming  General PLC Que...  PLC programming-addendum clarification
Previous Previous
 
Next Next
New Post 6/10/2011 11:54 AM
  Learner01
8 posts
Newbie


PLC programming-addendum clarification 

In continuation of my last post yesterday:

Using micrologix plc 1100

1. Move X-Y table( with a PC board having 30 LEDS mounted on it and each LED connected to power supply through 30 pin connector on it) to a registered position  by communicating to  two servos 2040(automation direct).

2. Power an LED from output of OV32T connected to micrologix 1100 as slot 2 via a relay. Slot 1 has 1762-OF4 module

3.When LED is powered, Trigger a 5V signal to the spectrometer and it will snap shot  the measurements  and store it in the PC.

4. Follow this routine for other  LEDs on the PC Board by moving the X-Y table. This way I complete all the LED test measurements.

I hope this helps in answering my question.

Thanks

 
New Post 6/10/2011 1:27 PM
  Admin
177 posts
Journeyman


Re: PLC programming-addendum clarification 

In the future just reply back to other comments instead of creating a new thread.  That will make it easier to follow.

Lets make sure I understand. 

You have a PC board with 30 leds. 

Power is supplied to each of the LED's via a 30 pin connector. 

The PC board is mounted on an X-Y table

The X-Y table position is controlled by two servos.  Servo positioning is controlled by communication link to PC or PLC?

The OV32T powers and LED.  I am assuming one of the LED's mounted ont the PC board or is this a separate LED?  If PC board LED then is the connection made by moving the board or does each LED have a separate circuit going to the OV32T?

LED is powered by OV32T.  How is spectrometer triggered? also from the OV32T and relay?

Does the PLC control the X-Y table.  if now how does it know the positioning.

Finally, what exactly is your question?  You mention wanting to do one ladder logic step for one LED.  I'm not sure what you are asking.  I can help you with specific programming questions, but nobody is going to write a section of your code for you through a forum.  It it's what I think it is, it should be fairly straight forward and I can help you past where you might be stuck.

 
New Post 6/10/2011 3:34 PM
  Learner01
8 posts
Newbie


Re: PLC programming-addendum clarification 


1. The servo will be controlled by the PLC. Although, I can communicate the servo with a PC right now.
2. Yes, one of the LEDs on the PC board mounted on the X-Y table is powered via OV32T. Each LED has a separate circuit controlled by the outputs of OV32T by 30 separate relays.
3. Yes, the spectrometer is also triggered by the PLC.
4. PLC controls the X-Y position. It can send signal to each servo as a combination of three inputs thereby having the servo move to already taught positions.
5. My question is to get help with just one or two rungs and I can manage the rest.
Thanks
 

 
New Post 6/11/2011 1:43 PM
  Admin
177 posts
Journeyman


Re: PLC programming-addendum clarification 
Modified By Admin  on 6/11/2011 1:44:00 PM)

Ok, I think I understand what you are doing.  I'm not sure what help you need with "one or two rungs."  I can walk you through how I would go about tackling this.

There needs to be some sort of input to the PLC to let the system know everything is ready and the sequence can start.  Let's assume a pushbutton to an input on the PLC.  Pressing the pushbutton will start a sequence in the PLC.  I would also have a stop pushbutton to allow the sequence to be aborted. 

Sequence:

1.  Send coordinates to servo. 

2.  Wait for feed back from servo that position reached.  If none available then start time delay to allow servo time to get into position.

3.  Power output on OV32T that corresponds to servo position requested to light appropriate LED.

4.  Trigger spectrometer to measure LED

5.  How does PC know spectrometer is sending info for LED?  Spectrometer on?  or output from PLC?  I would add a time delay before taking a reading. 

6.  Increment to next position return to step one until all leds have been lit.

Kind of hard to put rungs in this text but something like this might indicate sequence is running:

    Start     Stop       

-----||-------|\|--------(B3:0/0)   sequence running
           |
-----||---

   B3:0/0 (seqence running seal in)

 

 

 

  sequence        position
   running          complete

----||-----------------|\|---------[ctu]    counter to increment through the different LED's

 

I think the sequence steps will help you more than the rungs, but maybe they will give you somewhere to start.  Feel free to reply with additional questions.

 

 

 

 

 

 
New Post 6/14/2011 12:48 AM
  Learner01
8 posts
Newbie


Re: PLC programming-addendum clarification 

 Thanks.

Is it Ok to control  several outputs say 6 from B3:0/0 to operate the two axis of servo?

Three outputs for each servo can control eight pre-registerd points separately as (000,001,011,111,100,110,010,101)

Have each of them operating as outputs with inputs being B3:0/0 thru 7?

Will that work? I can add timers wherever needed?

I have RSlogix starter kit and it does not let me simulate my program.

Any additional insight will help

 
Previous Previous
 
Next Next
  Forum  PLC Programming  General PLC Que...  PLC programming-addendum clarification
  
 

 

  
Like this Site?

Check out our PLC Training Facebook site and "like" us!

Click Here!

  
Terms Of Use  |  Privacy Statement
Home  |  Subscriptions  |  Training Videos  |  PLC Training  |  Articles  |  PLC Training Forum  |  Contact  |  About Us
Copyright © 2008 - 2011 by Automation Technologies, Inc. - All Rights Reserved