브랜드

Impact-Company-Logo-English Black-01-177x54

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.
		
오늘 무엇을 도와드릴까요?
Scheduled Reset of Daily and Monthly Counters in SCADAPack Logic

In many SCADAPack applications, it's essential to reset counters at regular intervals to track daily and monthly metrics accurately. This article outlines a logic-based approach to resetting counters at scheduled times using function blocks.


Objective

  • Daily Counters: Reset automatically at midnight every day.
  • Monthly Counters: Reset automatically at midnight on the first day of each month.

Approach

To achieve this, the logic uses the Schedule Function Block (FFB) to trigger resets at specific times:

  • A schedule is configured to activate at 00:00 (midnight) daily.
  • A separate schedule is configured to activate at 00:00 on the first day of each month.

These scheduled triggers are then linked to logic that resets the respective counters.


Logic Overview

The combined logic includes:

  • Daily Reset Logic: Activated by the daily schedule FFB, which resets all daily counters.
  • Monthly Reset Logic: Activated by the monthly schedule FFB, which resets all monthly counters.

This ensures that counters are cleared at the correct intervals without manual intervention.

Below is the sample logic for the same

Monthly Reset Logic

Monthly Reset logic

Monthly Reset Logic:

Reset Logic

슈나이더 일렉트릭 Korea

자세히 알아보기
제품군
자세히 알아보기
제품군
  • 제품 문서
  • 소프트웨어 다운로드
  • 제품 선택기
  • 제품 대체 및 교체
  • 지원 및 연락처 센터
  • 영업소 검색
  • 견적 받기
  • 슈나이더 일렉트릭 커뮤니티
  • 채용
  • 회사 소개
  • 부정 행위 보고
  • 접근성
  • 뉴스룸
  • 투자자
  • Ecostruxure
  • 작업 검색
  • 블로그
  • 개인정보 취급방침
  • 쿠키 공지
  • 사용 약관
  • Change your cookie settings