M code help
- aluplastvz
-
Topic Author
- Offline
- Junior Boarder
-
- Posts: 29
- Thank you received: 8
Can anyone help i need M cod for external key:
1. Start button
2. The x axis is moving + position
3. When sensor 1 is active, the X axis stops and switches on output 1
4. when sensor 2 is active X axis returns
5. when sensor 3 active stopped the X axis and shut off output 1
Any help was welcome
greeting
Please Log in or Create an account to join the conversation.
aluplastvz wrote: Greetings
Can anyone help i need M cod for external key:
1. Start button
2. The x axis is moving + position
3. When sensor 1 is active, the X axis stops and switches on output 1
4. when sensor 2 is active X axis returns
5. when sensor 3 active stopped the X axis and shut off output 1
Any help was welcome
greeting
I dont know how to do it with mcodes, but I would use classic ladder and pause and resume inputs if it were me.
Please Log in or Create an account to join the conversation.
- aluplastvz
-
Topic Author
- Offline
- Junior Boarder
-
- Posts: 29
- Thank you received: 8
That would be best.
I work with omron, fatek plc is not a problem but how do I run the X axis forward back and adjust the speed using classicladder in linuxcnc (moving x + moving x-)
An example
thanks for your reply
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
- Posts: 9969
- Karma: 69
- Thank you received: 3272
Please Log in or Create an account to join the conversation.
But, you cannot move an axis directly with the PLC.
Please Log in or Create an account to join the conversation.
- aluplastvz
-
Topic Author
- Offline
- Junior Boarder
-
- Posts: 29
- Thank you received: 8
greeting
Greetings to Peja
Please Log in or Create an account to join the conversation.
- aluplastvz
-
Topic Author
- Offline
- Junior Boarder
-
- Posts: 29
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
- Posts: 9969
- Karma: 69
- Thank you received: 3272
You could mark the thread as solved, and upload your config files.
Thank you.
Srbian:
Fino !
Mozes da napises da je reseno, i da postavis config fjalove.
Hvala.
Please Log in or Create an account to join the conversation.
- aluplastvz
-
Topic Author
- Offline
- Junior Boarder
-
- Posts: 29
- Thank you received: 8
It's not over this is one part until I complete the whole line.
The next thing I need is an automatic correction of the x-z table against the z in case it is not straight because the length of the board is 6000mm. It would use an optical / laser sensor to find the edge of the glass.
Maybe someone has a solution or to help.
Hello
Please Log in or Create an account to join the conversation.
- aluplastvz
-
Topic Author
- Offline
- Junior Boarder
-
- Posts: 29
- Thank you received: 8
Hello
Please Log in or Create an account to join the conversation.