Post-Processor Variables - @@LOGICAL@@
In the post processor block definitions for the layout of SPF and MPF there are numerous logical variables that can be used. These have the format @@NAME@@ for example @@LAB-AX-1@@. In this case the LAB-AX-1 is the axis name label for axis 1 (the mandrel rotation). So if the mandrel rotation axis label has been set to 'A' then wherever @@LAB-AX-1@@ is specified the value (in this case 'A' will be applied).
There are numerous logicals, some will be essential for creating a working program, some can be used to add optional information to the program for example @@CADFIL-VERSION@@ can be used to add the version of Cadfil being used to the program.
@@FEED@@
Current value of feed-rate or speed variable
@@LINE-NUMBER-SPF@@ & @@LINE-NUMBER-MPF@@
Current SPF and MPF program line numbers.
@@LAB-AX-n@@ (where n can be 1 to 6)
These are the names (labels) for axes 1 to 6
@@AX-INC-n@@ (where n can be 1 to 6)
Is the current increment motion value for axis n
@@POS-n@@ (where n can be 1 to 6)
Is the current absolute machine position value for axis n
@@SPOS-n@@ (where n can be 1 to 6)
Is the absolute machine
position of the very first position (the start position) for axis n
@@NO-PASSES@@
Is the number of circuits for the current SPF
@@CADFIL-VERSION@@
The current Cadfil version e.g. 7.35
@@DATE@@
Gives the value windows reports for current date and time in the following format 06-NOV-07 08:38:07
@@MDF-NAME@@
The name of the post processor configuration (.sm file) being used.
@@SPF-NAME@@
The name of the current SPF (often the current payout file name)
@@MPF-NAME@@
The name of the MPF
@@CTL-FILE-NAME@@
Name of the CTL file when multiple layer programs are being processed if there is no CTL file this is the name as @@MPF-NAME@@
@@Qn@@ (where n takes the values to 4)
These are the 4 terms of the quaternion function for post-processing using a industrial robot. The four Q values Q1,Q2,Q3& Q4 define angular the orientation of the payout eye (robot tool).
@@BLANK-LINE@@
Adds an empty line (a line with a single space)
@@TENSION-VALUE-n@@ (where names takes the value 1 to 3)
In the sm file there user can define up to 3 tensions values. For example these could be high medium and low tension. This function inserts the value of tension defined.
@@RMAX@@
Maximum radius in the current mandrel
(only valid for axisymmetric mandrels)
@@RCLR@@
Default mandrel clearance distance from current payout file
@@ANR-TXT@@
@@BLOCK-START-POSN@@
This is a special logical which is found in the MPF block definition and inserts a line or number of lines that define the start point and subroutine call for the SPF. This is defined as a separte block as a program with multiple subprograms will use this block several times. To understand this function is is easier to look at a working example of an SM file.
@@CADFIL-VERSION@@
Current Cadfil Version, e.g. 7.34
@@PAY-FILE-NAME@@
Name of current payout path file
@@BANDWIDTH@@
Width of the fibre band for the current SPF (payout file)
@@XDAT@@
Mandrel Xdatum value
@@USER-NAME@@
Name of logged in user reported by windows
@@FIRST-SPF-ONLY@@
This is a special function variable.
In the program block definitions and line contain this value will only be
processed on the first occurrence. This could be used for example in the styart
postion block to have a stop code (NC - M00) for the first SPF start only to tie
in the fibres.
@@DTIME@@
Incremental time for current motion.
@@WTIME@@
Current winding machine time from start of program to current position.
@@TOT-FIB-LEN@@
Total length of fibre wound in program
@@P38-TAPE-LAY-ANG@@
@@P38-TAPE-THICK@@
@@P38-TAPE-WIDTH@@
@@P38-ACTION-UPPER@@
@@P38-ACTION-LOWER@@
@@P38-TAPE-SPEED@@
@@P38-CONE-HALF-ANGLE@@
@@P38-START-DIAMETER@@
@@P38-WIND-LENGTH@@
@@P38-REVS-BEFORE-COOLING@@
These 'P38' parameters are specific only the the tape edge winding parametric program and are documental elsewhere.
@@FIBER-TEX@@
@@FIBER-NAME@@
@@FIBER-TYPE@@
@@FIBER-NUM-ROVINGS@@
@@FIBER-ROVING-WIDTH@@
@@FIBER-MASS-PERCENT@@
@@FIBER-VOLUME-PERCENT@@
@@RESIN-NAME@@
@@RESIN-TYPE@@
The above parameters relate to the
fibre & resin properties from the materials database that have been saved in the
current payout file.
@@MASS-RESIN@@
The current estimate of the mass of resin used during winding, assuming the user has selected the correct material parameters. The fibre amount is known. the resin is from the specified resin fraction & resin density. Caution, this will be the current value and it is cumulative. If you have this at the end of the MPF it will be the total. If you have after each layer it will be the current value and will increase layer by layer.
@@MASS-FIBRE@@
The current estimate of the mass of fibre used. See @@MASS-RESIN@@.
@@MASS@@
Current wound mass of composite. It is equal to @@MASS-FIBRE@@+@@MASS-RESIN@@.