PLC program for index table

ste1171

Member
Join Date
Oct 2003
Posts
14
I am looking for some help on writing logic for an index table application. I haven't programmed a machine like this before and am looking for some advice.

This is a simplified description of the machine:

5 stations total.

Station 1 - parts are loaded and detected
Table indexes
Station 2 - part is tested to make sure all pieces are present
Table indexes
Station 3 - some additional pieces added manually by operator
Table indexes
Station 4 - part is tested
Table indexes
Station 5 - part is picked and placed onto conveyor or reject chute.

The logic for th individual stations should not be that difficult. I just am not sure on the best way to write the code for the index table.

The index table is controlled by a frequency drive and the PLC is an Omron CPM2A.

Your help is appreciated.
 
1.Release the locking pin and make sure it released (by sensor)
2.Run your VFD until you get signal from the index sensor, then stop
the VFD.Put the DCC on the VFD lowest you can.
3.Lock the table by the pin and make sure it locked {by the pin sensor)RUN YOUR CYCLE.
Some index tables dont have locking pin it make it more easy.

I you dont manage send me the details I will try to help.
 
A DC break is needed many times in order to get the table to stop close enough to a point so the pins can lock the table into place. Do you have an input and output chart yet? That would be the best place to start for designing your program.
 
ste1171,

For similar applications, I typically use a VFD to drive the table, an encoder on the table for positioning (tied directly back to the PLC), and an external brake either on the motor or directly on the table.

Each time the table is told to go to the next position, a predifined target position is loaded and the drive starts driving at some rate.

As the encoder sees it is "getting close" to the target position, the command speed to the VFD is lowered to a preset "approach" speed.

Then as the encoder sees it is "getting really close" to the target position, the command speed is lowered again to a preset "creep" speed.

Finally, when the encoder sees it has reached the target position, the command speed is sent to zero, the VFD is stopped, and the brake applied.

Everything is reset in preparation for the "go to the next position" command.

This technique allows you to use the VFD's acceleration and deceleration rates as needed and electronically adjust your individual targets rather than physically adjusting switches. You can also easily set the system to drive to any desired position by merely telling it a specific "target" position.

Steve
 

Similar Topics

Posted this to Reddit with little success, so I figured I would share it here as well. Very new to PLCs, but figured I would give it a shot to...
Replies
0
Views
111
I'm a beginner in the automation field and I've set up an automation system connecting several devices (datalogger, radio, etc.) via Modbus RS485...
Replies
5
Views
197
Hi All, want to ask. I have PLC a programme to control the valve. The existing programme is to control valve A (Y22), and I want to change to...
Replies
2
Views
137
can anyone has a good program to learn plc programming online. i have the basic looking into improve my skills thanks
Replies
1
Views
137
Hi, I am new to ladder logic. I have completed a code in the Xinje PLC XC3-32RT-E for one of the machines I am developing. Currently the program...
Replies
30
Views
949
Back
Top Bottom