SYNWO – Synchronization Window On
In continuous mode, the synchronization window function allows the synchronization function to run continuously, but only output synchronization pulses when the counter is between the synchronization maximum and minimum points. When the synchronization function is enabled, there is no loss of synchronization from one pass to the next.
When SYNWO[axis] is executed, it first confirms that synchronization mode is set to continuous in local memory. The data for synchronization mode is written from local memory to the ASIC, synchronization mode is activated, and the synchronization window function is enabled.
Applies to: CMD-4CR, CMD-4EX-SA
ASCII SYNWO
Syntax:
Write:
SYNWO[axis]
Where: [axis] is the axis (X, Y, Z, U) being addressed |
Reply:
Command is accepted and executed
Write:
OK
Command cannot be processed
An error message is returned. See Error Codes
Example:
Write:
SYNPX=1000 |
* 1000 counts between synchronization output pulses on the X-axis. |
SYNCX=8 |
* Sets sync mode to continuous for X-axis, based on pulse position. |
SYNMAXX=100000 |
* Sets the maximum value for the synchronization window to 100,000 on the X-axis |
SYNMINX=2000 |
* Sets the minimum value for the synchronization window to 2000 on the X-axis |
SYNWOX |
* Enables sync output and synchronization window on the X-axis |
Notes:
- The synchronization window function for each axis is independent.
- The synchronization window function overlays the continuous synchronization mode. An error message will appear if the synchronization mode (SYNC[axis]) is not set to one of the continuous modes.
- When the synchronization window is enabled, it will watch the referenced position (pulse position or encoder position, as set in Bit 4 of SYNC[axis]).
- The manual pulsar function must be disabled to use the synchronization mode. (MPE[axis]).
See also:
SYNC, SYNF, SYNO, SYNP, SYNS, SYNWF, SYNMAX, SYNMIN
Commander Manual
2.1.3.2.2 High-Speed Digital Output