User Tools

Site Tools


synchronous_encoder_reporting

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
synchronous_encoder_reporting [2025/03/12 13:38] – [With Piezos] brandonsynchronous_encoder_reporting [2026/01/28 21:50] (current) – [Required Hardware Setup] brandon
Line 3: Line 3:
 ===== TTL Report Module ===== ===== TTL Report Module =====
  
-This section of the manual applies to the ''TTL_REPORT'' firmware module. Including this module in the firmware allows for precisely synchronized encoder position reporting. The user's hardware supplies a TTL trigger to the MS-2000 that causes a processor interrupt which performs an encoder-read operation on all of the controller’s motorized axes. Any firmware build that includes this module is not capable of any other TTL input modes and will only perform the functionality of the ''TTL_REPORT'' module. +This section of the manual applies to the ''TTL_REPORT_INT'' firmware module. Including this module in the firmware allows for precisely synchronized encoder position reporting. The user's hardware supplies a TTL trigger to the MS-2000 that causes a processor interrupt which performs an encoder-read operation on all of the controller’s motorized axes. Any firmware build that includes this module is not capable of any other TTL input modes and will only perform the functionality of the ''TTL_REPORT_INT'' module.
  
 +<WRAP center round info 80%>
 +**Note:** 
 +To enable TTL reports, set the TTL input mode to a __non-zero__ value with the [[commands:ttl#ttl_input_mode|TTL X=#]] command. The input mode is ignored and only used to enable interrupts on the TTL input BNC, so just use TTL X=1.
 +</WRAP>
 +
 +
 +If want reports on TTL output pulses, please see the ''[[commands:ttl#report_mode_ms-2000_only|TTL_OUT_REPORT]]'' firmware module instead.
 +
 +===== Required Firmware Modules =====
 +
 +Send the serial command ''[[commands:build|BUILD X]]'' to check what firmware modules the MS-2000 controller has.
 +
 +  * ''TTL_REPORT_INT''
 +  * ''SERIAL OUT'' (optional)
 +  * ''BINARY_OUTPUT'' (optional)
 +
 +===== Required Hardware Setup =====
 +
 +To use the optional ''SERIAL OUT'' module, the controller requires the RS-232 **SERIAL OUT** port on the back of the MS-2000, this feature uses the second serial port to output the report.
 +
 +[{{ ms2000_ports.png?direct&300 | A standard MS-2000 with RS-232 **SERIAL OUT**}}]
 +
 +As you can see in the image, this MS-2000 has the serial port connector. You may have a controller configured for ''CRISP'' that replaces this port with a male DB9 connector. In that case, you will need to contact ASI to get a cable to split the connection between CRISP and the serial port.
 +
 +[{{ ttl_report_int_gender_changer.png?direct&140 | Straight through serial cable with gender changer}}]
 +
 +You will also need a straight through serial cable (not a null modem cable) with a gender changer to connect the **SERIAL OUT** to the input of the serial port on another computer.
 ===== Timing Specifications ===== ===== Timing Specifications =====
  
Line 21: Line 48:
  
 ===== Data Transmission ===== ===== Data Transmission =====
 +
 +There are two output modes, standard ASCII and binary. The binary output format requires the ''BINARY_OUTPUT'' firmware module and is always enabled if present.
  
 The encoder position data is transmitted using the auxiliary serial port on the MS-2000 controller. The data baud rate for this port is set to be identical to the main serial communications port and is selected with DIP Switches 4 and 5. The Serial Out port on the MS-2000 controller should be configured with a straight-through female-to female RS-232 cable to communicate with a computer.   The encoder position data is transmitted using the auxiliary serial port on the MS-2000 controller. The data baud rate for this port is set to be identical to the main serial communications port and is selected with DIP Switches 4 and 5. The Serial Out port on the MS-2000 controller should be configured with a straight-through female-to female RS-232 cable to communicate with a computer.  
Line 49: Line 78:
  
 <WRAP center round info 80%> <WRAP center round info 80%>
-**Note:** In the distant past (probably before 2013) it was required to set the TTL mode to 6 to use the TTL_REPORT module, but more recently any firmware build that includes the TTL_REPORT firmware module is not capable of any other TTL input modes and will only perform the functionality of the TTL_REPORT module.+**Note:** In the distant past (probably before 2013) it was required to set the TTL mode to 6 to use the TTL_REPORT_INT module, but more recently any firmware build that includes the TTL_REPORT_INT firmware module is not capable of any other TTL input modes and will only perform the functionality of the TTL_REPORT_INT module.
 </WRAP> </WRAP>
  
 {{tag>advanced_feature ms2000 }} {{tag>advanced_feature ms2000 }}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
synchronous_encoder_reporting.1741801083.txt.gz · Last modified: by brandon