How can we help?
CGTech VERICUT Precheck Constants and Variables
Overview
The results of a VERICUT Precheck can be used in expressions within DataXchange. This feature requires a DCI source and a specific license to integrate with the Vericut software.
Variables
VERICUT Precheck Status variables contain information about the results of the most recent Precheck performed by VERICUT. The results will be either 0 – Fail, 1 – Pass, or 2 – Not Checked. If a data item was checked by Precheck and matches the preprogrammed values it will marked as a Pass. If the values do not match it will be marked Fail. Any variables that were not checked by the most recent Precheck will be marked Not Checked. The Overall Status variable will be either Pass or Fail, the results of which are determined by the status of all checked data items. If any data items did not match the desired values, the overall will be a fail. Any items that were not checked are ignored by the Overall status.
The Time Elapsed and Time Elapsed Previous variables return the number of seconds since the most recent Precheck. The Timestamp and Timestamp Previous variables returns the exact time of the most recent Precheck.
Variable Name | Syntax | |
---|---|---|
VERICUT Precheck Status - Initial Location | [Vericut.precheck_status_location] | |
VERICUT Precheck Status - NC Program | [Vericut.precheck_status_nc_program] | |
VERICUT Precheck Status - Overall Pass/Fail Status | [Vericut.precheck_status_overall] | |
VERICUT Precheck Status - Parameters | [Vericut.precheck_status_parameters] | |
VERICUT Precheck Status - Time Elapsed | [Vericut.precheck_status_time] | |
VERICUT Precheck Status - Time Elapsed (Previous) | [Vericut.prev_precheck_status_time] | |
VERICUT Precheck Status - Timestamp | [Vericut.precheck_status_timestamp] | |
VERICUT Precheck Status - Timestamp (Previous) | [Vericut.prev_precheck_status_timestamp] | |
VERICUT Precheck Status - Tool Offsets | [Vericut.precheck_status_tool_offsets] | |
VERICUT Precheck Status - Work Offsets | [Vericut.precheck_status_work_offsets] |
Constants
Constant Name | Syntax | |
---|---|---|
Pass | [Vericut.PASS] | |
Fail | [Vericut.FAIL] | |
Not Checked | [Vericut.NOT_CHECKED] |
Default Expression
One VERICUT Precheck expression exists by default. This expression will send an email with detailed information about which variables passed or failed when a Precheck fails to pass validation.
([Vericut.precheck_status_time] != [Vericut.prev_precheck_status_time]) AND ([Vericut.precheck_status_overall] != 1)
Note that a Messaging Template Assignment will need to be created to associate the pre-made Message Template with the intended recipients. The Assignment will then need to be assigned to the expression. Detailed steps for setting up these notifications can be found here.