User Tools

Site Tools


commands:sap

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
commands:sap [2025/12/12 15:44] – New table for multi axis triggering chrisdcommands:sap [2026/08/13 19:14] (current) – comment on TTL jumper pic +"TTL " chrisd
Line 7: Line 7:
 ^Units    |Integer code, 0-255 (see below)| ^Units    |Integer code, 0-255 (see below)|
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
 +^Firmware Module | [[:singleaxis|SINGLEAXIS_FUNCTION]] |
  
 <-- <--
Line 17: Line 18:
 ^Type    |Axis-Specific  | ^Type    |Axis-Specific  |
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
 +^Firmware Module | [[:singleaxis|SINGLEAXIS_FUNCTION]] |
  
 <-- <--
Line 24: Line 26:
 ^ Bit  ^ Clear                                                                                                                                                                              ^ Set                                      ^ ^ Bit  ^ Clear                                                                                                                                                                              ^ Set                                      ^
 | 7    | Internal Trigger                                                                                                                                                                   | External Trigger on Backplane TTL input  | | 7    | Internal Trigger                                                                                                                                                                   | External Trigger on Backplane TTL input  |
-| 6    | Polarity of Clk: positive edge                                                                                                                                                     | Polarity of Clk: negative edge           |+| 6    | Polarity of Trigger: positive edge                                                                                                                                                 | Polarity of Trigger: negative edge       |
 | 5    | No TTL out                                                                                                                                                                         | TTL out                                  | | 5    | No TTL out                                                                                                                                                                         | TTL out                                  |
 | 4    | Polarity of TTL out: active high                                                                                                                                                   | Polarity of TTL out: active low          | | 4    | Polarity of TTL out: active high                                                                                                                                                   | Polarity of TTL out: active low          |
-| 3    | reserved                                                                                                                                                                           | Reserved                                 | +| 3    | Reserved                                                                                                                                                                           | Reserved                                 | 
-| 2-0  | 000 Ramp/sawtooth (code 0) \\ 001 Triangle (code 1) (period always even number of msec) \\ 010 Square wave (code 2) (period always even number of msec) \\ 011 Sine wave (code 3)                                            ||+| 2-0  | ''000'' Ramp/Sawtooth Wave (code 0) \\ ''001'' Triangle Wave (code 1) (period always even number of milliseconds) \\ ''010'' Square Wave (code 2) (period always even number of milliseconds) \\ ''011'' Sine Wave (code 3) \\ ''100'' Variable Triangle Wave (code 4) <wrap lo>Tiger v3.55 required</wrap>\\ ''101'' Reserved (code 5)          ||
  
-The TTL inputs as used by the external trigger capability will individually trigger each axis as follows: +The Variable Triangle Wave pattern uses the [[:commands:os|OS command]] to change the time in milliseconds it takes to reach to the peak of the waveform. 
-^ Backplane Address (TTL IN)  ^ Triggered Axis  ^ + 
-| 42                          | 0               | +<WRAP center round info 60%> 
-| 44                          | 1               | +Serial command [[commands:ttl|<Card Addr#>TTL Y=22]] will route the TTL pulses generated when BIT5 is set, to the  TTL OUT0 port. Available only in Tiger firmware v3.17 and above.   
-| 46                          | 2               | +</WRAP> 
-| 48                          | 3               |+ 
 +[{{ :commands:tggalvo_backplane_jumper_functions_sm.png?400|Jumper usage for TGDAC/TGGALVO direct backplane TTL IO}}] 
 + 
 +Jumpers can be placed on the TGDAC4 / TGGALVO card header labeled SV9 to enable backplane input and output triggering for the SAP command. 
 +The TTL inputs for external triggering will individually trigger each axis as follows: 
 +^ Triggered Axis  ^ Backplane Trigger input address  ^ Backplane TTL out address  ^ 
 +| 0               | 42                               | 41                         | 
 +| 1               | 44                               | 43                         | 
 +| 2               | 46                               | 45                         | 
 +| 3               | 48                               | 47                         |
  
  
 == Example == == Example ==
  
-<asi> $ SAP r=0   +<asi> $ SAP R=0   
 :A</asi> :A</asi>
 Sets up for ramp (sawtooth) pattern, running off internal clock with no TTL outs  Sets up for ramp (sawtooth) pattern, running off internal clock with no TTL outs 
-<asi> $ SAP r=129   +<asi> $ SAP R=129   
 :A</asi> :A</asi>
 Sets up for triangle pattern, running off positive edge external TTL clock with no TTL outs.  Sets up for triangle pattern, running off positive edge external TTL clock with no TTL outs. 
-<asi> $ SAP r=161   +<asi> $ SAP R=161   
 :A</asi> :A</asi>
 Sets up for triangle pattern, running off positive edge external TTL clock with TTL outs.  A 250usec pulse is put out at the start of the pattern.  Sets up for triangle pattern, running off positive edge external TTL clock with TTL outs.  A 250usec pulse is put out at the start of the pattern. 
- 
-<WRAP center round info 60%> 
-Serial command[[commands:ttl|<Card Addr#>TTL Y=22]] will route the TTL pulses generated when BIT5 is set, to the  TTL OUT0 port. Available only in Tiger firmware v3.17 and above.   
-</WRAP> 
  
  
 {{tag>commands tiger ms2000 singleaxis}} {{tag>commands tiger ms2000 singleaxis}}
  
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/sap.1765572295.txt.gz · Last modified: by chrisd