我們的品牌

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

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

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How to read/write real numbers from a M172 controller into Machine Scada Expert.

Issue:

Using the MOTCP driver to read and write real values to variables from a M172 controller into Machine SCADA Expert

and the values are not showing correctly in the SCADA or not written correctly to the controller.


Product Line:

EcoStruxure Machine SCADA Expert (all versions)


Resolution:

In Machine SCADA Expert, in the MOTCP driver help document, page 11 to 21, it is explained how to configure the Driver Sheets for the Main Driver Sheet and the Standard Driver Sheet.


In the Main Driver Sheet, when configuring the I/O Address field for a tag, it is required to follow the syntax:

<Type>:[Signed/Unsigned]<Address>[.Bit]

Where:

<Type> is the register type. Valid values are 0X, 1X, 3X, 4X, FP, FPSW, FP3, FP3SW, DF, DF3, DFS, DF3S, FP3S, DW,

FPS, DWS, DW3, DW3S, DWSW, BCD, BCD3, BCDDW, BCDDWS, BCDDW3, BCDDW3S, ID, HRW, DFSW, DF3SW.

[Signed/Unsigned] - This optional parameter is used for integer values only. Valid values are S (signed) and U

(unsigned). If this parameter is not specified, the Signed or Unsigned Value setting in the Communication

Settings dialog is used.

<Address> - Address of the device register.

Note: Modbus operands are base 1, which means that there are no 0 addresses, so only <Address> values

greater than zero are legitimate.

[.Bit] - This optional parameter is used only for 3X (Input Register) and 4X (Holding Register) data types. The

value specifies which bit on the register will be read from/written to.


So, to read a real number from a M172 controller, it is needed to set the type to FP.

The syntax will look like this: FP:8970


In a Standard Driver Sheet, the Type is configured the driver sheet Header.

Configure the Header field to specify the address of the first register

of a block of registers on the target device. The addresses declared in the Standard Driver Sheet Body

Address fields are offsets from this Header address. When Read/Write operations are executed for the entire

worksheet (see Studio Help Manual for more information), the application scans the entire block of registers

specified in the Header and Address fields, from the first address to the last.

Syntax for most operations (syntax for reading files is below):

<Type>:<AddressReference>

Where:

<Type> is the register type. Valid values are 0X, 1X, 3X, 4X, FP, FPSW, FP3, FP3SW, DF, DF3, DFS, DF3S, FP3S, DW,

FPS, DWS, DW3, DW3S, DWSW, BCD, BCD3, BCDDW, BCDDWS, BCDDW3, BCDDW3S, ID, HRW, DFSW, DF3SW, ST, STS, STU,

STUS.

<AddressReference> is the initial address (reference) of the device register.


As an example the Header of a Standard Driver Sheet to read real number would be: FP:8970.


Please refer to the MOTCP driver help document in the EcoStruxure Machine SCADA Expert software for more details.



If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance: Support | Schneider Electric Global (se.com)

施耐德電機Taiwan

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