User Tools

Site Tools


sequencer

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
sequencer [2023/03/26 03:48] – [Overview] brandonsequencer [2024/11/26 18:31] (current) – make warning bold brandon
Line 2: Line 2:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-The Sequencer module has been deprecated since ~2015. \\ +**WARNING:** The Sequencer module has been deprecated since ~2015. \\ 
-The [[tiger_programmable_logic_card|Tiger Programmable Logic Card]] can replace much of the functionality.+The [[tiger_programmable_logic_card|Tiger Programmable Logic Card]] can replace most of the functionality.
 </WRAP> </WRAP>
  
 ===== Overview ===== ===== Overview =====
 +Old documentation that you can download in PDF form: \\
 +[[legacy|ASI MS2000 SEQUENCER MODULE]]
  
-The SEQUENCER module consists of several hardware signal outputs, both TTL signals (TTL#) and Analog Voltage Outputs (AVO#).  Incremental stage motion can be directly controlled in a sequence as well (STG#).  A TTL trigger INPUT and various RS232 serial and manual control inputs are also supported.  Each hardware output is configurable using a serial command.  Logic connecting the inputs and outputs is implemented using a programmable BLOCK structure.  BLOCKs, by themselves, do not produce output.  Instead they provide the structure for building the event sequence required for a task.  BLOCKs and OUTPUTs can have START, REPEAT, STEP, and RESET condition codes.  They also can have DELAYS and a number of REPETITIONs associated with them, as well as completion action codes.+The SEQUENCER module consists of several hardware signal outputs, both TTL signals (TTL#) and Analog Voltage Outputs (AVO#).  Incremental stage motion can be directly controlled in a sequence as well (STG#).  A TTL trigger INPUT and various RS232 serial and manual control inputs are also supported.  Each hardware output is configurable using a serial command.  Logic connecting the inputs and outputs is implemented using a programmable BLOCK structure.  BLOCKs, by themselves, do not produce output.  Instead they provide the structure for building the event sequence required for a task.  BLOCKs and OUTPUTs can have START, REPEAT, STEP, and RESET condition codes.  They also can have DELAYS and a number of REPETITIONS associated with them, as well as completion action codes.
  
 ===== Conditions ===== ===== Conditions =====
Line 234: Line 236:
 ARM, SAVESET, and TTL. ARM, SAVESET, and TTL.
  
-Without arguments, this command establishes the ARM_COMMAND_RCVD event. Typically it is used to start the SEQUENCER via a single serial command.  +====== Command:ARM ====== 
-ARM X re-initializes the SEQUENCER. + 
 +^Shortcut  |ARM|  
 +^Format  |ARM  [X] [Y=log] [Z]| 
 +^Remembered |Using SS Z | 
 + 
 +Without arguments, this command establishes the **ARM_COMMAND_RCVD** event.  Typically it is used to start the SEQUENCER via a single serial command. 
 + 
 +**ARM X** re-initializes the SEQUENCER.  This command is useful if the RESET conditions are changed or if the sequencer is hung in a non-IDLE state. 
 + 
 +**ARM Y=1** turns on or ARM Y=0 turns off the serial log file creation. 
 + 
 +**ARM Z** forces a “sequence stop” condition.  The sequencer is re-initialized; all blocks with ALWAYS start conditions are placed in the IDLE state, and all stage motion is halted.
 ===== End of Block Actions to control MS2000 functions ===== ===== End of Block Actions to control MS2000 functions =====
  
Line 397: Line 410:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-WARNING – writing to the log file can take a considerable amount of processor time and will impact the timing for sequences where operations are happening faster than the log can be written.  Use only for debug purposes, and increase delays appropriately as required.+**WARNING:** writing to the log file can take a considerable amount of processor time and will impact the timing for sequences where operations are happening faster than the log can be written.  Use only for debug purposes, and increase delays appropriately as required.
 </WRAP> </WRAP>
  
Line 410: Line 423:
 ===== Sequencer Timing Performance ===== ===== Sequencer Timing Performance =====
  
-The SEQUENCE module shares the MS2000’s processor with the controller’s other functions.  The average task loop time with the SEQUENCER module is about 200 µsec, maximum time is 500µs when the controller is idle, and can reach about 1ms when the controller is busy with serial commands or axis moves.  Hence, typical processing delays will be <0.5ms, but could extend to more than a millisecond occasionally.  Timing delays are counted using a 1 millisecond timer interrupt, but subsequent processing of the delay triggered events can have the additional timing uncertainty of 0 – 1 ms described above.  If precise absolute timing is required, be aware that these errors will accumulate, and can cause overall absolute timing uncertainty after many sequencer steps. +The SEQUENCER module shares the MS2000's processor with the controller's other functions.  The average task loop time with the SEQUENCER module is about 200µs, maximum time is 500µs when the controller is idle, and can reach about 1ms when the controller is busy with serial commands or axis moves.  Hence, typical processing delays will be <0.5ms, but could extend to more than a millisecond occasionally.  Timing delays are counted using a 1 millisecond timer interrupt, but subsequent processing of the delay triggered events can have the additional timing uncertainty of 0 – 1 ms described above.  If precise absolute timing is required, be aware that these errors will accumulate, and can cause overall absolute timing uncertainty after many sequencer steps.
- +
- +
  
 {{tag>deprecated sequencer ms2000}} {{tag>deprecated sequencer ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
sequencer.1679816899.txt.gz · Last modified: by brandon