Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement all instructions #1

Open
12 of 45 tasks
kjetilkjeka opened this issue May 11, 2018 · 0 comments
Open
12 of 45 tasks

Implement all instructions #1

kjetilkjeka opened this issue May 11, 2018 · 0 comments

Comments

@kjetilkjeka
Copy link
Owner

kjetilkjeka commented May 11, 2018

Tracking issue for implementation (and testing) of all TMCL instructions:

Usable in direct mode

  • ROR - Rotate Right
  • ROL - Rotate Left
  • MST - Motor Stop
  • MVP - Move to Position
  • SAP - Set Axis Param
  • GAP - Get Axis Parameter
  • STAP - Store Axis Parameter
  • RSAP - Restore Axis Parameter
  • SGP - Set Global Parameter
  • GGP - Get Global Parameter
  • STGP - Store Global Parameter
  • RSGP - Restore Global Parameter
  • RFS - Reference Search
  • SIO - Set Output
  • GIO - Get Input / Output
  • CALC - Calculate
  • SAC - SPI Bus Access
  • SCO - Set Coordinate
  • GCO - Get Coordinate
  • CCO - Capture Coordinate
  • CALCX - Calculate using the X register
  • AAP - Accumulator to Axis Parameter
  • AGP - Accumulator to Global Parameter
  • User definable commands (UF0..UF7)
  • Request target position reached event

Stand alone operation only

  • COMP - Compare
  • JC - Jump Conditional
  • JA - Jump Always
  • CSUB - Call Subroutine
  • RSUB - Return from Subroutine
  • WAIT - Wait for an event to occur
  • STOP - Stop TMCL program execution
  • CLE - Clear Error Flags

Only usable in ASCII mode

  • BIN - Return to Binary Mode

TMCL Control Functions

  • Stop Application
  • Run application
  • Step Application
  • Reset Application
  • Start Download Mode
  • Quit Download Mode
  • Read TMCL Memory
  • Get Application Status
  • Get FIrmware Version
  • Restore Factory Settings
  • Enter ASCII Mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant