I am the new user of codesys software. Infact i have start using codesys just a month ago.....My Objective is to run the machine by using CNC editor.... I have tried to read the mannul but it will be great help for me if anyone of you who is doing work in this area can give me the solved example............ thankx
Regards
Tahir
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thankx for helping me Edwin Schwellinger. Now i have made little bit more progress. I have managed to run my machine in X, Y & Z direction by using the MC_Moveabsolute and MC_Moverealive function blocks.
But for every motion i have to use indivisual function block for them. Is it possible that i define my all data ( X, Y & Z cordinate ) in array form and call that array in my Function block to do the motion?. If yes, can you please tell me how it can be possible?
secondly, right now i am moving my spining axis by using MC_MoveVelocity function block. But i have no control on the angular movement. Is that any Module available so that i can control the rotation angle??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would create a functionblock with internal state machine (in there execute the MC_MoveA...)... input the actual value from your possition array...then declare a instance of your new fb for the axis xy..z... and execute them. Think you could solve that.
secondly, right now i am moving my spining axis by using >MC_MoveVelocity function block. But i have no control on the angular >movement. Is that any Module available so that i can control the >rotation angle
Declare the axis a rotatory in the controler config and Modulovalue 360
and Softmotionunits 360... the you could use the MC_MoveAbs... whatever fb's an give as input position the angle.
Hope this helps
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thankx once again Edwin Schwellinger for your kind help.
I am very glad to tell you that i have solved my second problem regarding to the rotation ( angular movement of machine Z-axis).
But still i did not get your first point regarding to use ARRAY in function block. I have tried to make a array just for X-axis movement but it is not working. Probabily it is because i am not too stronge in programming.
It would be a great help for me if you can provide me a little example regarding to the use ARRAY in MC_move....
Best Regards
Tahir
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i hav been run my machine by using "FUNCTION BLOCKS" (i.e Moveabsolute, Move relative...... ).
Now i am moving towards a step forward. I have managed to run my machine ( x & y direction )using CNC editor. But by using CNC editor there is kind of very bad vibration in my machine which were not the case when i was using Fuction blocks.
What should i do to stop this vibration???
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello
I am the new user of codesys software. Infact i have start using codesys just a month ago.....My Objective is to run the machine by using CNC editor.... I have tried to read the mannul but it will be great help for me if anyone of you who is doing work in this area can give me the solved example............ thankx
Regards
Tahir
hello,
please take a look on the example projects in:
your_install_path....\3S Software\CoDeSys V2.3\Projects\Motion\Tutorial\
you could login to RTE (on the same computer) it is in demo mode and runs for a time.
Regards
Edwin
Thankx for helping me Edwin Schwellinger. Now i have made little bit more progress. I have managed to run my machine in X, Y & Z direction by using the MC_Moveabsolute and MC_Moverealive function blocks.
But for every motion i have to use indivisual function block for them. Is it possible that i define my all data ( X, Y & Z cordinate ) in array form and call that array in my Function block to do the motion?. If yes, can you please tell me how it can be possible?
secondly, right now i am moving my spining axis by using MC_MoveVelocity function block. But i have no control on the angular movement. Is that any Module available so that i can control the rotation angle??
I would create a functionblock with internal state machine (in there execute the MC_MoveA...)... input the actual value from your possition array...then declare a instance of your new fb for the axis xy..z... and execute them. Think you could solve that.
Declare the axis a rotatory in the controler config and Modulovalue 360
and Softmotionunits 360... the you could use the MC_MoveAbs... whatever fb's an give as input position the angle.
Hope this helps
Edwin
Thankx once again Edwin Schwellinger for your kind help.
I am very glad to tell you that i have solved my second problem regarding to the rotation ( angular movement of machine Z-axis).
But still i did not get your first point regarding to use ARRAY in function block. I have tried to make a array just for X-axis movement but it is not working. Probabily it is because i am not too stronge in programming.
It would be a great help for me if you can provide me a little example regarding to the use ARRAY in MC_move....
Best Regards
Tahir
i hav been run my machine by using "FUNCTION BLOCKS" (i.e Moveabsolute, Move relative...... ).
Now i am moving towards a step forward. I have managed to run my machine ( x & y direction )using CNC editor. But by using CNC editor there is kind of very bad vibration in my machine which were not the case when i was using Fuction blocks.
What should i do to stop this vibration???