Professional Documents
Culture Documents
Section 1 Introduction To MMI 17 WIN Software 1/1
Section 1 Introduction To MMI 17 WIN Software 1/1
Section Page
1 Introduction to MMI 17 WIN software 1/1
___________________________________________________________________________
S/1
MMI 17 WIN Contents
Section Page
3 Software installation 3/1
4.4 Alarm management via the mailbox and MMI functions 4/14
___________________________________________________________________________
S/2
MMI 17 WIN Contents
Section Page
4.6 Principles of communication on the FIPIO fieldbus 4/16
___________________________________________________________________________
S/3
MMI 17 WIN Contents
Section Page
5.3 Creating status messages 5/35
5.3-1 Principle of data entry 5/35
5.3-2 Data entry 5/36
5.3-3 Fast entry 5/37
5.3-4 Functions which can be accessed via icons 5/38
5.3-5 Modifying in the spreadsheet 5/40
5.3-6 Request to display a message 5/45
5.3-7 Request to display a message containing a variable 5/46
5.3-8 Request to display a message with entry of a
process value 5/48
5.3-9 Request to display a character string 5/50
5.3-10 Request to display a floating point value 5/52
5.3-11 Request messages using a word as an index 5/54
5.3-12 Context-driven activation of WYSIWYG 5/55
___________________________________________________________________________
S/4
MMI 17 WIN Contents
Section Page
5.6 Assigning the operator panel command keys 5/72
5.6-1 Principle of data entry and description of the screen 5/72
5.6-2 Fast entry 5/73
5.6-3 Example of configuring the command keys 5/74
5.6-4 Context-driven WYSIWYG activation 5/75
___________________________________________________________________________
S/5
MMI 17 WIN Contents
Section Page
7 Communication via the mailbox 7/1
___________________________________________________________________________
S/6
Introduction to MMI 17 WIN Section
software 11
1 Introduction to MMI 17 WIN software
1.1 Introduction
MMI 17 WIN is a standard MDI station tool for developing man machine interface
applications which will be used to control automated systems from CCX 17 industrial
operator panels.
Several methods of communication enable the PLC application and the man-machine
interface application to be synchronized.
• Requests to display messages and execute commands are prompted by sending MMI
function blocks.
This method enables the variables displayed on the operator panel to be refreshed
slightly faster because there is no periodic scanning of the mailbox.
The messages and commands are sent on an ad hoc basis to the CCX 17 by the PLC,
using specialized function blocks.
All messages are contained in the PLC memory. The memory must therefore be sized
accordingly.
___________________________________________________________________________
1/1
1.2 Description of the required environment
The hardware required for running MMI 17 WIN is either an FTX 507, FTX 417 type
terminal or an IBM PS/2 microcomputer or PC compatible equipped with :
• MS-Windows 3.1 or MS-Windows 3.11 operating system,
or
• Windows 95, Windows 98 or Windows NT operating system.
___________________________________________________________________________
1/2
Introduction to MMI 17 WIN software 1
Title bar
Pull-down menu
Toolbar
Windows area
Status bar
___________________________________________________________________________
1/3
1.3-3 Methodology
The methodology described below is designed to guide the user when developing MMI
applications.
Creating an application or
selecting an existing
application (sect 6.1)
WYSIWYG editor
Documenting the
application
(sect 6.2-4)
Savingtheapplication
(sect 6.1-3)
___________________________________________________________________________
1/4
Introduction to MMI 17 WIN software 1
1.3-4 Environment
MMI17 WIN software has the following windows :
• WYSIWYG editor. This window is used for fast entry, positioning and selecting the size
of status messages. It is also used for the fast entry of groups of status messages and
fast assignment of command keys.
• Configuration editor. This window is used for entering the operating environment for the
operator panel. This is the first window in the methodology to require updating.
• Status message spreadsheet editor. This window is used for entering all status
message characteristics. It gives an overall view of all status messages.
• Alarm message spreadsheet editor. This window is used for entering all alarm message
characteristics.
• Message group spreadsheet editor. This window is used for creating message groups
by entering the status message number.
• Variables spreadsheet editor. This window is used for displaying the symbols associ-
ated with variables.
• Character font editor. This window is used for modifying single or double size system
characters.
• Document editor.
• Command key assignment editor. This window is used for assigning bit variables to the
keys.
• The “Browser” which contains the list, with icons, of MMI17 WIN windows. This window
is always available and can only be closed when the tool itself is closed. It provides
permanent access to all windows.
Comment :
Once the application is open, the program displays the following windows by default :
• WYSIWYG editor,
• Configuration editor,
• Browser.
___________________________________________________________________________
1/5
1.3-5 WYSIWYG editor
The WYSIWYG editor is used to :
• create, display, modify and delete status messages,
• assign bit variables to the command keys,
• configure status message groups,
• display the preview mode.
Each of these functions is described in section 5.1
___________________________________________________________________________
1/6
Introduction to MMI 17 WIN software 1
___________________________________________________________________________
1/7
1.3-7 Creating status messages
The status messages consist of text with which a PLC variable can be associated. This
variable can be :
• displayed,
• refreshed,
• modified by the user.
This function is described in section 5.3
___________________________________________________________________________
1/8
Introduction to MMI 17 WIN software 1
___________________________________________________________________________
1/9
1.3-9 Creating groups of status messages
A group is a combination of status messages which is displayed on request by the
application program. A single command is used to display all the messages in the group.
This display may either be superimposed on the current CCX17 screen or replace it.
___________________________________________________________________________
1/10
Introduction to MMI 17 WIN software 1
___________________________________________________________________________
1/11
1.3-11 Selecting and modifying the character font
This function is used to select the character font in which messages must be displayed
on the CCX 17 operator panel.
The standard character fonts are modified using an editor in order to generate special
characters.
This function is described in section 5.7
___________________________________________________________________________
1/12
Introduction to MMI 17 WIN software 1
___________________________________________________________________________
1/13
___________________________________________________________________________
1/14
Section 22
Hardware installation
2 Hardware installation
2.1 Connecting the terminal to the CCX 17 operator panel
2.1-1 Principles
The entire man-machine interface application must be transferred to the target CCX 17
operator panel.
This transfer must be carried out in one of two ways :
• local transfer, by connecting the terminal directly to the CCX 17 operator panel
(physical connection),
• remote transfer, by connecting the terminal to the CCX 17 operator panel via a PLC
(logical connection), using the transparent network.
CCX 17
TSX SCA 72
Terminal block T CCX CB89 030
CCX 17
For more information on these connections, refer to the CCX 17 operator panel
installation manual.
___________________________________________________________________________
2/1
2.1-3 Connection via a PLC
The programming terminal can access the CCX 17 operator panel via a PLC (either
directly via the terminal port, or over an XWAY network).
Connection via PLC terminal port
FIPIO
TSX 37 or 57 or
TSX PCU 1030 UNI-TELWAY
CCX 17
Connection via a network
When the application PLCs are part of a network (or multinetwork) architecture, the
programming terminal (on terminal port or network) can access a CCX 17 operator
panel which is also part of the same architecture. Refer to the manual for the
communication module being used for details of its operation and connections.
XWAY
Device X
UNI-TELWAY
Device Y
FIPIO
CCX 17
For more information on these connections, refer to the CCX 17 operator panel
installation manual.
___________________________________________________________________________
2/2
Section 33
Software installation
3 Software installation
3.1 MMI 17 WIN software installation
3.1-1 Preliminary operations
Before installing MMI 17 WIN software on the hard disk, it is advisable to :
• read the license certificate and warranty detailing restrictions on copying and
installing the software,
• make a copy of the installation diskettes to avoid any accidental damage and work
only with the copy.
Important
The MMI 17 WIN diskettes are supplied write-protected. Do not alter the position
of the write-protect tab.
___________________________________________________________________________
3/1
3.1-3 Defining the program location
Defining the program location for the MMI17 WIN program modifies the CONFIG.SYS
file and creates the following directories :
• Under Windows 3.1 or Windows 3.11
- ASAW12 : containing the operator panel executables,
- ASAWSYS : containing the drivers and operator panel / system fonts,
- ASAWUSR : application workspace and backup area.
• Under Windows 95, Windows 98 or Windows NT
- MMI1731 : containing the operator panel executables,
- FONT : containing the operator panel / system fonts,
- XWAYDRV : containing the drivers,
- PL7USER : application workspace and backup area.
Note :
Installation modifies the System.ini file under Windows by adding a section [debug] containing
OUTPUT=NULL. This will remove all trace data for all programs under Windows.
___________________________________________________________________________
3/2
Software installation 3
Windows area
Status bar
Title bar : used for moving the window around. Can also be used to show the
name of the current application.
Pull-down menu : used for accessing all available product functions. It is context-
related, ie, it changes with the active open window.
Example :
If no application is yet open, the File menu contains :
New : creates a new application
Open : opens an existing application
Exit : exits the program,
(app list) : lists the last open applications
Toolbar : used for fast access to the standard pull-down menu functions.
___________________________________________________________________________
3/3
When an application is opened, the window environment changes and appears as
below :
Notes
1 Opening an application with the STATUS Management box checked :
• if the .STO files on the disk are identical to those in the application, the user does not have
to do anything,
• if the .STO files on the disk are not identical to those in the application (string modification
or additional .STO file present), the software will prompt the user to update the application.
If the user does not update the application, it will remain in the same state,
• if the .STO files are not present on the disk, an error message will be displayed on the screen.
The user does not have to do anything and the application remains in the same state :
<<STATUS files not installed on the station>>
___________________________________________________________________________
3/4
Software installation 3
Exit Menu is always available : used to exit the MMI17 WIN program.
Shortcut : Ctrl+Q
(App list) Menu is always available : used for fast access to the last open
applications.
___________________________________________________________________________
3/5
Edit
___________________________________________________________________________
3/6
Software installation 3
Utilities
Define CCX 17 Address Menus always available : used to execute various transfers
Transfer with the PLC
Shortcut : Transfer: Ctrl+T
Import Text File Menus available if an application is open.
Export Text File
Save Font File
Restore Font File
Import Variables File Menu available if an application is open: used to import variables
from a file generated by PL7 Micro or PL7 Junior.
Link With an STX File Menu available if an application is open : used to retrieve
Update in Relation to variables in an application generated by PL7 PRO.
STX file
Deleted Link with
STX File
Convert For the font editor, used to manipulate and modify the
Reverse Matrix design of the characters (see section 6.1.2).
Replace Matrix Shortcuts: Cancel last....: Del
Delete Matrix Change file....: Alt+F10
Return to System Character
Change System Font File
Build Documentation File For document editor
Configure Group Used to manipulate status messages in WYSIWIG.
Configure Command Key Shortcuts:
Configure command key: Enter
Edit Message Edit the message: Enter
Double Size Double size: F4
Send Message to Front Send message to... : F5
/ Back
___________________________________________________________________________
3/7
View
Application
___________________________________________________________________________
3/8
Software installation 3
Options
Toolbar Menus always available : used to display the tool and status bars.
Status Bar
Window
___________________________________________________________________________
3/9
___________________________________________________________________________
3/10
Section 44
Communication principles
4 Communication principles
4.1 General
To establish communication between the PLC and CCX 17 operator panels, a number
of commands for the operator panels must be set up in the PLC application. Two types
of exchange can be used for this purpose :
• exchanges via a mailbox : The messages to be displayed and the commands to be
executed are transmitted to the CCX 17 operator panel via a PLC memory zone
allocated to exchanges between the PLC and the operator panel. This zone can be
accessed in both read mode and write mode.
%MWi
• exchanges via integrated MMI functions : The messages to be displayed and the
commands to be executed are transmitted to the CCX 17 operator panel via PL7 MMI
functions.
MMI
func-
tion
The principles for using both these types of exchange are described later. Examples
of applications using communication both via mailbox and/or integrated MMI function
are provided in sections 7 and 8.
Both types of exchange can be used simultaneously in the same application, with
certain restrictions (see Doc Ofs).
Example :
It is not possible to display an alarm using DISPLAY_ALRM if this function is assigned
to a bit in the alarm zone.
___________________________________________________________________________
4/1
Depending on the bus used for communication (FIPIO or UNI-TELWAY), exchanges
are performed in different ways :
CCX 17
___________________________________________________________________________
4/2
Communication principles 4
The start of this table, together with its length, are defined by the user when the
application is created using MMI 17 WIN (see section 5.2-4).
Note:
To redisplay the same group, the corresponding mailbox word must be set to 0 then
reset to the group value.
___________________________________________________________________________
4/3
Example :
Display of message number 10 (End of cycle) and message number 3 (Oven ready).
Display
Mailbox zone messages
numbered 10
%MWi = 0 and 3
%MWi+1 = 0
%MWi+2 = 10
%MWi+3 = 3
%MWi+4 = 0
Command
...
table
%MWn = 0
%MWi
PLC data
zone
___________________________________________________________________________
4/4
Communication principles 4
Example
In the example below, the application program only asks for status message number
10 to be displayed (End of cycle). If acknowledge on read is required after message
number 10 has been displayed, the CCX 17 operator panel automatically updates the
corresponding word (%MWn+4) in the table reserved for acknowledge on read.
The programmer must set the word to zero before initiating a new command.
Display of message
Exchange zone
number 10
%MWi+1 = 0
%MWi+2 = 0
Command
table %MWi+3 = 10
...
%MWn
%MWn+1
%MWn+2
Acknowledge Update acknowledgment table
%MWn+3
on read table
%MWn+4 = 10
...
%MWm
___________________________________________________________________________
4/5
Acknowledge write mode
When this type of acknowledgment is required, the CCX 17 indicates in a PLC internal
word table, that the operator entry required has been entered. This word table, which
is adjacent to the acknowledge on read table, is structured in the same way as the
command table (if acknowledge on read is not required, this table is placed after the
command table).
Example
In the example below, the application program requests the speed of the motor to be
entered when status message number 22 is displayed (Speed = 60 rpm). If acknowl-
edge on read and write is required, after message number 22 has been displayed, the
CCX 17 operator panel automatically updates the corresponding word (%MWn+3) in
the table reserved for acknowledge on read. When the operator enters the required
value, the corresponding word (%MWm+3), is updated in the table reserved for
acknowledge on write. The value entered by the operator is written into the PLC data
zone via a UNI-TE request.
The programmer must set the word to zero before initiating a new command.
Operator
entry
Exchange zone Display of
message
%MWi = 0 number 22
%MWi+1 = 0 Speed = 60 rpm
%MWi+2 = 0
%MWi+3 = 22
...
Command
%MWn
table
%MWn+1
%MWn+2
Acknowledge %MWn+3 = 22
on read table %MWn+4 Confirm
Updating
... acknowledge on
%MWm read table
%MWm+1
%MWm+2
%MWm+3 = 1
Acknowledge
on write table %MWn+4
Updating
... acknowledge on
%MWp write table
PLC data
zone
Both the start of this table and its length are defined by the user when the application
is created using MMI 17 WIN (see section 5.1).
Alarms are managed by the CCX 17 operator panel in one of two ways :
• The alarms are memorized in the operator panel while waiting to be displayed and
acknowledged later by the operator. In this mode, status messages issued by the
process can continue to be displayed.
Display alarm
%Mi = 0 number 4
Display of messages
%Mi+1 = 0 and memorization of
alarms
%Mi+2 = 0
%Mi+3 = 1
...
___________________________________________________________________________
4/7
• The alarm is memorized and then displayed on the operator panel. It remains
displayed until acknowledged by the operator by pressing any key. Once the alarm
has been acknowledged, the messages which were present on-screen prior to the
alarm are once more displayed.
Display alarm
%Mi = 0 number 4
Overheat
%Mi+1 = 0 oven 4
%Mi+2 = 0
%Mi+3 = 1
...
___________________________________________________________________________
4/8
Communication principles 4
Number of the
message or of
MMI function group
End of cycle
Transmission
table
Reminder :
The CCX 17 operator panel can display several messages at the same time.
• 32 messages in the case of the CCX17-20 (16 animated variables maximum),
• 64 messages in the case of the CCX17-30 (32 animated variables maximum).
The position of a message is determined when it is defined, either by selecting line and
column or by defining whether the message should be centered or aligned to the right
or left. The user must therefore select the correct geographical position of the messages
in order to prevent any overlapping.
___________________________________________________________________________
4/9
4.3-2 Displaying a message with operator entry
When a displayed message includes a value to be entered by the operator, the entry
can be fed back to the PLC in two different ways :
• operator entry neither checked nor synchronized by the PLC application,
• operator entry checked and synchronized by the PLC application.
Operator entry
Message
number
MMI function
PLC data
zone
The value(s) entered are written directly to the PLC data zone via UNI-TE requests.
In all cases, the PLC receives a exchange report. If an error is detected, the reception
table contains information to help define the cause.
___________________________________________________________________________
4/10
Communication principles 4
Operator entry
MMI function
Message
number
Transmission
table Speed = 352 rpm
___________________________________________________________________________
4/11
4.3-3 Request to display an alarm message
The CCX 17 operator panel contains the alarm messages (generated using MMI 17
WIN) in its memory. An alarm message from the PLC application program is displayed
by executing the integrated MMI function DISPLAY_ALRM containing the number of
the alarm message as a parameter.
Alarms are managed by the CCX 17 operator panel in one of two ways :
• the alarms are memorized in the operator panel while waiting to be displayed and
acknowledged later by the operator. In this mode, status messages issued by the
process can continue to be displayed.
Alarm
MMI function number
Transmission table
• the alarm is archived and then displayed on the operator panel. It remains displayed
until it is acknowledged by the operator by pressing any key. Once the alarm has been
acknowledged, the messages which were present on-screen prior to the alarm are
once more displayed.
Alarm
MMI function
number
Oven 4 overheated
Transmission table
Acknowledgment of each
alarm by the operator
In all cases, the PLC receives an exchange report. If an error is detected, the reception
table contains information to help define the cause.
___________________________________________________________________________
4/12
Communication principles 4
Oven 4 overheated
Transmission table
Transmission table
___________________________________________________________________________
4/13
4.4 Alarm management via the mailbox and MMI functions
In order to simplify the management of alarms in the same application, an alarm can
only be activated one way, either via the MMI functions or via the mailbox.
Alarms accessible via the mailbox depend on the length of the mailbox. Alarms with
a number greater than the length of the mailbox can only be accessed via the MMI
functions.
Alarm 1
Alarm 2
Alarm 3
Alarm 4 Alarms accessible via the mailbox
Alarm 5
•••
Alarm i
Alarm i+1
Alarm i+2
•••
••• Alarms accessible via integrated MMI functions
•••
•••
Alarm n
Example
In a CCX 17-30, the maximum number of alarms is 300.
If the field reserved for alarms in the mailbox has a length of 150 bits (value configured
in the Data link configuration screen) :
• alarms numbered from 1 to 150 are only accessible via the mailbox,
• the others are only accessible via the integrated MMI functions.
___________________________________________________________________________
4/14
Communication principles 4
Performance
2
Refresh time for 4
requests
1
Refresh time for 1
request
0
1 2 3 4 5 6
CCX17 CCX17 CCX17 CCX17 CCX17 CCX17
Number of connections :
maximum of 2 CCX17 operator panels.
___________________________________________________________________________
4/15
4.6 Principles of communication on the FIPIO fieldbus
Reminders :
A CCX 17 operator panel connected to a FIPIO fieldbus can communicate simultaneously :
• via mailbox, as described in section 4.2,
• via MMI functions, as described in section 4.3.
Principle
A CCX17 must be configured so that it can exchange data on FIPIO.
PL7 therefore reserves a memory zone specific to the exchange of data shared
between the bus arbitrator PLC and each CCX 17 configured on FIPIO. These
exchanges take place periodically without any intervention from the application
program.
This zone consists of :
• For the CCX 17 profile :
- 8 words written by the PLC and read by the CCX 17,
- 8 words written by the CCX 17 and read by the PLC.
• For the CCX 17-32 profile :
- 32 words written by the PLC and read by the CCX 17,
- 32 words written by the CCX 17 and read by the PLC.
Syntax
A CCX 17 can display status or alarm messages comprising %QW or it can transmit
information to the PLC (the status of command buttons) by 8 %IW words.
The syntax of these words is as follows :
• %QW\p.2.cnx\0.0.rank:Xi
• %IW\p.2.cnx\0.0.rank:Xi
where p: processor slot
device channel number : always 2 for FIPIO
cnx: connection point number
module number: always 0 for CCX 17
channel number: always 0 for CCX 17
rank: significance of word between 0 and 31
i: significance of bit for bit access.
Maximum number of devices
The maximum number of devices connected to a Premium bus arbitrator is 4 CCX 17
operator panels. Above this number, please consult your Technical Support for
programming advice.
Comment : A FIPIO application generated by the PL7-MMI 17 OS/2 station tool can
be read by MMI17 WIN.
Optimizing the communication
• use FIPIO addresses in preference to BIT and WORD addresses
• in the case of BIT and WORD type variables, select contiguous variables
• select a period suitable for the traffic necessary for the application for refreshing
the variables and the frequency which the command zone is read
___________________________________________________________________________
4/16
Communication principles 4
Examples of optimization :
It is possible to send a single request (per object type) to access the following objects :
• %M0, %M100 and %M480.
• %MW0:X0 to %MW59:X16.
• %MW0, %MW1, %MW2 and %MW59.
• %MD0, %MD10 and %MD29.
___________________________________________________________________________
4/17
___________________________________________________________________________
4/18
Section 55
Using MMI17 WIN software
5 Using MMI17 WIN software
5.1 WYSIWYG editor
This window is accessed by clicking on the
“Application / WYSIWYG” menu or on the
following icon :
When an application is created, this window opens by default. It enables an entire
application to be created quickly and clearly.
___________________________________________________________________________
5/1
5.1-1 Managing status messages using WYSIWYG
By default, the grid is active with the cursor blinking.
To move around the grid, use the arrow, “Page up”, “Page down”, “End” and “Home”
keys or the mouse.
To move from the grid to the other elements, use the “Tab” key.
Once the cursor is placed on a command key on one side, use the “up” and “down” arrow
keys to move from one command key to another.
Creating a status message
The procedure consists of :
• positioning the cursor at the point where the message starts,
• opening the “enter status message” box by double-clicking on it or pressing “Enter” on
the keyboard.
The main fields are completed - these are :
• text,
• variable, if necessary.
For a full description of the status message shortcut box, see “Creating a status message”
(section 5.3).
Once the entry is confirmed, the message is displayed in the WYSIWYG window.
Example :
value
Displaying a status message
Entering a message number or scrolling through the numbers in the “Message” zone
displays the messages in the WYSIWYG grid.
A red number identifies those messages which have already been configured.
A cross is displayed next to an empty message.
To display the message(s) as they would appear on the CCX17 screen, use the preview
mode (see section 5.1.4).
Handles
value
___________________________________________________________________________
5/2
Using MMI17 WIN software 5
The procedure will only work if there is sufficient space for the final frame. Otherwise
the message will not be modified.
___________________________________________________________________________
5/3
5.1-2 Managing the command keys
To assign a PLC object to a command key,
click into the circle of the command key to
be programmed. This displays the
command key fast entry window shown
below :
After an address or a symbol has been entered, the address will appear in the rectangle
adjacent to the circle.
All creation, modification or deletion operations for command keys are executed using this
box.
Address or symbol display for command keys is selected by means of the “View /
Address Priority” menu function for addresses and the “View / Symbol Priority” for
symbols.
Reminder :
The button numbers are as follows : 1 2
3 4
5 6
7 8
For a full description of the command key shortcut box, see the Command Key section
(section 5.6).
Comment :
If the text is too large, it will be truncated and will end with “>”. The full text is shown
in the status bar.
___________________________________________________________________________
5/4
Using MMI17 WIN software 5
Creating a group
There are two possible methods of running this function :
• automatic,
• manual.
Automatic creation :
When a group number is selected in the “Group” entry zone, “Group mode” automatically
becomes active. From this point, any modification made in the WYSIWYG editor is copied
to the selected group.
Procedure :
• Check the selection box and enter a group number or select a group number in the
“Group” entry zone,
• confirm the messages to be contained in the group. New messages can be directly
created or existing ones used via the “Message” entry zone.
Comment :
As long as the “ Group Mode” selection box is checked, all modifications will be taken into account
by the groups.
Manual creation :
All of the messages required in a group must first be displayed on screen. To assign them
to a group, use the “Utilities / Configure Group” menu or the icon. The following
window is used for :
• assigning the group number,
• selecting, or not, the Clear Screen option for the group :
Once this box is confirmed, the group will contain the messages and “Group Mode” will
be selected : the group will be modified if any messages are added or deleted.
___________________________________________________________________________
5/5
Displaying a group
The group to be displayed is selected by entering the number in the “Group” zone. This
is confirmed either by using the “Enter” key, or the Utilities/Display Group menu or by
making no modifications for a period of one second.
A red number identifies those groups which have already been configured.
Once a group number is selected, “Group mode” is automatically selected.
Modifying a group
A group is automatically modified by adding or deleting messages when the “Group mode”
box is checked.
To take modifications into account in manual mode, the “Utilities / Configure Group”
menu or the icon must be used, and the replacement of the group contents confirmed.
Deleting a group
A group is automatically deleted by deleting all messages displayed via the “Edit / Clear
All” menu or the icon when the “Group Mode” box is checked.
___________________________________________________________________________
5/6
Using MMI17 WIN software 5
Modifications cannot be made in the WYSIWYG screen in “Preview mode”. On the other
hand, modifications made by the corresponding editors (command key, status message,
etc) will be taken into account.
It is possible to scroll through several groups and/or messages in “Preview mode”. When
modification mode is selected again, the WYSIWYG screen will contain the same
elements as it did when “Preview Mode” was exited.
___________________________________________________________________________
5/7
5.1-5 Modifying the display order
Comment :
Example :
case 1 case 2
Comment :
This is a “Flip/Flop” operation which sends the message either to the front or to the
back. A message located at position n in a group of m messages will be moved to either
mth position or 1st position.
___________________________________________________________________________
5/8
Using MMI17 WIN software 5
Comment
The “Paste” function recovers and copies the current characteristics of the message
to be copied. A message modified between “copy” and “paste” operations will be
copied with its new properties.
Comment
___________________________________________________________________________
5/9
5.1-7 Context-related activation of WYSIWYG
The WYSIWYG editor can be activated using the editors/spreadsheets for :
• command keys,
• status messages,
• groups.
Comment :
Context-related activation by group and status message spreadsheets will not operate in
“Preview Mode”.
___________________________________________________________________________
5/10
Using MMI17 WIN software 5
5.2-1 General
The default entry window is as follows :
___________________________________________________________________________
5/11
The functions available are :
Accesses the “Change Operator Panel “ function (see section 5.2.2). This can
also be accessed via the “Edit / Change Operator Panel /PLC/Description”
menu or the “Alt+F10” shortcut.
This icon is used to display the entry of exchange data using a shared memory (see
section 5.2.4). This can also be accessed via the “View / Configure Link” menu
or the “Ctrl+Alt+2” shortcut.
This icon is used to display the device configuration (see section 5.2.5). This can
also be accessed via the “View / Configure Device” menu or the “Ctrl+Alt+3”
shortcut.
Accesses the printer link parameters (see section 5.2.7 : Printer link). This can also
be accessed via the “Edit / Printer Link” menu or “Alt+E” followed by “Alt+L” on
the keyboard. It can only be accessed when the operator panel configuration
window is active.
The icon is replaced by “ ” when the printer data is displayed. This icon is used
to return to the operator panel configuration window display.
Reminder :
___________________________________________________________________________
5/12
Using MMI17 WIN software 5
___________________________________________________________________________
5/13
The following table lists substitutions which can be made without problem :
CCX 17 20 LPS by CCX 17 30 LPS
CCX 17 20 LW by CCX 17 30 FW
CCX 17 20 L by CCX 17 30 L or CCX 17 30 LPS
CCX 17 20 FPS by CCX 17 30 LPS
CCX 17 20 FW by CCX 17 30 LW
CCX 17 20 F by CCX 17 30 L or CCX 17 30 LPS
If these conditions are not satisfied, a message indicates the type of error. Changing from
one operator panel to another is no longer possible. The user must consequently modify
the application in order to change the operator panel.
Example :
It is not possible to change the type of operator panel with a FIPIO application
(CCX 17-20F / 20FPS 20L / 20LPS / 30L and 30LPS) to an operator panel which does
not accept FIPIO (CCX 17-20LW 20FW / 30 LW).
___________________________________________________________________________
5/14
Using MMI17 WIN software 5
CCX 17 setup
Language This item is used to define the language used in the CCX 17 operator
panel “SETUP”. Five languages are available : English (by default),
French, German, Italian and Spanish.
Date Format This item is used to define the format in which the date is displayed,
• US : (by default) displays the date in American format (MM/DD/YY),
• Europe : displays the date in European format (DD/MM/YY),
• Japan : displays the date in Japanese format (YY/MM/DD).
___________________________________________________________________________
5/15
Other characteristics
Default Group Number
This item is used to enter the number of the message group
displayed by default when the operator panel is powered up or the
application is launched. If the user does not want to display the
message when the operator panel is switched on, this field must
have a zero value (or be empty).
Exchange period
Refresh Period :
Command Zone Period :
Refresh Period :
This data item defines the read frequency for the displayed
variables.
The possible periods are : “fast, 400ms, 800ms, 1s, 2s, 4s, 10s, 30s
and 1min”.
The “fast” value signifies that the CCX 17 reads the variable value
as fast as possible.
Important comment :
The value “none” signifies that the CCX 17 will never consult the
command zone.
___________________________________________________________________________
5/16
Using MMI17 WIN software 5
Protocol
Protocol This data group is used to modify the parameters of the operator panel
- PLC link.
Reminder :
Fast access is via the following icon :
Unitelway protocol
This item is used for selecting the UNI-TELWAY link parameters :
___________________________________________________________________________
5/17
• Time-out : the time-out corresponds to the minimum response time of
the PLC application to a request sent by the CCX 17 operator panel.
This must be at least equal to 10000 ms. If this is not the case, an error
message is displayed,
• Slave address : this field, which can only be accessed when the
protocol for the operator panel is specified as “Unitelway master”, is
used to select the slave address which will communicate with the
operator panel.
FIPIO protocol
This item is used to select the connection point of the CCX 17 operator
panel on the FIPIO fieldbus.
___________________________________________________________________________
5/18
Using MMI17 WIN software 5
___________________________________________________________________________
5/19
Description of the Report zone
Report zone Variable and Symbol
The CCX 17 operator panel manages (at the end of the self-tests) a
status word written in an internal word in the PLC memory.
This internal word can be symbolized in the station database. Entering
the internal word (example %MW1) immediately updates the symbol
name (example Word_a). Similarly, if the symbol name is entered the
internal word is automatically updated.
Acknowledge Alarm
The selection of this function enables the CCX 17 to return the number
of the alarm message acknowledged by the user to the PLC. This
value is written in the word following the status word of the of the report
zone address (for example, if %MW100 is the report zone address,
the word dedicated to the alarm acknowledgment is %MW101).
Length This parameter specifies the length of the table reserved for the
command zone. It will be recalled that this table is composed of :
• one word for controlling the operator panel indicator lamps,
• one word for the number of the status message group to be displayed,
• a series of words for status messages (one word per message).
The CCX 17 operator panel can display up to four status messages
containing one variable entry per line. The maximum length of this table
is therefore four words per line plus two words. A CCX 17-30 with eight
lines can have a table with a maximum length of 34 words.
If the number entered is greater than this limit, the following message
is displayed :
___________________________________________________________________________
5/20
Using MMI17 WIN software 5
Comments :
If the user wishes to use the “Acknowledge read mode” option and/or the
“Acknowledge write mode” option, the total length of the word table reserved in the
PLC must be multiplied by two or three (for more details, see section 4.2.4).
2 For an internal word type command zone, the system screen display indicator is
contained in the second word of the zone reserved for acknowledgment write mode
(used for the message group number).
___________________________________________________________________________
5/21
Example
• The operator panel used is a CCX 17-30L.
• It must write its status word to PLC internal word %MW250 (address Table_8).
• The alarm zone starts at internal word %M200 (address Alarm_2) and has a length
of 10 bits.
• The user wishes to display up to 20 status messages, thus the command zone has
a length of 20 + 2 = 22 internal words and starts at word %MW100 (address St_12).
The acknowledgments on read and write are requested. The total length of the word
table used in the PLC is thus 66 words (3 * 22).
___________________________________________________________________________
5/22
Using MMI17 WIN software 5
Length This parameter specifies the length of the table allocated to the alarm
zone. The maximum length of this bit table depends on the type of
CCX 17 operator panel :
• a CCX 17-20 which can manage up to 150 alarm messages can
have an alarm zone with a maximum of 150 bits (or 10 words).
• a CCX 17-30 which can manage up to 300 alarm messages can
have an alarm zone with a maximum of 300 bits (or 19 words).
Comment
if DFB alarms are selected, the alarm zone is at 220 bits maximum.
___________________________________________________________________________
5/23
Extended alarm zone on reading an OS/2 application
___________________________________________________________________________
5/25
OFB alarm zone status screen (OS/2 application)
This button is only active if the man-machine interface application is in OFB
status management mode. It provides access to the next screen, which
displays the comments associated with the OFB status word bits being
monitored. The data in this screen is in read-only format.
Text (line 1) displays the first 37 characters of the comment associated with the
status word bit.
Text (line 2) displays the subsequent characters (37 maximum) of the comment
associated with the status word bit.
this button is used to display the data relating to alarm zones 2 and 3
alternately.
This operation is also possible by pressing the <F2> key or by selecting
Change alarm zone under the Edit menu.
pressing this button displays a dialog box which is used to search for
a character string in the screen.
Comment
The data relating to OFB status is contained in the configuration. It is not taken into account during
transfer of the application or creation of the documentation file unless theApplication Configuration
box is checked.
___________________________________________________________________________
5/26
Using MMI17 WIN software 5
When an operator dialogue application manages events associated with the diagnostic
DFB, MMI 17 WIN provides access to an extended alarm zone.
This alarm zone is activated via theEdit / Extended Alarm Zonemenu. It displays a block
which enables the sectors to be monitored to be defined.
DFB Alarms
When this box is checked, management of the DFB alarms can be
activated or inhibited. By default, this is not checked and all the information
in the extended alarm zone is grayed out.
Sectors to be monitored
This field represents 16 sectors to be monitored; these sectors correspond
to geographic zones in the workshop.
Sector 0 (common sector) is a privileged sector which cannot be unchecked.
MMI 17 allows a maximum of 4 sectors to be checked. By default, only
sector 0 is checked.
Status management
When this box is checked, diagnostic DFB status management can be
activated or inhibited. For the CCX 17 to manage DFB status errors, this
box must be checked. By default, the status management option is not
checked.
When this box is checked, the MMI 17 software loads the diagnostic DFB
.STO files to the MMI 17 application. Similarly, when the user unchecks this
box, the MMI 17 software unloads the diagnostic DFB .STO files from the
MMI 17 application.
If no .STO file is present on the disk when the user checks the box, an error
message is displayed and the box is automatically unchecked.
___________________________________________________________________________
5/27
Opening or downloading an application with the Status Management
box checked:
• if the .STO files on the disk are identical to those in the application, the
user does not have to do anything,
• if the .STO files on the disk are not identical to those contained in the
application (string modification or additional .STO file present), the
software will prompt the user to update the application. If the user does
not update the application, it will remain in the same state,
• if the .STO files are not present on the disk, an error message will be
displayed on the screen (STATUS files not installed on the station).
The user does not have to do anything and the application remains in
the same state.
Display
This option concerns all the DFB alarms. If this box is checked, the alarms
are displayed in the foreground when they appear.
By default the Display option is checked.
Printing
This option concerns all the DFB alarms. If this box is checked, the alarms
are printed as and when they appear.
By default the Print option is not checked.
___________________________________________________________________________
5/28
Using MMI17 WIN software 5
Text (line 1) displays the first 40 characters of the comment associated with the
status word bit.
Text (line 2) displays the subsequent characters (40 maximum) of the comment
associated with the status word bit.
this button is used to display the data relating to the next DFB. All DFBs
whose status files have been loaded are displayed.
This operation is also possible by pressing the <F2> key or by selecting
Display Subsequent Status Texts under the Edit menu.
pressing this button displays a dialog box which is used to search for
a character string in the screen.
___________________________________________________________________________
5/29
5.2-5 Configuring the device
This function is used to define the devices (the PLC and two other devices) which can
communicate with a CCX 17 operator panel connected on a FIPIO fieldbus.
Reminder : fast access to this function is via the
following icon :
___________________________________________________________________________
5/30
Using MMI17 WIN software 5
Comment
When creating status or alarm messages, the user must indicate the name of the device
with which he wishes to communicate in the “Device” cells of the relevant entry screens.
In order to be directly accessed by the CCX 17, devices connected on FIPIO must include
a UNI-TE server for processing V5 requests.
___________________________________________________________________________
5/31
5.2-6 Protecting configuration parameters
Protected parameters
The characters do not appear on-screen when the password is entered (asterisks confirm
the pressing of keys).
___________________________________________________________________________
5/32
Using MMI17 WIN software 5
Password request
___________________________________________________________________________
5/33
5.2-7 Printer link
Reminder
Fast access is via the following icon :
This item is used to select the parameters which are specific to the printer.
• Communication speed : choice of bit rate, values can be between 300 and 9600 baud,
• Parity : the parity for the link (even, odd or none),
• Data : the number of data bits (7 or 8 bits),
• Stop bit : the number of stop bits (1 or 2),
• Continuous printout : confirms or inhibits the continuous printout of operator panel
messages.
___________________________________________________________________________
5/34
Using MMI17 WIN software 5
A window is displayed containing a table in which all the parameters of the status
messages in the application can be described. It consists of two parts :
• a spreadsheet for displaying and direct entry of messages.
• a display zone containing :
- the number of messages entered and the maximum number permitted,
- icons for accessing the “Cut/Copy/Paste” and “Find” functions,
- a WYSIWYG display icon.
Icons
Parameter
entry
This window is an alternative means of entry to the fast entry dialog box.
This presentation has the advantage of displaying the data specific to several messages
on the same screen, but the table must be moved to see the whole message.
The fast entry dialog box is activated by double-clicking on the line number or by “Shift +
F8”.
___________________________________________________________________________
5/35
5.3-2 Data entry
This is performed field by field :
• The active cell has a bold surround.
• The movement arrows, the TAB key or the Enter key as well as the mouse can be
used to move from one field to another.
• The Enter key confirms if entry mode is selected (cursor blinking).
• Double-clicking on a field enables that field to be modified.
The method of modification depends on the type of field :
- a numerical field is modified directly,
- a field with predefined values is modified with a combination box,
- a Boolean field is modified by clicking the mouse or pressing the space bar in a check
box.
The “Entry format” and “Display format” fields are modified using specific dialog boxes.
- a key other than the movement the cell contents are replaced by the k e y s
or the space bar : selected key.
- the space bar : the cell contents are retained and the cursor is
positioned at the end of the text.
Comment
Fields are usually entered one after the other according to their position in the table. Moving
from one field to another automatically confirms the previous selection. Depending on the
type of status message requested, one or more errors may be flagged to the user. Moving
from one message to the next is only possible when all errors have disappeared.
___________________________________________________________________________
5/36
Using MMI17 WIN software 5
The “Next” and “Previous” buttons can be used to browse through all the messages.
___________________________________________________________________________
5/37
5.3-4 Functions which can be accessed via icons
Cut Accessed via the icon or the Edit/Cut menu or the “Ctrl+X” or
“Shift+Del” shortcuts, this function places the contents of one (or
more) line(s) on the clipboard and deletes it (them) at the same time. It
can only be accessed if at least one line is selected.
Copy Accessed via the icon or the Edit/Copy menu or the “Ctrl+C” or
“Ctrl+Ins” shortcuts, this function performs the same action as the
“Cut” function, but does not delete the selected lines. It can only be
accessed if at least one line is selected.
Paste Accessed via the icon or the Edit/Paste menu or the “Ctrl+V” or
“Shift+Ins” shortcuts, this function is used to paste the clipboard
contents. It is not permitted if the number of lines selected is different
from the number of lines on the clipboard. It cannot be accessed if the
clipboard is empty.
___________________________________________________________________________
5/38
Using MMI17 WIN software 5
Find Accessed via the icon or the Edit/Find menu or the “F3” shortcut, it
opens the following dialog box :
___________________________________________________________________________
5/39
5.3-5 Modifying in the spreadsheet
General principle
Entries are made field by field. The system automatically calculates certain cell values for
the variable part.
Description of fields
Message Text Field for entering the message text which is displayed on the CCX 17
operator panel. It can contain a maximum of 40 characters.
Line Specifies the line on which the message is displayed (default numerical
value entry, = 1).
Attribute Defines the message display attribute. The following are available :
• Flashing : flashing display
• Reverse : reverse video.
Format Specifies the format of all the text and variable characters to be
displayed :
• Standard : standard height and standard width display,
• Double : double height and double width display.
Print Activates the continuous printout of the status messages. The type
of entry is selected by clicking on a check box or using the space bar.
Command This field enables a single command, which is executed before the
message is displayed, to be assigned to the message. The choices
are :
• NON : No command assigned to the message.
• CLS : Clears the screen.
• CLL : Clears the line on which the message is to be displayed.
• CMH : Clears the status message log.
• CAH : Clears the alarm message log.
___________________________________________________________________________
5/40
Using MMI17 WIN software 5
Field Type Defines the type of parameter field (entered or displayed) assigned
to the message. The possible choices are :
• NON : No field is assigned to the message displayed.
• BIT : The message is assigned to a bit type field.
• ANA : The message is assigned to a 16-bit integer field.
• LNG : The message is assigned to a 32-bit integer field.
• STR : The message is assigned to a word string or to a floating point
number (see example section 5.3-9).
• LST : The message is assigned to a word type index.
• DAY : The message is assigned to the current date.
• HOU : The message is assigned to the current time (the date and
time are periodically synchronized to those of the PLC).
Device Specifies the name of the device to which the variable to be read is
assigned. The devices which can communicate with the CCX 17 are
defined by the Configure/Device function. This function is only
available when the CCX 17 is connected on a FIPIO fieldbus (if it is
connected on a UNI-TELWAY bus, it can only communicate with the
master).
Variable Specifies the address of the variable assigned to the message. When
communicating with the PLC, if the symbol assigned to this variable
exists in the station database, it is taken into account automatically
when the screen is confirmed. The variables are as follows :
• bit objects :
- internal bits : %Mi
- word extract bits : %MWi:Xj (in read only)
- FIPIO object extract bits : %QW\p.2.cnx\0.0.i:Xj.
• word objects :
- internal words : %MWi
- internal double words : %MDi
- FIPIO words : %QW\p.2.cnx\0.0.i.
___________________________________________________________________________
5/41
Comment :
Confirming the address field entry automatically completes the following fields :
- Display Format with the default format,
- Field Type (bit, 16- or 32-bit word),
- Message Text :
the message is completed with :
. one “_” (underscore) for a %MXi
. 5 “_” for a %MWi
. 8 “_” for a %MDi
Symbol Specifies the symbol for the variable assigned to the message. If the
symbol entered is not defined in the station database, the entry will not
be confirmed. If the symbol already exists, the address item assigned
to the symbol is automatically updated when the field is confirmed.
Comment Displays the comment for the variable assigned to the message (for
viewing only). It is defined in the station database.
Display format
Entries are made by opening the following window by double-clicking in
the field.
Reminder
A signed internal word has a value of between -32,767 and +32,767, or between
0 and 65,535.
A double signed internal word has a value of between -2,147,483,647 and
+2,147,483,647, or between 0 and 4,294,967,295.
___________________________________________________________________________
5/42
Using MMI17 WIN software 5
Refresh
Enter via check box. Specifies whether the variable contained in the
message must be updated periodically when it is displayed.
Entry type
Entry is performed by opening the following window by double-clicking
in the field. It specifies the type of entry assigned to the variable.
___________________________________________________________________________
5/43
When choosing
“Incremental” the user must
define the increment value
the and the entry limits. On
the CCX 17 operator panel,
a parameter value is
modified by pressing the
left and right arrow keys.
The corresponding value
in the spreadsheet is “I”.
The “Min” and “Max” values are optional. The “Inc” value is compulsory.
Entry in the Value item ungrays the Add button. When the number of
permitted values (16) is reached, the button will be grayed.
___________________________________________________________________________
5/44
Using MMI17 WIN software 5
Example :
Data :
• “End of cycle” message displayed in reverse video, double width and double height on
line 4 and starting at column 13.
• The message must be accompanied by the “clear line” command.
Parameter selection :
• As the message must be accompanied by the clear line command, the Command field
is therefore CLL.
• This message does not need any particular data from the PLC, nor any intervention by
the operator, thus the field type is NON : None.
The screen corresponding to this example is as follows :
The “Next” and “Previous” buttons can be used to browse through the full range of
messages.
___________________________________________________________________________
5/45
5.3-7 Request to display a message containing a variable
To display a message including a value issued by the process, the user fills in the fields
relating to :
• the display (text, attribute, size and position) and, if required, a command associated with
the message,
• the characteristics of the variable to be displayed (displaying a floating point variable is
described in section 5.3.10).
Example :
Data :
• “Temperature Oven 4 = xxx.xx °C” message displayed, where xxx.xx represents the
temperature value (the expected value must comprise five decimal figures with two after
the decimal point).
• The temperature value is shown in the PLC word %MW110.
• The display is in normal mode and standard size on line 3 starting at column 1.
• No command is associated with the message.
Parameter selection :
• Since this message requires data from the PLC, information relating to the field type must
be made available.
• The message text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include six underscores (five for the
number itself plus one for the decimal point).
• The field type is ANA (16-bit word) and the variable is updated periodically.
• The display format is numerical with two digits after the decimal point (2 decimal places).
If, for example, the contents of %MW110 is 12345, the display on the operator panel is
123.45.
___________________________________________________________________________
5/46
Using MMI17 WIN software 5
___________________________________________________________________________
5/47
5.3-8 Request to display a message with entry of a process value
To display a message including a value issued by the process and which needs to be
modified by the operator, the designer fills in the fields relating to :
• the display (text, attribute, size and position) and, if required, a command associated with
the message,
• the characteristics of the variable to be displayed,
• the entry format.
Example :
Data :
• The message “drill motor speed = xxxx Rpm” is displayed, where xxxx represents the
rotation speed of the motor (the expected value must therefore contain four decimal
digits).
• The rotation speed of the motor is specified in PLC word %MW55.
• The display is flashing and standard size on line 2 starting at column 6.
• The entry made by the operator must be incremental (in steps of 100 rpm between 1000
and 3000 rpm).
Parameter selection :
• Since this message requires data from the PLC and an entry by the operator, information
relating to the field type and the entry format must be made available.
• The message text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include four underscores.
• The field type is ANA (16-bit internal word).
• The refresh option must be selected.
• The display format must be Numerical with no digits after the decimal point.
• The entry type must be incremental.
• The entry limits must be 1000 for the minimum limit and 3000 for the maximum limit.
• The increment value must be 100 rpm.
___________________________________________________________________________
5/48
Using MMI17 WIN software 5
Note
When mailbox communication is used and the message comprises an operator entry, the Command
field must be RKB.
___________________________________________________________________________
5/49
5.3-9 Request to display a character string
To display a character string issued by the process, the user fills in the fields relating to :
• the display (text, attribute, size and position) and, if required, a command associated
with the message,
• the characteristics corresponding to this string.
Example :
Data :
• The message “Parameters = xxxxxxxxxxxxxxxxxxxx” is displayed, where xxx...
represents a character string (the string is 10 words long and starts at PLC word
%MW60).
• The display is in normal mode and standard size on line 1 starting at column 1 (no
command is associated with the message).
Parameter selection :
• Since the display of a character string requires data from the PLC, data relating to the
field type must be made available.
• The text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include 20 underscores (two characters
per internal word).
• The field type must be STR (String).
• The display format must be ASCII.
• The length of the character string must be 10 words.
• The refresh option must be selected.
___________________________________________________________________________
5/50
Using MMI17 WIN software 5
___________________________________________________________________________
5/51
5.3-10 Request to display a floating point value
To display a floating point value issued from the process, the user fills in the fields relating
to the display (text, attribute, size and position) and, if required, a command associated
with the message.
Important :
The floating point values must be seen by MMI 17 WIN as an integer value displayed
with decimal places. The floating point value from the application must therefore first be
scaled to remove the decimal point then converted to an integer (example for a value
with 2 decimal places).
Example :
Data :
• “Measurement = xxx.xx” °C message displayed, where xxx... represents the floating
point measurement scaled and converted to an integer.
• The display has two digits after the decimal point in normal mode and standard size on
line 1 starting at column 1.
Parameter selection :
• Since the display of a floating point value requires data from the PLC, information relating
to the field type must be made available.
• The text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include 6 underscores (five significant
numbers plus the decimal point).
• The field type must be LNG : 32-bit and Numerical type display format.
• The number of digits after the decimal places must be 2.
• The refresh option must be selected.
___________________________________________________________________________
5/52
Using MMI17 WIN software 5
___________________________________________________________________________
5/53
5.3-11 Request messages using a word as an index
It is possible to use a word as an index in a pre-stored message. The operator panel
displays the message whose number is contained in the designated word. The first n
characters of the indexed message will be displayed in the “underscore” positions (n =
number of message “underscores”). To do this, the user must fill in the fields relating to :
• the display (text, attribute, size and position) and, if required, a command associated with
the message,
• the characteristics relating to this string.
Example :
Data :
• The message “Color = xxxxx” is displayed, where xxx... is a message pre-stored in the
operator panel. The number of the message to be displayed is contained in word
%MW124. If %MW124 = 18, the text of message number 18, containing, for example, the
text Red, is displayed after “Color =”.
• The display is in reverse video and standard size on line 4 starting at column 10 (no
command is associated with the message).
Parameter selection :
• Displaying an indexed message requires data from the PLC, thus information relating to
the field type must be made available.
• The text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include five underscores.
___________________________________________________________________________
5/54
Using MMI17 WIN software 5
If one or more status messages are selected, opening the WYSIWYG editor displays the
selected messages : otherwise the display is empty.
___________________________________________________________________________
5/55
5.4 Creating alarm messages
5.4-1 Principle of data entry
This window is accessed by clicking on this
icon or the “Alarm messages” line of the
Browser or by selecting theWindow / Alarm
Messages menu.
A window is displayed containing a table in which all the application alarm messages can
be described.
As with status messages, the window consists of two parts :
• a display zone containing :
- the number of alarm messages configured,
- the maximum number of messages authorized,
- icons for accessing the “Cut/Copy/Paste” and “Find” functions.
Important comment :
The first column displays the list of alarm events defined in the Configure / Link window.
As with status messages, the fast entry box is activated by double-clicking on the line
number or via Shift+F8.
___________________________________________________________________________
5/56
Using MMI17 WIN software 5
The “Next “ and “Previous” buttons can be used to browse through the various alarm
messages.
___________________________________________________________________________
5/57
5.4-4 Functions which can be accessed via icons
As with status messages, the following functions are available :
• Cut,
• Copy,
• Paste,
• Find.
See section 5.3.4 for equivalent keyboard and menu operations.
Message characteristics:
Message Text Zone for entering the alarm message text which is displayed on the
CCX 17 operator panel. It can have a maximum of 40 characters.
Size Specifies the format of all the text and variable characters to be
displayed :
• Standard : standard height and standard width
• Double : double height and double width.
___________________________________________________________________________
5/58
Using MMI17 WIN software 5
Type of Field Defines the type of parameter field associated with the message :
• NON : No field is associated with the message displayed.
• BIT : The alarm message is associated with a bit type field.
• ANA : The alarm message is associated with a 16-bit integer field.
• LNG : The alarm message is associated with a 32-bit integer field.
• STR : The alarm message is associated with a word string
(abbreviated to 4 characters).
Device Specifies the name of the device to which the variable to be read is
assigned. The devices which can communicate with the CCX 17 are
defined by theConfigure/Device menu. This function is only available
when the CCX 17 is connected on a FIPIO fieldbus (if it is connected on
a UNI-TELWAY bus, it can only communicate with the master).
Variable Specifies the address of the variable associated with the alarm message.
If the symbol associated with the variable already exists in the database,
the “Symbol” item is taken into account automatically when the screen
is confirmed. The addresses are as follows :
• bit objects :
- internal bits : %Mi
- word extract bits : %MWi:Xj (in read only)
- FIPIO object extract bits : %QW\p.2.cnx\0.0.i:Xj.
• word objects :
- internal words : %MWi
- internal double words : %MDi
- FIPIO words : %QW\p.2.cnx\0.0.i.
Symbol Specifies the symbol for the variable associated with the alarm
message. If the symbol already exists, the symbol associated with the
variable is taken into account automatically when the screen is
confirmed.
The database is updated using the Utilities / Import Variables File
menu : see section 5.8.
___________________________________________________________________________
5/59
Comment Displays the comment for the variable associated with the alarm
message (for information purposes only). This comment is defined in
the database.
Display Format
Shows the display format of the alarm message variable. The possible
formats are :
• Empty : None.
•A : ASCII format.
•9 : Numerical format.
Modify Used to modify the display format of the alarm message. The window
offers the following choices :
• None.
• Numerical.
• ASCII.
The Bargraph option is not permitted.
___________________________________________________________________________
5/60
Using MMI17 WIN software 5
___________________________________________________________________________
5/61
Comments
Unlike status messages, not all parameters are present for alarm messages, such as :
• Line : alarm messages are automatically displayed on the second line of the screen.
• Column : alarm messages are automatically displayed on the left side of the screen.
• Entry format: this function is invalid because an alarm message can neither be entered
nor displayed as a bargraph.
___________________________________________________________________________
5/62
Using MMI17 WIN software 5
Example :
Data :
• “Emergency stop” message displayed in double width and double height.
Parameter selection :
• This message does not require any particular data from the PLC, thus the type of field
is “NON : NONE”.
The screen corresponding to this example is as follows :
___________________________________________________________________________
5/63
5.4-8 Request to display a message comprising a variable
To display an alarm message followed by a value issued by the process, the user fills in
the fields relating to :
• the display (text, size and type of display)
Example :
Data :
• The message “Overheating Oven 4 = xxx.xx °C” is displayed, where xxx.xx represents
the temperature value (the expected value must therefore comprise five decimal figures
with two after the decimal point),
• The temperature value is written by the PLC in the word %MW78,
• The display is in standard size and the message must be printed as a continuous
printout.
Parameter selection :
• Since this message requires data from the PLC, information relating to the type of field
must be made available.
• The message text must include an indication of the field size of the value displayed. The
conventional method is to represent each expected character by an underscore “_”.
Thus, in this example, the message text must include six underscores (five for the
number itself plus one for the decimal point).
• The type of field must be ANA (16-bit internal word).
• The display format must be Numerical with two digits after the decimal point
(2 decimal places).
___________________________________________________________________________
5/64
Using MMI17 WIN software 5
___________________________________________________________________________
5/65
5.5 Status message group editor
5.5-1 Principle of data entry and description of the screen
Icons
Go to start
Place and
remove
bookmark and
access
different page
Go to next page
Last page
Reminder of message text
Enter and display message number
Position in the group
___________________________________________________________________________
5/66
Using MMI17 WIN software 5
___________________________________________________________________________
5/67
Group Number Selects the group number. Entry can be either direct or via the
“up/down” arrows.
Clear Screen Clears the CCX 17 operator panel screen before the corresponding
group is displayed.
Message Number
Enables the messages which make up the group to be selected. Data
relating to the messages selected (number and content) is displayed
in the corresponding box.
___________________________________________________________________________
5/68
Using MMI17 WIN software 5
Go to :
• First group : equivalent to the “View / First Group” menu
or the “Ctrl+Home” shortcut.
• Last group : equivalent to the “View / Last Group” menu or the
“Ctrl+End” shortcut.
Go to :
• Previous group : equivalent to the “View / Previous Group” menu
or the “Page Down” shortcut.
• Next group : equivalent to the “View / Next Group” menu
or the “Page Up” shortcut.
Places the “bookmark” on the current page. The position is shown at the
top of the page with the page number.
The role of these buttons depends of the status of the current page :
• the current page is not marked :
- clicking on an unplaced bookmark places it on the current page,
- clicking on a bookmark which is already placed opens the
corresponding group,
• the current page is marked :
- clicking on the bookmark on the page removes it,
- clicking on another bookmark which is already placed opens the
corresponding group,
- an unplaced bookmark is gray and cannot be accessed.
Example :
Bookmarks placed on pages 2, 14 and 24. Clicking on one of these
bookmarks directly opens the corresponding group.
___________________________________________________________________________
5/69
5.5-2 Modifying a status message
A status message in a group can be modified using the group editor. To do so,
“double-click” on the message line number. The status message entry box then opens.
Comment :
This possibility is only available when modifying and will not function during message
creation. To show this difference, the message number for the line chosen is different
from zero.
___________________________________________________________________________
5/70
Using MMI17 WIN software 5
Important :
A group can contain several different messages. Thus, the user must take note of the
display position (line and column numbers) of each of the messages of the group on-
screen to avoid any message being overwritten. The window WYSIWYG can be used to
check the display.
Opening the WYSIWYG editor using the icon in the display zone displays the
current group.
___________________________________________________________________________
5/71
5.6 Assigning the operator panel command keys
This window is displayed by selecting the
Window / Command Key menu or by
clicking on this icon. It is used to assign
variables to the CCX 17 operator panel
command keys.
A window is displayed containing a table which is used to configure the manual command
keys for the operator panels (these keys can either be assigned to PLC internal bits, or to
word bits or to CCX 17 discrete outputs if it has them). The principles of data entry are
identical to those for status messages (see section 5.3).
Data can be entered using two different screens, one screen in the form of a spreadsheet
and the other in the form of a dialog box displaying all the parameters relating to a particular
command key.
Display using the dialog box is explained in the section on the WYSIWYG Editor (see
section 5.1). This is the recommended method.
Data entry via spreadsheet enables all the keys to be displayed. Horizontal scrolling must
be used to browse through all the items. Data is entered by “double-clicking” in the relevant
cell.
___________________________________________________________________________
5/72
Using MMI17 WIN software 5
Variable Specifies the address of the internal bit %Mi assigned to the key. If the
symbol assigned to the bit already exists, it is taken into account
automatically when the cell is confirmed.
Symbol Specifies the symbol assigned to the bit. If the symbol already exists, the
address assigned to the symbol is taken into account automatically at
confirmation.
The database is updated via the Utilities / Import Variables File : see
section 5.8.
Comment Displays the comment for the variable associated with the bit (for
information purposes only). It is defined in the station database.
The dialog box can be activated by double-clicking on the number of a command key (the
mouse pointer then looks like a magnifying glass) or by pressing Shift + F8 or by selecting
the “Edit / Zoom” menu if a line is selected. The window opens on the selected button.
___________________________________________________________________________
5/73
5.6-3 Example of configuring the command keys
Suppose the first six command keys on a CCX 17-30 are assigned to the internal bits
below :
Key 1 : bit %M10 edge function, Summary of key assignment
Key 2 : bit %M12 edge function,
1 2
Key 3 : bit %M30 toggle function,
Key 4 : bit %M31 edge function, 3 4
Key 5 : bit %M34 toggle function, 5 6
Key 6 : bit %M36 toggle function, 7 8
Key 7 : ,
Key 8 : .
Once all the command keys have been configured, the table summarizing the data
entered is as follows :
The corresponding bits used are updated by the operator when the command keys are
pressed. The PLC program then executes the associated actions.
___________________________________________________________________________
5/74
Using MMI17 WIN software 5
The window also contains a reminder of the selected operator panel options.
As with all spreadsheet windows, the display zone contains the fast access icons to the
following functions (see section 5.3 : Creating status messages ) for :
• Cut,
• Copy,
• Paste,
• Find.
• Multi-line copy/paste.
___________________________________________________________________________
5/75
5.7 Character font editor
This function is accessed by clicking on
this icon or on the “Font Editor” line in the
MMI17 WIN window list or by selecting the
Window / Font Editor menu.
This function is used to modify the appearance of the character font assigned to the
application.
___________________________________________________________________________
5/76
Using MMI17 WIN software 5
Deleting the picture by filling the blanks in the grid. If reverse video is
selected these blanks are filled in black.
These two icons are used to switch the display between the two
character sizes.
___________________________________________________________________________
5/77
• the ASCII character has been modified in double size format and retains its default
status in standard size format,
• the ASCII character has been modified in standard and double size format.
Comments :
• The character selected and modified with respect to the standard font is displayed in a
red frame against a yellow background,
• Modifications are confirmed using the “Edit / Confirm”
menu, or by clicking on the following icon :
• Any modification made to the character is displayed on the WYSIWYG screen. These
modifications do not appear in the spreadsheets.
Example :
Modifying the figure “nine”.
___________________________________________________________________________
5/78
Using MMI17 WIN software 5
Reminder :
A single system font is associated with each application. It comprises two formats
“Standard” and “Double”. The design of each character can be modified using the font
editor. Modifications can be made independently on either one or both formats.
Note :
The modified character font can be saved in a file by activating the “Utilities / Save Font
File" menu (see section 6.2.1).
___________________________________________________________________________
5/79
5.8 Symbols and variables editor
icons
list of
variables
and
symbols
Comments :
___________________________________________________________________________
5/80
Using MMI17 WIN software 5
.SCY extension files (the only ones accessible) are the backup files for PL7 application
variables.
From the data in the file, this function selects those whose syntax it accepts.
Once it has been started, the status bar gauge shows how much has been read and
updated.
Note
An import file containing too many variables which are symbols and which have been
accepted by MMI will only be partially processed.
___________________________________________________________________________
5/81
5.8-2 Retrieving symbols via a link with a .STX file
MMI 17 WIN version 3.1 allows symbols to be retrieved via a link with a .STX file
(application created by PL7). The .W17 file generated by the software cannot be opened
by any version previous to MMI 17 WIN.
The path and the .STX file name are stored in the MMI application configuration, but
are not loaded into the CCX 17.
___________________________________________________________________________
5/82
Using MMI17 WIN software 5
Notes
When an MMI application is linked with a. STX file, opening it causes :
• a search for the .STX file stored in the symbols variable database and a prompt to update the local
database for the MMI application with the new data (this is not automatic),
• if the .STX file cannot be found, a message is displayed and the link removed. The local database
for the MMI application remains intact.
___________________________________________________________________________
5/83
5.8-3 Functions of the display zone
As with any MMI17 WIN spreadsheet, the display zone contains the fast access icons
for the following functions (see section 5.3):
• Cut, Cannot be accessed
• Copy, Is used to retrieve a variable which is to be pasted in another spread sheet. This
function copies the triplet <Variable, Symbol, Comment> into one of the
following spreadsheets: status, Alarm, Command key. Only one variable can
be copied at a time.
• Paste, Cannot be accessed
• Search.
• Delete Deletion is global and concerns the entire symbols database. It can be
accessed via the “Edit / Delete” menu or via the Delete, key after selecting
all.
The display zone also contains the path and the name of the STX file to which the MMI
application is linked.
• Any application generated under OS/2 can be accessed via the Windows version :
- If the ROW addresses are used (CCX 17 profile), they are converted to %QW
- The ROWA addresses (CCX 17-A profile) and the OFBs cannot be modified. They
can however be deleted.
___________________________________________________________________________
5/84
Using MMI17 WIN software 5
PL7 ORPHEE
%MW %MW
%MD %MD
%Mxi with i<2000H %RXi
%Mxi with i>2000H %MXi
No ROW
%CHi
Warning
The %Chi which are character strings in the series 1000 have no connection with the
notion of Channel in PL7.
A string displayed on a CCX is unchanged with respect to MMI17 OS/2 :
• The string must be copied to a %MW table.
• Invert the weighting order on the words (switching data between Motorola and Intel
formats).
___________________________________________________________________________
5/85
___________________________________________________________________________
5/86
Section 6
Additional functions 6
6 Additional functions
6.1 File management
6.1-1 Creating a new application
After opening MMI17 WIN software, click on this icon or select the
File/New menu or use the Alt+F shortcut key followed by Alt+N.
This application will only exist on disk after performing the “Save As” operation.
___________________________________________________________________________
6/1
6.1-2 Opening an existing application
After opening MMI17 WIN software, click on this icon or select the
File/Open menu or use the shortcut keys Alt+F followed by
Alt+O. Select the application to be opened from those offered :
___________________________________________________________________________
6/2
Additional functions 6
Once the save has finished, it is this new application which is displayed on screen.
___________________________________________________________________________
6/3
6.2 Utility functions
6.2-1 Save and Retrieve character font
These functions, accessible by selecting “Utilities / Save Font File” and “Utilities /
Restore Font File”, are used to :
___________________________________________________________________________
6/4
Additional functions 6
Comment
In an import file modified by an editor, the accented characters which have not been re-
entered using ALT+0+xxx (xxx = ASCII character code) will be incorrectly interpreted
by MMI17 WIN.
___________________________________________________________________________
6/5
Converting the application to a text file.
This function, accessed by selecting “Utilities / Export Text File...”, is used to export
an application from the current application to an ASCII file. The data concerned is :
• configuration,
• status messages,
• alarm messages,
• command keys,
• status message groups,
___________________________________________________________________________
6/6
Additional functions 6
This enables a structured documentation file for the MMI application to be created.
The data used for documentation is selected using the following window :
___________________________________________________________________________
6/7
• a text giving general information,
Data is entered using the extension of the above
window, when the “General Information” item is se-
lected.
___________________________________________________________________________
6/8
Additional functions 6
This data is entered using the sub-window of the above window, when the “Footer” item
is selected.
The items in the window can be globally selected or deselected using the “Edit / Select
All” and “Edit / Deselect All” menus.
This involves :
• selecting the items to include in the document,
• entering the parameters (optional),
• activating the forming of the documentation file using the “Utilities / Build Documen-
tation File” menu. The next window then displays the progress of the processing and
the current stage:
• after processing is completed, the “File / Print” menu is used to start printing.
The number of pages for each item is updated.
___________________________________________________________________________
6/9
• It is possible to cancel building and/or printing of the documentation file via the “Esc”
key or the “Cancel” button.
• It is possible to print only the “framed” item.
• Building then printing are automatically performed in succession if the “File / Print”
menu is started (without having built the documentation file beforehand).
Note :
The character font for the documentation file is not associated with the application font.
___________________________________________________________________________
6/10
Additional functions 6
Local transfer is performed by a direct link between the programming terminal and the
operator panel. Any other connection requires remote transfer.
The different types of connection between the terminal and the operator panel are
described in the CCX 17 installation manual.
If the operator panel address has not yet been entered, it will be requested the first time
a remote transfer is performed, by the following window :
___________________________________________________________________________
6/11
CCX17 to Terminal transfer
The transfer of the CCX17 to the terminal concerns all the application data.
The transferred application overwrites the current application.
• Selection of data :
- Application Configuration Selects the operator panel configuration.
- List of Status Messages Selection can be performed at intervals.
- List of Alarm Messages Selection can be performed at intervals.
- List of Command Keys Selection can be performed at intervals.
- List of groups Selection can be performed at intervals.
___________________________________________________________________________
6/12
Additional functions 6
Comments
1. Selecting some messages in the spreadsheets in reverse video enables partial
transfer of these messages.
2. So that the transfer operation can be performed, the driver used must be installed
on the programming terminal
___________________________________________________________________________
6/13
6.3-3 Remote transfer : Selection of the CCX 17 address
This function is launched explicitly by the “Utilities / Define CCX17 Address...”
function menu or automatically during the first remote transfer.
Driver Specifies the driver used for the transfer. Only drivers installed on the
programming terminal are listed.
CCX 17 address
This field specifies the address of the remote CCX17 operator panel.
The address syntax is as follows :
{network no.station no.}module.channel no.PLC
or {network no.station no.}SYS
or {network no.station no.}\0.1.connection pt/SYS
___________________________________________________________________________
6/14
Additional functions 6
6.3-4 Examples
• The operator panel is connected via an integrated UNI-TELWAY port on the
processor :
the terminal can be connected either to the network or to the terminal port.
R2/S4 FIPWAY / ETHWAY / MAPWAY R2/S8
Device X
R14/S6 R14/S21
Rack 4 / Module 6
Device X
UNI-TELWAY
%MWi
The mailbox used in the PLC word memory enables various commands to be sent to
the CCX 17 operator panel. It contains a command table structured as follows :
Both the start of this table and its length are defined by the user when the application
is created using MMI 17 WIN (see section 6.1).
___________________________________________________________________________
7/1
Managing the status of indicator lamps on the illuminated bank
The first word of the table assigned to the mailbox zone contains the code for each of
the indicator lamps.
• bits 0 to 3 : state of green indicator lamp,
• bits 4 to 7 : state of yellow indicator lamp,
• bits 8 to 11 : state of red indicator lamp.
The status of these indicator lamps is encoded on these four bits in the following
manner:
• 0000 : indicator lamp status is unchanged. This enables each indicator lamp to be
controlled separately,
• 0001 : indicator lamp off,
• 0010 : indicator lamp on,
• 1111 : indicator lamp flashing.
Example :
If the code sent is equal to 02F1 or 000 0010 1111 0001
• the green indicator lamp goes off,
• the orange indicator lamp flashes,
• the red indicator lamp comes on.
___________________________________________________________________________
7/2
Section
Communication via integrated MMI 88
8 Communication via integrated MMI
8.1 List of commands
Reminder :
Once the MMI 17 WIN software has loaded the various types of message into the CCX 17 operator
panel, the PLC application program can communicate with the operator panel by sending specific
commands via the integrated MMI functions.
MMI function
As a general rule, any command destined for a CCX 17 operator panel comprises :
• a 16-bit word representing the command number,
• one or more parameters associated with this command,
• a report table.
Whatever type of command is sent, the CCX 17 operator panel systematically sends
a confirmation report.
The following table shows the various options for commands and their associated
numbers.
___________________________________________________________________________
8/1
Command Function Parameters
Clear screen Clears the entire screen and halts updating Command : 1
of variables displayed on-screen.
Display a PLC message Displays a message which exists in the PLC. Command : 6
Message text
Display lamps on the Causes the CCX 17 operator panel indicator Command : 8
illuminated indicator lamps to light up, extinguish or flash. Status of the
bank indicator lamps
Write Date and Time in Authorizes the date and time to be Command : 18
the operator panel resynchronized with that of the PLC.
___________________________________________________________________________
8/2
Communication via integrated MMI 8
___________________________________________________________________________
8/3
Command Function Parameters
Assign all the operator Configures, with one command, all the Command : 31
panel command keys operator panel keys (4 or 8 keys depending Bit no. assigned to T1
to internal bits on the type of CCX 17). The additional Bit no. assigned to T2
parameters indicate the indexes or bit Bit no. assigned to T8
numbers assigned to the various
keys (T1 to T8).
Configure all the Enables the operator panel command keys Command : 32
operator panel and their operating modes to be configured. Key to operate
command keys (Only available on V2.0 or later) Operating mode
Bit index
___________________________________________________________________________
8/4
Communication via integrated MMI 8
For a description of integrated MMI function interface parameters see Section 3 of the
PL7 programming manual, part K.
___________________________________________________________________________
8/5
8.2-2 Description of parameter encoding
Response structure :
___________________________________________________________________________
8/6
Communication via integrated MMI 8
Response structure :
___________________________________________________________________________
8/7
• Configuring the mailbox (command 34)
Command structure:
1. Period 0 no sampling
1 sampling every 400 ms
2 sampling every 800 s
3 sampling every 1.2 s
4 sampling every 1.6 s
..........
600 sampling every 5 min
2. Length of mailbox
3. The following words represent the contents of the mailbox
Response structure :
___________________________________________________________________________
8/8
Section 99
Application examples
9 Application examples
9.1 Examples
The various examples shown in the rest of this section are setting up the same MMI
interface application on a CCX 17-30 LPS connected on UNI-TELWAY.
Fixed message
Use of the
Use of the
command
keys Oven 4 command
keys
Run Stop
Bargraph display
___________________________________________________________________________
9/1
CCX 17 connected on UNI-TELWAY
The CCX 17 operator panel is connected as shown below (the programming terminal
can also be directly connected to the network) :
UNI-TELWAY
Processor with
integral SCI link
address 1
___________________________________________________________________________
9/2
Application examples 9
___________________________________________________________________________
9/3
Configuring the link
___________________________________________________________________________
9/4
Application examples 9
Status message 1
___________________________________________________________________________
9/5
Status message 2
Status message 3
___________________________________________________________________________
9/6
Application examples 9
Status message 4
Status message 5
___________________________________________________________________________
9/7
Status message 6 (UNI-TELWAY)
___________________________________________________________________________
9/8
Application examples 9
Alarm message 1
___________________________________________________________________________
9/9
Alarm message 2
Alarm message 3
___________________________________________________________________________
9/10
Application examples 9
The first group is displayed by default with clear screen option. The second group is
displayed when requested by the user. It is displayed following the first group, so it must
not include the clear screen option.
Group 1
___________________________________________________________________________
9/11
Group 2
___________________________________________________________________________
9/12
Application examples 9
The two command keys are configured in an edge type operation. One controls the
internal bit %M0 (Run key), the other controls the internal bit %M2 (Stop key).
___________________________________________________________________________
9/13
Transferring the application
Once the application is configured and saved, it must be transferred to the CCX 17
operator panel. In the example shown, the operator panel is connected on UNI-
TELWAY.
Transfer on UNI-TELWAY
The CCX 17 only authorizesintra-station addressing. It is at slave addresses UTW 4-5.
The processor has an integral SCI link.
The PLC is connected on a network at the
following address :
Network 0, Station 254.
___________________________________________________________________________
9/14
Application examples 9
%MW202 No. of 1st message to display %MW212 No. of 1st message dis-
played
%MW203 No. of 2nd message to display %MW213 No. of 2nd message dis-
played
%MW209 No. of last message to display %MW219 No. of last message dis-
played
The application program contained in the PLC must therefore update the command
table according to the process parameters. The user can check that the requested
commands have been correctly executed by analyzing the acknowledge read mode
table.
Examples of commands :
(* Displaying group 2 *)
! IF %M10 THEN
%MW201:=2;
END_IF;
(* Managing the Run key (shown by the green indicator lamp) *)
! IF %M0 THEN
%MW200:=16#011F;(*Green blinking, Others off*)
RESET %M2;
END_IF;
(* Managing the Stop key (shown by the red indicator lamp) *)
! IF %M2 THEN
%MW200:=16#0F11;(*Red blinking, Others off*)
RESET %M0;
END_IF;
___________________________________________________________________________
9/15
Managing the alarm messages
The table reserved for the alarm messages starts at %M200 :
• Setting bit %M200 to 1 displays and prints alarm message 1 (Emergency stop).
• Setting bit %M201 to 1 displays and prints alarm message 2 (Overheating oven 4 :---°C).
• Setting bit %M202 to 1 displays and prints alarm message 3 (Insufficient
humidity :---%).
___________________________________________________________________________
9/16
Application examples 9
<Display group 2
! IF RE %I0.0) THEN
%MW55:=2;
DISPLAY_GRP(ADR#0.0.4,%MW55,%MW50:4);......
END_IF
If an error occurs during transmission, the confirmation report contains two words
enabling the source of the error to be defined.
___________________________________________________________________________
9/17
Managing the Run and Stop keys
The example shown comprises two command keys. Displaying the LEDs is requested
via the CONTROL_LEDS function as follows :
• Confirmation report : starts at internal word %MW60 and is four bytes long,
• Data to send : starts at word %MW65 and comprises two words (4 bytes long). The
first word (%MW65) contains a value marker 16#CC17. The second %MW66 defines
the display encoding.
<Managing the Run key
! IF %M0 THEN
%MW65:=16#CC17;
%MW66:=16#011F;
CONTROL_LEDS(ADR#0.0.4,%MW65:2,%MW60:4);....
END_IF;
<Managing the Stop key
! IF %M2 THEN
%MW65:=16#CC17;
%MW66:=16#0F11;
CONTROL_LEDS(ADR#0.0.4,%MW65:2,%MW60:4);....
END_IF;
If an error occurs when the text block is transmitted, the confirmation report contains
two words enabling the source of the error to be defined.
___________________________________________________________________________
9/18
Application examples 9
Comment :
In this example, alarm 2 is not included in the “Alarm zone” of the link configuration.
Indeed, the DISPLAY_CMD and PANEL_CMD functions cannot be executed if the
alarm can be accessed via the mailbox (see sections 4.4 and 5.2.4).
___________________________________________________________________________
9/19
9.3 Application configured without MMI17 WIN
9.3-1 Exchanges via integrated MMI function
When MMI17 WIN software is not available to the user, the PLC can still communicate
with the CCX 17 operator panel. Communication is only performed via integrated MMI
function. The transmission table called Data to send must contain all the parameters
of the message to be sent.
Important : The data to send table of integrated MMI functions on TSX Micro and TSX
Premium PLCs is limited to 47 bytes.
So as not to complicate this example, only the display of message number four is shown
below (Setpoint = ---- °C). This message is representative since it includes an updated
variable which can be modified by the operator (incremental entry).
The integrated MMI function used to send this message is GET_MSG. Its parameters
are given below :
• Operator panel address : its topological address is ADR#0.0.4 for communication via
UNI-TELWAY.
• Confirmation report : starts at internal word %MW80 and is four bytes long,
• Data to send : starts at word %KW85 and includes 37 words (74 bytes long). The first
word (%KW85) contains the marker 16#CC17, the second (%KW86), the status
message display command (command 6), the other words correspond to the
message characteristics. The transmission table is detailed later.
Setpoint = ---- °C (read and write word %MW0 in decimal format) with incremental entry
(increment 10). This message must be positioned at line 4 column 11.
___________________________________________________________________________
9/20
Application examples 9
Once all the values are entered the function is started, for example as follows :
___________________________________________________________________________
9/21
___________________________________________________________________________
9/22