Any signal provided by the user

To configure any signal provided by the user as the Touchprobe source, adjust the following settings in MOVISUITE®:

  • Touchprobe source "User program"
  • Trigger signal source (in this example: DI02)
  • Trigger signal level (in this example: Rising edge)
  • Data source (in this example: Process output data[12])
  • PO data format
  • Modulo minimum/modulo maximum
  • (The number of processed decimal places must be taken into account. For example, if the position is being processed with 3 decimal places, a modulo maximum of 100.000 corresponds to the set value 100.000.)
  • Delay/cycle time of the process data
  • Number of decimal places

 

In this example, the data source of the Touchprobe function is the PO data word[12]. Assigning the signal generated by the user as the Touchprobe source is done via the following instruction in the IEC program.

The user must assign the signal cyclically in TaskHighPrio. Since the variable is processed as LREAL, the number of decimal places that are to be processed must also be indicated.