%%%
  VERSION: 1
  LANGUAGE: ENGLISH
%%%

MODULE DPTEXT (SYSMODULE, NOSTEPIN, READONLY)

! ----------------
! $Revision: 1.6 $
! ----------------

!---------------------------------------
! G L O B A L  D A T A
!---------------------------------------

  CONST string Version_DPTEXT := "3.2.0";
! Description:
! CONST string Version_XXXXXXXX := "1.2.3";
!
!          XXXXXXXX - Module name
!                 1 - version number  (changed of SEROP)
!                 2 - revision number (changed of SEROP)
!                 3 - revision number (for external use)

!Error messages: header (max 24 char), reason (max 40 char), reason (max 40 char)

 CONST string stErrMess{21,3}:=[["dp01: Dispense Error","Not possible to start without","On argument."],
                                ["dp02: Dispense Error","Value for DPUSER data dp_fl1_corr","is out of limits."],
			        ["dp03: Dispense Error","Value for DPUSER data dp_fl2_corr","is out of limits."],
				["dp04: Dispense Error","Value for flow1_type in beaddata","is out of limits."],
				["dp05: Dispense Error","Value for flow2_type in beaddata","is out of limits."],
				["dp06: Dispense Error","Not possible to use two On","instructions in sequence."],
		                ["dp07: Dispense Error","Value for fl1_delay in equipdata","is out of limits."],
				["dp08: Dispense Error","Value for fl2_delay in equipdata","is out of limits."],
				["dp09: Dispense Error","Value for ref_speed in equipdata","is out of limits."],
				["dp10: Dispense Error","Value for equip_no in beaddata","is out of limits."],
				["dp11: Dispense Error","Unexpected Stop.","Stopped while dispensing was active."],
				["dp12: Dispense Error","Unknown error during dispensing.",""],
				["dp13: Dispense Error","Value for DPUSER data dp_nof_equip","is out of limits."],
				["dp14: Dispense Error","Value for flow1 in beaddata","is out of limits."],
				["dp15: Dispense Error","Value for flow2 in beaddata","is out of limits."],
				["dp16: Dispense Error","Value for fl1_corr in equipdata","is out of limits."],
				["dp17: Dispense Error","Value for fl2_corr in equipdata","is out of limits."],
				["dp18: Dispense Error","Not possible to change equipment","in the middle of a string."],
				["dp19: Dispense Error","Value for acc_max or decel_max","in equipdata is too low."],
				["dp20: Dispense Error","The calculated flow value","is out of limits"],
				["dp21: Dispense Error","fl1_delay or fl2_delay in equipdata","is out of limits"]];
	
!Error message reason (max 40 char)
 CONST string stErrCont:="Dispensing is restarted in next On instr";
 CONST string stErrCont1:="Restart (type 1) will be performed.";
 CONST string stErrCont2:="Restart (type 2) will be performed.";
 CONST string stErrContLim:="dp_restart_type value out of limits.";

!Restart messages:
!                                 "<              40 char                 >"

 CONST string stRestartMess1{5}:=["The process was interrupted close to",
                                  "start or end of of a bead. The bead",
                                  "quality after restart has to be",
                                  "checked!",
                                  "Select Query to change to restart type 1"];

 CONST string stRestartMess2{5}:=["Not possible to restart current bead.",
                                  "Dispensing is restarted in next ON",
                                  "instruction.",
                                  "",
                                  ""];

 CONST string stRestartMess3{5}:=["It is possible to restart current bead",
                                  "Dry or Wet. Before restart it is",
                                  "possible to move the TCP backward on",
                                  "the path.",
                                  ""];
!
!The first line in stRestartMess4 is reduced to max 39 char. (Current key
!number will be added automatically).
!
 CONST string stRestartMess4{5}:=["Use programmable key number: ",
                                  "The TCP is moved backward on the path",
                                  "slowly, as long as the key is pressed.",
                                  "",
                                  ""];

 CONST string stRestartMess5{5}:=["NB! When Bwd is pressed the TCP is ",
                                  "moved slowly backward on the path.",
                                  "The distance is predefined in DPUSER.",
                                  "",
                                  ""];

 CONST string stRestartMess6{5}:=["It is now possible to restart current",
                                  "bead Dry or Wet.",
                                  "",
                                  "",
                                  ""];

 CONST string stRestartMess7{5}:=["Not possible to move the robot backward",
                                  "on the path desired distance.",
                                  "From current position it is possible",
                                  "to restart Dry or Wet.",
                                  ""];

!Restart push button texts:

 CONST string stQuery:=    "Query";
 CONST string stContinue:= "Cont";
 CONST string stWet:=      "Wet";
 CONST string stDry:=      "Dry";
 CONST string stBackward:= "Bwd";
 
ENDMODULE

