EcoStruxure Machine Expert Basic Programming software for Modicon M221 logic controller

Document preview
File info: application/pdf · 12 pages · 1.57MB

EcoStruxure Machine Expert Basic Programming software for Modicon M221 logic controller

EcoStruxure Machine Expert – Basic, (Previously called Somachine BAsic) programming software is a user-friendly tool designed to develop projects on Modicon M221 or Modicon M221 Book logic controllers, By Schneider Electric

EcoStruxure Machine Expert – Basic (Previously called Somachine BAsic) programming software is a user-friendly tool designed to develop projects on Modicon M221 or Modicon M221 Book logic controllers, By Schneider Electric;

EcoStruxureTM Machine Expert – Basic

End of life manual. 1 General content EcoStruxure. TM Machine Expert - Basic Programming software for Modicon M221 logic controllers ... v User-friendly and fast: the simplified interface helps you find the information…

Full PDF Document

Loading PDF...
Download PDF

If the inline viewer fails, it will open the original document in compatibility mode automatically. You can also open the file directly.

Extracted Text

Catalog | July 2020
EcoStruxureTM Machine Expert � Basic
Programming software for Modicon M221 logic controller
schneider-electric.com

Quick access to product information
Get technical information about your product

Each commercial reference presented in a catalog contains a hyperlink. Click on it to obtain the technical information of the product:
� Characteristics, Dimensions and drawings, Mounting and clearance, Connections and schemas, Performance curves
� Product image, Instruction sheet, User guide, Product certifications, End of life manual
Find your catalog

> With just 3 clicks, you can reach the Industrial Automation
and Control catalogs, in both English and French
> Download Digi-Cat with this link
Select your training

� Updated quarterly � Embeds product selectors and configurators,
360� images, training centers � Optimized search by commercial reference

> Find the right Training for your needs on our Global website > Locate the training center with the selector tool, using this link

General content
EcoStruxureTM Machine Expert - Basic Programming software for Modicon M221 logic controllers
b Introduction to EcoStruxure Machine...................................................... page 2 b Presentation............................................................................................... page 4 b Functions
- Navigation.............................................................................................. page 5 - Project management.............................................................................. page 5 - Properties............................................................................................... page 5 - Configuration.......................................................................................... page 5 - Programming.......................................................................................... page 6 - LADDER editor....................................................................................... page 6 - Grafcet graphic language....................................................................... page 6 - Display................................................................................................... page 6 - Commissioning....................................................................................... page 7 - Counting................................................................................................. page 7 - PTO........................................................................................................ page 7 - Altivar � Variable speed drives ............................................................... page 7 - Communication...................................................................................... page 7 - Position control (PLS, PWM, FREQGEN, PTO)...................................... page 8 - Event processing.................................................................................... page 8 - Process control (PID)............................................................................. page 8 b References................................................................................................. page 9 b Product reference index.......................................................................... page 10
1

To be competitive in today's digital era, machine builders must be innovative. Smart machines, those that are better connected, more flexible, more efficient, and safe, are enabling machine builders to innovate in ways never before possible.

EcoStruxure, Schneider Electric's open, IoT-enabled architecture and platform, offers powerful solutions for the digital era. As part of this, EcoStruxure Machine brings powerful opportunities for machine builders and OEMs, empowering them to offer smart machines and compete in the new, digital era.
EcoStruxure Machine brings together key technologies for product connectivity and edge control on premises, and cloud technologies to provide analytics and digital services. EcoStruxure Machine helps you bring more innovation and added value to your customers throughout the entire machine life cycle.

Innovation at Every Level for Machines is full systems across three layers:
� Connected products Our connected products for measuring, actuating, device level monitoring, and control adhere to open standards to provide unmatched integration opportunities and flexibility
� Edge Control We are IIoT-ready with a proven set of tested and validated reference architectures that enable the design of end-to-end open, connected, and interoperable systems based on industry standards. Ethernet and OPC UA facilitates IT/OT convergence meaning machine builders reap benefits from web interfaces and cloud.

� Apps, Analytics & Services Seamless integration of machines to the IT layer allows the collection and aggregation of data ready for analysis � for machine builders and end users alike this means increased uptime and the ability to find information faster for more efficient operations and maintenance.

These levels are completely integrated from shop floor to top floor. And we have cloud offers and end-to-end cybersecurity wrapped around.
EcoStruxure Machine makes it easier for OEMs/ machine builders to offer their customers smarter machines. The advent of smart machines is driven by the changing needs of end users:
� Evolving workforce
� Reducing costs
� Dynamic markets
� Shorter life cycles
� Prioritizing safety and cybersecurity

