Interop Syncs

From Compost Wiki
Jump to navigation Jump to search

Inter-Op Syncs

TODO: Add a description of new sync features

Upgrading a post to support InterOp Syncs

This document will describe the basics of upgrading a legacy looper MTM post to support the new inter-op sync feature in GibbsCAM UKM. Stepper and UKM Hybrid posts will not need to be upgraded.

Limitations

.62 and earlier looper posts are only capable of supporting the new Sync markers that can be applied to the inter-op tile in the sync dialog box. They are not capable of supporting duplicate system and user syncs, usually on 3 flow machines. This feature requires larger changes to the master structure and must be implemented ether in a stepper post or a newer looper hybrid master. Non-looper posts can not use these features.

These changes must be made to a post processor in Compost 4 and can only be applied to a post processor that has been upgraded to the new .POST format.

Spindle Controll

Interop syncs can create new spindle control situations that legacy .62 post processors can not handle. The commands PreviousSpindleOff? PreviousSpindleOn? do not handle approach start syncs and will not handle cases where the spindle state is changed before the op start. Depending on the needs of the customer (what they sync and where), the post may need additional modifications to handle spindle states correctly. Newer post processor formats should read the spindle state directly from the approach loop with the PartSpindleStateChanged? event command in order to detect spindle changes at any point during the approach or retract.

Commands

4 new commands are used to support the new syncs

ApproachStartSync? ApproachStartSync#

RetractEndSync? RetractEndSync#

These commands work identically to the existing StartOpSync and EndOpSync Commands.

Flags

The post processor must check the "Support inter-op syncs" check-box in the compost 4 options dialog. Posts that do not support inter-op syncs will not be allowed to post programs that contain them.

Upgrade

These new syncs are very simple to add to the post processor. They can only go in one of 2 places in the program flow.

Off Part

For Off part operations (new tool and the like) The Approach Start Sync is output right before the ATC loop if it is set

The Retract End Sync is output right after the BTC loop if it is set.

In the off part cases none of these syncs are output inside the loop, not on the op start nor op end features, they are output either before or after the loop processes in it's entirety. Nether of these syncs interact with the spindle state, and should not be used when determining if CSS can be turned on early, that code will continue to check for Op Start Syncs only.

In the case of a spindle change, the retract end sync is output before the spindle change moves, and the approach start sync is output after the spindle change moves

in the case of a tool change, the retract end sync is output before the tool change, and the approach start sync is output after the tool change.

On Part

For on part operations (same tool) The Approach Start Sync is output right before op start sync, in the op start feature.

The Retract End Sync is output right after op end sync in the op end feature.

Sample

A sample post file in .62 format has been provided. This post also has minor changes to the prog structure to properly support the COmpost 4 language.