- MainBoard 2.4.2와 호환
- 진입센서걸림 추가
   1. 알람 11 - 진입센서걸림 추가
   2. 진입센서가 이중지연값보다 오랜 시간동안 센싱되어 있을 때 알람 발생
      알람 발생 시, 장비 정지 신호 메인보드로 전송
   3. 알람 팝업
   3. 알람 해제 조건 : 정지 시
			
			
				master
			
			
				V2.6.0
			
		
							parent
							
								
									cb3d9f99a2
								
							
						
					
					
						commit
						6047eaef15
					
				| 
						 | 
					@ -63,7 +63,7 @@ namespace ITC81DB_2.Controls
 | 
				
			||||||
        private void DefaultSetting()
 | 
					        private void DefaultSetting()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig.SerialNumber;
 | 
					            this.labelSerialNo.Text = this.ParentForm.ParentForm.SystemConfig.SerialNumber;
 | 
				
			||||||
            this.labelDisplayVer.Text = "2.5.0";
 | 
					            this.labelDisplayVer.Text = "2.6.0";
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public void UpdateMainBoardVersionDisplay(string version)
 | 
					        public void UpdateMainBoardVersionDisplay(string version)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1225,6 +1225,7 @@ namespace ITC81DB_2
 | 
				
			||||||
        private bool m_IsEmergencyStop;
 | 
					        private bool m_IsEmergencyStop;
 | 
				
			||||||
        private bool m_IsDoorInterlock;
 | 
					        private bool m_IsDoorInterlock;
 | 
				
			||||||
        private bool m_IsEntryNotDetected;
 | 
					        private bool m_IsEntryNotDetected;
 | 
				
			||||||
 | 
					        private bool m_IsEntryStucked;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private DateTime m_StartTime;
 | 
					        private DateTime m_StartTime;
 | 
				
			||||||
        private DateTime m_StopTime;
 | 
					        private DateTime m_StopTime;
 | 
				
			||||||
