MOM Syncronization Variables

mom Variables

Class

Description

Possible Values

Data Types

Default

mom_carrier_name

Synchronization

Defines the name of the current channel. The variable mom_carrier_name may be compared with mom_sync_primary to determine if the current channel is the primary channel.

Positive Integer

Integer

 

mom_channel_names

Synchronization

Defines the names of all the channels in the Synchronization Manager.  These names come from the carrier names in the machine tool view of the ONT. The name of channel one is in mom_channel_names(0).

 

String Array

 

mom_kin_merge_output_files

Synchronization

Determines whether additional timing and sync information is added to the NC output. To activate this mode you must set this variable to 1 and reload the kinematics. When active, the current time is appended to each motion block. For example, @TIME 1.5@. There is an additional block with @SYNC 1@ for each sync mark.  You can use this information to merge the output files into a single NC file.

1 or does not exist.

Integer

Undefined

mom_multi_channel_mode

Synchronization

This variable only exists if the current postprocessing or simulation is taking place from the Synchronization Manager and there is more than a single channel present.

1 or does not exist.

Integer

 

mom_number_of_runs

Synchronization

Defines the number of channels.

Positive Integer

Integer

 

mom_postprocessing_mode

Synchronization

Defines whether the current postprocessing is being done from  the Synchronization Manager.

1 from sync manager, 0 or undefined normal postprocessing.

Integer

Undefined

mom_run_number

Synchronization

Defines which channel is currently being postprocessed. Use this variable to determine when you are postprocessing the last channel.

Positive Integer

Integer

 

mom_sync_affected

Synchronization

Defines which of the channels is affected by the current sync mark.  For instance, if mom_sync_affected(1) is equal to 0, then channel 2 is not involved with the current sync mark. The  numeric array has one element for  each channel. mom_sync_affected(0) defines the status of channel 1, mom_sync_affected(1 defines the  status of channel 2, etc.

0 or 1.

0 means not affected, 1 means affected.

Numeric Array(n)

 

mom_sync_number

Synchronization

Defines the current sync mark while postprocessing a channel in the sync manager.

Positive Integer

Integer

 

mom_sync_primary

Synchronization

Defines which channel is the primary channel for the current sync mark.

Positive Integer, None or Undefined

Integer