About the Book

Document Scope

This document describes an application example for implementing read and write access to a file in comma-separated values (CSV) format using the FileFormatUtility library.

Since the example described in this document is intended for learning purposes only, it must not be used directly on products that are part of a machine or process.

 WARNING
UNINTENDED EQUIPMENT OPERATION
Do not include the code from this example in your machine or process without thoroughly testing your entire application.
Failure to follow these instructions can result in death, serious injury, or equipment damage.

This document and its related EcoStruxure Machine Expert project file focus on specific functions and function blocks of the Schneider Electric libraries provided with EcoStruxure Machine Expert, and on specific features available in EcoStruxure Machine Expert if these features are related to these libraries. They are intended to help you understand how to develop, test, commission, and integrate applicative software of your own design on control systems.

It is intended for new EcoStruxure Machine Expert users who already have some degree of expertise in the design and programming of control systems.

Validity Note

This document has been updated for the release of EcoStruxureTM Machine Expert V2.0.1.

The characteristics that are described in the present document, as well as those described in the documents included in the Related Documents section below, can be found online. To access the information online, go to the Schneider Electric home page www.se.com/ww/en/download/.

The characteristics that are described in the present document should be the same as those characteristics that appear online. In line with our policy of constant improvement, we may revise content over time to improve clarity and accuracy. If you see a difference between the document and online information, use the online information as your reference.

Related Documents

Document title

Reference

EcoStruxure Machine Expert Programming Guide

EIO0000002854 (ENG);

EIO0000002855 (FRE);

EIO0000002856 (GER);

EIO0000002857 (ITA);

EIO0000002858 (SPA);

EIO0000002859 (CHS)

EcoStruxure Machine Expert FileFormatUtility Library Guide

EIO0000002785(ENG);

EIO0000002786 (FRE);

EIO0000002787 (GER);

EIO0000002789 (SPA);

EIO0000002788 (ITA);

EIO0000002790 (CHS)

Product Related Information

 WARNING
LOSS OF CONTROL
  • The designer of any control scheme must consider the potential failure modes of control paths and, for certain critical control functions, provide a means to achieve a safe state during and after a path failure. Examples of critical control functions are emergency stop and overtravel stop, power outage and restart.
  • Separate or redundant control paths must be provided for critical control functions.
  • System control paths may include communication links. Consideration must be given to the implications of unanticipated transmission delays or failures of the link.
  • Observe all accident prevention regulations and local safety guidelines.1
  • Each implementation of this equipment must be individually and thoroughly tested for proper operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.

1 For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of Adjustable-Speed Drive Systems" or their equivalent governing your particular location.

Before you attempt to provide a solution (machine or process) for a specific application using the POUs found in the library, you must consider, conduct and complete best practices. These practices include, but are not limited to, risk analysis, functional safety, component compatibility, testing and system validation as they relate to this library.

 WARNING
IMPROPER USE OF PROGRAM ORGANIZATION UNITS
  • Perform a safety-related analysis for the application and the devices installed.
  • Ensure that the Program Organization Units (POUs) are compatible with the devices in the system and have no unintended effects on the proper functioning of the system.
  • Use appropriate parameters, especially limit values, and observe machine wear and stop behavior.
  • Verify that the sensors and actuators are compatible with the selected POUs.
  • Thoroughly test all functions during verification and commissioning in all operation modes.
  • Provide independent methods for critical control functions (emergency stop, conditions for limit values being exceeded, etc.) according to a safety-related analysis, respective rules, and regulations.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
 WARNING
UNINTENDED EQUIPMENT OPERATION
  • Only use software approved by Schneider Electric for use with this equipment.
  • Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment damage.

Incomplete file transfers, such as data files, application files and/or firmware files, may have serious consequences for your machine or controller. If you remove power, or if there is a power outage or communication interruption during a file transfer, your machine may become inoperative, or your application may attempt to operate on a corrupted data file. If an interruption occurs, reattempt the transfer. Be sure to include in your risk analysis the impact of corrupted data files.

 WARNING
UNINTENDED EQUIPMENT OPERATION, DATA LOSS, OR FILE CORRUPTION
  • Do not interrupt an ongoing data transfer.
  • If the transfer is interrupted for any reason, re-initiate the transfer.
  • Do not place your machine into service until the file transfer has completed successfully, unless you have accounted for corrupted files in your risk analysis and have taken appropriate steps to prevent any potentially serious consequences due to unsuccessful file transfers.
Failure to follow these instructions can result in death, serious injury, or equipment damage.

Terminology Derived from Standards

The technical terms, terminology, symbols and the corresponding descriptions in this manual, or that appear in or on the products themselves, are generally derived from the terms or definitions of international standards.

In the area of functional safety systems, drives and general automation, this may include, but is not limited to, terms such as safety, safety function, safe state, fault, fault reset, malfunction, failure, error, error message, dangerous, etc.

Among others, these standards include:

Standard

Description

IEC 61131-2:2007

Programmable controllers, part 2: Equipment requirements and tests.

ISO 13849-1:2015

Safety of machinery: Safety related parts of control systems.

General principles for design.

EN 61496-1:2013

Safety of machinery: Electro-sensitive protective equipment.

Part 1: General requirements and tests.

ISO 12100:2010

Safety of machinery - General principles for design - Risk assessment and risk reduction

EN 60204-1:2006

Safety of machinery - Electrical equipment of machines - Part 1: General requirements

ISO 14119:2013

Safety of machinery - Interlocking devices associated with guards - Principles for design and selection

ISO 13850:2015

Safety of machinery - Emergency stop - Principles for design

IEC 62061:2015

Safety of machinery - Functional safety of safety-related electrical, electronic, and electronic programmable control systems

IEC 61508-1:2010

Functional safety of electrical/electronic/programmable electronic safety-related systems: General requirements.

IEC 61508-2:2010

Functional safety of electrical/electronic/programmable electronic safety-related systems: Requirements for electrical/electronic/programmable electronic safety-related systems.

IEC 61508-3:2010

Functional safety of electrical/electronic/programmable electronic safety-related systems: Software requirements.

IEC 61784-3:2016

Industrial communication networks - Profiles - Part 3: Functional safety fieldbuses - General rules and profile definitions.

2006/42/EC

Machinery Directive

2014/30/EU

Electromagnetic Compatibility Directive

2014/35/EU

Low Voltage Directive

In addition, terms used in the present document may tangentially be used as they are derived from other standards such as:

Standard

Description

IEC 60034 series

Rotating electrical machines

IEC 61800 series

Adjustable speed electrical power drive systems

IEC 61158 series

Digital data communications for measurement and control – Fieldbus for use in industrial control systems

Finally, the term zone of operation may be used in conjunction with the description of specific hazards, and is defined as it is for a hazard zone or danger zone in the Machinery Directive (2006/42/EC) and ISO 12100:2010.

NOTE: The aforementioned standards may or may not apply to the specific products cited in the present documentation. For more information concerning the individual standards applicable to the products described herein, see the characteristics tables for those product references.