Advanced Functions B - NEST Import
Advanced Functions B - NEST Import
configurator in B_NEST
Index
Csv file to import ............................................................................................................................................... 2
If Then Else .................................................................................................................................................... 2
Strings concatenation .................................................................................................................................... 2
Delete spaces or other characters:................................................................................................................ 2
Obtain pieces of a string ................................................................................................................................ 2
Verify conditions of a string........................................................................................................................... 3
Convert text in number ................................................................................................................................. 3
Use of the File name ...................................................................................................................................... 3
Conversion in mm of program parameters ................................................................................................... 3
Other mathematical operations on the program parameters ...................................................................... 3
Csv file to import
File name: ImportExample_Project.csv
$ Nome Tipo Valore
1 Name Text A01
2 Wood type Text TRU_WHITE
3 Program Name Text RECT_Param.bSolid
4 Description Text RECT_Param
5 Program parameters Text LPX=100 AA=’t’ REP=3
6 Quantity to do Text 9
If Then Else
Formula Value
($7=="true") ? 1 : 0 1
($2=="") ? "empty" : $2 TRU_WHITE
In brackets you have to insert the condition, after the “?” you have to put the value if the condition is TRUE,
while after the “:” you have to put the value if the condition is FALSE. [==→equal; !=→different;
>=→greater or equal; <=→less or equal]
Strings concatenation
Formula Value
$1+$2 Pezzo01TRU_WHITE
$1+”_”+$2 Pezzo01_TRU_WHITE
It is possible to specify only the parameter string to which to apply the mathematical operation, in this case
this operation will be applied to all parameters that are not of the type. It is also possible to specify one or
more program parameters for which the mathematical operation should not be applied.
With Fx.Sum you add or subtract quantities, with Fx.Mul you multiply or divide (multiplier <0) by a quantity