SMC4-4-16A16B.
Four-axis motion controller
Edition of 03.08.2016
27
www.purelogic.ru
8 (800) 555 63 74
G, M instruction combinations Case
Project goal: to start the switch after triggered,X-axis control operation of the mobile speeds of 600, To specify the location of the first point A,output
an action to pneumatic A,2 seconds,then semi-closed return,1 seconds, then move the operating speed of 600 to point B,Then output a move to the
Pneumatic B,2 seconds,then closing the return, 1 seconds, then move the operating speed of 1200 to return to point A and wait for the start switch
triggered ......
As shown in Figure
A position of the origin point, B point 500MM, C point 1000MM
connect the X-axis control all circuits,An input switch connected to the input port 1 as the start button, and connect the two-way Pneumatic units A, B
to the output port 1,2, A connect 1, B connect 2.
Program instructions are as follows:
G1X500F600 (the workpiece is moved to the 500 position)
M101 (Open Pneumatic A)
G4P2000 (delay 2 seconds)
M201 (Close Pneumatic A return)
G4P1000 (delay 1 second)
G1X1000F600 (the workpiece is moved to the 1000 position)
M102 (Open Pneumatic B)
G4P2000 (delay 2 seconds)
M202 (Close Pneumatic B returns)
G4P1000 (delay 1 second)
G1X0F1200 (the workpiece is moved to the 0 position)