Table 1. JSON commands, currently set in the program
Command | Action | Examples: Message sent to ClearCore and a response, received from ClearCore |
---|---|---|
| Moving the carriage to home position on X-axis. | Sent to ClearCore:
Immediate feedback from ClearCore: When homing on X-axis is finished, ClearCore sends one more message: |
| Moving the carriage home position on Z-axis. | Sent to ClearCore:
Immediate feedback from ClearCore: When homing on X-axis is finished, ClearCore sends one more message: |
or
| Moving the carriage to zero position (homing) on X- and Z-axes at the same time. Pay attention: homing on Z-axis is always first (for camera safety). | Sent to ClearCore:
Immediate feedback from ClearCore: When homing on Z-axis is finished, ClearCore sends message: Next, ClearCore sends: When homing on X-axis is finished, ClearCore sends message: Pay attention: an immediate response from ClearCore is only about receiving z:home message. After completion of Z-homing, ClearCore sends message about receiving x:home and performs X-homing. |
| Movement on X-axis. A distance must be non-zero. Distances equal to zero are ignored. | Sent to ClearCore:
Immediate feedback from ClearCore: When movement on X-axis is finished, ClearCore sends a feedback message: Sent to ClearCore: X:0,Z:0 No moving on X- nor Z-axes. Received from ClearCore:
Moving 5000 steps in positive direction on Z-axis. No moving on X-axis. Received from ClearCore:
Moving 3000 steps in negative direction on X-axis. No moving on Z-axis. Received from ClearCore:
Moving 15000 steps in positive direction on X-axis and moving 20000 steps in negative direction on Z-axis. Received from ClearCore: |
| Movement on Z-axis. A distance must be non-zero. Distances equal to zero are ignored. | Sent to ClearCore:
Immediate feedback from ClearCore: When movement on Z-axis is finished, ClearCore sends a feedback message: |
| Movement on X- and Z-axes. Distances must be non-zero. Distances equal to zero are ignored. Two movements will be performed simultaneously. | Sent to ClearCore:
Immediate feedback from ClearCore (two separate UDP messages sent at the same time):
When both movements are finished, ClearCore again sends two separate UDP messages:
Pay attention: the two separate messages about finishing of both movements are sent the moment when BOTH movements are finished. These two messages are sent at the same time. |
To be added text description.
0 Comments