I'm trying to make a CNC machine, but I'm having problems because the drive I'm using only has the option of communicating through digital inputs. In this case, I should use the CLP's digital outputs to communicate with it, correct?
However, in the function blocks it seems that they are already pre-programmed and I didn't find the pulse output options, for example, so that I could associate a digital output from the PLC to connect this to the drive's pulse input. My question is: is it possible to associate the pulse output of the function block with a digital output of the PLC? and how to do this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you should use a piece of hardware in between your drive (pulse/direction) and the plc
like for example Beckhoff EL2521 - so Ethercat might be to choice if you need CNC and SoftMotion.
EK1100 and EL2521
so it is not possible for me to use the function blocks and through them I can select the digital outputs of the PLC so that pulses and direction are output, or some function block that does this reading and in it I can program the pulse and direction outputs for the drive?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to make a CNC machine, but I'm having problems because the drive I'm using only has the option of communicating through digital inputs. In this case, I should use the CLP's digital outputs to communicate with it, correct?
However, in the function blocks it seems that they are already pre-programmed and I didn't find the pulse output options, for example, so that I could associate a digital output from the PLC to connect this to the drive's pulse input. My question is: is it possible to associate the pulse output of the function block with a digital output of the PLC? and how to do this?
more posts ...
I think you should use a piece of hardware in between your drive (pulse/direction) and the plc
like for example Beckhoff EL2521 - so Ethercat might be to choice if you need CNC and SoftMotion.
EK1100 and EL2521
so it is not possible for me to use the function blocks and through them I can select the digital outputs of the PLC so that pulses and direction are output, or some function block that does this reading and in it I can program the pulse and direction outputs for the drive?
not sure on which plc you are - there might be the option with:
https://forge.codesys.com/drv/sm3raspistepper/home/Home/
but it is more or less Pi restricted and need additional hardware too I guess.
o meu plc Γ© o FCT640 CMZ
eschwellinger consegui um bloco para pem na biblioteca oscat,mas nao consigo executar o bloco. o que esta errado? segue em anexo a imagem do bloco.