Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
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)

Schneider Electric Nigeria

Explore more
Product:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Product:

Need help?

  • Product Selector

    Quickly and easily find the right products and accessories for your applications.

  • Get a Quote

    Start your sales enquiry online and an expert will connect with you.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Help Centre

    Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings