All of the default variables will automatically be mapped to the associated address. Custom variables can be mapped by highlighting and selecting the custom button.
Here is a sample of HAAS NGC expressions that come predefined along with a description and the logic statement used to evaluate the expression.
The defined cycle start signal will be sent from DataXchange when the equipment in the database is not in cycle and the NGC execution status is Active.
([PCSDB.has_cycle_status_code] {101} = False) AND ([HaasNGC.cycle_status] =[HaasNGC.CYCLING]) AND ([HaasNGC.feedrate_override] = 100)
The defined cycle end signal will be sent from DataXchange when the equipment in the database is in cycle and the NGC execution status is not Active.
([PCSDB.has_cycle_status_code] {101} = True) AND (([HaasNGC.cycle_status] != [[HaasNGC.CYCLING]) OR (([[HaasNGC.cycle_status] = [HaasNGC.CYCLING]) AND ([[HaasNGC.feedrate_override] != 100)))
Custom Expression can be created using the Expression Builder using predefined variables or custom defined variables. Click here for more detail.