EcoStruxure Machine provides one solution for the whole machine life cycle:
� With Smart Design & Engineering the time to market is reduced by up to 30% using our automated engineering and the simulation capabilities
� During Commissioning & Operation of the machine, resources such as energy, material and loss can be improved, and with seamless integration to the IT world efficiency can be improved by up to 40%
� Smart Maintenance & Services reduces the time for corrective actions up to 50%

EcoStruxureTM Architecture

Packaging & Food & Beverage Machinery

Material Handing

Apps, Analytics & Services

AVEVA Software*
Asset Performance Monitoring and Control

Material Working

Hois ting

Pum ping

HVAC

EcoStruxure Machine Advisor EcoStruxure Secure Connect Advisor

EcoStruxure Augmented Operator Advisor

End-to-end Cybersecurity Cloud and/or On Premise

Edge Control

Magelis IIoT Box and Industrial PC

PacDrive Motion & Automation controllers

Modicon Machine controllers

EcoStruxure Machine Expert

EcoStruxure Machine SCADA Expert

Connected products

Magelis HMI

Harmony Control & Signaling

Zelio Relays

Sensors & RFID

TeSys Motor control

Altivar Variable Speed
Drives

Preventa

Lexium

Machine Safety Motion Control &

Robotics

Industrial Compact UPS Circuit Breakers

* The Schneider Electric industrial software business and AVEVA have merged to trade as AVEVA Group plc, a UK listed company. The Schneider Electric and Life is On trademarks are owned by Schneider Electric and are being licensed to AVEVA by Schneider Electric.

2

3

Presentation
EcoStruxure Machine Expert � Basic software DIA3ED2140106EN

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller
Presentation
EcoStruxureTM Machine Expert � Basic programming software is a user-friendly tool designed to develop projects on Modicon M221 or Modicon M221 Book logic controllers (1). b EcoStruxure Machine Expert � Basic is organized according to the project
development cycle: navigation of the software is easy and intuitive. b EcoStruxure Machine Expert � Basic offers a modern interface, so that getting
started is: v User-friendly and fast: the simplified interface helps you find the information you
need in two or three clicks maximum v Efficient, due to the functions available b EcoStruxure Machine Expert � Basic creates an operator interface for remote
graphic display unit TMH2GDB.
Connecting a PC to the controller There are several ways of connecting a PC to Modicon M221 logic controllers during the programming, debugging, and maintenance phases.
b Link via connection cables The PC is connected to the M221 controller via the USB-B port, using cable TCSXCNAMUM3P (mini-USB to USB).
b Link via modem or router Modems can reduce the frequency of on-site visits for certain maintenance operations. v The modem connected to the M221 logic controller must be declared in the
hardware configuration. It will be initialized by the controller automatically (Hayes initialization string). v At the PC end, the EcoStruxure Machine Expert � Basic software will associate a special modem connection that will be memorized in the project (including the phone number to use).
b Ethernet network link With their embedded Ethernet port TM221ppEpp logic controllers can be connected to a PC using the Ethernet network and the Modbus TCP/IP protocol.
b Bluetooth� wireless link The Bluetooth� wireless link enables complete freedom of movement within a 10 m/ 33 ft radius around the controller. Schneider Electric offers Bluetooth� wireless adapters both for the controller side and the PC side. Please consult our website: www.schneider-electric.com
(1) Please consult catalog Ref. DIA3ED2140106EN

4

Functions

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller

Properties
Configuration Programming Graphic display Commissioning

Functions
Navigation
EcoStruxure Machine Expert � Basic offers intuitive and visual navigation.
v The presentation is optimized for selecting the development cycle stage of the project (Properties, Configuration, Programming, Display, Commissioning).
v Each screen is divided into 3 zones: - A selection tree - An editor area: a streamlined workspace to carry out what is necessary and relevant to the current task, without any superfluous information - A product reference catalog organized by range

Selection tree Editor area

Product reference catalog

Project management
The project management function is used to: v Create a new project v Open a project from the PC (hard disk, CD-ROM, USB flash drive, etc.) v Retrieve a project from an M221 logic controller (1) v Open a Twido project, with automatic conversion v Create a new project based on an existing project template v Print a project v Automatic saving of the project with recovered project

Properties
Screens enabling entry of identification data for a new project, such as: v Details of the project author v Details of their company v Project information v Project protection v Application protection

Properties Configuration

