Catalog
January 2015
SoMachine
configuration software
Digi-Cat, a handy USB key for PC
Contact your local representative to get your own Digi-Cat
How can you fit a 6000-page catalog in your pocket ?
Schneider Electric provides you with the complete set of industrial automation catalogs all on a handy
USB key for PC or in an application for tablets
e-Library, the app for tablets
>Convenient to carry
>Always up-to-date
>Environmentally friendly
>Easy-to-share format
>Go to the App Store and search for e-Library
>or scan the QR code
If you have an iPad®:
>Go to the Google Play Store
TM and search for eLibrary
>or scan the QR code
If you have an Android tablet:
1
SoMachine Basic programming software
b Presentation .............................................................................................. page 2
b Functions
- Navigation,
- Project management,
- Properties,
- Conguration ......................................................................................... page 3
- Programming,
- Display,
- Commissioning ...................................................................................... page 4
- Counting,
- PTO,
- Communication ..................................................................................... page 5
- Position control (PLS, PWM, PTO),
- Event processing,
- Process control (PID)............................................................................. page 6
b References ................................................................................................ page 7
SoMachine programming software
b Presentation .............................................................................................. page 8
b Functions
- Project management,
- Conguration,
- Programming and debugging,
- Documentation,
- Application Function Block (AFB) libraries for dedicated solutions,
- Tested Validated Documented Architectures (TVDA) ............................. page 9
b Characteristics
- IEC 61131-3 programming languages,
- Controller programming services,
- HMI-based services,
- Motion services,
- Global services,
- Integrated eldbus congurators,
- Expert and solutions libraries,
- Tools .................................................................................................... page 10
b References ...............................................................................................page 11
Products reference index ................................................................. page 12
General contents
Presentation
SoMachine Basic programming software is a user-friendly tool designed to develop
projects on Modicon M221 or Modicon M221 Book logic controllers. It can convert
applications created on TwidoSuite and TwidoSoft.
bSoMachine Basic is organized according to the project development cycle:
navigation of the software is easy and intuitive.
bSoMachine Basic offers a modern interface, so that getting started is:
vUser-friendly and fast: The simplied interface helps you nd the information you
need in two or three clicks maximum
vEfcient, due to functions available
bSoMachine Basic creates an operator interface for TMH2GDB remote graphic
display 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.
bLink via connection cables
The PC is connected to the M221 controllers via the USB-B port, using cable
TCSXCNAMUM3P (mini-USB to USB).
bLink via modem or routeur
Modems can reduce the frequency of on-site visits for certain maintenance
operations.
vModem connected to the M221 logic controller must be declared in the hardware
conguration. It will be initialized by the controller automatically (Hayes
initialization string).
vAt the PC end, the SoMachine Basic software will associate a special modem
connection that will be memorized in the project (including the telephone number
to use).
bEthernet network link
With their integral Ethernet port, logic controllers TM221ppEpp can be connected
to a PC using the Ethernet network and the Modbus TCP/IP protocol.
bBluetooth® wireless link
The Bluetooth® wireless link enables complete freedom of movement within a
radius of 10 m around the controller.
Schneider Electric offers Bluetooth® wireless adaptors both for the controller side
and PC side. Please consult on our website, www.schneider-electric.com.
SoMachine Basic software
Compatibility of offers
SoMachine Basic programming software
>Modicon M221 logic controllers
>Modicon M221 Book logic controllers
>Modicon TM3 expansion modules
>Modicon TM2 expansion modules
2
Presentation SoMachine Basic programming
software
For Modicon M221 and M221 Book logic controllers
Functions
Functions
Navigation
SoMachine Basic offers intuitive and visual navigation.
vThe presentation is optimized for selecting the development cycle stage of the
project (Properties, Conguration, Programming, Display, commissioning).
vEach screen is divided into 3 zones:
- A selection tree
- A Work zone (Editor area): a streamlined workspace to carry out what is
necessary and relevant to the current task, without any superuous information.
- A Product reference catalogs organized by range
Project management
The Project management function is used to:
vCreate a new project
vOpen a project from the PC (hard disk, CD-ROM, USB key, etc.)
vRetrieve a project from an M221 logic controller
vOpen a Twido project, with automatic conversion
vCreate a new project based on an existing project template
vPrint a project r
Properties
Screens enabling entry of identication data for a new project, such as:
vDetails of the project creator
vDetails of their company
vInformation relating to the project
vProject protection information
vApplication protection information
Conguration
Conguration allows:
bCreating the hardware conguration corresponding to the application using
“catalog” selection:
vThe logic controller (Modicon M221)
vThe I/O expansion modules (Modicon TM2, Modicon TM3)
vThe standard and application cartridges.
A graphic editor enables easy assembly of the various elements using simple drag
& drop.
bAnd conguring all the hardware functions selected for the application:
vDiscrete, analog I/O
vHigh Speed Counters inputs
vPulse Generator outputs:
- Pulse Width Modulation (PWM)
- Pulse generator (PLS)
- Pulse Train Output (PTO)
vAnd the communication ports (Ethernet, serial link)
Properties
Availability: 1st quarter 2015.
Commissioning
Selection
tree
Work zone Product reference
catalogs
Properties
Conguration
Programming
Display
Conguration
3
SoMachine Basic programming
software
For Modicon M221 and M221 Book logic controllers
Navigation, Project management, Properties, and
Conguration
Functions
Programming
bThe program is organized in POU (Program Organization Units) or sections.
These sections consist of RUNG (networks) to simplify both reading and
navigation within the program.
vThe POU are associated with various tasks of the application: master, periodic,
events.
They can be programmed in:
- Instruction List (IL) language
- LADDER (LD) language
vThe Rungs dene all the connectable elements in the application.
bThe LADDER editor provides intuitive and high performance programming:
vDrag & drop operation
vUndo / Redo function
vChoice of keyboard shortcuts and toolbar according to the user prole
vList of Rung templates available to assist with the programming of high-level
functions
vAssistance for connection of LADDER elements when creating networks
vEasy linking of variables to the LADDER elements
vContext-sensitive online help
vProject backup, even if the LADDER networks are not complete
vAutomatic analysis and compilation
bModication online and in Run mode: This mode allows the program of the
connected controller to be modied.
bAnimation tables.
bSearch and replace function.
Display
bConguration of the remote graphic display
bConguration of the Alarm list
bCreation and conguration of an operator interface from pre-dened pages
(menu, monitor, control, bar graph, VU meter)
Commissioning
Tasks that are available and can be carried out during commissioning.
bConnection:
vAutomatic discovery of the controller connected to the PC, according to the type
of connection port: USB, Ethernet, Bluetooth®
vTransfer of application between PC and logic controller
bFirmware update of the logic controllers.
bBackup and restoration of all the logic controller data: Memory area.
bLogic controller information.
bReal-time clock management.
Programming
Commissioning
Display
4
Functions (continued) SoMachine Basic programming
software
For Modicon M221 and M221 Book logic controllers
Programming, Display, Commissioning
Functions (continued)
Functions
Counting
SoMachine Basic provides two counting software functions for M221 logic
controllers.
bHigh Speed Counting HSC
The counter is accessed via the 32-bit %HSCi function block. It is programmed for
execution of one of the following functions:
vUp/Down counter
vBi-phase Up/Down counter
vFrequency meter
The pulses to be counted can come from an incremental encoder or proximity
sensors (upcounting/downcounting) connected to fast inputs of the M221 logic
controller.
bFast Counting FC
The 16-bit %FCi fast counter enables upcounting or downcounting 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) in:
vspeed output
vposition outputs
vS curve prole
Communication
4 function blocks exist to facilitate the implementation of communication:
vModbus serial link,
vModbus Ethernet,
vSending messages on serial link.
High speed counting HSC
Fast counting FC
5
SoMachine Basic programming
software
For Modicon M221 and M221 Book logic controllers
Counting, PTO, Communication
Functions
Position control
SoMachine Basic provides three positioning software functions for the M221 logic
controllers. For example, they can be used for stepper motors.
bPLS function
The PLS function block generates xed ratio pulses. In some cases, the frequency
can be xed 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
specic number of pulses.
The %PLS function blocks are assigned to the %Q0.0 or %Q0.1 outputs of the
M221 controllers.
The pulse generator signal has a variable period, but with a constant duty cycle
which establishes an ON to OFF ratio of 50% of the period.
bPWM function
The PWM function block generates pulses of xed 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 on a
controller.
The %PWM function block, dened by the user, generates a signal on output
%Q0.0 or %Q0.1 of the M221 controller.
bPTO function
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 the Modicon M221
logic controller.
Event processing
Event management by the application.
bSource types:
vEvents on embedded inputs
vThreshold events on the high speed counter (HSC)
vPeriodic event (Timer)
bEach event executes a single subroutine of the program.
Process control (PID)
b14 PID programming loops.
bAuto-tuning algorithm.
bAnalog/PWM output.
bLinear conversion of measurement input.
b2 alarm levels (high and low) on the measurement.
bControl output limits.
bDirect and Inverse action.
PLS function
PWM function
6
Functions (continued) SoMachine Basic programming
software
For Modicon M221 and M221 Book logic controllers
Position control, Event processing, Process control (PID)
References
SoMachine Basic software
bSoMachine Basic software runs on the following congurations:
vMicrosoft Windows® XP Professional SP3 (service Pack 3) 32 and 64-bit ,
Microsoft Windows® 7 Professional Edition 32 and 64-bit , Microsoft
Windows® 8 Professional Edition 32 and 64-bit
v1 GHz Premium type processor, 1 GB hard disk and 1 GB RAM minimum
vMinimum screen resolution of 1280 x 800 pixels recommended
bThe software product is available on:
vOur website www.schneider-electric.com
vCD (see below).
Description vProgramming languages
vUser languages
Version/
support
Reference Weight
kg
lb
SoMachine Basic vInstruction List (IL) language,
LADDER (LD) language
vLanguages available:
English, French, German, Italian,
Brazilian Portuguese, Simplied
Chinese, Spanish and Turkish
V1.3/
CD
SOMBASAP13
Cable for connecting a PC to the M221 and M221 Book logic controllers
Description For use Length Reference Weight
kg
lb
From To
Programming cable Type A USB port
of programming
and rmware
update PC
Mini-B USB
port of M221
and M221
Book logic
controllers
3 m
9.84 ft
TCSXCNAMUM3P 0.065
0.143
Link via modem or routeur
Modem, industrial
routeur VPN
For a remote access for M221 and M221 Book logic controllers, Please
consult our Modicon M221 logic controllers catalog
(N° DIA3ED2140106EN) or on our website, www.schneider-electric.com
Bluetooth® wireless link
Please consult on our website, www.schneider-electric.com
TCSXCNAMUM3P
SoMachine Basic software
7
References SoMachine Basic programming
software
For Modicon M221 and M221 Book logic controllers
8
Presentation SoMachine software
Simplify machine programming and
commissioning
Presentation
SoMachine is the machine builders solution software for developing, conguring,
and commissioning the entire machine in a single software environment, including
logic, motion control, HMI, and related network automation functions.
SoMachine allows you to program and commission all the elements in
Schneider Electric’s Flexible and Scalable Control Platform, the comprehensive
solution-oriented offer for machine builders, which helps you achieve the optimum
control solution for each machine’s requirements.
The Flexible and Scalable Control Platforms offer includes:
vControllers:
- Modicon logic controllers: M238, M241, M251, and M258
- Modicon motion controllers: LMC058, LMC078
- HMI controllers: Magelis SCU, XBTGC, XBTGT/GK
- Drive controller: Altivar IMC
vI/O:
- Modicon modules: TM2, TM3, TM5, and TM7 offers
vHMI:
- MagelisTM STO/STU Small Panels
- MagelisTM GH/GK/GT Advanced Panels
- MagelisTM GTO Optimum Advanced Panels
Scalability
vSoMachine allows a exible and scalable usage of controllers in the SoMachine
context: it is easy to integrate the M221 logic controllers from SoMachine Basic
into a SoMachine project.
vThe Flexible Control feature allows you to replace a controller with another one,
while retaining the logic and the conguration. Several versions of SoMachine
can run in parallel in a system to help ensure compatibility.
SoMachine is a professional, intuitive, and open software solution integrating
Vijeo-Designer. It also integrates the conguring and commissioning tool for motion
control devices. It features the IEC 61131-3 languages, integrated eldbus
congurators, expert diagnostics and debugging, as well as multiple capabilities for
maintenance and visualization including web-visualization.
SoMachine integrates tested, validated, documented, and supported expert
application libraries dedicated to applications in pumping, packaging, hoisting, and
conveying.
SoMachine is a single software environment with:
bOne software package
bOne project le
bOne connection
bOne download operation
Visual graphic user interface
Navigation within SoMachine is intuitive and highly visual. Presentation is optimized
in such a way that selecting the development stage of the desired project makes the
appropriate tools available. The user interface suggests the tasks to be performed
throughout the project development cycle so that nothing is overlooked.
The workspace has been streamlined, so that only that which is necessary and
relevant to the current task is featured, without any superuous information.
Learning center
From the home menu, the learning center provides several tools to help you get
started with SoMachine. An animated le explains the SoMachine interface and
concept in brief. An e-learning section gives you the opportunity to teach yourself
about SoMachine and its new features. A third section provides links to several
documented examples of simple coding with SoMachine.
An intuitive and efcient online help is also available to answer your questions.
Software solution
SoMachine software platform
CANopen
Ethernet
Altivar 32
variable speed drive
Magelis
STU
Lexium 32 servo drive
Modicon
M241
Tablet +
SoMachine
9
Functions SoMachine software
Simplify machine programming and
commissioning
Project management
The software’s project management functionality lets you browse through existing
projects quickly to gather the relevant information without needing to open each
project individually.
There are several ways of creating a new project: using tested, validated,
documented architectures, using the examples provided, using an existing project,
or starting with an empty project. There is quick access to the most recently used
projects.
You can also create a project from a standard project taking advantage of a
precongured program (task, library, etc.).
Project properties
You can dene additional information for each project using simple forms. It is also
possible to attach documents and custom or conguration pictures. The software
also supports automatic versioning.
Conguration
The user interface allows you to congure devices and architectures in a
hierarchical order.
The various elements of the conguration can be easily assembled by selecting from
a device “catalog” (controllers, expansion modules, etc.) with a simple drag & drop.
The catalog can be searched and ltered as required.
Device templates are available to easily add precongured equipment.
Programming and debugging
Programming is an essential step, and the user has to carefully design it to be as
efcient as possible. Advanced control and HMI functions cover all the needs of
Machine builders in terms of creating the control and visualization systems.
Powerful tools allow debugging and functional tests such as simulation, step-by-step
execution, breakpoints, and traces.
Documentation
SoMachine allows you to customize and generate a project report for printing:
- Select the items to be included in the report
- Organize the sections
- Dene the page layout
- Print the report
Transparency
SoMachine is an FDT (Field Device Tool) container and supports DTM (Device Type
Manager) les.
SoMachine manages remote devices via DTM les, providing direct communication
with each device. Communication is transparent via SoMachine, the controller, and
the eldbus (Modbus Serial Line, Modbus TCP, CANopen, and CANmotion).
SoMachine also supports FDT/DTM connections directly from the PC to the devices
via Modbus Serial Line or Modbus TCP.
Application Function Block (AFB) libraries for dedicated
solutions
SoMachine includes application function block libraries for selected machines. Their
simple conguration speeds up design, commissioning, installation, and
troubleshooting.
These libraries cover the following applications:
bPackaging
bHoisting
bConveying
bPumping
Tested Validated Documented Architectures (TVDA)
SoMachine provides a variety of preset projects with ready-to-use architectures you
can adapt to individual requirements. Some of them are generic TVDA based on
controller congurations. Others can be dedicated to specic solutions by
application-oriented TVDAs.
Project management
“Catalog”
Application Function Blocks
Web visualization
Ethernet
Modicon M241
PC + SoMachine
Tablet
10
Characteristics SoMachine software
Simplify machine programming and
commissioning
SoMachine characteristics
IEC 61131-3
programming languages
bIL (Instruction List)
bLD (Ladder Diagram)
bSFC (Sequential Function Chart)
bST (Structured Text)
bFBD (Function Block Diagram)
+ CFC (Continous Function Chart)
Controller programming services bMulti-tasking: Mast, Fast, Event
bFunctions (Func) and function blocks (FBs)
bData Unit Type (DUTs)
bOnline changes
bWatch windows
bGraphical monitoring of variables (trace)
bBreakpoints, step-by-step execution
bSimulation
bVisualization for application and machine setup
HMI-based services bGraphics libraries containing more than 4,000 2D and 3D objects
bSimple drawing objects (points, lines, rectangles, ellipses, etc.)
bPrecongured objects (button, switch, bar graph, etc.)
bRecipes (32 groups of 256 recipes with max. 1024 ingredients)
bAction tables
bAlarms
bPrinting
bJava scripts
bMultimedia le support: wav, png, jpg, emf, bmp
bVariable trending
Motion services bConguration and commissioning of embedded devices
bCAM prole editor
bSample application trace
b Motion and drive function block libraries for variable speed drives, servo drives,
and stepper drives
bVisualization screens
bLogical encoder
Global services bUser access and prole
bProject documentation printing
bProject comparison (control)
bVariable sharing based on publish/subscribe mechanism
bLibrary version management
bMachine energy efciency monitoring
Integrated eldbus congurators bControl network:
vModbus Serial Line
vModbus TCP
vModbus TCP I/O Scanner
bFieldbus:
vCANopen
vCANmotion
vsercos III
bConnectivity:
vProbus-DP
vEthernet IP
bWeb Visualization: Display the SoMachine controller visualization screens in a web browser
Expert and solutions libraries bPLCopen function blocks for motion control
vExample: MC_MoveAbsolute, MC_CamIn, ServoDrive, etc.
bPackaging function blocks
vExample: Analog lm tension control, rotary knife, lateral lm position control, etc.
bConveying function blocks
vExample: tracking, turntable, conveyor, etc.
bHoisting functions
vHoisting function blocks: anti-sway, anti-crab, hoisting position synchronization, etc.
vApplication template for industrial crane
bPumping application
v Pumping function blocks: cavitation protection, friction loss, PID, stage/destage functions,
etc.
vApplication template for booster
bMaterial processing application
vApplication templates
bEnergy efciency library
Tools b Controller assistant
vManage the rmware and application without opening SoMachine
vCreate images and backup of the controller
bSoftware conguration manager
vManage the installed versions and components of SoMachine
bLicense manager
vActivate and manage licenses for all Schneider Electric licensed products
vSupport registration and license transfer
bSchneider Electric Software Update (SESU)
vOnline notication of all available updates and news about the installed Schneider Electric
software products
vDownload and install updates, patches, and extensions from the web
11
References SoMachine software
Simplify machine programming and
commissioning
Product offer
SoMachine software is delivered on a DVD whose features are available for a 21 day
trial. Afterwards a license is required to continue to benet from SoMachine.
bSoMachine is available in 8 languages: English, French, German, Italian,
Portuguese, Simplied Chinese, Spanish, and Turkish
bOperating systems for engineering PC: Microsoft Windows® XP Professional,
Microsoft Windows® 7 Professional 32-bit/64-bit
bDocumentation is supplied in electronic format: complete online help with
complementary documentation in pdf version
References
SoMachine software
Supported controllers Reference
DVD (1) License (2) / number & type
bLogic controllers: Modicon M238, Modicon M241, Modicon M251, Modicon M258
bMotion controllers: Modicon LMC058, Modicon LMC078
bHMI controllers: Magelis SCU, XBTGC, XBTGT/GK
bDrive controller: Altivar IMC
SOMNACS41
+ Trial V4.1 license
(21 days)
SOMNACCZXSPAZZ / 1 (Single)
SOMNACCZXTPAZZ / 10 (Team)
SOMNACCZXEPAZZ / 100 (Entity)
Specic application libraries for SoMachine software
Supported controllers Application Expert library Reference Licence
bLogic controllers: Modicon M238, Modicon M241,
Modicon M251, Modicon M258
bMotion controllers: Modicon LMC058, Modicon LMC078
bHMI controllers: Magelis SCU, XBTGC, XBTGT/GK
bDrive controller: Altivar IMC
Hoisting SOMAAECZXSPAZZ Single license
SOMAAECZXTPAZZ Team license
License updating from V3.0 and V3.1 to V4.1
Supported controllers SoMachine reference (V3.0/V3.1) Reference update to SoMachine V4.1
bLogic controllers: Modicon M238, Modicon M258
bMotion controllers: Modicon LMC058
bHMI controllers: Magelis SCU, XBTGC, XBTGT/GK
bDrive controller: Altivar IMC
MSDCHNLMUA (Single) SOMNADCZXSPAZZ Single license
MSDCHNLMTA (Team) SOMNADCZXTPAZZ Team license
MSDCHNLMFA (Facility) SOMNADCZXEPAZZ Entity license
bEach controller for Solution (S Type controllers) MSDCHLLMUV3pS0/,
MSDCHLLMTV3pS0
SOMNSDCZXTPAZZ
SoMachine software compatibility with hardware control platforms
Controller type SoMachine software version
Modicon M238,
Magelis XBTGC
V1.0
Modicon M258 V2.0
Modicon LMC058,
Modicon TM5 CANopen Interface,
Modicon TM7 CANopen Interface,
Altivar IMC
V3.0
Magelis SCU V3.1 (+ Vijeo Designer V6.1 SP3)
Modicon M241,
Modicon M251,
Modicon LMC078 (from V4.1 SP1)
V4.1
(1) The DVD is mandatory and delivered with a trial license.
(2) One of the 3 types of license is mandatory.
12
Index SoMachine conguration software
Product reference index
S
SOMAAECZXSPAZZ 11
SOMAAECZXTPAZZ 11
SOMBASAP13 7
SOMNACCZXEPAZZ 11
SOMNACCZXSPAZZ 11
SOMNACCZXTPAZZ 11
SOMNACS41 11
SOMNADCZXEPAZZ 11
SOMNADCZXSPAZZ 11
SOMNADCZXTPAZZ 11
SOMNSDCZXTPAZZ 11
T
TCSXCNAMUM3P 7
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 specic 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 specic application or use thereof. Neither Schneider Electric nor any of its afliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein.
Design: Schneider Electric
Photos: Schneider Electric
Head Ofce
35, rue Joseph Monier
F-92500 Rueil-Malmaison
France
Schneider Electric Industries SAS
January 2015 - V2.0
DIA3ED2140110EN
www.schneider-electric.com/msx