How to program an Encoder with PLC
Вставка
- Опубліковано 28 сер 2024
- Example of how to program an encoder for precision positioning using Machines Simulator and EasyPLC.
Download the Machines Simulator machine and EasyPLC logic program from the Nirtec forum:
nirtec.com/for...
www.nirtec.com - Наука та технологія
Thanks a lot for this video , but.if ihave a varibale speed of conveyor built or increasing in the number of products. I mean.i have a fixed conveyor but the distance betwewn.bottle decreased , how this will make a change on the system in the video
There is no problem, this is taken care of by the PLC logic. The encoder-based system reports the pulses made by the motor to know the positions, a photocell or micro is necessary to take the reference of the part to be controlled at a point, and the speed is always proportional to the pulses of the encoder.
Thanks but i have question about the logic when programming the plc , correct me if iam wrong i need to add a counter of the pulses and to normally open contact of photocell if both are on i.e i need pulses of 1000 and the photcell is on then fire the alarm
I mean shpuld.i put a photocell with the encoder or the encoder steps is enough
@@georgealbo It depends on the type of encoder, there are absolute and relative encoders, in an absolute type a reference signal such as a photocell is not necessary, but in relative ones you do need a signal that acts as a reference, as is the case in the video.
Thank you for your convincing answer
I create the conveyor, but the encoder signal don't pulse... I need to do some thing more ?
Not all the available conveyors have the encoder, use the ConveyorBelt1 and asign the PLC inputs for Encoder Phases A & B.
In order to have a more detailed answer please use the Nirtec forum for technical questions -> nirtec.com/forum/index.php
Mecatrónica UNT - VIII Ciclo. Si ven esto ya separé esta chamba para Electricidad Industrial con Jimmy
Dear sir iam asking if i got two or three bottles with the same color , can this be handled by this system to sort them
do in this mentioned case i need shift register
The idea is to have a classification criterion, in this case the color of the bottles, which is read with the camera, and based on this, use the position value of each of the bottles, due to the encoder, to classify them.
Logically, a shift register system can also be used, but this is used in simpler configurations with fixed steps and proximity sensors or photocells, here is an example: ua-cam.com/video/5avWZ1RpCRc/v-deo.html