Nhãn hiệu của chúng tôi

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

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
Setting a controllers TOD (time of day clock) with Concept IEC logic.

Goals and Symptoms

The attached code shows an example of how to set the controllers TOD with IEC FBD logic.

Causes and Fixes

Step
Action
Description
1
Write a value of 0000H to the TOD control registerThis stops the clock.
2
Write the new TOD data to the clock registersThese are the values the clock will start from when the final command is processed.
3
Write a value of 8000H to the TOD control registerThis commands the TOD to read in the new values. Once the PLC is finished reading in the new data, the register will return a value of 2000H.
4
Write a value of 4000H to the TOD command registerThis starts the clock. Once running, the TOD registers will be updating and the TOD command register will return a value of 6000H.

The steps above must be done one per scan so the solve order in the example code is important for this function.

sddfg
sdfhj

The controllers TOD clock is set to start at register 400001.
dfg

Step #1:
dsfg
The operation is initiate by setting Boolean Stop_Clock to rising edge 1.
The variable Stop_Code (0000Hex) is sent to the TOD control register thus stopping the clock.
Setting rising edge Boolean Set_Time to 1.

Step#2

From the previous step Set_Time is a logical one, thus enabling all of the MOVE blocks which contain the desired replacement time values.
dfgh
The last MOVE block triggers a rising edge READ_CLOCK sending READ_CODE 8000Hex to the TOD control register.

Step#3
The next scan Start_Code 4000Hex is sent to the TOD control register starting the clock with the previously loaded replacement time values.

Legacy KB System (APS) Data: RESL169004 V1.0, Originally authored by on , Last Edited by on
Related ranges: Concept

Schneider Electric Việt Nam

Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cộng đồng Schneider Electric
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings