# Default handler for UDE MOM_operator_message
# - Do not attach it to any event!
#
# This procedure is executed when the Operator Message command is activated.
#
global mom_operator_message mom_operator_message_defined
global mom_operator_message_status
global ptp_file_name group_output_file mom_group_name
global mom_sys_commentary_output
global mom_sys_control_in
global mom_sys_control_out
global mom_sys_ptp_output
global mom_tool_number
global t_string
if { [info exists mom_operator_message_defined] } {
if { $mom_operator_message_defined == 0 } {
return
}
}
if { [string compare "ON" $mom_operator_message] && [string compare "OFF" $mom_operator_message] } {
if {[string first "M101" $mom_operator_message]==0} {