↑ Solidot Technology slice pulse counting module XB6-P20A
The comparison output function of the XB6-P20A slice pulse counting module of Solidot Technology is configured by enabling the comparison output channel, setting the comparison output value, comparing the direction, single/repeated trigger mode and pulse time of the comparison output channel. When the count value of the encoder reaches the set value and satisfies the comparison direction, the corresponding comparison output channel will output a time-adjustable pulse. The adjustable time is the comparison output pulse time. The pulse output response speed of the comparison output function can reach 50us level.
The configuration parameters of the comparison output function include the encoder comparison output channel pulse time, and the configurable time range is 0~65535ms. Each encoder is equipped with 2 comparison output channels. The comparison output channel enable, comparison output setting value, comparison direction and single/repeated trigger mode can all be set in the downlink data. When the comparison output channel function is not enabled, the comparison output channel can be used as a normal digital output.
The comparison output function is often used in high-speed motion scenarios where pulse signals need to be output to trigger various supporting equipment, such as camera flying.
1. Configuration in Autoshop software
The XB6-P20A module is wired normally with the encoder and configured for normal communication in the Autoshop software. The comparison output channel 1 of the encoder acquisition channel 1 is used as an example for demonstration.
After the encoder acquisition channel 1 is enabled, the module acquisition channel will light up, and the code value of the encoder can be collected normally when it rotates.
2. Comparison output function configuration
1. Comparison output trigger duration setting. Add in "Startup parameters", as shown in the figure below, the comparison output trigger is set to 1000ms.
2. Comparison output direction, comparison output trigger mode, and comparison output set value settings. Add in "I/O function mapping", as shown in the figure below, set the comparison direction to 1 (0: decremental comparison/1: increment comparison), set the comparison output trigger mode to 1 (0: single trigger/1: repeated trigger), and set the comparison output value to 1000.
3. Enable the comparison output and rotate the encoder to collect the encoder code value. When the encoder code value collected by the XB6-P20A module increases to 1000 in the positive direction, the comparison output 1 channel of encoder 1 channel outputs the inverted level signal of the current output channel for 1000ms.