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

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.

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.

Time to create page: 0.117 seconds
Powered by Kunena Forum