Data structures for job management
MCV_GRP_JOB_ID
TYPE MCV_GRP_JOB_ID :
STRUCT
JobID : UDINT;
IfcID : UINT;
END_STRUCT
END_TYPE
MCV_PATH_PARAM
TYPE MCV_PATH_PARAM :
STRUCT
PL : ARRAY[0..MCV_PATH_PARAM_MAXIDX] OF LREAL;
END_STRUCT
END_TYPE
MCV_PATH_PARAM_MAXIDX : UDINT := 19;
MCV_PATH_MODE
TYPE MCV_PATH_MODE :
STRUCT
InitialiseOnActualPosition : MCV_START_MODE;
SetDefaultConfig : MCV_START_MODE;
ReportSceneSample : MCV_START_MODE;
ReportRunTimeMeasure : MCV_START_MODE;
ReportAxesPositionSample : MCV_START_MODE;
END_STRUCT
END_TYPE
TYPE MCV_START_MODE : UDINT;
HLI_MC_JOB_STACK
TYPE HLI_MC_IFC_INDEX : UINT;
TYPE HLI_MC_IFC_CLASS : UINT;
TYPE HLI_MC_IFC_ID :
STRUCT
i_index : HLI_MC_IFC_INDEX;
i_class : HLI_MC_IFC_CLASS;
END_STRUCT
END_TYPE
TYPE HLI_MC_JOB_DESCR :
STRUCT
job_id : UDINT;
ifc_id : HLI_MC_IFC_ID;
END_STRUCT
END_TYPE
TYPE ARRAY_HLI_MC_JOB_DESC : ARRAY[0..HLI_MC_JOB_STACK_MAXIDX] OF HLI_MC_JOB_DESCR;
END_TYPE
TYPE HLI_MC_JOB_STACK :
STRUCT
count : UINT;
iterator : UINT;
fill_up_1 : UDINT;
job : ARRAY_HLI_MC_JOB_DESC;
END_STRUCT
END_TYPE
HLI_MC_JOB_STACK_MAXIDX : INT := 11;
MCV_GRP_JOB_STATE
TYPE MCV_GRP_JOB_STATE :
STRUCT
TimeStamp : UDINT;
ErrorID : WORD;
State : MCV_JOB_STATE;
(* See global constants in McpBase.lib MCV_JS_...*)
END_STRUCT
END_TYPE
MCV_GRP_JOB_STATUS
TYPE MCV_GRP_JOB_STATUS :
STRUCT
JobDesc : MCV_GRP_JOB_DESCRIPTION;
JobID : MCV_GRP_JOB_ID;
JobState : MCV_GRP_JOB_STATE;
END_STRUCT
END_TYPE
Paths of this structure:
NN.JobDesc.Comment
NN.JobID.JobNumber
NN.JobID.SourceNumber
NN.JobState.TimeStamp
NN.JobState.ErrorID
NN.JobState.State
MCV_GRP_JOB_DISPLAY
TYPE MCV_GRP_IFC_INDEX : UINT;
TYPE MCV_GRP _IFC_CLASS : UINT;
TYPE MCV_GRP_IFC_ID :
STRUCT
i_index : MCV_GRP_IFC_INDEX;
i_class : MCV_GRP_IFC_CLASS;
END_STRUCT
END_TYPE
TYPE MCV_GRP_JOB_DESCR :
STRUCT
ifc_id : MCV_GRP_IFC_ID;
job_id : UDINT;
END_STRUCT
END_TYPE
TYPE MCV_JOB_DISPLAY :
STRUCT
job : MCV_GRP_JOB_DESCR;
state : DINT;
END_STRUCT
END_TYPE
TYPE MCV_ARRAY_JOB_DISPLAY : ARRAY[0..MCV_JOB_STATE_LIST_MAXIDX] OF MCV_JOB_DISPLAY;
END_TYPE
MCV_JOB_STATE_LIST_MAXIDX : UINT := 19;
TYPE MCV_GRP_JOB_DISPLAY :
STRUCT
state : DINT;
number_of_jobs : UDINT;
job : MCV_ARRAY_JOB_DISPLAY;
END_STRUCT
END_TYPE
Paths of this structure:
NN.JobCount
NN.JobList[0].JobID.JobNumber
NN.JobList[0].JobID.SourceNumber
MCV_JOB_STOP_MODE
TYPE MCV_JOB_STOP_MODE:
STRUCT
JobID : MCV_GRP_JOB_ID;
JobSysInfo : MCV_GRP_JOB_SYS_INFO;
StopMode : MCV_STOP_MODE;
END_STRUCT
END_TYPE
HLI_MC_START_MODE_NOT_USED : INT := 0;
HLI_MC_START_MODE_OFF : INT := 1;
HLI_MC_START_MODE_ON : INT := 2;
HLI_MC_START_MODE_USE_ACTUAL : INT := 3;
MCV_GRP_JOB_INFO
TYPE MCV_GRP_JOB_INFO :
STRUCT
JobID : MCV_GRP_JOB_ID;
JobState : MCV_JOB_STATE;
JobSysInfo : MCV_GRP_JOB_SYS_INFO;
END_STRUCT
END_TYPE