Purpose

Queue operation is used to buffer lines of AeroScript code. This operation mode is useful for applications that require many short duration moves in a row. This often includes CNC machining or laser manufacture applications. Programs that require velocity blending, velocity profiling, or lookahead synchronization during extremely long AeroScript programs are also common use cases for queue operation. Some AeroScript commands are also only compatible with queue mode operation.

Command Queue History

Command Queue operation was officially released in Automation1 version 2.3.0.

Why would you use Command Queue? When executing AeroScript code via the .NET interface and the C library, a fixed overhead of processing time and sometimes network latency occurs between commands. Command Queue operation allows the controller to buffer single lines of AeroScript code in a FIFO (First In First Out) queue to execute commands with no latency.  

Command Queue operation is supported in the .NET library and C library; this feature can't be accessed from Automation1 Studio. Command Queue obsoletes the previous Queue Mode operation and PROGRAM BUFFEREDRUN command from A3200 and has significant differences from the A3200 implementation. See Introduction to Queue Mode and Command Queue in A3200 for more details on the previous implementation. 

For complete documentation, please refer to the Automation1 Help documentation on our website for the .NET API and the C API.

Governing the Command Queue

Command Queue has its own control methods to govern the task in which it runs. (The Command Queue reserves one task for operation which cannot be used for other purposes.) This differs from ProgramStop() and other AeroScript commands, which aren't available in Command Queue. The following basic control and scheduling functions are available for the Command Queue, in both the .NET API and the C API:

The following statuses are also available for the Command Queue. Their method of retrieval differs between .NET and C.

Additional Considerations

When using Command Queue, several considerations are the responsibility of the customer and end user. This includes queue starvation management, and thread safety.

Please refer to the documentation (.NET APIC API) for full information on queue starvation management and thread safety for the Queue Mode commands and class, which differ between .NET and C.


Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues