User Tools

Site Tools


commands:sam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
commands:sam [2016/09/07 18:03] – ↷ Page moved from documentation:commands:sam to commands:sam asiadmincommands:sam [2019/04/18 19:33] – external edit 127.0.0.1
Line 1: Line 1:
 +====== Command:SAM ======
  
 +--> MS2000 or RM2000 syntax#
 +
 +^Shortcut  |SAM| 
 +^Format  |SAM [axis]=### …|
 +^Units    |Integer code, 0-3 (see below)|
 +^Remembered |Using SS Z |
 +
 +<--
 +
 +--> Tiger syntax# 
 +
 +^Shortcut  |SAM| 
 +^Format  |SAM [axis]=### …|
 +^Units    |Integer code, 0-3 (see below)|
 +^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  
 +:A</asi>
 +Disables the routine for the A axis 
 +<asi> $ SAM A=1  
 +:A</asi>
 +Enables the routine for the A axis 
 +<asi> $ SAM B=2  
 +:A</asi>
 +Arms the routine for the B axis. The routine for B will start running on receipt of a TTL pulse 
 +<asi> $ SAM B=3  
 +:A</asi>
 +Enables the routine for the B axis. Also the routine for A axis is reset, so they will both run in sync
 +
 +
 +
 +
 +
 +
 +{{tag>commands tiger ms2000 singleaxis}}
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