- Posts: 52
- Thank you received: 0
M code help
- aluplastvz
- Topic Author
- Offline
- Senior Member
-
Less
More
7 years 1 month ago #145054
by aluplastvz
M code help was created by aluplastvz
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
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 to join the conversation.
7 years 1 month ago #145066
by bevins
I dont know how to do it with mcodes, but I would use classic ladder and pause and resume inputs if it were me.
Replied by bevins on topic M code help
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 to join the conversation.
- aluplastvz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
7 years 1 month ago #145109
by aluplastvz
Replied by aluplastvz on topic M code help
Greeting
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
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 to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 1 month ago #145111
by tommylight
Replied by tommylight on topic M code help
Most probably with a small routine in gcode with the coresponding digital inputs and outputs.
Please Log in to join the conversation.
7 years 1 month ago #145126
by bevins
Replied by bevins on topic M code help
If you would tell us exactly what you want to do then we could help more. With your scenario above, Classicladder will work.
But, you cannot move an axis directly with the PLC.
But, you cannot move an axis directly with the PLC.
Please Log in to join the conversation.
- aluplastvz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
7 years 1 month ago #145224
by aluplastvz
Replied by aluplastvz on topic M code help
I need this
greeting
Greetings to Peja
greeting
Greetings to Peja
Please Log in to join the conversation.
- aluplastvz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
7 years 1 month ago #146432
by aluplastvz
Replied by aluplastvz on topic M code help
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 1 month ago #146465
by tommylight
Replied by tommylight on topic M code help
Nice !
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.
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 to join the conversation.
- aluplastvz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
7 years 1 month ago #146500
by aluplastvz
Replied by aluplastvz on topic M code help
Hello
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
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 to join the conversation.
- aluplastvz
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 52
- Thank you received: 0
7 years 1 month ago #146501
by aluplastvz
Replied by aluplastvz on topic M code help
I'm out of the workshop right now in two days and I'm going to set ini and hal, maybe help someone
Hello
Hello
Please Log in to join the conversation.
Time to create page: 0.630 seconds
