M code help

More
13 Sep 2019 12:26 #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

Please Log in or Create an account to join the conversation.

More
13 Sep 2019 17:15 #145066 by bevins
Replied by bevins on topic M code help

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.

More
14 Sep 2019 06:46 #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

Please Log in or Create an account to join the conversation.

More
14 Sep 2019 07:52 #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 or Create an account to join the conversation.

More
14 Sep 2019 11:54 #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.

Please Log in or Create an account to join the conversation.

More
15 Sep 2019 09:42 #145224 by aluplastvz
Replied by aluplastvz on topic M code help
I need this
greeting
Greetings to Peja
Attachments:

Please Log in or Create an account to join the conversation.

More
27 Sep 2019 20:47 #146432 by aluplastvz
Replied by aluplastvz on topic M code help
The following user(s) said Thank You: Aciera

Please Log in or Create an account to join the conversation.

More
28 Sep 2019 07:36 #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.

Please Log in or Create an account to join the conversation.

More
28 Sep 2019 19:19 #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

Please Log in or Create an account to join the conversation.

More
28 Sep 2019 19:22 - 28 Sep 2019 19:25 #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
Attachments:
Last edit: 28 Sep 2019 19:25 by aluplastvz.

Please Log in or Create an account to join the conversation.

Time to create page: 0.287 seconds
Powered by Kunena Forum