commands:sam
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
commands:sam [2016/09/07 18:03] – ↷ Page moved from documentation:commands:sam to commands:sam asiadmin | commands:sam [2019/04/18 19:33] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Command:SAM ====== | ||
+ | --> MS2000 or RM2000 syntax# | ||
+ | |||
+ | ^Shortcut | ||
+ | ^Format | ||
+ | ^Units | ||
+ | ^Remembered |Using SS Z | | ||
+ | |||
+ | <-- | ||
+ | |||
+ | --> Tiger syntax# | ||
+ | |||
+ | ^Shortcut | ||
+ | ^Format | ||
+ | ^Units | ||
+ | ^Type |Axis-Specific | ||
+ | ^Remembered |Using [addr#]SS Z | | ||
+ | |||
+ | <-- | ||
+ | |||
+ | Sets the single-axis mode according to the integer code. | ||
+ | |||
+ | ^Code ^Meaning ^^ | ||
+ | |0 |Puts single-axis mode in idle state (i.e. stops it if running) | ||
+ | |1 |Puts the single-axis mode in active state (i.e. starts generating the pattern) | ||
+ | |2 |Arms the trigger; on receipt of a TTL trigger pulse the single-axis mode becomes active | ||
+ | |3 |Makes the single-axis mode active and restarts the pattern of any other axis on the same card so they will be synchronized | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | <asi> $ SAM A=0 | ||
+ | : | ||
+ | Disables the routine for the A axis | ||
+ | <asi> $ SAM A=1 | ||
+ | : | ||
+ | Enables the routine for the A axis | ||
+ | <asi> $ SAM B=2 | ||
+ | : | ||
+ | Arms the routine for the B axis. The routine for B will start running on receipt of a TTL pulse | ||
+ | <asi> $ SAM B=3 | ||
+ | : | ||
+ | Enables the routine for the B axis. Also the routine for A axis is reset, so they will both run in sync | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{tag> |
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/sam.txt · Last modified: 2023/11/01 17:41 by brandon