{ --- matrix calculation for Left UP side --- }	
	!if_begin(use_Jeti_L_UP)
	!AMBL_calculate_matrix( {index} #m_Jeti_L_UP, {TargetMatrixNr} 2, {SourceGainFactorMatrixNr} 2)   {MES0 contains: MAX}	{MES1 contains: MIN}
	!check_value({idx} 0, {stepName} LUP_Mtx1, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXRR}
   	!check_value({idx} 1, {stepName} LUP_Mtx2, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXGR}
   	!check_value({idx} 2, {stepName} LUP_Mtx3, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXBR}
   	!check_value({idx} 3, {stepName} LUP_Mtx4, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXRG}
   	!check_value({idx} 4, {stepName} LUP_Mtx5, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXGG}
   	!check_value({idx} 5, {stepName} LUP_Mtx6, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXBG}
   	!check_value({idx} 6, {stepName} LUP_Mtx7, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXRB}
   	!check_value({idx} 7, {stepName} LUP_Mtx8, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXGB}
   	!check_value({idx} 8, {stepName} LUP_Mtx9, {lowlim}  0.0,  {highlim}   255, {unit} ## ) {MATRIXBB}
	
   	%MT58U_Send_command(AMBMTX2_MTK5593 = @MES:00_@MES:01_@MES:02_@MES:03_@MES:04_@MES:05_@MES:06_@MES:07_@MES:08_@MES:205_@MES:205_@MES:205)
	!delay(#mtx_comm_Delay)
	!check_value({idx} 0, {stepName} AMBMTK2, {lowlim} 0, {highlim} 0, {unit} ##)
	!if_begin(CMD_Fail)
			!Set_variable( STR, 51, " No UART communication, please check cable  ")
			!Call(1900)
	!if_end
	%MT58U_Send_command(AMBEXEC_MTX_MTK5593)
	!delay(#mtx_store_Delay)
	!check_value({idx} 0, {stepName} MTX2_EXEC, {lowlim} 0, {highlim} 0, {unit} ##)
	!if_begin(CMD_Fail)
			!Set_variable( STR, 51, " No UART communication, please check cable  ")
			!Call(1900)
	!if_end
	 
     !get_fs_parameter_int({fs_variable_name}product_status)			{ stores the value of a fs integer in MES[0] }
	 !evaluate_value({idx}0, {stepName}product_status, {lowlim}0, {highlim}0, {unit}#)
	 !If_begin(CMD_Fail)
	 !Set_variable( STR, 51, " Left UP matrix calculation Error!                          ")
	 !Call(1900)
	 !If_end	 	
	 !if_end