Goodwin Electronics   ISO9001  

Motion Control Links


Controller Applications

CUT TO LENGTH

Controller Applications - CUT TO LENGTH
FEED (X, 35.0) Set feedrate of 35mm/s for axis X
FEED (Y, 40.0) Set feedrate of 40mm/s for axis Y
MOTION (X, INC) Set X moved relative to current position
MOTION (Y, ABS) Set Y moved relative to absolute zero
MOVE (Y, F1) Moves the end stop to a position set by F1
LOOP (I1) Repeats the following lines a number of times set by I1
MOVINP (X, 1000.0, I3) Pushes wood up to the end stop until limit switch is activated
OUT (1, ON) Tells the saw to cut
WAIT (4) Waits until the saw activates a limit switch on INPUT 4
OUT (1, OFF) Turns the saw off
END_LOOP  
   

DRILLING & TAPPING

Controller Applications - DRILLING & TAPPING
FEED (X, 20) Sets feedrate of 20mm/s for axis X
FEED (Y, 20) Sets feedrate of 20 degrees/s for axis Y
MOTION (X, ABS) Set X moved relative to absolute zero
MOTION (Y, ABS Set Y moved relative to absolute zero
MOVE (X, 20.000) Moves the object to a starting position
EQUF = (F2, 0.000) Set floating point variable 2 to 0.000
EQUF = (F3, 90.000) Set floating point variable 2 to 90.000
LOOP (4) Repeats the following lines 4 times
OUT (2, PUL) Pulses output 2 to turn drill on
DWELL (4) Waits for 4 seconds
OUT (2, PUL) Pulses output 2 turn drill off
ADD (F2, F3, F2) Calculates a new position by adding F3 to F2
ANGF (Y, 0.000, F2) Rotates the object by F2 degrees
END_LOOP  
MOVE (X, 0.000) Moves the object out of the machine
   

HOIST POSITIONING & CONTROL

Controller Applications - HOIST POSITIONING & CONTROL
FEED (X, 30) Sets feedrate of 30mm/s for axis X
FEED (Y, 30) Sets feedrate of 30mm/s for axis Y
MOTION (Y, ABS) Sets move relative to absolute zero
LOOP (I1) Repeats the following lines a number of times set by I1
MOTION (X, ABS) Sets move relative to absolute zero
MOVE (X, 0.0) Moves the carriage to the start position above tank 1
MOTION (X, INC) Sets X moved relative to current position
LOOP (4)  
MOVE (Y, 1000.0) Lowers the part into the tank
DWELL (5) Waits for 5 seconds
MOVE (Y, 0.0) Raises the part out of the tank
MOVE (X, 500.0) Moves the carriage over the next tank
LOOP_END  
LOOP_END  
   

For more information

Tel: 0151 33 44 555 
Fax: 0151 334 1616 
Email: sales@goodwinelectronics.com

See also