Professional Documents
Culture Documents
0
Programming software
Logiciel de programmation
Getting started
Mise en route
06/2006
www.telemecanique.com
English
English
Table of Contents
Chapter 2
Launching TwidoSuite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Program Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 3
Chapter 4
Chapter 5
Chapter 6
23
25
27
30
32
37
46
52
57
Monitoring an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Monitoring an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
English
English
At a Glance
Document Scope
This document provides basic information and instructions for getting the
TwidoSuite programming software set up and operating.
Validity Note
The data and illustrations found in this book are not binding. We reserve the right to
modify our products in line with our policy of continuous product development. The
information in this document is subject to change without notice and should not be
construed as a commitment by Schneider Electric.
Related
Documents
Title of Documentation
The Twido Programmable Controllers Hardware Guide for Compact and Modular Bases
Reference Number
3501138700
The Twido Programmable Controllers Hardware Guide for Discrete I/O Modules
3501138800
The Twido Programmable Controllers Hardware Guide for Analog I/O Modules
3501138900
3501139000
3501138600
35013826 06/2006
English
Product Related
Warnings
Schneider Electric assumes no responsibility for any errors that may appear in this
document. If you have any suggestions for improvements or amendments or have
found errors in this publication, please notify us.
No part of this document may be reproduced in any form or by any means, electronic
or mechanical, including photocopying, without express written permission of
Schneider Electric.
Copyright Schneider Electric 2006. All rights reserved.
All pertinent state, regional, and local safety regulations must be observed when
installing and using this product. For reasons of safety and to ensure compliance
with documented system data, only the manufacturer should perform repairs to
components.
When controllers are used for applications with technical safety requirements,
please follow the relevant instructions.
Failure to use Schneider Electric software or approved software with our hardware
products may result in injury, harm, or improper operating results.
Failure to observe this product related warning can result in injury or equipment
damage.
User Comments
We welcome your comments about this document. You can reach us by e-mail at
techpub@schneider-electric.com
35013826 06/2006
English
Introduction
Overview
What's in this
Chapter?
35013826 06/2006
Page
8
Registering TwidoSuite
10
English
System Requirements
Hardware
Requirements
Your PC needs to meet the following minimum hardware requirements to run the
TwidoSuite programming software:
Requirement
Minimum
computer
RAM
128 MB
100 MB
Edition/Service Pack
Special Considerations
Windows NT 4.0
Windows 2000
Windows XP
35013826 06/2006
English
Installing the
Software
Step
uninstall any previous version of the TwidoSuite programming software (note that if you
own a version of the TwidoSuite programming software, uninstall it as well for TwidoSuite
is compatible with automation projects created with any version of TwidoSuite),
close all Windows applications and virus-protection software.
Action
Result
If the installation does not start automatically, click The Run dialog box will appear.
Start Run.
Choose the installation language among the list of The software will be installed in both the selected local
available languages.
language and in the English version. You will later be
able to execute the software in either of these languages
by selecting the execution language from the TwidoSuite
Application Launcher.
TwidoSuite
Uninstalling the
Software
35013826 06/2006
To uninstall the TwidoSuite programming software from your computer, choose the
following path: Start Control Panel Add/Remove Programs
English
Registering TwidoSuite
Introduction
Take a few minutes to register this software and become a member of the Schneider
automation community.
Registering is free and it will keep you updated with the latest product news,
software and firmware upgrades for your Twido controller.
Note: There is a 30-day trial period for this software. After expiry of the trial period,
you must register to be able to continue using this software.
How to Register
TwidoSuite
10
1. Go to Miscellaneous
.
2. Click About on the task bar.
3. Complete the License form with "Company", "User" and "Serial Number"
information, and press Now.
Result: This starts the TwidoSuite Registration Wizard.
4. Follow the onscreen instructions to register your copy of the TwidoSuite software.
Note: There are four possible ways to register: Web, Phone, Fax, and E-mail.
5. Read the Terms of Service, acceptance is required.
6. Submit the registration.
35013826 06/2006
English
Launching TwidoSuite
Program Start
How to Start the
Program
You can either start the program via the TwidoSuite Application Launcher:
z from the Start Programs TwidoSuite Application Launcher path
z or from the desktop Application Launcher shortcut that has been installed with the
program:
TwidoSuite
Application
Launcher
Options
The Application Launcher constitutes the launch center for the TwidoSuite software
suite.
The TwidoSuite application comes in several language pairs available from the
Telemecanique download site:
z English-French
z English-German
z English-Spanish
z English-Italian
z English-Chinese(simplified)
Depending on which language pair you installed, it lets you run TwidoSuite in
English (default language) or the other installation language.
Use the Application Launcher to start TwidoSuite in:
Programming Mode
z Monitoring Mode
z PLC Firmware Update
z Start TwidoSoft (available only if TwidoSoft is installed on your PC)
z
35013826 06/2006
11
English
Additional
Features
,
.
Note: By default the Video Demo is shown at TwidoSuite startup.To disable this
feature uncheck the box "Show video at startup" at the bottom of the video screen.
TwidoSuite
Application
Launcher
The following figure shows an example of the TwidoSuite Application Launcher for
the English-French installed language pair:
New
Programming Mode
Monitoring Mode
English
Franais
12
35013826 06/2006
English
?
The Twido Windows Executive Loader Wizard is a Windows-based program that
guides you through the steps needed to update the Firmware Executive in your
Telemecanique Twido programmable controller. The Firmware Executive is the
operating system that runs your applications and manages controller operation.
The wizard provides an intuitive, point-and-click user interface that guides you
through the steps of the update procedure. It provides directions to quickly download
the latest version of the executive for your controller.
See the Executive Loader Wizard User Guide for detailed instructions. This guide
can be accessed using the Exec Loader utility online help.
Opening the
Exec Loader
Wizard
35013826 06/2006
You can open the Executive Loader Wizard from the TwidoSuite Application
Launcher by selecting the PLC Firmware Update option (see Application Launcher
Options, p. 11).
13
English
Firmware Upgrade
New Firmware
(Basic Steps)
There are four steps required to upgrade your executive. The wizard provides a
window for each step and online help is available for each step. The following table
summarizes each step:
Step
Window
Function
Welcome
Parameters
Transfer Progress
Note: Loading the firmware may not be interrupted under any circumstances as it
means the module can no longer be accessed, including via the Executive Loader
Wizard. Ensure that neither the communication connection nor the main power
input is disconnected or deactivated in any way and do not deactivate the
procedure with Abort.
14
35013826 06/2006
Supported Twido
Controllers
English
Firmware Upgrade
The following table lists all Twido devices that are supported by the Executive
Loader Wizard program:
Controller Module
Description
TWDLCAA10DRF
Compact base unit, 230V AC(1), with 6 In (24V DC), 4 Out (2A Relays).
Screw terminal blocks, non-removable.
TWDLCDA10DRF
Compact base unit, 24V DC, with 6 In (24V DC), 4 Out (2A Relays).
Screw terminal blocks, non-removable.
TWDLCAA16DRF
Compact base unit, 230V AC(1), with 9 In (24V DC), 7 Out (2A Relays).
Screw terminal blocks, non-removable.
TWDLCDA16DRF
Compact base unit, 24V DC, with 9 In (24V DC), 7 Out (2A Relays).
Screw terminal blocks, non-removable.
TWDLCAA24DRF
Compact base unit, 230V AC(1), with 14 In (24V DC), 10 Out (2A
Relays). Screw terminal blocks, non-removable.
TWDLCDA24DRF
Compact base unit, 24V DC, with 14 In (24V DC), 10 Out (2A Relays).
Screw terminal blocks, non-removable.
TWDLCAA40DRF
TWDLCAE40DRF
TWDLMDA20DUK
Modular base unit with 12 In (24V DC), 8 Out (0.3A Transistors, Sink).
MIL connectors(2), removable.
TWDLMDA20DTK
TWDLMDA20DRT
Modular base unit with 12 In (24V DC), 8 Out (2 Out 0.3A Transistors,
Source and 6 Out 2A Relays). Screw terminal blocks, removable.
TWDLMDA40DUK
TWDLMDA40DTK
Note 1: Products described as 230 VAC power supply are 120/230 VAC compatible.
Note 2: MIL connectors are also known as HE10 connectors.
35013826 06/2006
15
English
Firmware Upgrade
16
35013826 06/2006
English
Introduction
Overview
This section also provides a work flow for creating a TwidoSuite project (see
Application Steps/Substeps Bar, p. 20).
What's in this
Chapter?
35013826 06/2006
Page
Main Window
18
Setting Preferences
22
17
English
Interface
Main Window
TwidoSuite
Workspace
Taskbar
Telemecanique
0 10
01
10
10
Project
Describe
10 0
My project
0
0 01 1
010
Program
0
101
010 1 0 0 0
010 0 0 0
110 1
0010
011 0 0 0
010 1
Report
Configure
10
010
0 1 0 1 0 00
0
0 1 0 1 0 01 0
11 1 0 0 0
01 0 1 0 0
01
Program
10
10 0
0 1 00 1 0 0 0
01 0 1 0 0
0
11 0 0 1 0
0 11 1 0 0
010
Debug
Configure
the Hardware
Configure
the data
Configure
the behavior
Define
the protections
TWDLMDA20DTK
Module configuration.
Apply
Cancel
Table of inputs
Used Address
%I0.0
%I0.1
%I0.2
%I0.3
%I0.4
Symbol
Used By
Filtering
3 ms
3 ms
3 ms
3 ms
3 ms
Latch?
Run/Stop? Deactivation
Not used
Not used
Not used
Table of outputs
Used Address
%Q0.0
%Q0.1
%Q0.2
%Q0.3
Symbol
Status?
Used By
TwidoSuite
Functions bar
18
35013826 06/2006
English
Interface
Taskbar:
Provides access to all the tasks that you can perform under
the selected application step or substep.
Functions bar:
Display Options
Maximizes the main window
Minimizes the main window
Closes the TwidoSuite application
Docking button for the Application Steps bar
Resizes the main window
35013826 06/2006
19
English
Interface
Application
Steps/Substeps
Bar
Project
This is the first step in creating/opening an application. The Application Steps/
Substeps Bar displays the name of the open application in the top-right
corner.
Describe
This is the second step in building the Twido automation application. The
Describe step lets you select hardware resources from the catalog and
describe how equipment interconnect with one-another via networks.
0 10 1
01
10
10
0 00
0
0 01
0 10 1
Program
This is the third step in setting up your Twido application. It provides access
to the following 3 substeps.
1.Configure
0 10
010 1
0 00
1
This substep lets you view/set:
0
1
0
0 00
110 1
0 10
zHardware Configuration for the base controller,
011 0 0 00
010 1
expansion modules, communication modules and hardware
options
zData Objects Configuration for Simple Objects, Function
Blocks, I/O Objects, and Professional Objects
zController Behavior
zApplication Program / Password Protections
10
010 0
01 010 0 0
0 1 0 1 0 01 0
11 10 0 0
01 0 1 0 0
01
10
010 0
01 0 1 0 0 0
01 01 0 0 0
11 10 0 1 0
01 1 0 0
0
01
2.Program
Opens the default Program Editor (Ladder or List) and
provides access to the Symbol Editor.
3.Debug
Lets you manage the TwidoSuite-to-PLC connection and
provides access to Animation Tables Editor and
Monitoring tasks.
Report
This is the final step in setting up your application. It opens the Report
Manager window to select report components, configure printing options, and
export the application report to HTML format.
20
35013826 06/2006
English
Interface
Miscellaneous
Provides access General Help and information About TwidoSuite.
Preference
Opens the User Preferences window.
Quick Access
Bar
Return to previous task, as you left it
Analyze Program
35013826 06/2006
21
English
Interface
Setting Preferences
Displaying
Preferences
Preferences
Window
Preferences
Apply
Directoty:
Restore
None
Default projects
Schneider default
Customized
Default program editor
Ladder
List
Autosave project
every
Yes
minutes
15
No
Default background color
Clear
Dark
Default image
Automatic
Automatic management
The very highest
Manual
Manual management
Personalized image
Parity
COM1
Serial
COM1
Punit
5000
20
COM2
Serial
COM1
Punit
5000
20
My connection 1
Serial
192.168.1.1
Direct
5000
20
Modem connection
Ethernet
xxxxxxxxxx
5000
20
19200
None
Add
Modify
Delete
22
35013826 06/2006
English
At a Glance
Overview
In this section, you will learn how to create and edit a program with TwidoSuite.
To start TwidoSuite you need open the Application Launcher. Click the launch icon
located on your PC desktop.
TwidoSuite
New
Programming Mode
Monitoring Mode
English
Franais
35013826 06/2006
23
Create/Edit Program
English
From TwidoSuite Application Launcher, you have access to the following modes:
z TwidoSuite Programming Mode
z TwidoSuite Monitoring Mode
z PLC Firmware Update utility
z TwidoSoft application program
Application
Example
The following sections will introduce you step by step to the fundamentals of
TwidoSuite programming, through an actual application example: managing the
water level of a water tank used for irrigation:
What's in this
Chapter?
24
Topic
Page
25
27
30
32
37
46
52
57
35013826 06/2006
English
Create/Edit Program
Project Window
Telemecanique
1
0 10
01
10
10
Project
Describe
My project
0 00
0
0 01 1
010
Program
Report
Project information
Project management
Update the project information
File information
Project
My project
Directory
Project information
Author
Authors name
Service
Service
Index
version
Industrial Property
XYZ
Comment
Description
Image
Create
TwidoSuite
Actions frame
35013826 06/2006
25
English
Create/Edit Program
How to Create a
New Project
26
35013826 06/2006
English
Create/Edit Program
Describe
Window
In the Describe window, you declare the Twido automation system elements
selecting hardware resources from the catalog and describing how equipment
interconnect with one-another via networks.
Bill of materials pane
0 10
01
10
10
Project
Describe
Bill of materials
My project
1 0 00
10
0 00
1
01
Program
Report
Catalog
1x2 landscape
Place
Export
Family
Refrence n...
Twido
Twido
Twido
Twido
TWDLMDA20DTK
TWDDDI8DT
TWDDAI8DT
TWDAMI2HT
Bases
Q..
Expansion modules
Discrete IO expansion
1
2
1
1
TWDDDI8DT
TWDDAI8DT
TWDDDI16DT
TWDDDI16DK
TWDDDI32DK
TWDDMM8DRT
TWDDMM24DRF
TWDNOI10M3
TWDDDO8UT
TWDDDO8TT
TWDDDI8DT
Expansion module with 8 24V DC
inputs, removable screw
terminal, 1 common line,
sink/source transistor. (25mA)
Page 1
REP
TwidoSuite
Graphic pane
27
English
Create/Edit Program
z
Describe tool bar: Use the Describe tool bar to manage the graphic pane and
elements.
1x2 landscape
How to Describe
Your Application
1. Use drag-and-drop to place catalog elements in the graphic pane, starting with
the base controller (compact or modular), then adding expansion modules and
options as supported by the controller and as required by your application.
2. Configure communication ports by double-clicking the ports graphical representation in the graphic pane.
3. Use drag-and-drop to place network elements available from the catalog pane in
the graphic pane.
4. Click to select a Twido communication port and drag the cursor to draw the
network links between the Twido base controller and network elements. Connect
network elements with one another in the same manner to build network links.
Note: To find out more about describing applications, declaring network elements
and configuring networks, please refer to the TwidoSuite Operation Guide - Online
Help.
28
35013826 06/2006
AutomaticWatering System
Example
010
01
10
10
Project
Describe
Bill of materials
10 0
My project
0
0 011
010
Program
Report
Catalog
1x2 landscape
Place
Export
Compact bases
Family Reference n...
Q..
Twido TWDLCAA10DRF 1
Twido TWDXCPRTC
1
TWDLCAA10DRF
TWDLCDA10DRF
TWDLCAA16DRF
TWDLCDA16DRF
TWDLCAA24DRF
TWDLCDA24DRF
TWDLCAA40DRF
TWDLCAE40DRF
TWDLCAA10DRF
Compact base controller,
230V AC, 6 24V DC inputs,
4 2A relay outputs.
Non-removable terminal blocks.
Page 1
REP
TWDXCPRTC
35013826 06/2006
TWDLCAA10DRF
TwidoSuite
29
English
Create/Edit Program
English
Create/Edit Program
Before you proceed with programming of your application, you must set your
application I/O wiring specifications.
I/O Wiring
Specifications
RTC Specifications
z RTC option must be installed on Twido 10 I/O base controller.
30
35013826 06/2006
Create/Edit Program
English
RTC Option
%Q0.0 Output to water tanks pump actuator
%Q0.1 Output to irrigation control valve
Controller Power Supply
35013826 06/2006
31
English
Create/Edit Program
Now that you have declared the hardware elements in the Describe step, you will
need to configure hardware and software resources.
To have access to hardware and software configuration options, select
0 10 1
01
10
10
Program
Configure
Hardware
Resources
0 00
0
0 01
010 1
Configure
10
01 0 0
01 0 1 0 0 0
0 1 0 1 0 01 0
11 1 0 0 0
01 1 0 0
0 10
Configuration pane
Telemecanique
010
01
10
10
Project
Describe
My project
1 0 00
0
0 011
0 10
Program
0
10 1
0101 0 00
0101 0 00
110 0 10
0110 0 00
1
010
Report
Configure
10
10 0
0 100 1 0 0 0
0 1 1 0 010
1 1010 0 0
01 1 0 0
0 10
Program
10
010 0
01 0 1 0 0 0
01 01 0 0 0
11 1 0 0 1 0
01 01 0 0
01
Debug
Configure
the Hardware
Configure
the data
Configure
the behavior
Define
the protections
TWDLMDA20DTK
Module configuration.
Apply
Cancel
Table of inputs
Used Address
%I0.0
%I0.1
%I0.2
%I0.3
%I0.4
Symbol
Used By
Filtering
3 ms
3 ms
3 ms
3 ms
3 ms
Latch?
Run/Stop? Deactivation
Not used
Not used
Not used
Table of outputs
Used Address
%Q0.0
%Q0.1
%Q0.2
%Q0.3
Symbol
Status?
Used By
TwidoSuite
32
35013826 06/2006
English
Create/Edit Program
35013826 06/2006
33
English
Create/Edit Program
Configure
Software
Resources
Select the Program Configure Configure Data task to open the software
configuration window.
Telemecanique
010
01
10
10
Project
Describe
100
My project
0
0 01 1
0 10
Program
10
10 0
0 100 1 0 0 0
0 1 1 0 01 0
1 10 0 0
0 110 1 0 00
01
0
10 1
0 10 1 0 0 0
0 10 0 0 0
1
1 10 0 0 1 0
0 11 0 0 0
0 10 1
Report
Program
Configure
Object Categories
Simple objects
Function blocks
I/O objects
Advanced objects
Allocation
%M
%MW
%MD
%MF
%KW
%KD
%KF
Debug
Configure
the Hardware
Define Objects
Number of objects
Automatic
Table
Configure
the data
Configure
the behavior
All
Used
Simple objects
10
010 0
01 01 0 0 0
01 01 0 0
0
11 1 0 0 1 0
01 1 0 0
0
01
Equ. Used
%MW
%MW.0
%MW.1
%MW.2
%MW.3
%MW.4
%MW.5
%MW.6
%MW.7
%MW.8
%MW.9
%MW.10
%MW.11
%MW.12
%MW.13
%MW.14
%MW.15
%MW.16
%MW.17
%MW.18
%MW.19
Define
the protections
Symbol
1
0
TwidoSuite
34
35013826 06/2006
Note: Internal memory objects such as system bits and words, memory bits and
words, and network exchange words are non-configurable objects.
Automatic-Watering System Example
In this application example, you will need to configure two software objects:
z One Schedule Block (Real Time Clock 0) that will manage the weekly watering
schedule.
z One Counter (%C0) that will serve as a maintenance cycle counter.
Note: Configuring schedule blocks
To support schedule blocks, make sure the RTC option is installed on your
TWDLCAA10DRF controller.
z Schedule blocks are non-programmable objects that do not need any
declaration in the Ladder or List program. You simply need to enable them and
configure their respective parameters.
z
To configure the Schedule Block (Real Time Clock 0), follow these steps:
1. Select the Program Configure Configure Data task to open the software
objects configuration window.
2. From the "Object Categories" frame, select Advanced objects.
Result: The list of available advanced function blocks for that particular controller
is displayed in the dedicated "Advanced objects" frame below.
3. From the "Advanced objects" frame, select %SCH - Schedule blocks.
Result: The schedule blocks configuration window appears in the center pane.
Available schedule blocks (numbered 0 to 15) are listed in a table.
4. Select the schedule block you want to configure in the table: Real Time Clock 0.
Result: By default, the schedule block is disabled and all fields appear as nonconfigurable in the configuration window.
5. Click the Configure checkbox to activate the configuration fields and follow these
steps to configure the schedule block (the following settings are given as an
example only):
1. Enter the Output Bit address. In this application, this is the address of the
output terminal connected to the control valve of the irrigation system:
%Q0.1
2. Select Start Month and End Month for starting and ending the Schedule
Block.
Range: January to December.
3. Select Start Date and End Date for the day of the month for starting and
ending the Schedule Block.
Range: 1 to 31 (depending on month selection).
35013826 06/2006
35
English
Create/Edit Program
English
Create/Edit Program
4. Select the Start Time and End Time for setting the time of day for starting and
ending the Schedule Block.
Range: 00:00 to 23:59.
5. Select the Days of the Week to activate the schedule block output. Checked
boxes indicate the days that the output device is activated.
6. Use the Up/Down keys to scroll through the list of schedule blocks in the table or
use the mouse pointer to select a particular schedule block.
7. Changes are effective as soon as the cursor leaves the current schedule block
line.
Now that you have configured the schedule block, follow these steps to configure
the maintenance cycle counter (%C0):
1. Select the Program Configure Configure Data task to open the software
objects configuration window.
2. From the "Object Categories" frame, select Function blocks.
Result: The list of available function blocks for that particular controller is
displayed in the dedicated "Function blocks" frame below.
3. From the "Function blocks" frame, select Counters.
Result: The counters configuration table appears in the center pane. Available
counters range from #0 to #127.
4. Select the up/down counter you want to configure in the table: %C0.
5. For the selected up/down counter set the corresponding fields in the table, as
follows (the following settings are given as an example only):
1. Click the Symbol text box and enter a symbolic name for this counter:
MAINTENANCE_REQUIRED (for example.)
Note: Symbols are in upper-case format by default. A valid symbol can contain
any combination of 32 characters: (A-Z),(0-9), and (_). No spaces allowed.
2. Select a Preset value: 100 (watering cycles, for example.)
Range: 0 to 9999.
Default: 9999.
3. Select Adjustable option to allow the Preset value to be changed from within
Animation Tables.
6. Use the Up/Down keys to scroll through the list of counters in the table or use the
mouse pointer to select a particular counter.
7. Changes are effective as soon as the cursor leaves the current counter line.
Note: Counters are programmable objects that need to be declared in the Ladder
or List program. It is at that stage that you will specify whether the counter used is
a up or down counter.
36
35013826 06/2006
Create/Edit Program
Introduction
English
100
0
0 01 1
0 10
10
10 0
0 1 00 1 0 0 0
01 0 1 0 0 0
11 1 0 0 1 0
01 0 1 0 0
01
Note: In program mode, the task bar provides access to the Symbol Editor as
well.
35013826 06/2006
37
English
Create/Edit Program
Program Edition
Window
The Program Edition window features the Program Editor and five browsers and
tools available on the functions bar, as described in the following figure:
Program Editor
Program Browser
Telemecanique
010
01
10
10
Project
Describe
10 0
My project
1 0 10
0101 0 00
010 0 00
1
1100 0 10
011 0 00
0101
0
0 011
0 10
Program
Report
Program
Configure
1 2 3
Program
1 - - LADDER
Start [1,1]
End [1,1]
Ladder
List
R
R
Ladder
Debug
Hex
Dec
100%
SR
10
10 0
0 1 00 1 0 0 0
01 01 0 0 0
11 0 0 1 0
0 11 1 0 0
010
10
01 0 0
0 1 0 1 0 000
0 1 01 0 10
1 1 10 0 0
01 0 1 0 0
01
Edit
Program
abc
%TM %C
Define
Symbols
1 LD
SubRoutines
Standard
Standard
Etiq, %Li
Etap. ini.
Etap. db.
Etap. POST
All
Used
%I0.0
%I0.1
%Q0.0
%I0.3
Without
Address
Find
Symbol
Comment
10
01
01
10
TwidoSuite
Data Browser
Functions Bar
38
Import Program
Export Program
Show/hide ProgramBrowser
Show/hide Cross-Ref Browser
Show/hide Data Browser
35013826 06/2006
Ladder Editor
Elements
The Ladder Editor is a graphics-based, program editor used to view, create and
edit ladder programs.
When you select Ladder in the program tool bar drop-down list box, the program
editor switches to Ladder mode. The following figure describes the various elements
that make up the ladder editor:
Section or Rung
header
Program Toolbar
Ladder
LD
Hex
Dec
100%
SR
List
R
Ladder
R
1
%TM %C
SECTION OR RUN TITLE
abc
Standard
Section or Rung
Standard
Label, %Li
Ini. step
Start step
Step POST
%I0.0
%Q0.0
%I0.0
Ladder elements
35013826 06/2006
%I0.0
Programming grid
Extended Ladder
Palette Buttons
39
English
Create/Edit Program
English
Create/Edit Program
Program Edition
Tool Bars
3 ladder programming tool bars (see figure above) are available that allow you to
easily edit programs and graphically enter ladder instructions:
z Program Tool Bar
z Ladder Palette Tool Bar
z Extended Ladder Palette
Program Tool Bar
Ladder
Hex
Dec
100%
SR
abc
List
Ladder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
10
11 12
13
14
15
%TM %C
9 10 11 12 13
14
1
2
3
4
5
6
7
8
9
40
Add rung
Insert rung
Add normally open contact
Add normally closed contact
Add coil
Add inverse coil
Add link
Remove link
Add Comparison block
35013826 06/2006
Create/Edit Program
Add Operation block
Add Timer block
Add Counter block
Add Jump or Subroutine Call
Extended Ladder Palette buttons (see below)
English
10
11
12
13
14
%TM %C
XOR
XORN
1
2
3
4
5
6
35013826 06/2006
XORR
RET
1111123 1111123
%M %R %S
MSG
SBR
END
XORF
#D
%SC
41
English
Create/Edit Program
Overview of
Ladder
Programming
You write a ladder program in the logical order required to control a machine or
process.
Sections/Subroutines
A TwidoSuite ladder program is made up of a sequence of sections and subroutines
containing ladder rungs. Sections and subroutines are delimited by section/subroutine
headers. They are numbered automatically by the TwidoSuite software.
The following figure describes a typical section header (subroutine headers are
similar to this).
1
LD
SECTION TITLE
Rungs
A ladder rung is similar to a relay logic diagram. Each rung consists of one network
of linked graphical elements organized in a programming grid starting with a
potential bar on the left and ending with a potential bar on the right.
The following figure describes a typical ladder rung.
Comments
Symbol
Address
RUNG TITLE
Rung 1
main switch
SWITCH1
%I0.0
%Q0.0
Input element
(example of
normally open contact)
Output element
(example of
normal coil)
Note: Programs are limited to a total of 128 sections and subroutines with a
maximum of 64 subroutines (SR0 to SR63).
42
35013826 06/2006
How to Edit a
Program
The following procedure gives you the basics to start editing a ladder program.
1. When you start writing a new program, press the Add Section icon
program tool bar at the following prompt.
on the
Result: The first section is inserted in the ladder editor, displaying the first empty
rung, as shown below. (Note that a program must contain at least one section.)
35013826 06/2006
43
English
Create/Edit Program
Create/Edit Program
English
Note: At this stage, you will note that the red color bar shows that the rung is still
invalid.
8. You must specify an address to each element in the rung. Click the address field
above each element and enter the desired address. Enter %I0.0 for the input
contact and %Q0.0 for output coil (example). Note that you may also optionally
specify a symbol and comment for each element.
Result: The yellow color bar indicates that this rung is valid, but has not been
analyzed (compiled with the program) yet.
9. Click the Analyze icon
to start the program validation process and check for
possible program errors in the Error list box.
Note: To find out more about program edition rules and procedures, please refer
to the TwidoSuite Operation Guide - Online Help.
44
35013826 06/2006
Example
Program for the
AutomaticWatering System
This section gives you the ladder program that applies to the automatic-watering
system example. This application consists of 2 independent processes:
z
z
This wil require to create 2 sections in the program, one for each process.
Water tank level management section
Insert the first section of the program, and create the following program.
Watering count
Add a section to the program, create the following program that will count the
watering cycles and save your project. (Note: If you have not done it yet at the Data
Objects Configuration stage, double-click the %C0 element and set the Preset
value to 100 cycles in the Counters table.)
35013826 06/2006
45
English
Create/Edit Program
English
Create/Edit Program
In this section, you will find out how to save your work and transfer the program to
the Twido PLC. Note that a program must be saved before it can be transferred to
the PLC.
Note: It is good practice to frequently save your project to the PC disk as you are
writing larger ladder/list instructions programs to prevent any significant loss of
work due to power shut-down or other computer problems.
Save the
Program
Select
Project Save current project task and click the Save button.
Result: The project files containing the application program are saved to the disk in
the project directory which location has been specified in the project file information
window.
46
35013826 06/2006
Transfer the
Program
English
Create/Edit Program
In order to run your application for debugging, you must first transfer it to the
controller RAM.
Follow these steps to download your application program to the PLC:
1. If the PC is not yet connected to the controller, select a connection from the
connections table in Program Debug Connect task and click Run.
Connection for Debugging
This connection method allows to
directly connect to the controller or to
transfer an application from the PC to
the controller.
Select a connection
Type
Name
Project
My connection 1
Ethernet
13.1.2.3.Direct
Project
My connection 2
Serial
Connection method
Punit
IP/Phone
Project
My connection 3
Modem
555554443333,
Project
My connection 4
USB
USB,8
PC
USB
Serial
USB,Punit
OK
Select a connection
Type
Name
Connection method
IP/Phone
Project
USB direct
USB
USB
Project
Ethernet direct
TCP/IP
192.168.0.1
Project
Modem direct
MODEM
+33 2 23 45 67 89
Project
COM1 P2P
Srie
COM1,@
PC
USB P2P
USB
USB,1
Communication established
Connection tests
The PC and controller applications do not match : immediate connection is not possible !
Hardware configurations match : transfer PC ==> Controller is possible
Controller application not protected : transfer Controller ==> PC is allowed
Comparing applications
Project
Controller
Application name
Base controller
ViewEx
TWDLCAA16DRF
ViewEx
TWDLCAA16DRF
Immediate connection
Transfer
PC ==> Controller
Transfer
Controller ==> PC
Cancel
35013826 06/2006
Connect
47
English
Create/Edit Program
2. If the PC and PLC applications are different, select Transfer PC => Controller.
48
35013826 06/2006
Use the PLC Soft Control Panel to Run/Stop/Initialize a program that has been
downloaded to the PLC (see Transfer the Program, p. 47.)
To run the program that you have just tranferred to the PLC, follow this procedure:
1. If the connection between TwidoSuite and the PLC is not active, select a
connection from the connections table in Program Debug Connect task
and click OK to establish a connection.
2. When a successful connection is established between TwidoSuite and the
controller, the PLC Soft Control Panel dialog box appears in the form of a
dashboard, always on top of your TwidoSuite workspace.
TWDLC-A24DRF
RUN
Error
Stat
TwidoSuite
RUN
STOP
INTIALIZE
35013826 06/2006
49
English
Create/Edit Program
English
Create/Edit Program
Closing and
Reopening
Control Panel
Dashboard
TwidoSuite
To re-open the dashboard, click the button in the top right hand corner of the window
as shown below:
Telemecanique
My project
?
Stop
50
35013826 06/2006
Expanding
Dashboard
English
Create/Edit Program
TwidoSuite
My Twido
Twido State:
Stopped
Reference:
TWDLC-A24DRF
Firmware version:
3.40
Current Time:
I/O Failure
TRUE
I/O Forced:
Current PLc scanning period:
Address used:
Punit
COM2
L Ac:
NA
L St:
TWDLC-A24DRF
RUN
Error
Stat
TwidoSuite
35013826 06/2006
51
English
Create/Edit Program
TwidoSuite provides many options to help you debug and adjust your program:
z
z
z
z
CrossReferencing your
Program
Cross-Reference browser
Animation tables
Forcing I/Os
Program animation
Introduction
Cross referencing makes it easier to locate several occurences of the same program
element throught the application, for debugging purposes.
It consists of selecting items in a program such as an address that you want to track
in an application. Once the items are selected, then a list is generated displaying
where the items are used in the application. Cross referencing provides a useful list
of the operands, symbols, lines and operators used in all or part of an application.
Cross-Reference Browser
0 10
01
10
10
Select Program
100
0
0 01 1
010
Program
10
010 0
01 0 1 0 0 0
01 0 1 0 0 0
11 1 0 0 1 0
01 1 0 0
0
01
Configure
Symbol: TEST
Section
52
Location
Section 1
Rung 1
Section 1
Rung 1
Operator
35013826 06/2006
Use an animation table to view and adjust program variables online, when the PLC
is either in Run or Stop mode.
With an animation table, you can
z as the program is running, monitor the actual value of any variable in the
controller and compare against expected value,
z change the value of variables independent of calculated values, until they are
updated again,
z backup the current values of all variables in an animation table,
z restore to the controller the retained values of all variables in an animation table,
z force inputs and outputs.
35013826 06/2006
53
English
Create/Edit Program
Create/Edit Program
English
Column headings
Toolbar
Address
%I0.0
Used
Symbol
Current
0
Retained
0
Format
Decimal
%I0.1
Decimal
%I0.2
Decimal
Import a table
%I0.3
Decimal
Export a table
%I0.4
Decimal
%I0.5
Decimal
%I0.6
Decimal
%I0.7
Decimal
%I0.8
Decimal
10
%I0.9
Decimal
11
%Q0.1
Decimal
12
%Q0.2
Decimal
13
%Q0.3
Decimal
14
%Q0.4
Decimal
15
%Q0.5
Decimal
16
%IW1.0
Decimal
17
%IW1.1
Decimal
18
%IW1.2
Decimal
19
%IW1.3
Decimal
20
%IW1.4
Decimal
Animation tables
Name
My animation table 1
My animation table 2
My animation table 3
My animation table 4
My animation table 5
Address
Animation table
For more details, please refer to Debugging Online via the Program Animation in
TwidoSuite Operation Guide - Online Help.
54
35013826 06/2006
Forcing I/Os
Forcing I/Os means that you forcibly set the values of one or more input or output
bits to either 0 or 1.
Note: You can force I/Os when TwidoSuite is in online mode, with the controller
either in Run or Stop mode.
How to Force I/Os in an Animation Table
The animation table tool bar provides Force Commands:
1
z
0
Force to 1
Force to 0
Clear Force
You can animate both Ladder and List programs. This section describes how to
animate a Ladder language program. For more details, please refer to Animating a
Program in TwidoSuite Operation Guide - Online Help.
How to Animate a Ladder Program
1. Select the Program Debug Animate program task to open the program
editor in animated mode.
Result: The program editor displays animated ladder elements.
2. Watch the animated ladder elements during program execution.
How Ladder Animation Works
You can watch the backlight of logical objects such as contacts, coils and special
objects turn on as their logical value becomes 1.
z You can keep track of data variables of fonction blocks, comparison blocks and
operation blocks, including current and preset values.
z
Note: Binary operands are displayed as 0 or 1, while all other values are displayed
in hexadecimal or decimal, depending on the format selected in Preferences (see
Setting Preferences, p. 22).
35013826 06/2006
55
English
Create/Edit Program
English
Create/Edit Program
(leftmost button
Telemecanique
010
01
10
10
Project
Describe
My project
1000
10
10 0
0 100 1 0 0 0
0 1 1 0 010
1 10 0 0
0 11 1 0 00
0 10
0
10 1
0 10 0 0 0
0 10 1 0 0 0
1
1 10 0 1 0
0 11 0 0 0 0
0 10 1
0
0 01 1
0 10
Program
Report
Program
Configure
Ladder
SR
Hex
Dec
100%
?
Stop
Debug
Connect
abc
%TM %C
10
010 0
01 01 0 0 0
01 01 0 0
0
11 1 0 0 1 0
01 1 0 0
0
01
1 LD
Animate
the program
Manage
animation tables
Check
PLC
Rung 0
%I0.0
%I0.1
%Q0.0
Monitor
hardware
configuration
Monitor
software
configuration
%I0.3
Monitor
described
configuration
Address
%M0
%Q0.1
%I0.0
Used
My animation table 1
Symbol
Current
Monitor
the behavior
Retained
Format
Decimal
Decimal
Decimal
Disconnect
56
35013826 06/2006
English
Create/Edit Program
With TwidoSuite report, you create custom printouts and html exports (to .htm file)
by selecting report items from the report manager browser.
Report Manager
Use the report manager to select report components, configure printing options, and
export the application report to HTML format.
To access the Report Manager window, select the Report icon
TwidoSuite Steps bar.
How to Configure
the Report
on the
The report manager provides a tree-like structure view of the report items and
subitems that can be included in the report by checking the appropirate boxes.
Contents
Repaginate
Folder
Folder name
Station
Folder
Project My Project
First Page (2)
History (1)
Contents (1)
Describe (1)
Graphical Description (5)
Properties (1)
Nomenclature (1)
Twido
Configuration
Hardware (1)
Memory Objects (1)
Memory Report (1)
Behavior configuration (1)
Program
Contents (1)
Symbols (1)
Cross References (1)
Animation Tables (1)
Preferences (1)
About (1)
To configure the report, select an item from the report browser and set the options
that appear in the configuration window. For details on report options, please refer
to the TwidoSuite Operation Guide - Online Help.
35013826 06/2006
57
English
Create/Edit Program
Page Setup
Select the Report Page Setup task to set the information you want to display in
page headers and footers, and the page margins as well.
You can configure your report pages to show up to nine different types of information
in three seperate fields per header and footer line, including:
You can configure in your report page to show up to three different type of
information in three seperate fields per header and footer, including:
z Print date
z Creation date
z Modification date
z Project name
z Any text
z No text
z Page number/Total number of pages
z Page number
z TwidoSuite version
Select the Report Print task to prepare the report for sending to the printer and/
or to an HTML export file.
The print window allows you to:
z preview the report with several page format and zooming options,
z choose the destination printer and access the printer properties,
z repaginate your report according to selected printing options
z send your report for printing on the selected print device,
z export your report to a HTML file.
58
35013826 06/2006
English
Monitoring an Application
Monitoring an Application
How to Start the
Monitoring Utility
TwidoSuite
New
Programming Mode
Monitoring Mode
English
Franais
35013826 06/2006
59
English
Monitoring
Monitoring
Features
Controller Status
RAM Executable
RAM Protected
I/O Forced
Potentiometers
Maximum (ms)
...
TD-33/V90
Current (ms)
Minimum (ms)
Date (dd/mm/yy)
Time (hh:mm:ss)
RTC Correction
Modem connected
Name
Command
Apply
1.
2.
3.
4.
5.
Cancel
For details on how to use the various monitoring features, please refer to Hardware
Monitoring chapter in TwidoSuite Operation Guide - Online help.
60
35013826 06/2006
TwidoSuite V1.0
Logiciel de programmation
Mise en route
06/2006
www.telemecanique.com
Franais
Franais
A propos de ce manuel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chapitre 1
Chapitre 2
Lancement de TwidoSuite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Lancement du programme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapitre 3
Chapitre 4
Interface TwidoSuite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Fentre principale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Dfinition des prfrences. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Chapitre 5
Chapitre 6
23
25
27
30
32
37
47
53
58
Franais
Franais
A propos de ce manuel
Prsentation
Objectif du
document
Champ
d'application
Document
consulter
Titre
Rfrence
Guide de rfrence du matriel d'automates programmables Twido - Bases compactes et modulaires 3501323600
Guide de rfrence du matriel d'automates programmables Twido - Modules d'E/S TOR
3501325200
3501326100
3501326800
3501322700
35013826 06/2006
A propos de ce manuel
Avertissements
lis au(x)
produit(s)
Schneider Electric ne saurait tre tenu responsable des erreurs pouvant figurer
dans le prsent document. Merci de nous contacter pour toute suggestion
d'amlioration ou de modification ou si vous avez trouv des erreurs dans cette
publication.
Franais
Aucune partie du prsent document ne peut tre reproduite sous quelque forme ou
par quelque moyen que ce soit, lectronique ou mcanique (photocopiage inclus),
sans autorisation crite expresse de Schneider Electric.
Copyright Schneider Electric 2006. Tous droits rservs.
Toutes les rglementations de scurit pertinentes locales doivent tre observes
lors de l'installation et de l'utilisation du prsent produit. Pour des raisons de scurit
et pour garantir une conformit aux donnes systme documentes, seul le
fabricant est habilit effectuer des rparations sur les composants.
Lorsque les automates sont utiliss pour des applications prsentant des exigences
de scurit technique, suivez les instructions appropries.
La non-utilisation du logiciel Schneider Electric ou du logiciel approuv avec nos
produits peut entraner des blessures, des dommages ou des dysfonctionnements.
Le non-respect du prsent avertissement relatif au produit peut entraner des
blessures ou des dommages matriels.
Commentaires
utilisateur
35013826 06/2006
1
Franais
Installation et lancement du
programme
Introduction
Vue d'ensemble
Contenu de ce
chapitre
35013826 06/2006
Sujet
Page
Enregistrement de TwidoSuite
10
Franais
Configuration
matrielle
Minimum
Ordinateur
RAM
128 Mo
100 Mo
Edition/Service Pack
Windows NT 4.0
Windows 2000
Windows XP
Remarques
Le navigateur requis est Microsoft Internet Explorer 4.01 (ou version suprieure).
Connexion un
automate Twido
35013826 06/2006
Installation du
logiciel
Etape Action
Rsultat
Dsinstallation
du logiciel
35013826 06/2006
TwidoSuite
Franais
Prrequis
Enregistrement de TwidoSuite
Introduction
Franais
L'enregistrement est gratuit et vous permet d'tre averti des dernires nouveauts
de produit, ainsi que des mises niveau des logiciels et microprogrammes pour
votre automate Twido.
Note : Ce logiciel comporte une priode d'essai gratuite de 30 jours. Aprs
l'expiration de la priode d'essai, vous devez vous enregistrer pour pouvoir
continuer utiliser ce logiciel.
Comment
enregistrer
TwidoSuite
10
35013826 06/2006
2
Franais
Lancement de TwidoSuite
Lancement du programme
Comment lancer
le programme
TwidoSuite
Options du
Lanceur
d'applications
35013826 06/2006
11
Franais
Fonctions
supplmentaires
Lanceur
d'applications
TwidoSuite
Nouveau
Nouveau
Mode de programmation
Mode de surveillance
Anglais
Franais
12
35013826 06/2006
3
Franais
?
L'assistant Windows Executive Loader pour Twido est un assistant fonctionnant
sous Windows qui vous guide tout au long des tapes ncessaires la mise jour
de l'excutif du microprogramme de votre automate programmable
Twido Telemecanique. L'excutif du microprogramme est le systme d'exploitation
qui lance vos applications et gre le fonctionnement de l'automate.
L'assistant fournit une interface utilisateur intuitive qui, d'un simple clic, vous guide
dans la procdure de mise jour. Il vous indique galement comment tlcharger
rapidement la version la plus rcente de l'excutif de votre automate.
Reportez-vous au Guide utilisateur de l'assistant Executive Loader pour obtenir des
instructions dtailles. Ce guide est disponible depuis l'aide en ligne de l'utilitaire
Exec Loader.
Ouverture de
l'assistant Exec
Loader
35013826 06/2006
13
Franais
Nouveau
Firmware (tapes
de base)
Quatre tapes sont ncessaires pour mettre niveau votre excutif. L'assistant
affiche une fentre chaque tape et une aide en ligne est disponible pour chacune
des tapes. Le tableau suivant rsume chaque tape :
Etape
Fentre
Fonction
Accueil
Paramtres
Proprits fichier et
unit
Droulement du
transfert
14
35013826 06/2006
Le tableau suivant numre tous les priphriques Twido pris en charge par
l'assistant Executive Loader :
Module de
l'automate
Description
TWDLCAA10DRF
TWDLCDA10DRF
TWDLCAA16DRF
TWDLCDA16DRF
TWDLCAA24DRF
TWDLCDA24DRF
TWDLCAA40DRF
TWDLCAE40DRF
TWDLMDA20DUK
TWDLMDA20DTK
TWDLMDA20DRT
TWDLMDA40DUK
TWDLMDA40DTK
Remarque 1 : Les produits dont la spcification indique une alimentation 230 V ca sont
compatibles avec le 120/230 V ca.
Remarque 2 : Les connecteurs MIL sont galement dsigns sous le terme
connecteurs HE10.
35013826 06/2006
15
Franais
Automates
Twido pris en
charge
Franais
16
35013826 06/2006
4
Franais
Interface TwidoSuite
Introduction
Vue d'ensemble
Cette section dcrit galement le processus de cration d'un projet TwidoSuite (voir
Barre des tapes/sous-tapes d'une application, p. 20).
Contenu de ce
chapitre
35013826 06/2006
Page
Fentre principale
18
22
17
Interface
Fentre principale
Franais
Espace de travail
TwidoSuite
Telemecanique
0 10
01
10
10
Projet
Description
10 0
Mon projet
0
0 01 1
010
Programme
10
010
0 1 0 1 0 00
0
0 1 0 1 0 01 0
11 1 0 0 0
01 0 1 0 0
01
0
101
010 1 0 0 0
010 0 0 0
110 1
0010
011 0 0 0
010 1
Rapport
Programme
Configurer
10
10 0
0 1 00 1 0 0 0
01 0 1 0 0
0
11 0 0 1 0
0 11 1 0 0
010
Mise au point
Configurer
le matriel
Configurer
les donnes
Configurer
le
comportement
Dfinir
les protections
TWDLMDA20DTK
Description du module
Rfrence
Description
Configuration du module.
Appliquer
TWDLMDA20DTK
Repre 0
Base automate modulaire 12 entres (24 V cc), 8 sorties
(Transistors source 0,3 A). Connecteurs MIL dbrochables.
Annuler
Utilis
Repre
%I0.0
%I0.1
%I0.2
%I0.3
%I0.4
Filtrage
3 ms
3 ms
3 ms
3 ms
3 ms
Utilis Repre
%Q0.0
%Q0.1
%Q0.2
%Q0.3
Symbole
Etat ?
Utilis par
TwidoSuite
Zone de liste
Barre d'accs rapide
d'erreurs
Editeurs et visualisateurs
18
35013826 06/2006
Interface
Franais
Options
d'affichage
Agrandit la fentre principale.
Rduit la fentre principale.
Ferme l'application TwidoSuite.
Bouton d'ancrage pour la barre des tapes de l'application.
Redimensionne la fentre principale.
35013826 06/2006
19
Interface
Projet
Il s'agit de la premire tape excuter lors de la cration/l'ouverture d'une
application. Le nom de l'application ouverte apparat dans le coin suprieur
droit de la barre des tapes/sous-tapes de l'application.
Franais
Description
Il s'agit de la deuxime tape excuter lors de la construction d'une
application d'automatisation Twido. L'tape Description vous permet de
slectionner des ressources matrielles dans le catalogue et de dcrire
l'interconnexion des priphriques via des rseaux.
0 10
01
10
10
100
0
0 01 1
0 10
Programme
Il s'agit de la troisime tape excuter lors de la configuration d'une
application Twido. Elle permet d'accder aux 3 sous-tapes suivantes :
1.Configurer
0 10
010 1
0 00
Cette sous-tape vous permet de visualiser/paramtrer :
0
010 1
00
110 1
0 10
zla configuration matrielle de la base automate, des
011 0 0 00
010 1
modules d'expansion, des modules de communication et
des options matrielles,
zla configuration des objets de donnes pour les objets
simples, les blocs fonctions, les objets d'E/S et les objets
professionnels,
zle comportement de l'automate,
zle programme d'application/les protections par mot de
passe.
2.Programme
10
10 0
0 1 00 1 0 0 0
Ouvre l'Editeur de programme par dfaut (Ladder ou List)
0 1 0 1 0 01 0
11 10 0 0
01 1 0 0
et permet d'accder l'Editeur de symboles.
0 10
10
10 0
0 1 00 1 0 0 0
0 1 0 1 0 01 0
11 10 0 0
01 1 0 0
0 10
3.Mise au point
Permet de grer la connexion entre TwidoSuite et
l'automate et d'accder l'Editeur de tables d'animation
et aux tches de surveillance.
Rapport
Il s'agit de la dernire tape excuter lors de la configuration d'une
application. Cette tape ouvre la fentre Gestionnaire de rapport dans
laquelle vous pouvez slectionner les composants du rapport, configurer les
options d'impression et exporter le rapport de l'application au format HTML.
20
35013826 06/2006
Interface
Divers
Permet d'accder l'Aide gnrale et aux informations contenues dans
A propos de TwidoSuite.
Franais
Prfrence
Ouvre la fentre Prfrences de l'utilisateur.
Barre d'accs
rapide
Revient la tche prcdente, telle que vous l'avez quitte.
Analyse le programme.
35013826 06/2006
21
Interface
Franais
Affichage des
prfrences
Fentre
Prfrences
Appliquer
Rpertoire :
Restauration
Aucun
Ladder
List
Toutes les
Oui
minutes
15
Non
Couleur d'arrire-plan par dfaut
Clair
Sombre
Automatique
Gestion automatique
Le plus haut
Manuelle
Gestion manuelle
Image personnalise
Le plus bas
Niveau 1.0
Niveau 2.0
Niveau 2.5
Niveau 3.0
Gestion des connexions
Nom
Type de
IP/Tlphone P-Unit/Repre
Dbit
Parit
Bits
COM1
Srie
COM1
P-Unit
5000
20
COM2
Srie
COM1
P-Unit
5000
20
Ma connexion 1
Srie
192.168.1.1
Direct
5000
20
Connexion Modem
Ethernet
xxxxxxxxxx
5000
20
19200
Aucune
Ajouter
Modifier
Supprimer
22
35013826 06/2006
5
Franais
Prsentation
Vue d'ensemble
TwidoSuite
Mode de programmation
Mode de surveillance
English
Franais
35013826 06/2006
23
Cration/Edition de programme
Franais
Les sections suivantes vous expliquent, tape par tape, les notions fondamentales
requises pour la programmation avec TwidoSuite, commencer par l'exemple
d'application suivant : gestion du niveau de l'eau d'un rservoir utilis pour
l'irrigation.
Contenu de ce
chapitre
24
Page
25
27
30
32
37
47
53
58
35013826 06/2006
Cration/Edition de programme
Comment
dmarrer le
Gestionnaire de
projets
Fentre Projet
Telemecanique
0 10
01
10
10
Projet
10 0
Mon projet
0
0 01 1
010
Description Programme
Rapport
Informations projet
Gestion de projet
Mettre jour les informations projet
Informations fichier
Projet
Mon projet
Ouvrir un projet
Rpertoire
Informations projet
Auteur
Nom de l'auteur
Service
Service
Index
Version
Proprit industrielle
Commentaire
XYZ
Description
Image
Crer
TwidoSuite
Volet Tches
35013826 06/2006
25
Franais
Cration/Edition de programme
Franais
Comment crer
un projet
26
35013826 06/2006
Cration/Edition de programme
Comment lancer
la fonction
Description
Fentre
Description
0 10
01
10
10
Projet
Mon projet
1 0 00
10
0 00
1
01
Description Programme
Rapport
Catalogue
1x2 paysage
Nomenclature
Dposer
Exporter
Famille Rfrence n...
Twido
Twido
Twido
Twido
TWDLMDA20DTK
TWDDDI8DT
TWDDAI8DT
TWDAMI2HT
Bases
Modules d'expansion
Q..
Modules d'expansion
1
2
1
1
TWDDDI8DT
TWDDAI8DT
TWDDDI16DT
TWDDDI16DK
TWDDDI32DK
TWDDMM8DRT
TWDDMM24DRF
TWDNOI10M3
TWDDDO8UT
TWDDDO8TT
TWDDDI8DT
Module d'expansion avec 8
entres (24 Vcc), bornier vis
dbrochable, 1 ligne commune
transistor logique ngative et
logique positive. (25 mA)
Page 1
REP
TwidoSuite
Volet du graphique
27
Franais
Cration/Edition de programme
z
Barre d'outils Description : cette barre d'outils vous permet de grer le volet du
graphique et les lments.
Franais
1x2 paysage
1.
2.
3.
4.
5.
6.
7.
Comment dcrire
votre application
28
35013826 06/2006
Cration/Edition de programme
Franais
Exemple de
systme
d'irrigation
automatique
Telemecanique
010
01
10
10
Projet
Description
100
Mon projet
0
0 01 1
0 10
Programme
Rapport
Catalogue
1x2 paysage
Nomenclature
Dposer
Exporter
Bases compactes
Famille Rfrence n...
Q..
Twido TWDLCAA10DRF 1
Twido TWDXCPRTC
1
TWDLCAA10DRF
TWDLCDA10DRF
TWDLCAA16DRF
TWDLCDA16DRF
TWDLCAA24DRF
TWDLCDA24DRF
TWDLCAA40DRF
TWDLCAE40DRF
TWDLCAA10DRF
Base automate compacte,
230 V ca, 6 entres 24 V cc,
4 sorties relais 2 A.
Borniers non dbrochables.
Page 1
REP
TWDXCPRTC
35013826 06/2006
TWDLCAA10DRF
TwidoSuite
29
Cration/Edition de programme
Franais
Schma de
cblage des E/S
RTC
z L'option RTC doit tre installe sur la base automate Twido 10 E/S.
30
35013826 06/2006
Cration/Edition de programme
Franais
Option RTC
%Q0.0 Sortie vers l'actionneur de la pompe
eau
Alimentation de l'automate
Alimentation de sortie
35013826 06/2006
31
Cration/Edition de programme
Franais
Programme
Configuration
des ressources
matrielles
0 00
0
0 01
0 10 1
Configurer
10
010 0
01 0 1 0 0 0
0 1 0 1 0 01 0
11 1 0 0 0
01 1 0 0
0 10
Volet de configuration
Telemecanique
010
01
10
10
Projet
Description
Mon projet
1 0 00
0
0 01 1
010
Programme
1010
010 1 0 0 0
010 1 0 0 0
110 0 1 0
011 0 0 0 0
1
010
Rapport
Configurer
10
10 0
010 1 0 0 0
0
0 10
10 0
1 1 01 0 0 1 0
01 1 0 0
0 10
Programme
10
010 0
01 1 0 0 0
0 10 1 0 0 0
1
1 10
100 0
01 1 0 0
0 10
Mise au point
Configurer
le matriel
Configurer
les donnes
Configurer
le
comportement
Dfinir
les protections
TWDLMDA20DTK
Description du module
Rfrence
Description
Configuration du module.
Appliquer
TWDLMDA20DTK
Repre 0
Base automate modulaire 12 entres (24 V cc), 8 sorties
(Transistors source 0,3 A). Connecteurs MIL dbrochables.
Annuler
Utilis Repre
%I0.0
%I0.1
%I0.2
%I0.3
%I0.4
Filtrage
3 ms
3 ms
3 ms
3 ms
3 ms
Utilis Repre
%Q0.0
%Q0.1
%Q0.2
%Q0.3
Symbole
Etat ?
Utilis par
TwidoSuite
32
35013826 06/2006
35013826 06/2006
33
Franais
Cration/Edition de programme
Cration/Edition de programme
Configuration
des ressources
logicielles
010
01
10
10
Projet
Description
100
Mon projet
0
0 01 1
0 10
Programme
10
10 0
0 100 1 0 0 0
0 1 1 0 01 0
1 10 0 0
0 110 1 0 00
01
0
10 1
0 10 1 0 0 0
0 10 0 0 0
1
1 10 0 0 1 0
0 11 0 0 0
0 10 1
Rapport
Franais
Configurer
Catgories d'objets
Objets simples
Blocs fonction
Objets E/S
Objets avancs
Allocation
%M
%MW
%MD
%MF
%KW
%KD
%KF
Mise au point
Configurer
le matriel
Automatique
Table
Configurer
les donnes
Configurer
le
comportement
Tout
Utilis Equ. Utilis
Objets simples
Programme
10
010 0
01 01 0 0 0
01 01 0 0
0
11 1 0 0 1 0
01 1 0 0
0
01
%MW
%MW.0
%MW.1
%MW.2
%MW.3
%MW.4
%MW.5
%MW.6
%MW.7
%MW.8
%MW.9
%MW.10
%MW.11
%MW.12
%MW.13
%MW.14
%MW.15
%MW.16
%MW.17
%MW.18
%MW.19
Dfinir
les protections
Symbole
1
0
TwidoSuite
34
35013826 06/2006
Cration/Edition de programme
35013826 06/2006
35
Franais
Note : Les objets mmoire internes, comme par exemple les bits et mots systme,
les bits et mots mmoire et les mots d'change rseau, ne peuvent pas tre
configurs.
Cration/Edition de programme
Franais
4. Slectionnez une Heure de dbut et une Heure de fin pour indiquer l'heure
de lancement et d'arrt du bloc horodateur au cours du jour slectionn.
Plage : 00:00 23:59.
5. Slectionnez les Jours de la semaine pour activer la sortie du bloc horodateur.
Les cases cocher indiquent les jours o le priphrique de sortie est activ.
6. Utilisez les touches Haut/Bas pour faire dfiler la liste des blocs horodateur ou
utilisez le pointeur de la souris pour en slectionner un en particulier.
7. Les modifications prennent effet ds que le curseur n'est plus sur la ligne du bloc
horodateur actuel.
Puisque le bloc horodateur est dsormais configur, procdez comme suit pour
configurer le compteur des cycles de maintenance (%C0) :
1. Slectionnez Programme Configurer Configurer les donnes afin
d'ouvrir la fentre de configuration des objets logiciels.
2. Depuis la fentre "Catgories d'objets", slectionnez Blocs fonction.
Rsultat : La liste des blocs fonction disponibles pour l'automate en question
s'affiche dans la fentre ddie "Blocs fonction".
3. Depuis la fentre "Blocs fonction", slectionnez Compteurs.
Rsultat : Le tableau de configuration des compteurs apparat dans le volet
central. Les compteurs disponibles sont numrots de 0 127.
4. Slectionnez dans le tableau le compteur/dcompteur que vous souhaitez
configurer : %C0.
5. Dfinissez dans le tableau les champs correspondant au compteur/dcompteur
slectionn, comme indiqu ci-aprs (les paramtres sont donns titre
d'exemple seulement) :
1. Cliquez sur la zone de texte Symbole et saisissez un nom symbolique pour le
compteur en question : MAINTENANCE_REQUISE (par exemple).
Remarque : Par dfaut, les symboles sont en majuscules. Un symbole valide
peut comporter n'importe quelle combinaison de 32 caractres : (A-Z), (0-9),
et (_). Les espaces ne sont pas autoriss.
2. Slectionnez une valeur de Prslection : 100 (cycles d'irrigation, par
exemple).
Plage : 0 9999.
Par dfaut : 9999.
3. Slectionnez l'option Rglable pour permettre la modification de la valeur
Prslection depuis les tables d'animation.
6. Utilisez les touches Haut/Bas pour faire dfiler la liste des compteurs ou utilisez
le pointeur de la souris pour en slectionner un en particulier.
7. Les modifications prennent effet ds que le curseur n'est plus sur la ligne du
compteur actuel.
Note : Les compteurs sont des objets programmables et ncessitent d'tre
dclars dans le programme en langage schma contacts ou liste d'instructions.
Spcifiez maintenant si le compteur utilis sera un compteur ou un dcompteur.
36
35013826 06/2006
Cration/Edition de programme
Introduction
1 0 00
0
0 01
0 10 1
10
010 0
01 0 1 0 0 0
01 0 1 0 0 0
11 1001 0
01 1 0 0
0 10
Programme
Programme
dans la barre des tapes TwidoSuite
et cliquez sur Editer le programme dans la barre des tches.
Note : En mode programme, la barre des tches permet galement d'accder
l'Editeur de symboles.
35013826 06/2006
37
Franais
Cration/Edition de programme
Fentre Edition
de programme
Navigateur de programmes
Franais
Telemecanique
010
01
10
10
Projet
Description
Mon projet
1000
0
10 1
010 1 0 00
010 0 00
1
110 0 0 10
011 0 00
010 1
0
0 01 1
010
Programme
Rapport
Configurer
1 2 3
Programme
1 - - LADDER
Dbut [1,1]
Fin [1,1]
Ladder
List
R
R
Ladder
Programme
Mise au point
Hex
Dc
100 %
SR
10
01 0 0
01 1 0 0 0
0 10 1 0 0 0
1 101 0 0 1 0
01 0 1 0 0
01
10
10 0
0 10 1 0 0
00
0 10
10
1 101 0 0 100
01 10 0
0 10
Editer
le programme
abc
%TM %C
Dfinir
les symboles
1 LD
Sous-programmes
Standard
Standard
Etiq, %Li
Etap. ini.
Etap. db.
Etap. POST
Tout
Utilis
%I0.0
%I0.1
%Q0.0
%I0.3
Sans
Repre
Rechercher
Symbole
Commentaire
10
01
01
10
TwidoSuite
Navigateur de donnes
38
35013826 06/2006
Cration/Edition de programme
Elments de
l'Editeur Ladder
Ladder
LD
Hex
Dc
100 %
SR
List
R
Ladder
R
1
Barre d'outils de la
palette Ladder
abc
%TM %C
Franais
En-tte de section
ou rseau
Standard
Section ou Rseau
Standard
Etiquette, %Li
Etap. ini.
Etap. db.
Etape POST
%I0.0
%Q0.0
%I0.0
Elments de langage
schma contacts
35013826 06/2006
%I0.0
Grille de
programmation
Bouton de la palette
tenduedu langage
schma contacts
39
Cration/Edition de programme
Franais
Barres d'outils
pour l'dition de
programme
Hex
Dc
100 %
SR
abc
List
Ladder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
10
11 12
13
14
15
%TM %C
9 10 11 12 13
14
1
2
3
4
5
6
7
40
Ajouter un rseau
Insrer un rseau
Ajouter un contact normalement ouvert
Ajouter un contact normalement clos
Ajouter une bobine
Ajouter une bobine inverse
Ajouter une liaison
35013826 06/2006
Cration/Edition de programme
Supprimer une liaison
Ajouter un bloc comparaison
Ajouter un bloc opration
Ajouter un bloc temporisateur
Ajouter un bloc compteur
Ajouter un appel de saut ou de sous-programme
Boutons de la Palette tendue du langage schma contacts (voir figure ci-dessous)
Franais
8
9
10
11
12
13
14
%TM %C
XOR
XORN
1
2
3
4
5
6
35013826 06/2006
XORR
RET
1111123 1111123
%M %R %S
MSG
SBR
END
XORF
#D
%SC
41
Franais
Cration/Edition de programme
Vue d'ensemble
de la
programmation
en langage
schma
contacts
Un programme en langage schma contacts est crit dans l'ordre logique requis
pour piloter une machine ou un processus.
Sections/Sous-programmes
Un programme en langage schma contacts TwidoSuite est compos d'une squence
de sections et de sous-programmes incluant des rseaux en langage schma
contacts. Les sections et les sous-programmes sont spars par des en-ttes de sections
ou de sous-programmes. Ils sont numrots automatiquement par le logiciel TwidoSuite.
La figure ci-dessous prsente un en-tte de section type (les en-ttes de sousprogramme sont similaires).
1
LD
TITRE DE SECTION
Rseaux
Un rseau en langage schma contacts est similaire un logigramme. Chaque
rseau est constitu d'un rseau d'lments graphiques lis et organiss en une
grille de programmation avec une barre de potentiel aux extrmits gauche et droite.
La figure ci-dessous illustre un rseau en langage schma contacts type.
Commentaires
Symbole
Repre
TITRE RESEAU
Rseau 1
commutateur principal
SWITCH1
%I0.0
%Q0.0
Elment d'entre
(exemple de
contact normalement ouvert)
Elment de sortie
(exemple de
bobine normale)
Note : Les programmes peuvent comporter au total 128 sections et sousprogrammes, le nombre de sous-programmes tant limit 64 (SR0 SR63).
42
35013826 06/2006
Cration/Edition de programme
La procdure ci-aprs vous indique les tapes de base pour dmarrer l'dition d'un
programme en langage schma contacts.
1. Lorsque vous commencez crire un nouveau programme, cliquez sur l'icne
Ajouter une section
2. Cliquez deux fois sur l'en-tte de section pour saisir les informations suivantes :
z titre de section ;
z commentaires ;
3. Cliquez deux fois sur l'en-tte de rseau pour saisir les informations suivantes :
z titre du rseau ;
z commentaires ;
z dclaration du type de rseau : standard, tiquette (%Li) ou tape Grafcet
(tape de dbut, tape de fin ou POST).
4. Slectionnez la liaison horizontale vide qui se situe entre les circuits
d'alimentation gauche et droite du rseau.
Rsultat : La liaison slectionne est surligne en vert.
35013826 06/2006
43
Franais
Comment diter
un programme
Cration/Edition de programme
Franais
Rsultat : Le contact normal est insr dans la partie la plus gauche du rseau.
Rsultat : La barre de couleur jaune indique que le rseau est valide, mais qu'il
n'a pas encore t analys (compil avec le programme).
9. Cliquez sur l'icne Analyser
pour lancer le processus de validation du
programme et rechercher les erreurs de programmation ventuelles dans la
zone de liste d'erreurs.
Note : Pour obtenir plus d'informations sur les rgles et les procdures d'dition de
programmes, consultez l'Aide en ligne du Guide d'exploitation TwidoSuite.
44
35013826 06/2006
Cration/Edition de programme
Exemple de
programme pour
le systme
d'irrigation
automatique
Franais
2 sections, une par processus, doivent alors tre cres dans le programme.
Gestion du niveau du rservoir d'eau
Insrez la premire section du programme et crez le programme suivant.
35013826 06/2006
45
Cration/Edition de programme
Franais
46
35013826 06/2006
Cration/Edition de programme
Introduction
Enregistrement
du programme
Slectionnez
Projet Sauvegarder le projet courant et cliquez sur le
bouton Enregistrer.
35013826 06/2006
47
Franais
Cration/Edition de programme
Transfert du
programme
Pour mettre au point votre application, vous devez d'abord la transfrer dans la
mmoire vive de l'automate.
Franais
Suivez les tapes ci-aprs pour tlcharger le programme de votre application dans
l'automate :
1. Si l'ordinateur n'est pas encore connect l'automate, slectionnez une
connexion de la table des connexions dans la tche Programme Mise au
point Connecter puis cliquez sur Excuter.
Connexion pour mise au point
Cette mthode de connexion permet
de se connecter directement
l'automate ou de transfrer une
application du PC vers l'automate.
Nom
Projet
Ma connexion 1
Mthode de connexion
Projet
Ma connexion 2
Projet
Ma connexion 3
Modem
555554443333,
Projet
Ma connexion 4
USB
USB 8
PC
USB
Srie
USB, P-Unit
Ethernet
IP/Tlphone
13.1.2.3.direct
Srie
P-Unit
Etablir la communication
OK
Nom
Mthode de connexion
IP/Tlphone
Projet
USB directe
USB
USB
Projet
Ethernet directe
TCP/IP
192.168.0.1
Projet
MODEM
+33 2 23 45 67 89
Projet
COM1 P2P
Srie
COM1,@
PC
USB P2P
Modem directe
USB
USB 1
Communication tablie :
Tests de connexion
Les applications du PC et de l'automate ne correspondent pas. Connexion immdiate impossible !
Les configurations matrielles correspondent : Le transfert PC => Automate est possible
Application automate non protge : Le transfert Automate => PC est autoris
Comparaison des applications
Projet
Automate
Nom de l'application
Base automate
ViewEx
TWDLCAA16DRF
ViewEx
TWDLCAA16DRF
Connexion immdiate
Transfert
PC => Automate
Transfert
Automate => PC
Annuler
48
Connecter
35013826 06/2006
Cration/Edition de programme
3. Si l'application de l'automate est protge par un mot de passe, vous tes invit
saisir ce mot de passe. Saisissez le mot de passe, puis cliquez sur OK pour
continuer le transfert.
4. Si l'automate est en cours d'excution, une bote de dialogue d'avertissement
apparat et indique que vous devez arrter l'automate pour continuer le transfert.
Si l'automate est arrt, le transfert commence. Si l'automate est en cours
d'excution, cliquez sur OK pour l'arrter et poursuivre le transfert. Cliquez sur
Annuler pour fermer la bote de dialogue et annuler le transfert.
Une bote de dialogue d'avertissement apparat et indique que le contenu de
l'application de l'automate sera cras.
5. Cliquez sur OK pour continuer le transfert.
Une option permet de protger l'application (voir Fonctions de scurit dans
l'Aide en ligne du Guide d'exploitation TwidoSuite).
Note : Les commentaires relatifs aux symboles et au programme ne sont pas
transfrs vers l'automate.
35013826 06/2006
49
Franais
Cration/Edition de programme
Excution du
programme
Franais
Pour excuter le programme que vous avez transfr vers l'automate, procdez
comme suit :
1. Si la connexion entre TwidoSuite et l'automate n'est pas active, slectionnez une
connexion de la table des connexions dans Programme Mise au point
Connecter, puis cliquez sur OK pour tablir la connexion.
2. Une fois la connexion tablie entre TwidoSuite et l'automate, la bote de dialogue
du panneau de contrle de l'automate s'affiche toujours en haut de l'espace de
travail de TwidoSuite, sous la forme d'un panneau de commande.
TWDLC-A24DRF
RUN
Error
Stat
TwidoSuite
RUN
ARRETER
INITIALISER
50
35013826 06/2006
Cration/Edition de programme
Franais
Fermeture et
rouverture du
panneau de
commande du
panneau de
contrle
TwidoSuite
Pour rouvrir le panneau de commande, cliquez sur le bouton situ dans l'angle
suprieur droit de la fentre, tel qu'illustr ci-dessous :
Telemecanique
Mon projet
?
Arrter
35013826 06/2006
51
Cration/Edition de programme
Dveloppement
du panneau de
commande
Franais
Error
Stat
TwidoSuite
Mon Twido
Etat Twido :
Arrt
Rfrence :
TWDLC-A24DRF
Version du microprogramme :
3.40
Heure courante :
Echec d'E/S
VRAI
E/S forces :
Priode de scrutation de l'automate :0
Repre utilis :
Punit
COM2
L Ac :
NA
L St :
TWDLC-A24DRF
RUN
Error
Stat
TwidoSuite
52
35013826 06/2006
Cration/Edition de programme
Attribution de
rfrences
croises votre
programme
Franais
Vue d'ensemble
Introduction
L'attribution de rfrences croises permet de trouver facilement dans une
application plusieurs occurrences d'un mme lment de programme, des fins de
mise au point.
Elle consiste slectionner des lments d'un programme, comme une adresse,
que vous souhaitez pouvoir retrouver ensuite dans une application. Lorsque les
lments sont slectionns, une liste affichant l'endroit o les lments sont utiliss
dans l'application est gnre. L'attribution de rfrences croises fournit une liste
utile des oprandes, symboles, lignes et oprateurs utiliss dans toute l'application
ou une partie de celle-ci.
Navigateur de rfrences croises
0 10
01
10
10
Slectionnez Programme
tapes TwidoSuite.
100
0
0 01 1
010
Programme
10
010 0
01 0 1 0 0 0
01 0 1 0 0 0
11 1 0 0 1 0
01 1 0 0
0
01
Configurer
Symbole : TEST
Section
35013826 06/2006
Emplacement
Section 1
Rseau 1
Section 1
Rseau 1
Oprateur
53
Cration/Edition de programme
Franais
54
Utilisez une table d'animation pour afficher et ajuster en ligne les variables de
programme, lorsque l'automate est en mode Run ou Stop.
Une table d'animation vous permet d'excuter les tches suivantes :
z lorsque le programme est en cours d'excution, surveiller la valeur courante de
n'importe quelle variable dans l'automate et tablir une comparaison avec la
valeur prvue ;
z modifier la valeur de variables indpendantes des valeurs calcules, jusqu' leur
mise jour suivante ;
z sauvegarder les valeurs courantes de toutes les variables d'une table d'animation
;
z restaurer dans l'automate les valeurs mmorises de toutes les variables d'une
table d'animation ;
z forcer des entres et sorties.
35013826 06/2006
Cration/Edition de programme
Titres de colonne
Barre d'outils
Repre
%I0.0
Utilis
Symbole
Courant Mmoris
0
0
Format
Dcimal
%I0.1
Dcimal
%I0.2
Dcimal
%I0.3
Dcimal
%I0.4
Dcimal
%I0.5
Dcimal
%I0.6
Dcimal
%I0.7
Dcimal
%I0.8
Dcimal
10
%I0.9
Dcimal
11
%Q0.1
Dcimal
12
%Q0.2
Dcimal
13
%Q0.3
Dcimal
14
%Q0.4
Dcimal
15
%Q0.5
Dcimal
16
%IW1.0
Dcimal
17
%IW1.1
Dcimal
18
%IW1.2
Dcimal
19
%IW1.3
Dcimal
20
%IW1.4
Dcimal
Tables danimation
Nom
Ma table d'animation 1
Ma table d'animation 2
Ma table d'animation 3
Ma table d'animation 4
Ma table d'animation 5
Repre
Franais
Table d'animation
35013826 06/2006
55
Cration/Edition de programme
Forage d'E/S
Le forage d'E/S signifie que vous dfinissez de force les valeurs d'un ou plusieurs
bits d'entre ou de sortie sur 0 ou 1.
Franais
Note : Vous pouvez forcer des E/S lorsque TwidoSuite est en mode connect et
lorsque l'automate est en mode Run ou Stop.
Comment forcer des E/S dans une table d'animation
La barre d'outils de la table d'animation dispose de commandes de forage :
1
z
0
Forcer 1
Forcer 0
Annuler forage
56
35013826 06/2006
Cration/Edition de programme
Note : Les oprandes binaires ont la valeur 0 ou 1, tandis que toutes les autres
valeurs s'affichent sous forme hexadcimale ou dcimale, en fonction du format
slectionn dans la fentre Prfrences (voir Dfinition des prfrences, p. 22).
Franais
0 10
01
10
10
Projet
Description
10 0
Mon projet
0
101
0 100 1 0 00
0
010100 0
11 0 0 1 0
0 110 1 0 0
01
0
101
010 1 0 0 0
010 1 0 0 0
110 0 0 1 0
011 0 0 0
1
010
10
0 00
1
01
Programme
Rapport
Configurer
Ladder
SR
Hex
Dc
100 %
Programme
10
10 0
0 100 1 0 0 0
01 0 1 0 0 0
11 1 0 0 1 0
01 1 0 0
010
Mise au point
Connecter
abc
%TM %C
?
Arrter
LD
Animer
le programme
Grer les
tables
d'animation
Contrler
l'automate
Rseau 0
%I0.0
%I0.1
%Q0.0
Surveiller
la configuration
matrielle
Surveiller
la configuration
logicielle
%I0.3
Surveiller
la configuration
dcrite
Repre
%M0
%Q0.1
%I0.0
Utilis
Ma table d'animation 1
Symbole
Courant
Mmoris
Surveiller
le comportement
Format
Dcimal
Dcimal
Dcimal
Dconnecter
35013826 06/2006
57
Cration/Edition de programme
Franais
Gestionnaire de
rapport
Comment
configurer le
rapport
Dossier
Nom du dossier
Station
Dossier
Projet Mon Projet
Premire page (2)
Historique (1)
Sommaire (1)
Description (1)
Description graphique (5)
Proprits (1)
Nomenclature (1)
Twido
Configuration
Matriel (1)
Objets mmoire (1)
Bilan mmoire (1)
Configuration du comportement (1)
Programme
Sommaire (1)
Symboles (1)
Rfrences croises (1)
Tables d'animation (1)
Prfrences (1)
A propos de (1)
58
35013826 06/2006
Cration/Edition de programme
Mise en page
Slectionnez Rapport Mise en page pour dfinir les marges et les informations
que vous souhaitez afficher dans les en-ttes et les pieds de page.
Vous pouvez configurer votre page de rapport pour afficher jusqu' trois types
d'informations diffrents, dans trois champs distincts, par ligne d'en-tte et de pied
de page, notamment :
z date d'impression,
z date de cration,
z date de modification,
z nom du projet,
z texte prsent,
z aucun texte,
z numro de page/nombre total de pages,
z numro de page,
z version TwidoSuite.
Impression du
rapport
35013826 06/2006
59
Franais
Vous pouvez configurer vos pages de rapport pour afficher jusqu' neuf types
d'informations diffrents, dans trois champs distincts, par ligne d'en-tte et de pied
de page, notamment :
Franais
Cration/Edition de programme
60
35013826 06/2006
6
Franais
TwidoSuite
Mode de programmation
Mode de surveillance
English
Franais
35013826 06/2006
61
Surveillance
Fonctions de
surveillance
Etat de l'automate
Rglage de l'horodateur
RAM excutable
Configurer horodateur
Franais
RAM protge
E/S forces
Potentiomtre
Maximum (ms)
...
TD-33/V90
Courant (ms)
Minimum (ms)
Dpassement chien
garde
Horodateur automate
Date (jj/mm/aa)
Heure (hh:mm:ss)
Correction RTC
Modem connect
Nom
Commande
Appliquer
1.
2.
3.
4.
5.
Annuler
62
35013826 06/2006
*3501382601*
You can download this technical publication and other technical information from our website at
http://www.telemecanique.com.
Vous pouvez tlcharger cette publication et d'autres informations techniques depuis notre site web l'adresse :
http://www.telemecanique.com.
Visit http://www.schneider-electric.com for your nearest Schneider Electric affiliate.
Pour connatre votre filiale Schneider Electric la plus proche, consultez le site http://www.schneider-electric.com.
06/2006