SYNMAX – Synchronization Window Upper Limit
Gets/sets the maximum [value] of the sync pulse window for [axis].
This will indicate the maximum encoder/pulse position the synchronization digital output will activate during continuous synchronization mode. Set the synchronization window upper limit by using SYNMAX[axis]=[n]. Any position larger than the set SYNMAX[axis] will not output synchronization pulses. The default value for SYNMAX[axis] is 0.
Access: Read/Write
Category: Sync
Applies to: 2CR, 4CR, 4ED, 4EX, CM3, 8CR
ASCII SYNMAX[axis]
Syntax
Read
SYNMAX[axis]
|
[axis] is set to X, Y, Z, U |
Write
SYNMAX[axis]=[value]
|
[axis] is set to X, Y, Z, U [value] is the target value * Valid values for n target value Any value inside of the positioning control range (-134,217,728 to +134,217,727) (28bit) SYNMAX[axis] must be larger than SYNMIN[axis] |
Reply
Command is accepted and executed
Read
Returns the current set value for the sync window upper limit (28-bit value)
Write
OK
Command cannot be processed
An error message is returned. See Error Codes
Example
Enable the synchronization window and set min/max values.
|
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 lower limit function is independent for each axis.
- 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.
- The value set to SYNMAX[axis] must be within the positioning control range (-134,217,728 to +134,217,727) 28-bit
- If SYNMAX[axis] will be set to a negative value, SYNMIN[axis] should be set first.
See also
SYNC, SYNF, SYNO, SYNP, SYNS, SYNWO, SYNWF, SYNMIN