SYNUC - Synchronization Condition
Gets/sets the sync condition [value] and source for the U axis.
Access: Read/Write
Category: Sync
Applies to: 4ED, 4EX
ASCII SYNUC
Syntax
Read
SYNUC
Reply
Command is accepted and executed
Read
Returns the synchronization condition and source for the U axis
Write
SYNUC=[value]
|
[value] is the decimal equivalent of the 5-bit number for the synchronization mode. See the chart below. |
|
Bit |
Description |
Decimal |
||
|
Pulse Position |
Encoder Position |
|||
|
0-3 |
Synchronization Condition: |
From sync source: |
||
|
0001 |
Trigger when sync position = actual position. Any direction |
1 |
17 |
|
|
0010 |
Trigger when sync position = actual position. Positive direction |
2 |
18 |
|
|
0011 |
Trigger when sync position = actual position. Negative direction |
3 |
19 |
|
|
0100 |
Trigger when sync position > actual position |
4 |
20 |
|
|
0101 |
Trigger when sync position < actual position |
5 |
21 |
|
|
0111 |
Reserved/not available |
|
|
|
|
1000 |
Trigger every sync position. Any direction |
8 |
24 |
|
|
1001 |
Trigger every sync position. Positive motion |
9 |
25 |
|
|
1010 |
Trigger every sync position. Negative motion |
10 |
26 |
|
|
4 |
Synchronization Source: |
|
|
|
|
0 |
Sync position is compared to pulse position |
|
|
|
|
1 |
Sync position is compared to encoder position |
|
|
|
Reply
Command is accepted and executed
Write
OK
Command cannot be processed
An error message is returned. See Error Codes
Example
Read
SYNUC * Returns the synchronization condition and source for the U axis
Write
ASCII
Example Turning on synchronization output
SYNUC=4 * Sets target synchronization position to 4 on U-axis
SYNUC=1 * Sets synchronization mode to at-position, in any direction, on U-axis, based on pulse position
SYNUC * Writes data to ASIC then turns on synchronization for the U-axis
Example Making changes to synchronization mode with an output timing chart
SYNUC=8 * Sets sync mode to continuous, in any direction, on U-axis, based on pulse position
SYNUC * Turns on synchronization for the U-axis
Example Making changes to synchronization mode
SYNUC=3 * Sets synchronization mode to at-position, in the negative direction, on U-axis, based on pulse position
SYNUC * Writes new values to the ASIC for the U-axis
Standalone
Example Turning on synchronization output
SYNUC=700 * Sets target synchronization position to 700 on U-axis
SYNUC=8 * Sets synchronization mode to continuous, in any direction, on U-axis, based on pulse position
SYNUC * Writes data to ASIC then turns on synchronization for the U-axis
Example Making changes to synchronization mode
SYNUC=24 * Sets synchronization mode to continuous, in any direction, on Z-axis, based on encoder position
SYNUC * Writes new values to the ASIC for the Z-axis
Notes
- When this command is sent, the Sync position buffer is reset and cleared.
- The synchronization digital output will remain ON as long as the comparison condition is true.
See also
SYNF, SYNO, SYNP, SYNS, SYNWO, SYNWF, SYNMAX, SYNMIN