User Tools

Site Tools


Sidebar

Home



Knowledge Base


Guides & Tutorials

Projects

Samples

  G-Code
   Square
   Arcs
   Mickey
   Arrow
   Bear
   Ball In Cage

  Dialogs
   Square
   Rounded Square
   Guess The Number

  O-Words
   Polygon

  Subprocedures
   Lissajous

   Lissajous (sub..endsub..call)
   Lissajous (call..sub..endsub)

   Lissajous (exec..O..M99)

   Lissajous (G65)
   Lissajous (G65 with GOTO)

   Palindrome
   PrimeFactors
   Fibonacci

  Splines
   Butterfly

  G06
   arrchr

  Dynamic
   Clock
   DateTime

  Python
   Lissajous Python

  3D Models
   3D CNC
   3dModel_TableA.txt

  Notepad++ Plugin
   Examples


kb:samples:clock

Clock

%
O100 repeat [60]
	#<dt> = DateTime[]
	#<year> = Year[#<dt>]
	#<month> = Month[#<dt>]
	#<day> = Day[#<dt>]
	#<hour> = Hour[#<dt>]
	#<min> = Minute[#<dt>]
	#<sec> = Second[#<dt>]
	#<msec> = MilliSec[#<dt>]
	(print,DateTime: #<year,0>/#<month,0>/#<day,0> #<hour,0>:#<min,0>:#<sec,0>,#<msec,0>)
	G04 P1 ;wait 1 second
O100 endrepeat
%
kb/samples/clock.txt · Last modified: 2024/04/02 22:11 by 127.0.0.1

Page Tools