我們的品牌

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

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

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to Change the byte´s Order for Floating Point under Modnet Protocol in PLS

The tag with Real and Long data type is 2 words (4 Bytes) format. It is allowed to change the reading order of the bytes on PLS by change the parameter in citect.ini file for MODNET protocol.
Modnet20 is specified for TSX Quantum PLC ranges. These protocol options will select the correct addressing modes, select certain INI values and other settings to provide compatibility with these devices without the need to set any other special parameters. Base on the default setting, some of parameters cannot be changed. Therefore, it is recommended to use Modnet protocol.

Please use the parameter to change the byte order for Real data type
[MODNET]
FloatMode = x where x is 0, 1, 2 or 3
Allowable Values:
0: Order of bytes = 1 0 3 2
1: Order of bytes = 3 2 1 0
2: Order of bytes = 0 1 2 3
3: Order of bytes = 2 3 0 1
Default Value: 0

In the MODNET protocol, LONG data types default to a simplified implementation, with a shortened range of 0 to 655,359,999 - mode 0. Mode 2 has the same range as mode 0, but with the register order swapped. Mode 1 supports the full LONG range of -2,147,483,648 to +2,147,483,647. Mode 3 has the same range as mode 1, but with the register order swapped.
When using the MODBUS protocol, CitectSCADA combines two registers to store a long data type in a PLC. The way in which it does this is defined by this parameter in the "citect.ini" file.

[MODNET]
LongDataType = y where y is 0, 1, 2 or 3
Allowable Values:
0 - implies 10,000 * low register + high register
1 - implies 65,536 * low register + high register
2 - implies 10,000 * high register + low register
3 - implies 65,536 * high register + low register
Default Value: 3


Last Revised: 09 Apr 2010
Original Author: EF
Public
All content © 1992-2010 Schneider Electric


Legacy KB System (APS) Data: RESL201943 V1.0, Originally authored by KBAdPM on 04/13/2010, Last Edited by KBAdPM on 04/13/2010
Related ranges: PowerLogic SCADA 7.1

施耐德電機Taiwan

需要協助?

  • 從這裡開始!

    現在就找尋答案。自行搜尋解決方案,或與我們的專家聯絡。

  • 聯絡客服

    聯繫我們的客戶服務團隊以獲得更多資訊、技術支援、投訴協助等。

  • 購買地點

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

  • 瀏覽 FAQ

    瀏覽主題相關常見問題 (FAQ),藉此取得您所需要的答案。

  • 聯絡業務

    歡迎您線上提問,將有專家與您聯絡。

我願意透過電子通訊方式(如電子郵件)從施耐德電機及其附屬公司接收新聞和商業資訊,我也同意他們收集這些電子郵件的開啟和點擊資訊(使用隱藏式追蹤像素),以衡量溝通效益並優化這些資訊。如您需更多詳細資訊,請參閱施耐德電機的 隱私權政策

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