Configuration
Configuration allows: b Creation of the hardware configuration corresponding to the application by
selecting the following from a "catalog": v The logic controller: Modicon M221 (1) v The I/O expansion modules: Modicon TM3 (2) v The standard and application cartridges
A graphic editor enables easy assembly of the various elements using simple drag & drop.
b Configuration of all the hardware functions selected for the application: v Discrete, analog I/O v High speed counter (HSC) inputs v High speed outputs:
- Pulse width modulation (PWM) - Pulse generator (PLS) - Pulse train output (PTO) - Frequency generator v Communication ports (Ethernet, serial links): - Ethernet: EtherNet/IP, Modbus TCP client and server, Exchange table - Serial links: Modbus RTU or ASCII, ASCII protocol, Display - The Modbus Serial IOScanner and Modbus TCP IOScanner protocols are
used to automatically configure an Altivar variable speed drive, a Modicon TM3 Bus coupler (2), an other Schneider device, or a generic device.
(1) Please consult catalog Ref. DIA3ED2140106EN (2) Please consult catalog Ref. DIA3ED2140109EN

DIA3ED2140106EN

DIA3ED2140109EN

5

Functions (continued)
Programming Grafcet graphic language Display
6

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller
Functions
Programming b The program is organized in POUs (program organization units) or sections.
These sections consist of rungs (networks) to simplify both reading and navigation within the program. v The POUs are associated with various tasks of the application: master, periodic, events. They can be programmed in: - Instruction List (IL) language - Ladder (LD) language - Grafcet graphic language - Structured Text (ST) operations - User-defined functions - User-defined function blocks v Rungs define all the connectable elements in the application. Ladder editor b The Ladder editor provides intuitive and high-performance programming: v Drag & drop operation v Undo/Redo function v Multiple function blocks in the same rung (serial or parallel) v Choice of keyboard shortcuts and toolbar according to the user profile v Easy connection of Ladder elements using the "Pencil" and "Rubber" tools v Assistance with connection of Ladder elements when creating rungs v Easy linking of variables to the Ladder elements v Context-sensitive online help v Instruction search and syntax wizard v Project backup, even if the Ladder networks are not complete v Automatic analysis and compilation b Modification online and in Run mode (this mode allows the connected controller program to be modified) b Animation tables b Search and replace function with Trace function Grafcet graphic language Grafcet (Command Step-Transition Functional Graphic) is the French acronym for "GRAphe Fonctionnel de Commande Etape-Transition". Grafcet has been standardized under the classification index NF C 03-190. The corresponding European standard is EN 60848.
Grafcet language is based on a graphic representation that is easy to understand: b Step: The step represents a partial system state, in which an action has been
performed. The step can be active or inactive. The associated action is executed when the step is active, and remains dormant when the step is inactive. b Transition: This links one or more previous steps to one or more subsequent steps. It describes a change of state.
Two conditions are monitored while moving to the next step: v Each step preceding the transition must be active (and the actions must have
been executed). v The Boolean condition associated with the transition is "True". Structured Text operations Structured Text operations allow Structured Text applications to be easily converted: b Conditional elements b Loop elements b Complex calculation in an operation block User-defined functions A user-defined function allows you to create new functions with local variables and a return value. User-defined function blocks A user-defined function block allows you to create new function blocks with one or more boolean inputs or outputs, local variables, and local function blocks. Display b Configuration of the remote graphic display b Configuration of the Alarm list b Creation and configuration of an operator interface from predefined pages
(menu, monitor, control, bar graph, gage)

Functions (continued)
Commissioning High speed counting (HSC) Fast counting (FC)
Altivar variable speed drives

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller
Functions
Commissioning Tasks that are available and can be carried out during application commissioning: b Connection: v Automatic discovery of the controller connected to the PC, according to the type
of connection port: USB, Ethernet, Bluetooth� v Transfer of application between PC and logic controller b Firmware update of the logic controllers b Comparison of opened project with controller application or with another project b Backup and restoration of all PLC data: memory area and SD card management b Information about the PLC (logic controller) b Real-time clock management Counting EcoStruxure Machine Expert � Basic offers high speed counting software functions for Modicon M221 logic controllers (2 dual-phase counters or 4 single-phase counters). b High speed counting (HSC) The counter is accessed via the 32-bit function block %HSCi. It is programmed for execution of one of the following functions: v Up/Down counter v Bi-phase up/down counter v Frequency meter The pulses to be counted can come from an incremental encoder or proximity sensors (up/down counting) connected to inputs I0 and I1 of the M221 logic controller. b Fast counting (FC) The 16-bit %FCi fast counter enables up or down counting of pulses (rising edge) on the fast inputs of the M221 logic controller. PTO 18 function blocks are used to manage the fast outputs (PTO) as outputs of the following type: v Speed v Position v S-curve profile v Execution of a points table (multi-segment)
The PTO function enables position control by pulse train - pulse/direction (P/D) or CW/CCW signals, depending on the type of servo drive. These pulses are generated on outputs %Q0.0 and %Q0.1 of M221 logic controllers (1).
Altivar variable speed drives There are 7 function blocks available for controlling the following on Altivar variable speed drives: v Power v Speed v Jog v Status
Communication There are 4 function blocks available to facilitate communication: v Modbus serial link v Modbus Ethernet link v Exchanging messages over serial link v Sending and receiving SMS messages
(1) On TM221Cp40U logic controllers, up to 4 outputs support the function (PLS, PWM, frequency generator, or PTO).
7