| 
						 | 
					@ -1297,6 +1298,11 @@ namespace ITC81DB_2
 | 
				
			||||||
            get { return this.m_IsEntryNotDetected; }
 | 
					            get { return this.m_IsEntryNotDetected; }
 | 
				
			||||||
            set { this.m_IsEntryNotDetected = value; }
 | 
					            set { this.m_IsEntryNotDetected = value; }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					        public bool IsEntryStucked
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get { return this.m_IsEntryStucked; }
 | 
				
			||||||
 | 
					            set { this.m_IsEntryStucked = value; }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public DateTime StartTime
 | 
					        public DateTime StartTime
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
| 
						 | 
					@ -1599,6 +1605,7 @@ namespace ITC81DB_2
 | 
				
			||||||
            this.IsPressureSensingError = false;
 | 
					            this.IsPressureSensingError = false;
 | 
				
			||||||
            this.IsDoorInterlock = false;
 | 
					            this.IsDoorInterlock = false;
 | 
				
			||||||
            this.IsEntryNotDetected = false;
 | 
					            this.IsEntryNotDetected = false;
 | 
				
			||||||
 | 
					            this.IsEntryStucked = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.StartTime = new DateTime(1111, 11, 11, 11, 11, 11);
 | 
					            this.StartTime = new DateTime(1111, 11, 11, 11, 11, 11);
 | 
				
			||||||
            this.StopTime = new DateTime(1111, 11, 11, 11, 11, 11);
 | 
					            this.StopTime = new DateTime(1111, 11, 11, 11, 11, 11);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -303,11 +303,15 @@ namespace ITC81DB_2.Forms
 | 
				
			||||||
            { }
 | 
					            { }
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
            { }
 | 
					            { }
 | 
				
			||||||
            // 알람 11-
 | 
					            // 알람 11-진입센서걸림
 | 
				
			||||||
            if (sValue3[1] == '0')
 | 
					            if (sValue3[1] == '0')
 | 
				
			||||||
            { }
 | 
					                data.IsEntryStucked = false;
 | 
				
			||||||
            else
 | 
					            else
 | 
				
			||||||
            { }
 | 
					            {
 | 
				
			||||||
 | 
					                data.IsEntryStucked = true;
 | 
				
			||||||
 | 
					                if (this.CurrentSystemStatus.Equipment == DataStore.EquipmentStatus.Start)
 | 
				
			||||||
 | 
					                    this.TransferData(CommunicationCommand.Stop, CommunicationID.MainBoard);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
            // 알람 10-
 | 
					            // 알람 10-
 | 
				
			||||||
            if (sValue3[2] == '0')
 | 
					            if (sValue3[2] == '0')
 | 
				
			||||||
            { }
 | 
					            { }
 | 
				
			||||||
| 
						 | 
					@ -900,7 +904,7 @@ namespace ITC81DB_2.Forms
 | 
				
			||||||
                        this.SaveCounterFile2(this.CurrentWeightData2, this.SystemConfig.ProductNumber - 1);
 | 
					                        this.SaveCounterFile2(this.CurrentWeightData2, this.SystemConfig.ProductNumber - 1);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    // 운전 시, 진입센서 미감지 Pop up 창 자동 Close
 | 
					                    // 운전 시, Pop up 창 자동 Close
 | 
				
			||||||
                    this.ChildFormMainDisplay.PopUpWarningClose();
 | 
					                    this.ChildFormMainDisplay.PopUpWarningClose();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    if (this.CurrentSystemStatus.CurrentDisplay == DataStore.DisplayStore.MainDisplay)
 | 
					                    if (this.CurrentSystemStatus.CurrentDisplay == DataStore.DisplayStore.MainDisplay)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -193,6 +193,8 @@ namespace ITC81DB_2.Forms
 | 
				
			||||||
                if (this.AlarmListBool[4] != data2.IsEntrySensorError) flagChange = true;
 | 
					                if (this.AlarmListBool[4] != data2.IsEntrySensorError) flagChange = true;
 | 
				
			||||||
                if (this.AlarmListBool[5] != data1.IsEntryNotDetected) flagChange = true;
 | 
					                if (this.AlarmListBool[5] != data1.IsEntryNotDetected) flagChange = true;
 | 
				
			||||||
                if (this.AlarmListBool[6] != data2.IsEntryNotDetected) flagChange = true;
 | 
					                if (this.AlarmListBool[6] != data2.IsEntryNotDetected) flagChange = true;
 | 
				
			||||||
 | 
					                if (this.AlarmListBool[7] != data1.IsEntryStucked) flagChange = true;
 | 
				
			||||||
 | 
					                if (this.AlarmListBool[8] != data2.IsEntryStucked) flagChange = true;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.AlarmListBool.Clear();
 | 
					            this.AlarmListBool.Clear();
 | 
				
			||||||
| 
						 | 
					@ -203,6 +205,8 @@ namespace ITC81DB_2.Forms
 | 
				
			||||||
            this.AlarmListBool.Add(data2.IsEntrySensorError);
 | 
					            this.AlarmListBool.Add(data2.IsEntrySensorError);
 | 
				
			||||||
            this.AlarmListBool.Add(data1.IsEntryNotDetected);
 | 
					            this.AlarmListBool.Add(data1.IsEntryNotDetected);
 | 
				
			||||||
            this.AlarmListBool.Add(data2.IsEntryNotDetected);
 | 
					            this.AlarmListBool.Add(data2.IsEntryNotDetected);
 | 
				
			||||||
 | 
					            this.AlarmListBool.Add(data1.IsEntryStucked);
 | 
				
			||||||
 | 
					            this.AlarmListBool.Add(data2.IsEntryStucked);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            foreach (bool listBool in this.AlarmListBool)
 | 
					            foreach (bool listBool in this.AlarmListBool)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					@ -254,6 +258,22 @@ namespace ITC81DB_2.Forms
 | 
				
			||||||
                else
 | 
					                else
 | 
				
			||||||
                    this.PopUpWarning("Entry not detected");
 | 
					                    this.PopUpWarning("Entry not detected");
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            if (data1.IsEntryStucked == true)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                this.MainDisplayAlarm.listBoxMessage.Items.Add("#1 Entry Sensor Stucked");
 | 
				
			||||||
 | 
					                if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
 | 
				
			||||||
 | 
					                    this.PopUpWarning("진입센서 이상");
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                    this.PopUpWarning("Entry Sensor Stucked");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            if (data2.IsEntryStucked == true)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                this.MainDisplayAlarm.listBoxMessage.Items.Add("#2 Entry Sensor Stucked");
 | 
				
			||||||
 | 
					                if (this.ParentForm.SystemConfig.Language == DataStore.LanguageID.Korean)
 | 
				
			||||||
 | 
					                    this.PopUpWarning("진입센서 이상");
 | 
				
			||||||
 | 
					                else
 | 
				
			||||||
 | 
					                    this.PopUpWarning("Entry Sensor Stucked");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (flagChange == true && this.MainDisplayAlarm.listBoxMessage.Items.Count > 0)
 | 
					            if (flagChange == true && this.MainDisplayAlarm.listBoxMessage.Items.Count > 0)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,9 +13,21 @@
 | 
				
			||||||
	2열 기본형 컨베어 계량기
 | 
						2열 기본형 컨베어 계량기
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@ Ver 2.6.0 by CJY
 | 
				
			||||||
 | 
						- 2022.12.06
 | 
				
			||||||
 | 
						- Ver 2.5.0 Modify
 | 
				
			||||||
 | 
						- MainBoard 2.4.2와 호환
 | 
				
			||||||
 | 
						- 진입센서걸림 추가
 | 
				
			||||||
 | 
						  1. 알람 11 - 진입센서걸림 추가
 | 
				
			||||||
 | 
						  2. 진입센서가 이중지연값보다 오랜 시간동안 센싱되어 있을 때 알람 발생
 | 
				
			||||||
 | 
						     알람 발생 시, 장비 정지 신호 메인보드로 전송
 | 
				
			||||||
 | 
						  3. 알람 팝업
 | 
				
			||||||
 | 
						  3. 알람 해제 조건 : 정지 시	     
 | 
				
			||||||
 | 
						
 | 
				
			||||||
@ Ver 2.5.0 by CJY
 | 
					@ Ver 2.5.0 by CJY
 | 
				
			||||||
	- 2022.12.05
 | 
						- 2022.12.05
 | 
				
			||||||
	- Ver 2.4.0 Modify
 | 
						- Ver 2.4.0 Modify
 | 
				
			||||||
 | 
						- MainBoard 2.3.7과 호환
 | 
				
			||||||
	- 제품진입 미감지 기능 추가(레드마인 #2818 참고)
 | 
						- 제품진입 미감지 기능 추가(레드마인 #2818 참고)
 | 
				
			||||||
	  -> 사용 전제조건 : 영점 잡을 시간이 있어야 함
 | 
						  -> 사용 전제조건 : 영점 잡을 시간이 있어야 함
 | 
				
			||||||
	  1. 엔지니어 설정 '제품진입 미감지' 0.0 초과일 경우, 기능 작동
 | 
						  1. 엔지니어 설정 '제품진입 미감지' 0.0 초과일 경우, 기능 작동
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
		Loading…
	
		Reference in New Issue