Export Template Syntax
Each export template consists of:
  • Comments — lines starting with ! are assumed as comments and won’t show up in final output.
  • Text — plain text is adopted unchanged in final output.
  • Keywords — are enclosed in delimiters and process a specific task. They will be replaced with system or option values in final output.
  • Control Structures — defining the structure of the output. Control structures enclose at least one template line and won’t show up in final output.
  • Placeholders — defining variable content. Placeholders are enclosed in delimiters and will be replaced with parameter values in final output.
Example
Following paragraph shows a simplified version of the template <configuration directory>\export\ASCII\my_burnsheet_format.txt:
! A simplified version of export ASCII
Version: #SE_VERSION#
User: #SE_USER#

HEADER:ID;NAME;X;Y;Z;C;
ELECTRODE_START
#id#;#partname#;#x_pos#;#y_pos#;#z_pos#;#z_angle#;
ELECTRODE_END
Description of the Template
Template Line Description
! A simplified version of export ASCII Comment
Version: #SE_VERSION# Keyword
Date: #SE_DATE# Keyword
Text
HEADER: ID;NAME;X;Y;Z;C; Text
ELECTRODE_START Control Structure — Begin
#id#;#partname#;#x_pos#;#y_pos#;#z_pos#;#z_angle# Placeholders and Delimiters
ELECTRODE_END Control Structure — End
Result
Template Line Description
Version: 16.0 Keyword
Date: 13.11.2023 Keyword
Text
HEADER: ID;NAME;X;Y;Z;C; Text
1;SE_JS748100_AS_EDM_01;-15.800;3.375;5.000;0.000; Output for 1st position of electrode 1
1;SE_JS748100_AS_EDM_01;15.800;3.375;5.000;0.000; Output for 2nd position of electrode 1
1;SE_JS748100_AS_EDM_01;-15.800;-3.375;5.000;180.000; Output for 3rd position of electrode 1
1;SE_JS748100_AS_EDM_01;15.800;-3.375;5.000;180.000; Output for 4th position of electrode 1
2;SE_JS748100_AS_EDM_02;0.000;-12.150;-5.570;0.000; Output for 1st position of electrode 2
2;SE_JS748100_AS_EDM_02;0.000;12.150;-5.570;0.000; Output for 2nd position of electrode 2
Definition of Placeholders
Placeholders must be enclosed in delimiter defined with export option SE_EXPORT_IDENTIFIER. placeholders can be formed from parameter names or parameter defaults.
Parameter Default: #partname#
Parameter Name: #edm_name#
Control Structures
Control structures are used to write output for a subset of the CAD models. They can enclose any number of lines with placeholders, text or a combination of both. Nested structures are possible, but no overlapping.
  • UNIQUE_ELECTRODE_START - UNIQUE_ELECTRODE_END
    Repeat paragraph for all electrode models valid for data output. It’s recommended to prefer UNIQUE_ELECTRODE_START over ELECTRODE_START.
    ELECTRODE_START
    #id#;#partname#;#x_pos#;#y_pos#;#z_pos#;#z_angle#;
    ELECTRODE_END
    
  • ELECTRODE_START - ELECTRODE_END
    Repeat paragraph for all electrode models valid for data output.
    ELECTRODE_START
    #id#;#partname#;#x_pos#;#y_pos#;#z_pos#;#z_angle#;
    ELECTRODE_END
    
     Note
    For export configurations of type SE_EXPORT_TYPE TXT — like “ASCII” in installation state — ELECTRODE_START behaves like LOOP_ELECTRODE_POSITION_START.
  • ELECTRODE_FILTER_START - ELECTRODE_FILTER_END
    Repeat paragraph for all positions of electrode active in parent paragraph. Normally nested within ELECTRODE_START — ELECTRODE_END.
    ELECTRODE_START
    		#id#;#partname#;
    		ELECTRODE_FILTER_START
    			#x_pos#;#y_pos#;#z_pos#;#z_angle#;
    		ELECTRODE_FILTER_END
    ELECTRODE_END
    
  • LOOP_ELECTRODE_POSITION_START — LOOP_ELECTRODE_POSITION_END
    Repeat paragraph for all valid electrode positions. Behaves similar to ELECTRODE_FILTER_START, but no nesting required.
    LOOP_ELECTRODE_POSITION_START
    #id#;#partname#;#x_pos#;#y_pos#;#z_pos#;#z_angle#;
    LOOP_ELECTRODE_POSITION_END
    
  • ELECTRODE_OVERBURN_VALUE_START — ELECTRODE_OVERBURN_VALUE_END
    Repeat paragraph for all defined undersize values. Sequence of processing: &overburn1, &overburn2, &overburn3, &overburn4. Normally nested within UNIQUE_ELECTRODE_START or LOOP_ELECTRODE_POSITION_START.
    LOOP_ELECTRODE_POSITION_START
    		#id#;#partname#;#x_pos#;#y_pos#;#z_pos#;
    		ELECTRODE_OVERBURN_VALUE_START
    			#x_pos#;#y_pos#;#z_pos#;#z_angle#;
    		ELECTRODE_OVERBURN_VALUE_END
    LOOP_ELECTRODE_POSITION_END
    
  • LOOP_QUANTITY_BY_OVERBURN_START — LOOP_QUANTITY_BY_OVERBURN_END
    Repeat paragraph for each element from 1 to quantity for all valid undersizes. Sequence of processing:
    • 1..&overburn_qty1
    • 1..&overburn_qty2
    • 1..&overburn_qty3
    • 1..&overburn_qty4
    Normally nested within UNIQUE_ELECTRODE_START.
    UNIQUE_ELECTRODE_START
    		#id#;#partname#;#x_pos#;#y_pos#;#z_pos#;
    		LOOP_QUANTITY_BY_OVERBURN_START
    			#SE_EDM_GAP_COUNTER# !roughing: 1; semi-finishing: 2; finishing: 3;fine-finishing: 4;
    			#SE_EDM_GAP_NAME# !option SE_EDM_GAP_IDENTIFIERS. roughing: V; semi-finishing: VV; finishing: VVV;fine-finishing: VVV;
    			#SE_EDM_GAP_QUANTITY# !quantity of current gap; refers to &overburn_qty1, ...
    		LOOP_QUANTITY_BY_OVERBURN_END
    UNIQUE_ELECTRODE_END
    
  • ELECTRODE_CMM_START - ELECTRODE_CMM_END
    Write output for all measuring points for active electrode. Normally nested within ELECTRODE_START — ELECTRODE_END.
    ELECTRODE_START
    		#id#;#partname#;
    		ELECTRODE_FILTER_START
    			#x_pos#;#y_pos#;#z_pos#;#z_angle#;
    		ELECTRODE_FILTER_END
    		ELECTRODE_CMM_START
    			#x#;#y#;#z#;#i#;#j#;#k#;
    		ELECTRODE_CMM_END
    ELECTRODE_END
    
  • WORKPIECE_START - WORKPIECE_END
    Write ouput for all workpieces in assembly.
    WORKPIECE_START
    		#partname#;#x_size#;#y_size#;#z_size#
    WORKPIECE_END
    ELECTRODE_START
    		...
    ELECTRODE_END