Functions (continued)
PLS function PWM function

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller
Functions
Position control EcoStruxure Machine Expert � Basic provides 3 positioning software functions for the Modicon M221 logic controllers (1) used, for example, for stepper motor control.
b PLS function The PLS function block generates pulses of fixed ratio. In some cases, the frequency can be fixed and in others it is variable (as in control of slopes when driving a stepper motor). The %PLS function block can be programmed to generate a specific number of pulses. The %PLS function blocks are assigned to the %Q0.0 or %Q0.1 outputs of M221 logic controllers (1). The pulse generator signal has a variable period, but with a constant duty cycle that establishes an ON to OFF ratio of 50% of the period.
b PWM function The PWM function block generates pulses of fixed frequency, with a variable ON to OFF ratio for the output signal. The ON to OFF duration ratio is a dynamic variable called %PWM.R, with a range from 1% to 100%. The PWM function blocks are assigned to the %Q0.0 or %Q0.1 outputs of M221 logic controllers (1). The %PWM function block, defined by the user, generates a signal on output %Q0.0 or %Q0.1 of M221 logic controllers.
b Frequency generator function (FREQGEN) The frequency generator function generates a square wave signal on the outputs of M221 logic controllers (1) with a fixed duty cycle (50%). The frequency can be configured from 0.1 Hz to 100 kHz with intervals of 0.1 Hz.
Event processing Event management by the application. b Source types: v Events on embedded inputs v Threshold events on the high speed counter (HSC) v Periodic event (Timer) b Each event executes a single subroutine.
Process control (PID) b 14 PID programming loops b Auto-tuning algorithm b Analog/PWM output b Linear conversion of measurement input b 2 alarm levels (high and low) on the measurement b Control output limits b Direct and reverse action
Data logging b A new function block with data logging assistant for configuration can be used to: v Create an historic data record v Create an events log b Save and restore a batch of memory words by using %S and %SW (same logic
as in flash memory)
(1) Please consult catalog Ref. DIA3ED2140106EN

DIA3ED2140106EN 8

References
EcoStruxure Machine Expert - Basic software TCSXCNAMUM3P

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller

References
EcoStruxure Machine Expert � Basic software

b EcoStruxure Machine Expert � Basic software ensures full compatibility with SoMachine Basic, and runs on the following configurations:
v Microsoft Windows� 7 Professional Edition 32-bit and 64-bit, Microsoft Windows� 8 Professional Edition 32-bit and 64-bit, Microsoft Windows� 8.1 32-bit and 64-bit, Microsoft Windows� 10
v 1 GHz Premium processor, 1 GB hard disk, and 1 GB RAM minimum
v Recommended minimum screen resolution of 1280 x 800 pixels
b The software is available on our website www.schneider-electric.com Updates are offered when the PC is connected to the Internet.

Description

b Programming languages Version Reference

v User languages

Availability

EcoStruxure Machine Expert � Basic

b Instruction List (IL) language, V1.1 Ladder (LD) language, Grafcet graphic language v Languages available: English, Czech, French, German, Italian, Japanese, Brazilian Portuguese, Simplified Chinese, Spanish, Turkish and Greek

Only available as a download from our website www.schneider-electric.com

Cable for connecting a PC to the M221 logic controller

Description

For use

Length Reference

From

To

Programming cable

Type A USB port on programming PC

Mini-B USB 3 m port on M221 9.84 ft and M221 Book logic controllers

TCSXCNAMUM3P

Weight kg/ lb
0.065/ 0.143

Link via modem or router

Modem, VPN

For remote access for Modicon M221 and Modicon M221 Book logic

industrial router controllers; please consult our catalog Ref. DIA3ED2160107EN or on our

website www.schneider-electric.com

9

Index

EcoStruxure Machine Expert � Basic
Programming software for Modicon M221 logic controller
Product reference index

E

EcoStruxure Machine Expert � Basic

9

Downloadable from our website www.schneider-electric.com

T

TCSXCNAMUM3P

9

10

Learn more about our products at www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical characteristics of the performance of the products contained herein. This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications. It is the duty of any such user or integrator to perform the appropriate and complete risk analysis, evaluation and testing of the products with respect to the relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein.
Design: Schneider Electric Photos: Schneider Electric
Schneider Electric Industries SAS Head Office 35, rue Joseph Monier - CS 30323 F-92500 Rueil-Malmaison Cedex France DIA3ED2181201EN July 2020 - V2.0