Thank you for your help. I did a few simple changes to the setup from:

viewtopic.php?f=8&t=6565, that I found useful: That way Temperature can be handle directly in Settings.

I use T0 to define the 16 tools(colors) in Temperature Tab in the FFF Settings, and I use T1 to set the temperature of the hotend.

---- Starting Script ----

; code above this line is generated by simplify3d

; -----------------------------------------------------

; --------------- Start Code Initialization -----------

G28 ; Move to Origin (Home)

G0 Z10

G0 Z15 ; was 5

G0 X0 Y0

G91 ; Set to relative positioning

; ----------------- Purge Extruders -----------------

G0 E8 F100 T2 ; Purge yellow

G0 E8 F100 T1 ; Purge magenta

G0 E8 F100 T0 ; Purge cyan

; --------------- 16 GRAY Palette ----------------

; CYAN 1

M163 S0 P1 ; P1 ; W ; C

M163 S1 P0 ; P0 ; T ; M

M163 S2 P0 ; P0 ; K ; Y

M164 S0

; Ocean 2

M163 S0 P2 ; P5

M163 S1 P1 ; P1

M163 S2 P0 ; P0

M164 S1

; Blue 3

M163 S0 P1 ; P5 ; P3 ; P1

M163 S1 P2 ; P3 ; P2 ; P1

M163 S2 P0 ; P0

M164 S2

; Violet 4

M163 S0 P1 ; P7 ; P3 ; P1

M163 S1 P3 ; P6 ; P4 ; P5

M163 S2 P0

M164 S3

; MAGENTA 5

M163 S0 P0 ; P0 ; C ; W

M163 S1 P1 ; P1 ; M ; T

M163 S2 P0 ; P0 ; Y ; K

M164 S4

; Raspberry 6

M163 S0 P0; P0

M163 S1 P5 ; P4 ; P5

M163 S2 P1 ; P1

M164 S5

; Red 7

M163 S0 P0 ; P0

M163 S1 P3 ; P7 ; P3/P1

M163 S2 P1 ; P3 ; P2/P1

M164 S6

; Orange 8

M163 S0 P0 ; P0

M163 S1 P1 ; P2 ; P1

M163 S2 P1 ; P4 ; P5

M164 S7

; YELLOW 9

M163 S0 P0 ; P0 ; C ; W

M163 S1 P0 ; P0 ; M ; T

M163 S2 P1 ; P1 ; Y ; K

M164 S8

; Spring-Green 10

M163 S0 P1 ; P2 ; P1

M163 S1 P0 ; P0

M163 S2 P1 ; P4 ; P5

M164 S9

; Green 11

M163 S0 P3 ; P1

M163 S1 P0 ; P0

M163 S2 P1 ; P1

M164 S10

; Turquoise 12

M163 S0 P6 ; P4 ; P5

M163 S1 P0 ; P0

M163 S2 P1 ; P1

M164 S11

; Cyan-Brown13

M163 S0 P3 ; P5 ; P2

M163 S1 P2 ; P3 ; P1

M163 S2 P1 ; P2 ; P1

M164 S12

; Magenta-Brown 14

M163 S0 P2 ; P3 ; P1

M163 S1 P3 ; P5 ; P2

M163 S2 P1 ; P2 ; P1

M164 S13

; Yellow-Brown 15

M163 S0 P3 ; P3 ; P1

M163 S1 P3 ; P2 ; P1

M163 S2 P2 ; P5 ; P2

M164 S14

; Brown 16

M163 S0 P1 ; P2; P1

M163 S1 P5 ; P2; P1

M163 S2 P1 ; P1; P1

M164 S15

; ---------------- Temperature and Color ---------

M104 S[extruder1_temperature] T0 ; Set Tool Temperature

M109 S[extruder1_temperature] ; Set Tool Temperature

M104 S[extruder0_temperature] T0 ; Set Tool Color change

; ---------------- Start Purge Line -----------------

G90 ; Set to absolute positioning

G0 X30 Z10 F1000 ; Move X and Z to start purge line

G92 E0 ; Initialize E to Zero

G1 Z0.0 F80 ; position Z axis

G91 ; Set to relative positioning

G1 Y10.0 E4 F600 ; Draw purging lines

G1 X75.0 E16 F600 ; ... draw a line

G1 Y-10.0 E4 F600 ; ... draw a line

G1 X-70.0 E14 F600 ; ... draw a line

G90 ; reset to absolute positioning

G92 E0 ; Initialize E to Zero

; -------------- Start Printing Part ----------------

--- Post processing ---

{STRIP "T"}

{REPLACE "M104 S1 T0" "T0"}

{REPLACE "M104 S2 T0" "T1"}

{REPLACE "M104 S3 T0" "T2"}

{REPLACE "M104 S4 T0" "T3"}

{REPLACE "M104 S5 T0" "T4"}

{REPLACE "M104 S6 T0" "T5"}

{REPLACE "M104 S7 T0" "T6"}

{REPLACE "M104 S8 T0" "T7"}

{REPLACE "M104 S9 T0" "T8"}

{REPLACE "M104 S10 T0" "T9"}

{REPLACE "M104 S11 T0" "T10"}

{REPLACE "M104 S12 T0" "T11"}

{REPLACE "M104 S13 T0" "T12"}

{REPLACE "M104 S14 T0" "T13"}

{REPLACE "M104 S15 T0" "T14"}

{REPLACE "M104 S16 T0" "T15"}

; {REPLACE "T20" "T0"}

; {REPLACE "M104" "M109"}

--- Ending Script ---

; End of G-code

T0

G91 ; set to relative positioning

G0 Z1 ; go up from current position 1mm

G90 ; set to absolute positioning

G28 X0 Y0 ; home x and y

G0 Z 75 ; move z at 75 mm

M104 S190 ; turn off extruder

M140 S0 ; turn off bed

G106 S0 ; turn of fan

G91 ; Set to relative positioning

G1 Z10 F1200

M84 ; disable motors