我們的品牌

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

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How can I synchronize the clock between a M340 PLC and a Magelis HMI? Program must read the real time clock from the PLC and automatically set the clock on the Magelis Panel.

Article available in these languages: 日文

Issue
Syncing Magelis TOD Clock from M340 PLC.

Product Line
Magelis
Modicon M340

Resolution
In the Vijeo Designer Project:

1.  In the IO Manager section of your Vijeo Designer project, select the Modbus EQUIPMENT that you wish to sync your time from.
2.  You will see the Dialog table in the Property Inspector.  Select the eclipse to open the Dialog Table Settings window.
3.  You will need to check the box in the top left corner to enable the dialog table.
4.  Then input a memory word address into the Start Address field. The memory word address should be the address in the Unity processor that is not used in logic.
5.  Select the Add button.
6.  Scroll to the 33rd function called Set terminal clock.  Keep in mind that the Set PLC clock takes up 4 words.
7.  Change the Time format for the Terminal to BCD.
8.  Then select OK

In the example below, I am inputting %MW100 which means it will allocate %MW100-103.

img1

In the Unity Pro Project:

1.  Create a variable, name it what you like, and select "DT" as the Type.
2.  Use the same address that you called out in Vijeo Designer.
3.  Create or add to a FBD section.  Place a block called "RRTC_DT"
4. Connect the variable that you created to the out pin.

img2
img3

Build and download both projects and you will find that the time on the Magelis now reflects the time on the M340.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings