M code help

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

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

More
7 years 1 month ago #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
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

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

  • tommylight
  • Away
  • Moderator
  • Moderator
More
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 or Create an account to join the conversation.

More
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.

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

More
7 years 1 month ago #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.514 seconds
Powered by Kunena Forum