;----------------------------------------------- ; AKKON CNC example ; ; Demonstrate simple output opeation ; (c)2009-2012 AkkonDesk, Gerhard Burger ; ; $0001 A00 ; $0002 A01 ; $0004 A02 ; $0008 A03 ; $0010 A04 ; $0020 A05 ; $0040 A06 ; ; $0200 Spindle on ; $0400 Spindle direction ; $0800 Spindle lock ; ; M102 M C O ; M Mask, this bits will be changed ; C not used ; O Operation : 1:set bits, 0 read bits ; ; ---------------------------------------------- N0000 G00 X0 Y0 Z0 N0010 M102 M$0FAA O1 F500 G01 X100 N0020 M102 M0b10001001 O0 G01 X00 N0030 M102 M4 O1 ; set output A02 G01 X100 N0040 N0050 M30